Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PlayerUseMovingPlatformEvent<RoomType>

Emitted when a player uses a moving platform. Emitted before the player has actually used it, see MovingPlatformPlayerUpdateEvent to listen for when a player has actually used a moving platform and is moving.

Type parameters

  • RoomType: Hostable

Hierarchy

Implements

Index

Properties

Methods

Constructors

Properties

Static eventName

eventName: "player.usemovingplatform" = ...

canceled

canceled: boolean

eventName

eventName: "player.usemovingplatform" = ...

Readonly message

message: undefined | UsePlatformMessage

The message that this event originated from.

Readonly player

player: PlayerData<RoomType>

The player that this event is for.

Readonly room

room: RoomType

The room or client that the event came from.

Methods

cancel

  • cancel(): void

Constructors

constructor

Generated using TypeDoc