From 2fec7d18ea097d50785f372caa64e363d8d264be Mon Sep 17 00:00:00 2001 From: lotodore Date: Fri, 24 Dec 2010 11:36:21 +0000 Subject: [PATCH] Adding report avatar feature to network protocol. --- docs/pokerth.asn1 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/pokerth.asn1 b/docs/pokerth.asn1 index 62d24724..89e74cd2 100644 --- a/docs/pokerth.asn1 +++ b/docs/pokerth.asn1 @@ -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),