PlayerGameModeChangeEvent
Cancellable intent emitted before the authoritative player mode changes.
Bedriox\Api\Event\Player\PlayerGameModeChangeEvent
classBedriox\Api\Event\Player
Public methods
__construct(Bedriox\Api\Player\Player $player, Bedriox\Api\Player\GameMode $previous, Bedriox\Api\Player\GameMode $gameMode)Typed public method.
gameMode(): Bedriox\Api\Player\GameModeTyped public method.
setGameMode(Bedriox\Api\Player\GameMode $gameMode): voidTyped public method.
