54 lines
1.2 KiB
C
54 lines
1.2 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 _JoinGameFailed_H_
|
|
#define _JoinGameFailed_H_
|
|
|
|
|
|
#include <asn_application.h>
|
|
|
|
/* Including external dependencies */
|
|
#include <NativeEnumerated.h>
|
|
#include <constr_SEQUENCE.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Dependencies */
|
|
typedef enum joinGameFailureReason {
|
|
joinGameFailureReason_invalidGame = 1,
|
|
joinGameFailureReason_gameIsFull = 2,
|
|
joinGameFailureReason_gameIsRunning = 3,
|
|
joinGameFailureReason_invalidPassword = 4,
|
|
joinGameFailureReason_notAllowedAsGuest = 5,
|
|
joinGameFailureReason_notInvited = 6,
|
|
joinGameFailureReason_gameNameInUse = 7
|
|
} e_joinGameFailureReason;
|
|
|
|
/* JoinGameFailed */
|
|
typedef struct JoinGameFailed {
|
|
long joinGameFailureReason;
|
|
/*
|
|
* This type is extensible,
|
|
* possible extensions are below.
|
|
*/
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} JoinGameFailed_t;
|
|
|
|
/* Implementation */
|
|
/* extern asn_TYPE_descriptor_t asn_DEF_joinGameFailureReason_2; // (Use -fall-defs-global to expose) */
|
|
extern asn_TYPE_descriptor_t asn_DEF_JoinGameFailed;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _JoinGameFailed_H_ */
|