UNPKG

isaacscript-common

Version:

Helper functions and features for IsaacScript mods.

16 lines 803 B
import type { ModCallbackCustom } from "../../enums/ModCallbackCustom"; import type { FireArgs, OptionalArgs } from "../private/CustomCallback"; import { CustomCallback } from "../private/CustomCallback"; type T = ModCallbackCustom.POST_PICKUP_SELECTION_FILTER; export declare class PostPickupSelectionFilter extends CustomCallback<T> { constructor(); /** * We cannot use the `shouldFirePickup` helper function because in the case of non-collectibles, * `EntityPickup.Type` and `EntityPickup.Variant` and `EntityPickup.SubType` will all be set to 0 * in this callback. */ protected shouldFire: (fireArgs: FireArgs<T>, optionalArgs: OptionalArgs<T>) => boolean; private readonly postPickupSelection; } export {}; //# sourceMappingURL=PostPickupSelectionFilter.d.ts.map