skeldjs
    Preparing search index...

    Class PlayerSetPetEvent<RoomType>

    Emitted when a player has their player pet updated.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    eventName: "player.setpet" = ...
    message: undefined | SetPetMessage

    The message that this event originated from.

    newPetId: string

    The new pet that the player has.

    oldPetId: string

    The pet 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.setpet" = ...

    Accessors

    Methods