skeldjs
    Preparing search index...

    Class PlayerCheckColorEvent<RoomType>

    Emitted when a player requests to have their color set. Only emitted if the client is the host.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    alteredColor: Color

    The altered color, i.e. the original color was taken.

    canceled: boolean
    eventName: "player.checkcolor" = ...
    message: undefined | CheckColorMessage

    The message that this event originated from.

    originalColor: Color

    The original color that the player asked for.

    player: Player<RoomType>

    The player that this event is for.

    room: RoomType

    The room or client that the event came from.

    eventName: "player.checkcolor" = ...

    Methods