Adding report avatar feature to network protocol.

This commit is contained in:
lotodore
2010-12-24 11:36:21 +00:00
parent 29e16e3489
commit 2fec7d18ea
+16
View File
@@ -74,6 +74,8 @@ PokerTHMessage ::= CHOICE {
timeoutWarningMessage TimeoutWarningMessage,
resetTimeoutMessage ResetTimeoutMessage,
afkWarningMessage AfkWarningMessage,
reportAvatarMessage ReportAvatarMessage,
reportAvatarAckMessage ReportAvatarAckMessage,
errorMessage ErrorMessage
}
@@ -705,6 +707,20 @@ AfkWarningMessage ::= [APPLICATION 134] SEQUENCE {
remainingTimeouts INTEGER
}
ReportAvatarMessage ::= [APPLICATION 135] SEQUENCE {
reportedPlayerId NonZeroId,
reportedAvatar AvatarHash
}
ReportAvatarAckMessage ::= [APPLICATION 136] SEQUENCE {
reportedPlayerId NonZeroId,
reportResult ENUMERATED {
avatarReportAccepted (0),
avatarReportDuplicate (1),
avatarReportInvalid (2)
}
}
ErrorMessage ::= [APPLICATION 255] SEQUENCE {
errorReason ENUMERATED {
errorReserved (0),