New start event type to mark a certain game start as "rejoin" (in order to show a special dialog).

This commit is contained in:
lotodore
2011-10-26 21:45:39 +00:00
parent f1dc2e90a5
commit 0230edaec2
62 changed files with 479 additions and 186 deletions
+10
View File
@@ -435,9 +435,19 @@ RejectInvNotifyMessage ::= [APPLICATION 19] SEQUENCE {
StartEventMessage ::= [APPLICATION 20] SEQUENCE { StartEventMessage ::= [APPLICATION 20] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
startEventType CHOICE {
startEvent [0] StartEvent,
rejoinEvent [1] RejoinEvent
}
}
StartEvent ::= SEQUENCE {
fillWithComputerPlayers BOOLEAN fillWithComputerPlayers BOOLEAN
} }
RejoinEvent ::= SEQUENCE {
}
StartEventAckMessage ::= [APPLICATION 21] SEQUENCE { StartEventAckMessage ::= [APPLICATION 21] SEQUENCE {
gameId NonZeroId gameId NonZeroId
} }
+4
View File
@@ -144,10 +144,12 @@ HEADERS += src/third_party/asn1/AllInShowCardsMessage.h \
src/third_party/asn1/RejectGameInvitationMessage.h \ src/third_party/asn1/RejectGameInvitationMessage.h \
src/third_party/asn1/RejectGameInvReason.h \ src/third_party/asn1/RejectGameInvReason.h \
src/third_party/asn1/RejectInvNotifyMessage.h \ src/third_party/asn1/RejectInvNotifyMessage.h \
src/third_party/asn1/RejoinEvent.h \
src/third_party/asn1/RejoinExistingGame.h \ src/third_party/asn1/RejoinExistingGame.h \
src/third_party/asn1/RejoinPlayerData.h \ src/third_party/asn1/RejoinPlayerData.h \
src/third_party/asn1/RemovedFromGame.h \ src/third_party/asn1/RemovedFromGame.h \
src/third_party/asn1/ResetTimeoutMessage.h \ src/third_party/asn1/ResetTimeoutMessage.h \
src/third_party/asn1/StartEvent.h \
src/third_party/asn1/StartEventAckMessage.h \ src/third_party/asn1/StartEventAckMessage.h \
src/third_party/asn1/StartEventMessage.h \ src/third_party/asn1/StartEventMessage.h \
src/third_party/asn1/StartKickPetitionMessage.h \ src/third_party/asn1/StartKickPetitionMessage.h \
@@ -212,6 +214,7 @@ SOURCES += src/third_party/asn1/ChatCleanerMessage.c \
src/third_party/asn1/StatisticsMessage.c \ src/third_party/asn1/StatisticsMessage.c \
src/third_party/asn1/StatisticsData.c \ src/third_party/asn1/StatisticsData.c \
src/third_party/asn1/StartKickPetitionMessage.c \ src/third_party/asn1/StartKickPetitionMessage.c \
src/third_party/asn1/StartEvent.c \
src/third_party/asn1/StartEventMessage.c \ src/third_party/asn1/StartEventMessage.c \
src/third_party/asn1/StartEventAckMessage.c \ src/third_party/asn1/StartEventAckMessage.c \
src/third_party/asn1/ResetTimeoutMessage.c \ src/third_party/asn1/ResetTimeoutMessage.c \
@@ -320,6 +323,7 @@ SOURCES += src/third_party/asn1/ChatCleanerMessage.c \
src/third_party/asn1/RejectGameInvitationMessage.c \ src/third_party/asn1/RejectGameInvitationMessage.c \
src/third_party/asn1/RejectInvNotifyMessage.c \ src/third_party/asn1/RejectInvNotifyMessage.c \
src/third_party/asn1/RejectGameInvReason.c \ src/third_party/asn1/RejectGameInvReason.c \
src/third_party/asn1/RejoinEvent.c \
src/third_party/asn1/RejoinExistingGame.c \ src/third_party/asn1/RejoinExistingGame.c \
src/third_party/asn1/RejoinPlayerData.c \ src/third_party/asn1/RejoinPlayerData.c \
src/third_party/asn1/AfterHandShowCardsMessage.c \ src/third_party/asn1/AfterHandShowCardsMessage.c \
+7 -4
View File
@@ -944,8 +944,7 @@ ClientStateStartSession::InternalHandlePacket(boost::shared_ptr<ClientThread> cl
InitMessage_t *netInit = &init->GetMsg()->choice.initMessage; InitMessage_t *netInit = &init->GetMsg()->choice.initMessage;
netInit->requestedVersion.major = NET_VERSION_MAJOR; netInit->requestedVersion.major = NET_VERSION_MAJOR;
netInit->requestedVersion.minor = NET_VERSION_MINOR; netInit->requestedVersion.minor = NET_VERSION_MINOR;
if (!context.GetServerPassword().empty()) if (!context.GetServerPassword().empty()) {
{
netInit->authServerPassword = netInit->authServerPassword =
OCTET_STRING_new_fromBuf( OCTET_STRING_new_fromBuf(
&asn_DEF_OCTET_STRING, &asn_DEF_OCTET_STRING,
@@ -1027,8 +1026,7 @@ ClientStateWaitEnterLogin::TimerLoop(const boost::system::error_code& ec, boost:
context.GetSessionGuid().c_str(), context.GetSessionGuid().c_str(),
(int)context.GetSessionGuid().length()); (int)context.GetSessionGuid().length());
} }
if (!context.GetServerPassword().empty()) if (!context.GetServerPassword().empty()) {
{
netInit->authServerPassword = netInit->authServerPassword =
OCTET_STRING_new_fromBuf( OCTET_STRING_new_fromBuf(
&asn_DEF_OCTET_STRING, &asn_DEF_OCTET_STRING,
@@ -1391,7 +1389,12 @@ void
ClientStateWaitGame::InternalHandlePacket(boost::shared_ptr<ClientThread> client, boost::shared_ptr<NetPacket> tmpPacket) ClientStateWaitGame::InternalHandlePacket(boost::shared_ptr<ClientThread> client, boost::shared_ptr<NetPacket> tmpPacket)
{ {
if (tmpPacket->GetMsg()->present == PokerTHMessage_PR_startEventMessage) { if (tmpPacket->GetMsg()->present == PokerTHMessage_PR_startEventMessage) {
StartEventMessage_t *netStartEvent = &tmpPacket->GetMsg()->choice.startEventMessage;
if (netStartEvent->startEventType.present == startEventType_PR_rejoinEvent) {
client->GetCallback().SignalNetClientGameInfo(MSG_NET_GAME_CLIENT_SYNCSTART); client->GetCallback().SignalNetClientGameInfo(MSG_NET_GAME_CLIENT_SYNCSTART);
} else {
client->GetCallback().SignalNetClientGameInfo(MSG_NET_GAME_CLIENT_SYNCREJOIN);
}
client->SetState(ClientStateSynchronizeStart::Instance()); client->SetState(ClientStateSynchronizeStart::Instance());
} else if (tmpPacket->GetMsg()->present == PokerTHMessage_PR_inviteNotifyMessage) { } else if (tmpPacket->GetMsg()->present == PokerTHMessage_PR_inviteNotifyMessage) {
InviteNotifyMessage_t *netInvNotify = &tmpPacket->GetMsg()->choice.inviteNotifyMessage; InviteNotifyMessage_t *netInvNotify = &tmpPacket->GetMsg()->choice.inviteNotifyMessage;
+4 -1
View File
@@ -132,7 +132,10 @@ ClientThread::SendStartEvent(bool fillUpWithCpuPlayers)
packet->GetMsg()->present = PokerTHMessage_PR_startEventMessage; packet->GetMsg()->present = PokerTHMessage_PR_startEventMessage;
StartEventMessage_t *netStartEvent = &packet->GetMsg()->choice.startEventMessage; StartEventMessage_t *netStartEvent = &packet->GetMsg()->choice.startEventMessage;
netStartEvent->gameId = GetGameId(); netStartEvent->gameId = GetGameId();
netStartEvent->fillWithComputerPlayers = fillUpWithCpuPlayers;
netStartEvent->startEventType.present = startEventType_PR_startEvent;
StartEvent_t *start = &netStartEvent->startEventType.choice.startEvent;
start->fillWithComputerPlayers = fillUpWithCpuPlayers;
m_ioService->post(boost::bind(&ClientThread::SendSessionPacket, shared_from_this(), packet)); m_ioService->post(boost::bind(&ClientThread::SendSessionPacket, shared_from_this(), packet));
} }
+7 -3
View File
@@ -590,7 +590,10 @@ ServerGameStateInit::SendStartEvent(ServerGame &server, bool fillWithComputerPla
packet->GetMsg()->present = PokerTHMessage_PR_startEventMessage; packet->GetMsg()->present = PokerTHMessage_PR_startEventMessage;
StartEventMessage_t *netStartEvent = &packet->GetMsg()->choice.startEventMessage; StartEventMessage_t *netStartEvent = &packet->GetMsg()->choice.startEventMessage;
netStartEvent->gameId = server.GetId(); netStartEvent->gameId = server.GetId();
netStartEvent->fillWithComputerPlayers = fillWithComputerPlayers;
netStartEvent->startEventType.present = startEventType_PR_startEvent;
StartEvent_t *start = &netStartEvent->startEventType.choice.startEvent;
start->fillWithComputerPlayers = fillWithComputerPlayers;
// Wait for all players to confirm start of game. // Wait for all players to confirm start of game.
server.SendToAllPlayers(packet, SessionData::Game); server.SendToAllPlayers(packet, SessionData::Game);
@@ -608,9 +611,10 @@ ServerGameStateInit::InternalProcessPacket(boost::shared_ptr<ServerGame> server,
// Only admins are allowed to start the game. // Only admins are allowed to start the game.
if (session->GetPlayerData()->IsGameAdmin() if (session->GetPlayerData()->IsGameAdmin()
&& netStartEvent->gameId == server->GetId() && netStartEvent->gameId == server->GetId()
&& netStartEvent->startEventType.present == startEventType_PR_startEvent
&& (server->GetGameData().gameType != GAME_TYPE_RANKING // ranking games need to be full && (server->GetGameData().gameType != GAME_TYPE_RANKING // ranking games need to be full
|| server->GetGameData().maxNumberOfPlayers == server->GetCurNumberOfPlayers())) { || server->GetGameData().maxNumberOfPlayers == server->GetCurNumberOfPlayers())) {
SendStartEvent(*server, netStartEvent->fillWithComputerPlayers); SendStartEvent(*server, netStartEvent->startEventType.choice.startEvent.fillWithComputerPlayers);
} else { // kick players who try to start but are not allowed to } else { // kick players who try to start but are not allowed to
server->MoveSessionToLobby(session, NTF_NET_REMOVED_START_FAILED); server->MoveSessionToLobby(session, NTF_NET_REMOVED_START_FAILED);
} }
@@ -782,7 +786,7 @@ AbstractServerGameStateRunning::HandleNewSession(boost::shared_ptr<ServerGame> s
packet->GetMsg()->present = PokerTHMessage_PR_startEventMessage; packet->GetMsg()->present = PokerTHMessage_PR_startEventMessage;
StartEventMessage_t *netStartEvent = &packet->GetMsg()->choice.startEventMessage; StartEventMessage_t *netStartEvent = &packet->GetMsg()->choice.startEventMessage;
netStartEvent->gameId = server->GetId(); netStartEvent->gameId = server->GetId();
netStartEvent->fillWithComputerPlayers = false; netStartEvent->startEventType.present = startEventType_PR_rejoinEvent;
// Wait for rejoining player to confirm start of game. // Wait for rejoining player to confirm start of game.
server->GetLobbyThread().GetSender().Send(session, packet); server->GetLobbyThread().GetSender().Send(session, packet);
+12 -11
View File
@@ -139,18 +139,19 @@
// The following messages are game messages. // The following messages are game messages.
#define MSG_NET_GAME_CLIENT_JOIN MSG_SOCK_LIMIT_CONNECT + 1 #define MSG_NET_GAME_CLIENT_JOIN MSG_SOCK_LIMIT_CONNECT + 1
#define MSG_NET_GAME_CLIENT_SYNCSTART MSG_SOCK_LIMIT_CONNECT + 2 #define MSG_NET_GAME_CLIENT_SYNCSTART MSG_SOCK_LIMIT_CONNECT + 2
#define MSG_NET_GAME_CLIENT_START MSG_SOCK_LIMIT_CONNECT + 3 #define MSG_NET_GAME_CLIENT_SYNCREJOIN MSG_SOCK_LIMIT_CONNECT + 3
#define MSG_NET_GAME_CLIENT_HAND_START MSG_SOCK_LIMIT_CONNECT + 4 #define MSG_NET_GAME_CLIENT_START MSG_SOCK_LIMIT_CONNECT + 4
#define MSG_NET_GAME_CLIENT_HAND_END MSG_SOCK_LIMIT_CONNECT + 5 #define MSG_NET_GAME_CLIENT_HAND_START MSG_SOCK_LIMIT_CONNECT + 5
#define MSG_NET_GAME_CLIENT_END MSG_SOCK_LIMIT_CONNECT + 6 #define MSG_NET_GAME_CLIENT_HAND_END MSG_SOCK_LIMIT_CONNECT + 6
#define MSG_NET_GAME_CLIENT_END MSG_SOCK_LIMIT_CONNECT + 7
#define MSG_NET_GAME_SERVER_START MSG_SOCK_LIMIT_CONNECT + 7 #define MSG_NET_GAME_SERVER_START MSG_SOCK_LIMIT_CONNECT + 8
#define MSG_NET_GAME_SERVER_HAND_START MSG_SOCK_LIMIT_CONNECT + 8 #define MSG_NET_GAME_SERVER_HAND_START MSG_SOCK_LIMIT_CONNECT + 9
#define MSG_NET_GAME_SERVER_HAND_END MSG_SOCK_LIMIT_CONNECT + 9 #define MSG_NET_GAME_SERVER_HAND_END MSG_SOCK_LIMIT_CONNECT + 10
#define MSG_NET_GAME_SERVER_ROUND MSG_SOCK_LIMIT_CONNECT + 10 #define MSG_NET_GAME_SERVER_ROUND MSG_SOCK_LIMIT_CONNECT + 11
#define MSG_NET_GAME_SERVER_ACTION MSG_SOCK_LIMIT_CONNECT + 11 #define MSG_NET_GAME_SERVER_ACTION MSG_SOCK_LIMIT_CONNECT + 12
#define MSG_NET_GAME_SERVER_CARDS_DELAY MSG_SOCK_LIMIT_CONNECT + 12 #define MSG_NET_GAME_SERVER_CARDS_DELAY MSG_SOCK_LIMIT_CONNECT + 13
#define MSG_NET_GAME_SERVER_END MSG_SOCK_LIMIT_CONNECT + 13 #define MSG_NET_GAME_SERVER_END MSG_SOCK_LIMIT_CONNECT + 14
#define MSG_NET_LIMIT_GAME MSG_NET_GAME_SERVER_END #define MSG_NET_LIMIT_GAME MSG_NET_GAME_SERVER_END
+1 -1
View File
@@ -23,7 +23,7 @@ static ber_tlv_tag_t asn_DEF_AfkWarningMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AfkWarningMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AfkWarningMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* remainingTimeouts at 751 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* remainingTimeouts at 761 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AfkWarningMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AfkWarningMessage_specs_1 = {
sizeof(struct AfkWarningMessage), sizeof(struct AfkWarningMessage),
+1 -1
View File
@@ -23,7 +23,7 @@ static ber_tlv_tag_t asn_DEF_AfterHandShowCardsMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AfterHandShowCardsMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AfterHandShowCardsMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerResult at 584 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerResult at 594 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AfterHandShowCardsMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AfterHandShowCardsMessage_specs_1 = {
sizeof(struct AfterHandShowCardsMessage), sizeof(struct AfterHandShowCardsMessage),
+2 -2
View File
@@ -102,8 +102,8 @@ static ber_tlv_tag_t asn_DEF_AllInShowCardsMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AllInShowCardsMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AllInShowCardsMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 541 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 551 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* playersAllIn at 543 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* playersAllIn at 553 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AllInShowCardsMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AllInShowCardsMessage_specs_1 = {
sizeof(struct AllInShowCardsMessage), sizeof(struct AllInShowCardsMessage),
+3 -3
View File
@@ -164,9 +164,9 @@ static ber_tlv_tag_t asn_DEF_AskKickDeniedMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AskKickDeniedMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AskKickDeniedMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 602 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 612 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 603 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 613 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* kickDeniedReason at 605 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* kickDeniedReason at 615 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AskKickDeniedMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AskKickDeniedMessage_specs_1 = {
sizeof(struct AskKickDeniedMessage), sizeof(struct AskKickDeniedMessage),
+2 -2
View File
@@ -32,8 +32,8 @@ static ber_tlv_tag_t asn_DEF_AskKickPlayerMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AskKickPlayerMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AskKickPlayerMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 597 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 607 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 599 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 609 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AskKickPlayerMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AskKickPlayerMessage_specs_1 = {
sizeof(struct AskKickPlayerMessage), sizeof(struct AskKickPlayerMessage),
+11 -11
View File
@@ -87,11 +87,11 @@ static asn_TYPE_member_t asn_MBR_chatType_2[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_chatType_tag2el_2[] = { static asn_TYPE_tag2member_t asn_MAP_chatType_tag2el_2[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 702 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 712 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatTypeGame at 703 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatTypeGame at 713 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* chatTypeBot at 704 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* chatTypeBot at 714 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* chatTypeBroadcast at 705 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* chatTypeBroadcast at 715 */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* chatTypePrivate at 707 */ { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* chatTypePrivate at 717 */
}; };
static asn_CHOICE_specifics_t asn_SPC_chatType_specs_2 = { static asn_CHOICE_specifics_t asn_SPC_chatType_specs_2 = {
sizeof(struct chatType), sizeof(struct chatType),
@@ -151,12 +151,12 @@ static ber_tlv_tag_t asn_DEF_ChatMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 708 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 718 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 702 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 712 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatTypeGame at 703 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatTypeGame at 713 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 }, /* chatTypeBot at 704 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 }, /* chatTypeBot at 714 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 0 }, /* chatTypeBroadcast at 705 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 0 }, /* chatTypeBroadcast at 715 */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 0, 0, 0 } /* chatTypePrivate at 707 */ { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 0, 0, 0 } /* chatTypePrivate at 717 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatMessage_specs_1 = {
sizeof(struct ChatMessage), sizeof(struct ChatMessage),
+1 -1
View File
@@ -55,7 +55,7 @@ static ber_tlv_tag_t asn_DEF_ChatRejectMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatRejectMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatRejectMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* chatText at 731 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* chatText at 741 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatRejectMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatRejectMessage_specs_1 = {
sizeof(struct ChatRejectMessage), sizeof(struct ChatRejectMessage),
+7 -7
View File
@@ -69,9 +69,9 @@ static asn_TYPE_member_t asn_MBR_chatRequestType_2[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_chatRequestType_tag2el_2[] = { static asn_TYPE_tag2member_t asn_MAP_chatRequestType_tag2el_2[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 682 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 692 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatRequestTypeGame at 683 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatRequestTypeGame at 693 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* chatRequestTypePrivate at 685 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* chatRequestTypePrivate at 695 */
}; };
static asn_CHOICE_specifics_t asn_SPC_chatRequestType_specs_2 = { static asn_CHOICE_specifics_t asn_SPC_chatRequestType_specs_2 = {
sizeof(struct chatRequestType), sizeof(struct chatRequestType),
@@ -131,10 +131,10 @@ static ber_tlv_tag_t asn_DEF_ChatRequestMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatRequestMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatRequestMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 686 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 696 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 682 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 692 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatRequestTypeGame at 683 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatRequestTypeGame at 693 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 } /* chatRequestTypePrivate at 685 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 } /* chatRequestTypePrivate at 695 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestMessage_specs_1 = {
sizeof(struct ChatRequestMessage), sizeof(struct ChatRequestMessage),
+1 -1
View File
@@ -22,7 +22,7 @@ static ber_tlv_tag_t asn_DEF_ChatRequestTypeGame_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatRequestTypeGame_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatRequestTypeGame_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 694 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 704 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestTypeGame_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestTypeGame_specs_1 = {
sizeof(struct ChatRequestTypeGame), sizeof(struct ChatRequestTypeGame),
+1 -1
View File
@@ -22,7 +22,7 @@ static ber_tlv_tag_t asn_DEF_ChatRequestTypePrivate_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatRequestTypePrivate_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatRequestTypePrivate_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* targetPlayerId at 698 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* targetPlayerId at 708 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestTypePrivate_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestTypePrivate_specs_1 = {
sizeof(struct ChatRequestTypePrivate), sizeof(struct ChatRequestTypePrivate),
+2 -2
View File
@@ -31,8 +31,8 @@ static ber_tlv_tag_t asn_DEF_ChatTypeGame_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatTypeGame_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatTypeGame_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 716 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 726 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 718 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 728 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeGame_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeGame_specs_1 = {
sizeof(struct ChatTypeGame), sizeof(struct ChatTypeGame),
+1 -1
View File
@@ -22,7 +22,7 @@ static ber_tlv_tag_t asn_DEF_ChatTypeLobby_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatTypeLobby_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatTypeLobby_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 713 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 723 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeLobby_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeLobby_specs_1 = {
sizeof(struct ChatTypeLobby), sizeof(struct ChatTypeLobby),
+1 -1
View File
@@ -22,7 +22,7 @@ static ber_tlv_tag_t asn_DEF_ChatTypePrivate_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatTypePrivate_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatTypePrivate_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 728 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 738 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatTypePrivate_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatTypePrivate_specs_1 = {
sizeof(struct ChatTypePrivate), sizeof(struct ChatTypePrivate),
+4 -4
View File
@@ -50,10 +50,10 @@ static ber_tlv_tag_t asn_DEF_DealFlopCardsMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_DealFlopCardsMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_DealFlopCardsMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 524 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 534 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* flopCard1 at 525 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* flopCard1 at 535 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* flopCard2 at 526 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* flopCard2 at 536 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* flopCard3 at 528 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* flopCard3 at 538 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_DealFlopCardsMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_DealFlopCardsMessage_specs_1 = {
sizeof(struct DealFlopCardsMessage), sizeof(struct DealFlopCardsMessage),
+2 -2
View File
@@ -32,8 +32,8 @@ static ber_tlv_tag_t asn_DEF_DealRiverCardMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_DealRiverCardMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_DealRiverCardMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 536 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 546 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* riverCard at 538 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* riverCard at 548 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_DealRiverCardMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_DealRiverCardMessage_specs_1 = {
sizeof(struct DealRiverCardMessage), sizeof(struct DealRiverCardMessage),
+2 -2
View File
@@ -32,8 +32,8 @@ static ber_tlv_tag_t asn_DEF_DealTurnCardMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_DealTurnCardMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_DealTurnCardMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 531 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 541 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* turnCard at 533 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* turnCard at 543 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_DealTurnCardMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_DealTurnCardMessage_specs_1 = {
sizeof(struct DealTurnCardMessage), sizeof(struct DealTurnCardMessage),
+1 -1
View File
@@ -55,7 +55,7 @@ static ber_tlv_tag_t asn_DEF_DialogMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_DialogMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_DialogMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* notificationText at 735 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* notificationText at 745 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_DialogMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_DialogMessage_specs_1 = {
sizeof(struct DialogMessage), sizeof(struct DialogMessage),
+1 -1
View File
@@ -48,7 +48,7 @@ static ber_tlv_tag_t asn_DEF_EncryptedCards_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EncryptedCards_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_EncryptedCards_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* cardData at 474 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* cardData at 484 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EncryptedCards_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EncryptedCards_specs_1 = {
sizeof(struct EncryptedCards), sizeof(struct EncryptedCards),
+6 -6
View File
@@ -239,12 +239,12 @@ static ber_tlv_tag_t asn_DEF_EndKickPetitionMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndKickPetitionMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_EndKickPetitionMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 4, 0, 0 }, /* resultPlayerKicked at 660 */ { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 4, 0, 0 }, /* resultPlayerKicked at 670 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 656 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 666 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* petitionId at 657 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* petitionId at 667 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* numVotesAgainstKicking at 658 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* numVotesAgainstKicking at 668 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 }, /* numVotesInFavourOfKicking at 659 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 }, /* numVotesInFavourOfKicking at 669 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 5, 0, 0 } /* petitionEndReason at 662 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 5, 0, 0 } /* petitionEndReason at 672 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EndKickPetitionMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EndKickPetitionMessage_specs_1 = {
sizeof(struct EndKickPetitionMessage), sizeof(struct EndKickPetitionMessage),
+2 -2
View File
@@ -32,8 +32,8 @@ static ber_tlv_tag_t asn_DEF_EndOfGameMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndOfGameMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_EndOfGameMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 587 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 597 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* winnerPlayerId at 589 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* winnerPlayerId at 599 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EndOfGameMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EndOfGameMessage_specs_1 = {
sizeof(struct EndOfGameMessage), sizeof(struct EndOfGameMessage),
+3 -3
View File
@@ -40,9 +40,9 @@ static ber_tlv_tag_t asn_DEF_EndOfHandHideCards_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndOfHandHideCards_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_EndOfHandHideCards_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 574 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 584 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* moneyWon at 575 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* moneyWon at 585 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* playerMoney at 577 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* playerMoney at 587 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandHideCards_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandHideCards_specs_1 = {
sizeof(struct EndOfHandHideCards), sizeof(struct EndOfHandHideCards),
+5 -5
View File
@@ -28,8 +28,8 @@ static asn_TYPE_member_t asn_MBR_endOfHandType_3[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_endOfHandType_tag2el_3[] = { static asn_TYPE_tag2member_t asn_MAP_endOfHandType_tag2el_3[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* endOfHandShowCards at 554 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* endOfHandShowCards at 564 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 556 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 566 */
}; };
static asn_CHOICE_specifics_t asn_SPC_endOfHandType_specs_3 = { static asn_CHOICE_specifics_t asn_SPC_endOfHandType_specs_3 = {
sizeof(struct endOfHandType), sizeof(struct endOfHandType),
@@ -89,9 +89,9 @@ static ber_tlv_tag_t asn_DEF_EndOfHandMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndOfHandMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_EndOfHandMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 552 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 562 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* endOfHandShowCards at 554 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* endOfHandShowCards at 564 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 556 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 566 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandMessage_specs_1 = {
sizeof(struct EndOfHandMessage), sizeof(struct EndOfHandMessage),
+1 -1
View File
@@ -92,7 +92,7 @@ static ber_tlv_tag_t asn_DEF_EndOfHandShowCards_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndOfHandShowCards_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_EndOfHandShowCards_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerResults at 561 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerResults at 571 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandShowCards_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandShowCards_specs_1 = {
sizeof(struct EndOfHandShowCards), sizeof(struct EndOfHandShowCards),
+1 -1
View File
@@ -166,7 +166,7 @@ static ber_tlv_tag_t asn_DEF_ErrorMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ErrorMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ErrorMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* errorReason at 769 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* errorReason at 779 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ErrorMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ErrorMessage_specs_1 = {
sizeof(struct ErrorMessage), sizeof(struct ErrorMessage),
+6 -6
View File
@@ -28,8 +28,8 @@ static asn_TYPE_member_t asn_MBR_gameStartMode_4[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_gameStartMode_tag2el_4[] = { static asn_TYPE_tag2member_t asn_MAP_gameStartMode_tag2el_4[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gameStartModeInitial at 463 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gameStartModeInitial at 473 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* gameStartModeRejoin at 465 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* gameStartModeRejoin at 475 */
}; };
static asn_CHOICE_specifics_t asn_SPC_gameStartMode_specs_4 = { static asn_CHOICE_specifics_t asn_SPC_gameStartMode_specs_4 = {
sizeof(struct gameStartMode), sizeof(struct gameStartMode),
@@ -98,10 +98,10 @@ static ber_tlv_tag_t asn_DEF_GameStartMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameStartMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GameStartMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 460 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 470 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* startDealerPlayerId at 461 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* startDealerPlayerId at 471 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* gameStartModeInitial at 463 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* gameStartModeInitial at 473 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* gameStartModeRejoin at 465 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* gameStartModeRejoin at 475 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameStartMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameStartMessage_specs_1 = {
sizeof(struct GameStartMessage), sizeof(struct GameStartMessage),
+1 -1
View File
@@ -92,7 +92,7 @@ static ber_tlv_tag_t asn_DEF_GameStartModeInitial_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameStartModeInitial_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GameStartModeInitial_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerSeats at 452 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerSeats at 462 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameStartModeInitial_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameStartModeInitial_specs_1 = {
sizeof(struct GameStartModeInitial), sizeof(struct GameStartModeInitial),
+2 -2
View File
@@ -101,8 +101,8 @@ static ber_tlv_tag_t asn_DEF_GameStartModeRejoin_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameStartModeRejoin_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GameStartModeRejoin_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* handNum at 455 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* handNum at 465 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* rejoinPlayerData at 457 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* rejoinPlayerData at 467 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameStartModeRejoin_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameStartModeRejoin_specs_1 = {
sizeof(struct GameStartModeRejoin), sizeof(struct GameStartModeRejoin),
+6 -6
View File
@@ -53,8 +53,8 @@ static asn_TYPE_member_t asn_MBR_yourCards_3[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_yourCards_tag2el_3[] = { static asn_TYPE_tag2member_t asn_MAP_yourCards_tag2el_3[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* plainCards at 480 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* plainCards at 490 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* encryptedCards at 482 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* encryptedCards at 492 */
}; };
static asn_CHOICE_specifics_t asn_SPC_yourCards_specs_3 = { static asn_CHOICE_specifics_t asn_SPC_yourCards_specs_3 = {
sizeof(struct yourCards), sizeof(struct yourCards),
@@ -123,10 +123,10 @@ static ber_tlv_tag_t asn_DEF_HandStartMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_HandStartMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_HandStartMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 478 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 488 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -1, 0 }, /* smallBlind at 483 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -1, 0 }, /* smallBlind at 493 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* plainCards at 480 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* plainCards at 490 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* encryptedCards at 482 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* encryptedCards at 492 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_HandStartMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_HandStartMessage_specs_1 = {
sizeof(struct HandStartMessage), sizeof(struct HandStartMessage),
+5 -5
View File
@@ -134,11 +134,11 @@ static ber_tlv_tag_t asn_DEF_KickPetitionUpdateMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_KickPetitionUpdateMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_KickPetitionUpdateMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 4 }, /* gameId at 648 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 4 }, /* gameId at 658 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 3 }, /* petitionId at 649 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 3 }, /* petitionId at 659 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 2 }, /* numVotesAgainstKicking at 650 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 2 }, /* numVotesAgainstKicking at 660 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 1 }, /* numVotesInFavourOfKicking at 651 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 1 }, /* numVotesInFavourOfKicking at 661 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 0 } /* numVotesNeededToKick at 652 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 0 } /* numVotesNeededToKick at 662 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_KickPetitionUpdateMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_KickPetitionUpdateMessage_specs_1 = {
sizeof(struct KickPetitionUpdateMessage), sizeof(struct KickPetitionUpdateMessage),
+5 -5
View File
@@ -59,11 +59,11 @@ static ber_tlv_tag_t asn_DEF_MyActionRequestMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_MyActionRequestMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_MyActionRequestMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* gameId at 493 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* gameId at 503 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* handNum at 494 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* handNum at 504 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -2, 0 }, /* myRelativeBet at 498 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -2, 0 }, /* myRelativeBet at 508 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 1 }, /* gameState at 495 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 1 }, /* gameState at 505 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, -1, 0 } /* myAction at 496 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, -1, 0 } /* myAction at 506 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_MyActionRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_MyActionRequestMessage_specs_1 = {
sizeof(struct MyActionRequestMessage), sizeof(struct MyActionRequestMessage),
+2 -2
View File
@@ -31,8 +31,8 @@ static ber_tlv_tag_t asn_DEF_PlainCards_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlainCards_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_PlainCards_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* plainCard1 at 469 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* plainCard1 at 479 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* plainCard2 at 471 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* plainCard2 at 481 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlainCards_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlainCards_specs_1 = {
sizeof(struct PlainCards), sizeof(struct PlainCards),
+3 -3
View File
@@ -40,9 +40,9 @@ static ber_tlv_tag_t asn_DEF_PlayerAllIn_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayerAllIn_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_PlayerAllIn_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 546 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 556 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* allInCard1 at 547 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* allInCard1 at 557 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* allInCard2 at 549 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* allInCard2 at 559 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayerAllIn_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayerAllIn_specs_1 = {
sizeof(struct PlayerAllIn), sizeof(struct PlayerAllIn),
+2 -2
View File
@@ -32,8 +32,8 @@ static ber_tlv_tag_t asn_DEF_PlayerIdChangedMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayerIdChangedMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_PlayerIdChangedMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* oldPlayerId at 592 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* oldPlayerId at 602 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* newPlayerId at 594 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* newPlayerId at 604 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayerIdChangedMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayerIdChangedMessage_specs_1 = {
sizeof(struct PlayerIdChangedMessage), sizeof(struct PlayerIdChangedMessage),
+7 -7
View File
@@ -146,13 +146,13 @@ static ber_tlv_tag_t asn_DEF_PlayerResult_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayerResult_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_PlayerResult_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* playerId at 564 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* playerId at 574 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* resultCard1 at 565 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* resultCard1 at 575 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* resultCard2 at 566 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* resultCard2 at 576 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -3, 2 }, /* cardsValue at 568 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -3, 2 }, /* cardsValue at 578 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -4, 1 }, /* moneyWon at 569 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -4, 1 }, /* moneyWon at 579 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -5, 0 }, /* playerMoney at 571 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -5, 0 }, /* playerMoney at 581 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, 0, 0 } /* bestHandPosition at 567 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, 0, 0 } /* bestHandPosition at 577 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayerResult_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayerResult_specs_1 = {
sizeof(struct PlayerResult), sizeof(struct PlayerResult),
+8 -8
View File
@@ -86,14 +86,14 @@ static ber_tlv_tag_t asn_DEF_PlayersActionDoneMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayersActionDoneMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_PlayersActionDoneMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* gameId at 513 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* gameId at 523 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* playerId at 514 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* playerId at 524 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -2, 3 }, /* totalPlayerBet at 517 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -2, 3 }, /* totalPlayerBet at 527 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -3, 2 }, /* playerMoney at 518 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -3, 2 }, /* playerMoney at 528 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -4, 1 }, /* highestSet at 519 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -4, 1 }, /* highestSet at 529 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -5, 0 }, /* minimumRaise at 521 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -5, 0 }, /* minimumRaise at 531 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 1 }, /* gameState at 515 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 1 }, /* gameState at 525 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, -1, 0 } /* playerAction at 516 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, -1, 0 } /* playerAction at 526 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayersActionDoneMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayersActionDoneMessage_specs_1 = {
sizeof(struct PlayersActionDoneMessage), sizeof(struct PlayersActionDoneMessage),
+3 -3
View File
@@ -41,9 +41,9 @@ static ber_tlv_tag_t asn_DEF_PlayersTurnMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayersTurnMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_PlayersTurnMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 487 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 497 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 488 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 498 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* gameState at 490 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* gameState at 500 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayersTurnMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayersTurnMessage_specs_1 = {
sizeof(struct PlayersTurnMessage), sizeof(struct PlayersTurnMessage),
+44
View File
@@ -0,0 +1,44 @@
/*
* Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1"
* `asn1c -fskeletons-copy`
*/
#include "RejoinEvent.h"
static ber_tlv_tag_t asn_DEF_RejoinEvent_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_SEQUENCE_specifics_t asn_SPC_RejoinEvent_specs_1 = {
sizeof(struct RejoinEvent),
offsetof(struct RejoinEvent, _asn_ctx),
0, /* No top level tags */
0, /* No tags in the map */
0, 0, 0, /* Optional elements (not needed) */
-1, /* Start extensions */
-1 /* Stop extensions */
};
asn_TYPE_descriptor_t asn_DEF_RejoinEvent = {
"RejoinEvent",
"RejoinEvent",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
SEQUENCE_decode_ber,
SEQUENCE_encode_der,
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
0, 0, /* No PER support, use "-gen-PER" to enable */
0, /* Use generic outmost tag fetcher */
asn_DEF_RejoinEvent_tags_1,
sizeof(asn_DEF_RejoinEvent_tags_1)
/sizeof(asn_DEF_RejoinEvent_tags_1[0]), /* 1 */
asn_DEF_RejoinEvent_tags_1, /* Same as above */
sizeof(asn_DEF_RejoinEvent_tags_1)
/sizeof(asn_DEF_RejoinEvent_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
0, 0, /* No members */
&asn_SPC_RejoinEvent_specs_1 /* Additional specs */
};
+40
View File
@@ -0,0 +1,40 @@
/*
* 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 _RejoinEvent_H_
#define _RejoinEvent_H_
#include <asn_application.h>
/* Including external dependencies */
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* RejoinEvent */
typedef struct RejoinEvent {
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} RejoinEvent_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_RejoinEvent;
#ifdef __cplusplus
}
#endif
#endif /* _RejoinEvent_H_ */
#include <asn_internal.h>
+2 -2
View File
@@ -31,8 +31,8 @@ static ber_tlv_tag_t asn_DEF_RejoinPlayerData_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_RejoinPlayerData_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_RejoinPlayerData_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* playerId at 446 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* playerId at 456 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerMoney at 448 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerMoney at 458 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_RejoinPlayerData_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_RejoinPlayerData_specs_1 = {
sizeof(struct RejoinPlayerData), sizeof(struct RejoinPlayerData),
+2 -2
View File
@@ -151,8 +151,8 @@ static ber_tlv_tag_t asn_DEF_ReportAvatarAckMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ReportAvatarAckMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ReportAvatarAckMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* reportedPlayerId at 759 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* reportedPlayerId at 769 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* reportResult at 761 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* reportResult at 771 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ReportAvatarAckMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ReportAvatarAckMessage_specs_1 = {
sizeof(struct ReportAvatarAckMessage), sizeof(struct ReportAvatarAckMessage),
+2 -2
View File
@@ -32,8 +32,8 @@ static ber_tlv_tag_t asn_DEF_ReportAvatarMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ReportAvatarMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ReportAvatarMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* reportedPlayerId at 754 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* reportedPlayerId at 764 */
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 } /* reportedAvatar at 756 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 } /* reportedAvatar at 766 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ReportAvatarMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ReportAvatarMessage_specs_1 = {
sizeof(struct ReportAvatarMessage), sizeof(struct ReportAvatarMessage),
+59
View File
@@ -0,0 +1,59 @@
/*
* Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1"
* `asn1c -fskeletons-copy`
*/
#include "StartEvent.h"
static asn_TYPE_member_t asn_MBR_StartEvent_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct StartEvent, fillWithComputerPlayers),
(ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
0,
&asn_DEF_BOOLEAN,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"fillWithComputerPlayers"
},
};
static ber_tlv_tag_t asn_DEF_StartEvent_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_StartEvent_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 0, 0, 0 } /* fillWithComputerPlayers at 445 */
};
static asn_SEQUENCE_specifics_t asn_SPC_StartEvent_specs_1 = {
sizeof(struct StartEvent),
offsetof(struct StartEvent, _asn_ctx),
asn_MAP_StartEvent_tag2el_1,
1, /* Count of tags in the map */
0, 0, 0, /* Optional elements (not needed) */
0, /* Start extensions */
2 /* Stop extensions */
};
asn_TYPE_descriptor_t asn_DEF_StartEvent = {
"StartEvent",
"StartEvent",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
SEQUENCE_decode_ber,
SEQUENCE_encode_der,
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
0, 0, /* No PER support, use "-gen-PER" to enable */
0, /* Use generic outmost tag fetcher */
asn_DEF_StartEvent_tags_1,
sizeof(asn_DEF_StartEvent_tags_1)
/sizeof(asn_DEF_StartEvent_tags_1[0]), /* 1 */
asn_DEF_StartEvent_tags_1, /* Same as above */
sizeof(asn_DEF_StartEvent_tags_1)
/sizeof(asn_DEF_StartEvent_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
asn_MBR_StartEvent_1,
1, /* Elements count */
&asn_SPC_StartEvent_specs_1 /* Additional specs */
};
+42
View File
@@ -0,0 +1,42 @@
/*
* 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 _StartEvent_H_
#define _StartEvent_H_
#include <asn_application.h>
/* Including external dependencies */
#include <BOOLEAN.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* StartEvent */
typedef struct StartEvent {
BOOLEAN_t fillWithComputerPlayers;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} StartEvent_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_StartEvent;
#ifdef __cplusplus
}
#endif
#endif /* _StartEvent_H_ */
#include <asn_internal.h>
+1 -1
View File
@@ -23,7 +23,7 @@ static ber_tlv_tag_t asn_DEF_StartEventAckMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_StartEventAckMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_StartEventAckMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 443 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 453 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_StartEventAckMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_StartEventAckMessage_specs_1 = {
sizeof(struct StartEventAckMessage), sizeof(struct StartEventAckMessage),
+65 -7
View File
@@ -7,6 +7,63 @@
#include "StartEventMessage.h" #include "StartEventMessage.h"
static asn_TYPE_member_t asn_MBR_startEventType_3[] = {
{ ATF_NOFLAGS, 0, offsetof(struct startEventType, choice.startEvent),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_StartEvent,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"startEvent"
},
{ ATF_NOFLAGS, 0, offsetof(struct startEventType, choice.rejoinEvent),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_RejoinEvent,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"rejoinEvent"
},
};
static asn_TYPE_tag2member_t asn_MAP_startEventType_tag2el_3[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* startEvent at 439 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* rejoinEvent at 441 */
};
static asn_CHOICE_specifics_t asn_SPC_startEventType_specs_3 = {
sizeof(struct startEventType),
offsetof(struct startEventType, _asn_ctx),
offsetof(struct startEventType, present),
sizeof(((struct startEventType *)0)->present),
asn_MAP_startEventType_tag2el_3,
2, /* Count of tags in the map */
0,
2 /* Extensions start */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_startEventType_3 = {
"startEventType",
"startEventType",
CHOICE_free,
CHOICE_print,
CHOICE_constraint,
CHOICE_decode_ber,
CHOICE_encode_der,
CHOICE_decode_xer,
CHOICE_encode_xer,
0, 0, /* No PER support, use "-gen-PER" to enable */
CHOICE_outmost_tag,
0, /* No effective tags (pointer) */
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
0, /* No PER visible constraints */
asn_MBR_startEventType_3,
2, /* Elements count */
&asn_SPC_startEventType_specs_3 /* Additional specs */
};
static asn_TYPE_member_t asn_MBR_StartEventMessage_1[] = { static asn_TYPE_member_t asn_MBR_StartEventMessage_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct StartEventMessage, gameId), { ATF_NOFLAGS, 0, offsetof(struct StartEventMessage, gameId),
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
@@ -17,14 +74,14 @@ static asn_TYPE_member_t asn_MBR_StartEventMessage_1[] = {
0, 0,
"gameId" "gameId"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct StartEventMessage, fillWithComputerPlayers), { ATF_NOFLAGS, 0, offsetof(struct StartEventMessage, startEventType),
(ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), -1 /* Ambiguous tag (CHOICE?) */,
0, 0,
&asn_DEF_BOOLEAN, &asn_DEF_startEventType_3,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */ 0, /* PER is not compiled, use -gen-PER */
0, 0,
"fillWithComputerPlayers" "startEventType"
}, },
}; };
static ber_tlv_tag_t asn_DEF_StartEventMessage_tags_1[] = { static ber_tlv_tag_t asn_DEF_StartEventMessage_tags_1[] = {
@@ -32,14 +89,15 @@ static ber_tlv_tag_t asn_DEF_StartEventMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_StartEventMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_StartEventMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* fillWithComputerPlayers at 438 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 437 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 437 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* startEvent at 439 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* rejoinEvent at 441 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_StartEventMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_StartEventMessage_specs_1 = {
sizeof(struct StartEventMessage), sizeof(struct StartEventMessage),
offsetof(struct StartEventMessage, _asn_ctx), offsetof(struct StartEventMessage, _asn_ctx),
asn_MAP_StartEventMessage_tag2el_1, asn_MAP_StartEventMessage_tag2el_1,
2, /* Count of tags in the map */ 3, /* Count of tags in the map */
0, 0, 0, /* Optional elements (not needed) */ 0, 0, 0, /* Optional elements (not needed) */
1, /* Start extensions */ 1, /* Start extensions */
3 /* Stop extensions */ 3 /* Stop extensions */
+27 -2
View File
@@ -13,17 +13,42 @@
/* Including external dependencies */ /* Including external dependencies */
#include "NonZeroId.h" #include "NonZeroId.h"
#include <BOOLEAN.h> #include "StartEvent.h"
#include "RejoinEvent.h"
#include <constr_CHOICE.h>
#include <constr_SEQUENCE.h> #include <constr_SEQUENCE.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
/* Dependencies */
typedef enum startEventType_PR {
startEventType_PR_NOTHING, /* No components present */
startEventType_PR_startEvent,
startEventType_PR_rejoinEvent,
/* Extensions may appear below */
}
startEventType_PR;
/* StartEventMessage */ /* StartEventMessage */
typedef struct StartEventMessage { typedef struct StartEventMessage {
NonZeroId_t gameId; NonZeroId_t gameId;
BOOLEAN_t fillWithComputerPlayers; struct startEventType {
startEventType_PR present;
union StartEventMessage__startEventType_u {
StartEvent_t startEvent;
RejoinEvent_t rejoinEvent;
/*
* This type is extensible,
* possible extensions are below.
*/
} choice;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} startEventType;
/* /*
* This type is extensible, * This type is extensible,
* possible extensions are below. * possible extensions are below.
+6 -6
View File
@@ -118,12 +118,12 @@ static ber_tlv_tag_t asn_DEF_StartKickPetitionMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_StartKickPetitionMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_StartKickPetitionMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* gameId at 614 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* gameId at 624 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* petitionId at 615 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* petitionId at 625 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* proposingPlayerId at 616 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* proposingPlayerId at 626 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 2 }, /* kickPlayerId at 617 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 2 }, /* kickPlayerId at 627 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 1 }, /* kickTimeoutSec at 618 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 1 }, /* kickTimeoutSec at 628 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -5, 0 } /* numVotesNeededToKick at 619 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -5, 0 } /* numVotesNeededToKick at 629 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_StartKickPetitionMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_StartKickPetitionMessage_specs_1 = {
sizeof(struct StartKickPetitionMessage), sizeof(struct StartKickPetitionMessage),
+2 -2
View File
@@ -146,8 +146,8 @@ static ber_tlv_tag_t asn_DEF_StatisticsData_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_StatisticsData_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_StatisticsData_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* statisticsValue at 678 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* statisticsValue at 688 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* statisticsType at 675 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* statisticsType at 685 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_StatisticsData_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_StatisticsData_specs_1 = {
sizeof(struct StatisticsData), sizeof(struct StatisticsData),
+1 -1
View File
@@ -93,7 +93,7 @@ static ber_tlv_tag_t asn_DEF_StatisticsMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_StatisticsMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_StatisticsMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* statisticsData at 671 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* statisticsData at 681 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_StatisticsMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_StatisticsMessage_specs_1 = {
sizeof(struct StatisticsMessage), sizeof(struct StatisticsMessage),
+2 -2
View File
@@ -149,8 +149,8 @@ static ber_tlv_tag_t asn_DEF_TimeoutWarningMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_TimeoutWarningMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_TimeoutWarningMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* remainingSeconds at 744 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* remainingSeconds at 754 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* timeoutReason at 740 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* timeoutReason at 750 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_TimeoutWarningMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_TimeoutWarningMessage_specs_1 = {
sizeof(struct TimeoutWarningMessage), sizeof(struct TimeoutWarningMessage),
+1 -1
View File
@@ -139,7 +139,7 @@ static ber_tlv_tag_t asn_DEF_VoteKickDenied_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_VoteKickDenied_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_VoteKickDenied_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* voteKickDeniedReason at 642 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* voteKickDeniedReason at 652 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_VoteKickDenied_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_VoteKickDenied_specs_1 = {
sizeof(struct VoteKickDenied), sizeof(struct VoteKickDenied),
+6 -6
View File
@@ -28,8 +28,8 @@ static asn_TYPE_member_t asn_MBR_voteKickReplyType_4[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_voteKickReplyType_tag2el_4[] = { static asn_TYPE_tag2member_t asn_MAP_voteKickReplyType_tag2el_4[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* voteKickAck at 632 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* voteKickAck at 642 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* voteKickDenied at 634 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* voteKickDenied at 644 */
}; };
static asn_CHOICE_specifics_t asn_SPC_voteKickReplyType_specs_4 = { static asn_CHOICE_specifics_t asn_SPC_voteKickReplyType_specs_4 = {
sizeof(struct voteKickReplyType), sizeof(struct voteKickReplyType),
@@ -98,10 +98,10 @@ static ber_tlv_tag_t asn_DEF_VoteKickReplyMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_VoteKickReplyMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_VoteKickReplyMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 629 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 639 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* petitionId at 630 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* petitionId at 640 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* voteKickAck at 632 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* voteKickAck at 642 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* voteKickDenied at 634 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* voteKickDenied at 644 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_VoteKickReplyMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_VoteKickReplyMessage_specs_1 = {
sizeof(struct VoteKickReplyMessage), sizeof(struct VoteKickReplyMessage),
+3 -3
View File
@@ -41,9 +41,9 @@ static ber_tlv_tag_t asn_DEF_VoteKickRequestMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_VoteKickRequestMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_VoteKickRequestMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 2, 0, 0 }, /* voteKick at 625 */ { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 2, 0, 0 }, /* voteKick at 635 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 623 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 633 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* petitionId at 624 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* petitionId at 634 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_VoteKickRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_VoteKickRequestMessage_specs_1 = {
sizeof(struct VoteKickRequestMessage), sizeof(struct VoteKickRequestMessage),
+5 -5
View File
@@ -178,11 +178,11 @@ static ber_tlv_tag_t asn_DEF_YourActionRejectedMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_YourActionRejectedMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_YourActionRejectedMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 501 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 511 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* yourRelativeBet at 504 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* yourRelativeBet at 514 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 2 }, /* gameState at 502 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 2 }, /* gameState at 512 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 1 }, /* yourAction at 503 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 1 }, /* yourAction at 513 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 4, -2, 0 } /* rejectionReason at 506 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 4, -2, 0 } /* rejectionReason at 516 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_YourActionRejectedMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_YourActionRejectedMessage_specs_1 = {
sizeof(struct YourActionRejectedMessage), sizeof(struct YourActionRejectedMessage),
+1 -1
View File
@@ -39,7 +39,7 @@
#endif #endif
#ifndef ASSUMESTDTYPES /* Standard types have been defined elsewhere */ #ifndef ASSUMESTDTYPES /* Standard types have been defined elsewhere */
#define ssize_t SSIZE_T #define ssize_t SSIZE_T
typedef char int8_t; //typedef char int8_t;
typedef short int16_t; typedef short int16_t;
typedef int int32_t; typedef int int32_t;
typedef unsigned char uint8_t; typedef unsigned char uint8_t;