JoinRoom
Name
JoinRoom - Joins a specific room.
Synopsis
Namespace: LoadBalancer.Client.Game
public async Task<JoinRoomResult> JoinRoom(JoinRoomParameters parameters)
Parameters
JoinRoomParameters consists of the following parameters:
RoomIdstring- The unique identifier of the room obtained from the invocation of theFindRoommethod.PlayerIdstring- The unique identifier of the player who joins the room.PlayerPropertiesKeyValueCollection- A collection of key-value pairs containing the player properties who created the room.
Return Value
The JoinRoomResult containing properties related to the room, player and room objects:
RoomIdstring- The unique identifier of the created room.RoomPropertiesKeyValueCollection- A collection of key-value pairs containing the room properties.PlayerIdstring- The unique identifier of the player who created the room.PlayerPropertiesKeyValueCollection- A collection of key-value pairs containing the player properties who created the room.RoomObjectsObject[]- An array containing objects loaded into the room scene.