Contains information regarding an event before a player interacts with an entity.

Hierarchy

  • PlayerGameModeChangeBeforeEvent

Constructors

Properties

Constructors

Properties

cancel: boolean

Remarks

If set to true the game mode change will be cancelled.

fromGameMode: GameMode

Remarks

The current game mode.

player: Player

Remarks

Source Player for this event.

toGameMode: GameMode

Remarks

The game mode being changed to.