mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-14 10:12:59 +02:00
27 lines
638 B
JSON
27 lines
638 B
JSON
{
|
|
"type" : "object",
|
|
"$schema" : "http://json-schema.org/draft-06/schema",
|
|
"title" : "Lobby protocol: inviteReceived",
|
|
"description" : "Sent by server when player receives an invite from another player to join the game room",
|
|
"required" : [ "type", "accountID", "gameRoomID" ],
|
|
"additionalProperties" : false,
|
|
|
|
"properties" : {
|
|
"type" :
|
|
{
|
|
"type" : "string",
|
|
"const" : "inviteReceived"
|
|
},
|
|
"accountID" :
|
|
{
|
|
"type" : "string",
|
|
"description" : "ID of account that sent an invite"
|
|
},
|
|
"gameRoomID" :
|
|
{
|
|
"type" : "string",
|
|
"description" : "ID of game room that this player is now allowed to join"
|
|
}
|
|
}
|
|
}
|