OnPlayerUpdated

Name

OnPlayerUpdated - Raises when a player gets updated.

Synopsis

Namespace: LoadBalancer.Client.Game

protected CallResult OnPlayerUpdated(ClientCallContext call, UpdatePlayerParameters parameters)

Parameters

ClientCallContext represents the call context.

UpdatePlayerParameters consists of the following parameters:

  • RoomId string - The unique identifier of the room.
  • PlayerId string - The unique identifier of the player.
  • 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,