skeldjs
    Preparing search index...

    Class PlayerSetColorEvent<RoomType>

    Emitted when a player has their player color updated.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    eventName: "player.setcolor" = ...
    message: undefined | SetColorMessage

    The message that this event originated from.

    newColor: Color

    The new color that the player has.

    oldColor: Color

    The color 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.setcolor" = ...

    Accessors

    Methods