2024-03-04 14:12:42 +02:00
|
|
|
{
|
|
|
|
"type" : "object",
|
|
|
|
"$schema" : "http://json-schema.org/draft-06/schema",
|
|
|
|
"title" : "Lobby protocol: activateGameRoom",
|
|
|
|
"description" : "Sent by client when player wants to activate a game room",
|
2024-03-08 14:23:08 +02:00
|
|
|
"required" : [ "type", "hostAccountID", "roomType" ],
|
2024-03-04 14:12:42 +02:00
|
|
|
"additionalProperties" : false,
|
|
|
|
|
|
|
|
"properties" : {
|
|
|
|
"type" :
|
|
|
|
{
|
|
|
|
"type" : "string",
|
|
|
|
"const" : "activateGameRoom"
|
|
|
|
},
|
|
|
|
"hostAccountID" :
|
|
|
|
{
|
|
|
|
"type" : "string",
|
|
|
|
"description" : "Account ID that hosts match server that player wants to activate"
|
|
|
|
},
|
|
|
|
"roomType" :
|
|
|
|
{
|
|
|
|
"type" : "string",
|
|
|
|
"enum" : [ "public", "private" ],
|
|
|
|
"description" : "Room type to use for activation"
|
2024-03-11 20:03:33 +02:00
|
|
|
},
|
|
|
|
"playerLimit" :
|
|
|
|
{
|
|
|
|
"type" : "number",
|
|
|
|
"minimum" : 1,
|
|
|
|
"maximum" : 8,
|
|
|
|
"description" : "Maximum number of players that can enter this room"
|
|
|
|
},
|
2024-03-04 14:12:42 +02:00
|
|
|
}
|
|
|
|
}
|