Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ComponentSpawnEvent<RoomType>

Emitted when a component is spawned.

Type parameters

  • RoomType: Hostable

Hierarchy

Implements

Index

Properties

Constructors

Properties

Static eventName

eventName: "component.spawn" = ...

Readonly component

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

The component that this event is for.

eventName

eventName: "component.spawn" = ...

Readonly room

room: RoomType

The room or client that the event came from.

Constructors

constructor

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

Generated using TypeDoc