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:

  • RoomId string - The unique identifier of the room obtained from the invocation of the FindRoom method.
  • PlayerId string - The unique identifier of the player who joins the room.
  • PlayerProperties KeyValueCollection - 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,