From cb89dccf607b9c82c948bfe04a62000fb8e810cf Mon Sep 17 00:00:00 2001 From: lotodore Date: Sun, 30 Jan 2011 16:21:53 +0000 Subject: [PATCH] Preparing integration of chat cleaner in ranking games. --- docs/chatcleaner.asn1 | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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),