skeldjs
    Preparing search index...

    Class PlayerSetVisorEvent<RoomType>

    Emitted when a player has their player visor updated.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    eventName: "player.setvisor" = ...
    message: undefined | SetVisorMessage

    The message that this event originated from.

    newVisorId: string

    The new visor that the player has.

    oldVisorId: string

    The visor that the player had before.

    player: Player<RoomType>

    The player that this event is for.

    room: RoomType

    The room or client that the event came from.

    eventName: "player.setvisor" = ...

    Accessors

    Methods