RaiseRoomEvent

Name

RaiseRoomEvent - Raises the room event.

Synopsis

Namespace: LoadBalancer.Client.Game

public void RaiseRoomEvent(RoomEvent parameters)

Parameters

RoomEvent consists of the following parameters:

  • SenderId string - The unique identifier of player who triggered the event.
  • RoomId string - The unique identifier of the room.
  • PlayerId string - The unique identifier of the player who should receive the event. Could be omitted for broadcast.
  • Name KeyType - The unique identifier of the event type.
  • Parameters KeyValueCollection - A collection of key-value pairs containing the event properties.

Return Value

None.