ActiveListDeactivatedMultipleEvent<T>

TYPE DEFINITION

Represents multiple deactivations happening at the same time in an ActiveList.

IMPORTANT: this event is only fired as a result of a direct deactivation call. So not when activating an item also deactivated an item due to a maxActivationLimit being set.

Since 1.0.0

Extends ActiveListBaseEvent

Properties

  • indexes

    number []

    The indexes of the deactivated items.

    Note: these are the indexes at the time of the deactivation, it might no longer be accurate.

    Since 1.0.0

  • type

    "DEACTIVATED_MULTIPLE"

    Which type occurred

    Since 1.0.0

  • values

    T []

    The values which were deactivated.

    Note: these are the values at the time of deactivation, they might no longer be accurate. Keep in mind that when the value is an object or an array, they can still be mutated, because no copy is made.

    Since 1.0.0