SkeldJS
    Preparing search index...

    Class PlayerPetEvent<RoomType>

    Emitted when a player pets their pet or another player's pet.

    Due to technical limitations, the actual pet that is being petted is not available.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    eventName: "player.pet" = ...
    canceled: boolean
    eventName: "player.pet" = ...
    message: undefined | PetMessage

    The message that this event originated from.

    petPos: Vector2
    player: Player<RoomType>
    playerPos: Vector2
    room: RoomType

    Methods