SerenityJS
    Preparing search index...

    Class PlayerContainerInteractionSignal

    Hierarchy (View Summary)

    Index

    Constructors

    • Creates a new player container interaction signal.

      Parameters

      • player: Player

        The player that interacted with a container.

      • sourceContainer: Container

        The source container that the player interacted with.

      • sourceSlot: number

        The slot in the source container that the player interacted with.

      • destinationContainer: null | Container

        The destination container that the player interacted with.

      • destinationSlot: null | number

        The slot in the destination container that the player interacted with.

      • amount: number

        The amount of items that were selected.

      • requestId: number

        The request id of the container interaction.

      Returns PlayerContainerInteractionSignal

    Properties

    amount: number

    The amount of items that were selected.

    destinationContainer: null | Container

    The destination container that the player interacted with.

    destinationSlot: null | number

    The slot in the destination container that the player interacted with.

    identifier: WorldEvent = ...

    The identifier of the signal.

    player: Player

    The player that interacted with a container.

    requestId: number

    The request id of the container interaction.

    sourceContainer: Container

    The source container that the player interacted with.

    sourceSlot: number

    The slot in the source container that the player interacted with.

    world: World

    The world instance the signal was emitted in.

    identifier: PlayerContainerInteraction = WorldEvent.PlayerContainerInteraction

    The identifier of the signal.

    Methods