diff --git a/docs/chatcleaner.asn1 b/docs/chatcleaner.asn1 index 90351f08..9e1bea32 100644 --- a/docs/chatcleaner.asn1 +++ b/docs/chatcleaner.asn1 @@ -1,5 +1,5 @@ --************************************************************************** --- Copyright (C) 2009 by Lothar May * +-- Copyright (C) 2009-2011 by Lothar May * -- * -- This program is free software; you can redistribute it and/or modify * -- it under the terms of the GNU General Public License as published by * @@ -40,8 +40,21 @@ CleanerInitAckMessage ::= [APPLICATION 1] SEQUENCE { serverSecret UTF8String (SIZE(1..32)) } +CleanerChatType ::= CHOICE { + cleanerChatTypeLobby [0] CleanerChatTypeLobby, + cleanerChatTypeGame [1] CleanerChatTypeGame +} + +CleanerChatTypeLobby ::= SEQUENCE { +} + +CleanerChatTypeGame ::= SEQUENCE { + gameId INTEGER(1..4294967295), +} + CleanerChatRequestMessage ::= [APPLICATION 2] SEQUENCE { requestId INTEGER(1..4294967295), + cleanerChatType CleanerChatType, playerId INTEGER(1..4294967295), playerName UTF8String (SIZE(1..32)), chatMessage UTF8String (SIZE(1..128)) @@ -49,6 +62,7 @@ CleanerChatRequestMessage ::= [APPLICATION 2] SEQUENCE { CleanerChatReplyMessage ::= [APPLICATION 3] SEQUENCE { requestId INTEGER(1..4294967295), + cleanerChatType CleanerChatType, playerId INTEGER(1..4294967295), cleanerActionType ENUMERATED { cleanerActionNone (0),