OnRoomJoined
Name
OnRoomJoined - Raises when other player joins the room.
Synopsis
Namespace: LoadBalancer.Client.Game
protected CallResult OnRoomJoined(ClientCallContext call, JoinRoomParameters parameters)
Parameters
ClientCallContext represents the call context.
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 player properties.
Return Value
The CallResult which can be one of the following values:
NotHandled = 0,
Completed = 1,
Failed = 2,
Reenqueued = 3,