skeldjs
    Preparing search index...

    Class PlayerCheckNameEvent<RoomType>

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

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    alteredName: string

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

    canceled: boolean
    eventName: "player.checkname" = ...
    message: undefined | CheckNameMessage

    The message that this event originated from.

    originalName: string

    The original name 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.checkname" = ...

    Methods