Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PlayerCompleteTaskEvent<RoomType>

Emitted when a player completes one of their tasks.

Type parameters

  • RoomType: Hostable

Hierarchy

Implements

Index

Properties

Static eventName

eventName: "player.completetask" = ...

eventName

eventName: "player.completetask" = ...

Readonly message

message: undefined | CompleteTaskMessage

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.

Readonly task

task: TaskState

Constructors

constructor

Generated using TypeDoc