OnRoomLeaved

Name

OnRoomLeaved - Raises when other player leaves the room.

Synopsis

Namespace: LoadBalancer.Client.Game

protected CallResult OnRoomLeaved(ClientCallContext call, LeaveRoomParameters parameters)

Parameters

ClientCallContext represents the call context.

LeaveRoomParameters consists of the following parameters:

  • RoomId string - The unique identifier of the room.
  • PlayerId string - The unique identifier of the player who left the room.

Return Value

The CallResult which can be one of the following values:

NotHandled = 0, Completed = 1, Failed = 2, Reenqueued = 3,