Files
pokerth/src/third_party/asn1/GamePlayerLeft.h
T

52 lines
1.1 KiB
C

/*
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/
#ifndef _GamePlayerLeft_H_
#define _GamePlayerLeft_H_
#include <asn_application.h>
/* Including external dependencies */
#include "NonZeroId.h"
#include <NativeEnumerated.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum gamePlayerLeftReason {
gamePlayerLeftReason_leftOnRequest = 0,
gamePlayerLeftReason_leftKicked = 1,
gamePlayerLeftReason_leftError = 2
} e_gamePlayerLeftReason;
/* GamePlayerLeft */
typedef struct GamePlayerLeft {
NonZeroId_t playerId;
long gamePlayerLeftReason;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} GamePlayerLeft_t;
/* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_gamePlayerLeftReason_3; // (Use -fall-defs-global to expose) */
extern asn_TYPE_descriptor_t asn_DEF_GamePlayerLeft;
#ifdef __cplusplus
}
#endif
#endif /* _GamePlayerLeft_H_ */