Class ComponentSpawnEvent<RoomType>

Emitted when a component is spawned.

Type Parameters

Hierarchy

  • BasicEvent
    • ComponentSpawnEvent

Implements

Properties

Constructors

Properties

eventName: "component.spawn"
component: Networkable<RoomType, NetworkableEvents<Hostable<any>>, Hostable<any>>

The component that this event is for.

eventName: "component.spawn"
room: RoomType

The room or client that the event came from.

Constructors

Generated using TypeDoc