Adding missing vote-kick messages to ASN.1 protocol definition.
This commit is contained in:
1 parent
6d0af720a0
commit
336dc836a0
79 files changed
+1995
-186
No files matched your search
+56
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "POKERTH-PROTOCOL"
|
||||
* found in "../../../docs/pokerth.asn1"
|
||||
*/
|
||||
|
||||
#ifndef _EndKickPetitionMessage_H_
|
||||
#define _EndKickPetitionMessage_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NonZeroId.h"
|
||||
#include <NativeInteger.h>
|
||||
#include <BOOLEAN.h>
|
||||
#include <NativeEnumerated.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum petitionEndReason {
|
||||
petitionEndReason_petitionEndEnoughVotes = 0,
|
||||
petitionEndReason_petitionEndTooFewPlayers = 1,
|
||||
petitionEndReason_petitionEndPlayerLeft = 2,
|
||||
petitionEndReason_petitionEndTimeout = 3
|
||||
} e_petitionEndReason;
|
||||
|
||||
/* EndKickPetitionMessage */
|
||||
typedef struct EndKickPetitionMessage {
|
||||
NonZeroId_t petitionId;
|
||||
long numVotesAgainstKicking;
|
||||
long numVotesInFavourOfKicking;
|
||||
BOOLEAN_t resultPlayerKicked;
|
||||
long petitionEndReason;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} EndKickPetitionMessage_t;
|
||||
|
||||
/* Implementation */
|
||||
/* extern asn_TYPE_descriptor_t asn_DEF_petitionEndReason_6; // (Use -fall-defs-global to expose) */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_EndKickPetitionMessage;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _EndKickPetitionMessage_H_ */
|
||||
Reference in new issue
Block a user