1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00
vcmi/config/schemas/lobbyProtocol/joinRoomSuccess.json

27 lines
652 B
JSON

{
"type" : "object",
"$schema" : "http://json-schema.org/draft-06/schema",
"title" : "Lobby protocol: joinRoomSuccess",
"description" : "Sent by server when player successfully joins the game room",
"required" : [ "type", "gameRoomID", "proxyMode" ],
"additionalProperties" : false,
"properties" : {
"type" :
{
"type" : "string",
"const" : "joinRoomSuccess"
},
"gameRoomID" :
{
"type" : "string",
"description" : "ID of game room that this player now participates in"
},
"proxyMode" :
{
"type" : "boolean",
"description" : "If true, account should use proxy mode and connect to server via game lobby"
}
}
}