Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ComponentDespawnEvent<RoomType>

Emitted when a component is despawned.

Type parameters

  • RoomType: Hostable

Hierarchy

Implements

Index

Properties

Constructors

Properties

Static eventName

eventName: "component.despawn" = ...

Readonly component

component: Networkable<RoomType, NetworkableEvents<Hostable<any>>, Hostable<any>>

The component that this event is for.

eventName

eventName: "component.despawn" = ...

Readonly room

room: RoomType

The room or client that the event came from.

Constructors

constructor

  • new ComponentDespawnEvent<RoomType>(room: RoomType, component: Networkable<RoomType, NetworkableEvents<Hostable<any>>, Hostable<any>>): ComponentDespawnEvent<RoomType>

Generated using TypeDoc