/*
 * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
 * From ASN.1 module "POKERTH-PROTOCOL"
 * 	found in "../../../docs/pokerth.asn1"
 * 	`asn1c -fskeletons-copy`
 */

#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	 gameId;
		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_7;	// (Use -fall-defs-global to expose) */
	extern asn_TYPE_descriptor_t asn_DEF_EndKickPetitionMessage;

#ifdef __cplusplus
}
#endif

#endif	/* _EndKickPetitionMessage_H_ */
#include <asn_internal.h>
