Adding missing network packets.
This commit is contained in:
+35
-19
@@ -41,7 +41,9 @@ PokerTHMessage ::= CHOICE {
|
|||||||
kickPlayerRequestMessage KickPlayerRequestMessage,
|
kickPlayerRequestMessage KickPlayerRequestMessage,
|
||||||
leaveGameRequestMessage LeaveGameRequestMessage,
|
leaveGameRequestMessage LeaveGameRequestMessage,
|
||||||
invitePlayerToGameMessage InvitePlayerToGameMessage,
|
invitePlayerToGameMessage InvitePlayerToGameMessage,
|
||||||
|
inviteNotifyMessage InviteNotifyMessage,
|
||||||
rejectGameInvitationMessage RejectGameInvitationMessage,
|
rejectGameInvitationMessage RejectGameInvitationMessage,
|
||||||
|
rejectInvNotifyMessage RejectInvNotifyMessage,
|
||||||
startEventMessage StartEventMessage,
|
startEventMessage StartEventMessage,
|
||||||
startEventAckMessage StartEventAckMessage,
|
startEventAckMessage StartEventAckMessage,
|
||||||
gameStartMessage GameStartMessage,
|
gameStartMessage GameStartMessage,
|
||||||
@@ -386,50 +388,64 @@ InvitePlayerToGameMessage ::= [APPLICATION 16] SEQUENCE {
|
|||||||
playerId NonZeroId
|
playerId NonZeroId
|
||||||
}
|
}
|
||||||
|
|
||||||
RejectGameInvitationMessage ::= [APPLICATION 17] SEQUENCE {
|
InviteNotifyMessage ::= [APPLICATION 17] SEQUENCE {
|
||||||
gameId NonZeroId,
|
gameId NonZeroId,
|
||||||
rejectGameInvitationReason ENUMERATED {
|
playerIdWho NonZeroId,
|
||||||
no (0),
|
playerIdByWhom NonZeroId
|
||||||
busy (1)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
StartEventMessage ::= [APPLICATION 18] SEQUENCE {
|
RejectGameInvReason ::= ENUMERATED {
|
||||||
|
no (0),
|
||||||
|
busy (1)
|
||||||
|
}
|
||||||
|
|
||||||
|
RejectGameInvitationMessage ::= [APPLICATION 18] SEQUENCE {
|
||||||
|
gameId NonZeroId,
|
||||||
|
myRejectReason RejectGameInvReason
|
||||||
|
}
|
||||||
|
|
||||||
|
RejectInvNotifyMessage ::= [APPLICATION 19] SEQUENCE {
|
||||||
|
gameId NonZeroId,
|
||||||
|
playerId NonZeroId,
|
||||||
|
playerRejectReason RejectGameInvReason
|
||||||
|
}
|
||||||
|
|
||||||
|
StartEventMessage ::= [APPLICATION 20] SEQUENCE {
|
||||||
gameId NonZeroId,
|
gameId NonZeroId,
|
||||||
fillWithComputerPlayers BOOLEAN
|
fillWithComputerPlayers BOOLEAN
|
||||||
}
|
}
|
||||||
|
|
||||||
StartEventAckMessage ::= [APPLICATION 19] SEQUENCE {
|
StartEventAckMessage ::= [APPLICATION 21] SEQUENCE {
|
||||||
gameId NonZeroId
|
gameId NonZeroId
|
||||||
}
|
}
|
||||||
|
|
||||||
GameStartMessage ::= [APPLICATION 20] SEQUENCE {
|
GameStartMessage ::= [APPLICATION 22] SEQUENCE {
|
||||||
gameId NonZeroId,
|
gameId NonZeroId,
|
||||||
startDealerPlayerId NonZeroId,
|
startDealerPlayerId NonZeroId,
|
||||||
playerSeats SEQUENCE SIZE(2..10) OF NonZeroId
|
playerSeats SEQUENCE SIZE(2..10) OF NonZeroId
|
||||||
}
|
}
|
||||||
|
|
||||||
HandStartMessage ::= [APPLICATION 21] SEQUENCE {
|
HandStartMessage ::= [APPLICATION 23] SEQUENCE {
|
||||||
gameId NonZeroId,
|
gameId NonZeroId,
|
||||||
yourCard1 Card,
|
yourCard1 Card,
|
||||||
yourCard2 Card,
|
yourCard2 Card,
|
||||||
smallBlind INTEGER(1..20001)
|
smallBlind INTEGER(1..20001)
|
||||||
}
|
}
|
||||||
|
|
||||||
PlayersTurnMessage ::= [APPLICATION 22] SEQUENCE {
|
PlayersTurnMessage ::= [APPLICATION 24] SEQUENCE {
|
||||||
gameId NonZeroId,
|
gameId NonZeroId,
|
||||||
playerId NonZeroId,
|
playerId NonZeroId,
|
||||||
gameState NetGameState
|
gameState NetGameState
|
||||||
}
|
}
|
||||||
|
|
||||||
MyActionRequestMessage ::= [APPLICATION 23] SEQUENCE {
|
MyActionRequestMessage ::= [APPLICATION 25] SEQUENCE {
|
||||||
gameId NonZeroId,
|
gameId NonZeroId,
|
||||||
gameState NetGameState,
|
gameState NetGameState,
|
||||||
myAction NetPlayerAction,
|
myAction NetPlayerAction,
|
||||||
myRelativeBet INTEGER(0..10000000)
|
myRelativeBet INTEGER(0..10000000)
|
||||||
}
|
}
|
||||||
|
|
||||||
YourActionRejectedMessage ::= [APPLICATION 24] SEQUENCE {
|
YourActionRejectedMessage ::= [APPLICATION 26] SEQUENCE {
|
||||||
gameId NonZeroId,
|
gameId NonZeroId,
|
||||||
gameState NetGameState,
|
gameState NetGameState,
|
||||||
yourAction NetPlayerAction,
|
yourAction NetPlayerAction,
|
||||||
@@ -441,7 +457,7 @@ YourActionRejectedMessage ::= [APPLICATION 24] SEQUENCE {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PlayersActionDoneMessage ::= [APPLICATION 25] SEQUENCE {
|
PlayersActionDoneMessage ::= [APPLICATION 27] SEQUENCE {
|
||||||
gameId NonZeroId,
|
gameId NonZeroId,
|
||||||
playerId NonZeroId,
|
playerId NonZeroId,
|
||||||
gameState NetGameState,
|
gameState NetGameState,
|
||||||
@@ -452,24 +468,24 @@ PlayersActionDoneMessage ::= [APPLICATION 25] SEQUENCE {
|
|||||||
minimumRaise INTEGER(0..10000000) -- TODO
|
minimumRaise INTEGER(0..10000000) -- TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
DealFlopCardsMessage ::= [APPLICATION 26] SEQUENCE {
|
DealFlopCardsMessage ::= [APPLICATION 28] SEQUENCE {
|
||||||
gameId NonZeroId,
|
gameId NonZeroId,
|
||||||
flopCard1 Card,
|
flopCard1 Card,
|
||||||
flopCard2 Card,
|
flopCard2 Card,
|
||||||
flopCard3 Card
|
flopCard3 Card
|
||||||
}
|
}
|
||||||
|
|
||||||
DealTurnCardMessage ::= [APPLICATION 27] SEQUENCE {
|
DealTurnCardMessage ::= [APPLICATION 29] SEQUENCE {
|
||||||
gameId NonZeroId,
|
gameId NonZeroId,
|
||||||
turnCard Card
|
turnCard Card
|
||||||
}
|
}
|
||||||
|
|
||||||
DealRiverCardMessage ::= [APPLICATION 28] SEQUENCE {
|
DealRiverCardMessage ::= [APPLICATION 30] SEQUENCE {
|
||||||
gameId NonZeroId,
|
gameId NonZeroId,
|
||||||
riverCard Card
|
riverCard Card
|
||||||
}
|
}
|
||||||
|
|
||||||
AllInShowCardsMessage ::= [APPLICATION 29] SEQUENCE {
|
AllInShowCardsMessage ::= [APPLICATION 31] SEQUENCE {
|
||||||
gameId NonZeroId,
|
gameId NonZeroId,
|
||||||
playersAllIn SEQUENCE SIZE(1..10) OF PlayerAllIn
|
playersAllIn SEQUENCE SIZE(1..10) OF PlayerAllIn
|
||||||
}
|
}
|
||||||
@@ -480,7 +496,7 @@ PlayerAllIn ::= SEQUENCE {
|
|||||||
allInCard2 Card
|
allInCard2 Card
|
||||||
}
|
}
|
||||||
|
|
||||||
EndOfHandMessage ::= [APPLICATION 30] SEQUENCE {
|
EndOfHandMessage ::= [APPLICATION 32] SEQUENCE {
|
||||||
gameId NonZeroId,
|
gameId NonZeroId,
|
||||||
endOfHandType CHOICE {
|
endOfHandType CHOICE {
|
||||||
endOfHandShowCards [0] EndOfHandShowCards,
|
endOfHandShowCards [0] EndOfHandShowCards,
|
||||||
@@ -508,7 +524,7 @@ EndOfHandHideCards ::= SEQUENCE {
|
|||||||
playerMoney INTEGER(0..10000000)
|
playerMoney INTEGER(0..10000000)
|
||||||
}
|
}
|
||||||
|
|
||||||
EndOfGameMessage ::= [APPLICATION 31] SEQUENCE {
|
EndOfGameMessage ::= [APPLICATION 33] SEQUENCE {
|
||||||
gameId NonZeroId,
|
gameId NonZeroId,
|
||||||
winnerPlayerId NonZeroId
|
winnerPlayerId NonZeroId
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user