skeldjs
    Preparing search index...

    Class PlayerSetNameEvent<RoomType>

    Emitted when a player has their player name updated.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    eventName: "player.setname" = ...
    message: undefined | SetNameMessage

    The message that this event originated from.

    newName: string

    The new name that the player has.

    oldName: string

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

    Accessors

    Methods