Adding support for guest mode in network protocol.
This commit is contained in:
+9
-2
@@ -235,9 +235,16 @@ PlayerInfoReplyMessage ::= [APPLICATION 9] SEQUENCE {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PlayerInfoRights ::= ENUMERATED {
|
||||||
|
playerRightsGuest (1),
|
||||||
|
playerRightsNormal (2),
|
||||||
|
playerRightsAdmin (3)
|
||||||
|
}
|
||||||
|
|
||||||
PlayerInfoData ::= SEQUENCE {
|
PlayerInfoData ::= SEQUENCE {
|
||||||
playerName UTF8String (SIZE(1..32)),
|
playerName UTF8String (SIZE(1..32)),
|
||||||
isHuman BOOLEAN,
|
isHuman BOOLEAN,
|
||||||
|
playerRights PlayerInfoRights,
|
||||||
avatarData SEQUENCE {
|
avatarData SEQUENCE {
|
||||||
avatarType NetAvatarType,
|
avatarType NetAvatarType,
|
||||||
avatar AvatarHash
|
avatar AvatarHash
|
||||||
@@ -282,7 +289,7 @@ JoinGameReplyMessage ::= [APPLICATION 12] SEQUENCE {
|
|||||||
}
|
}
|
||||||
|
|
||||||
JoinGameAck ::= SEQUENCE {
|
JoinGameAck ::= SEQUENCE {
|
||||||
areYouAdmin BOOLEAN,
|
yourRights PlayerInfoRights,
|
||||||
gameInfo NetGameInfo
|
gameInfo NetGameInfo
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -328,7 +335,7 @@ GamePlayerMessage ::= [APPLICATION 13] SEQUENCE {
|
|||||||
|
|
||||||
GamePlayerJoined ::= SEQUENCE {
|
GamePlayerJoined ::= SEQUENCE {
|
||||||
playerId NonZeroId,
|
playerId NonZeroId,
|
||||||
isAdmin BOOLEAN
|
curPlayerRights PlayerInfoRights
|
||||||
}
|
}
|
||||||
|
|
||||||
GamePlayerLeft ::= SEQUENCE {
|
GamePlayerLeft ::= SEQUENCE {
|
||||||
|
|||||||
Reference in New Issue
Block a user