isaacscript-common 1.0.523 → 1.0.524
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/callbacks/customRevive.d.ts +1 -2
- package/dist/callbacks/itemPickup.d.ts +1 -2
- package/dist/callbacks/postBombInitLate.d.ts +1 -2
- package/dist/callbacks/postCursedTeleport.d.ts +1 -2
- package/dist/callbacks/postEffectInitLate.d.ts +1 -2
- package/dist/callbacks/postEsauJr.d.ts +1 -2
- package/dist/callbacks/postFamiliarInitLate.d.ts +1 -2
- package/dist/callbacks/postFlip.d.ts +1 -2
- package/dist/callbacks/postGridEntity.d.ts +1 -2
- package/dist/callbacks/postLaserInitLate.d.ts +1 -2
- package/dist/callbacks/postNPCInitLate.d.ts +1 -2
- package/dist/callbacks/postNewRoomEarly.d.ts +1 -2
- package/dist/callbacks/postPickupCollect.d.ts +1 -2
- package/dist/callbacks/postPickupInitLate.d.ts +1 -2
- package/dist/callbacks/postPlayerChangeHealth.d.ts +1 -2
- package/dist/callbacks/postPlayerChangeType.d.ts +1 -2
- package/dist/callbacks/postPlayerFatalDamage.d.ts +1 -2
- package/dist/callbacks/postPlayerInitLate.d.ts +1 -2
- package/dist/callbacks/postPlayerReordered.d.ts +1 -2
- package/dist/callbacks/postProjectileInitLate.d.ts +1 -2
- package/dist/callbacks/postPurchase.d.ts +1 -2
- package/dist/callbacks/postSacrifice.d.ts +1 -2
- package/dist/callbacks/postSlotInitUpdate.d.ts +1 -2
- package/dist/callbacks/postSlotRenderBroken.d.ts +1 -2
- package/dist/callbacks/postTearInitLate.d.ts +1 -2
- package/dist/callbacks/postTransformation.d.ts +1 -2
- package/dist/callbacks/preNewLevel.d.ts +1 -2
- package/dist/callbacks/reorderedCallbacks.d.ts +0 -6
- package/dist/callbacks/subscriptions/PreNewLevel.d.ts +1 -4
- package/dist/callbacks/subscriptions/postBombInitLate.d.ts +1 -5
- package/dist/callbacks/subscriptions/postCursedTeleport.d.ts +1 -5
- package/dist/callbacks/subscriptions/postCustomRevive.d.ts +1 -5
- package/dist/callbacks/subscriptions/postEffectInitLate.d.ts +1 -5
- package/dist/callbacks/subscriptions/postEsauJr.d.ts +1 -5
- package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts +1 -5
- package/dist/callbacks/subscriptions/postFirstEsauJr.d.ts +1 -5
- package/dist/callbacks/subscriptions/postFirstFlip.d.ts +1 -5
- package/dist/callbacks/subscriptions/postFlip.d.ts +1 -5
- package/dist/callbacks/subscriptions/postGameStartedReordered.d.ts +1 -4
- package/dist/callbacks/subscriptions/postGridEntityInit.d.ts +1 -5
- package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts +1 -5
- package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts +1 -5
- package/dist/callbacks/subscriptions/postItemPickup.d.ts +0 -4
- package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts +1 -2
- package/dist/callbacks/subscriptions/postLaserInitLate.d.ts +1 -5
- package/dist/callbacks/subscriptions/postNPCInitLate.d.ts +1 -5
- package/dist/callbacks/subscriptions/postNewLevelReordered.d.ts +1 -4
- package/dist/callbacks/subscriptions/postNewRoomEarly.d.ts +1 -4
- package/dist/callbacks/subscriptions/postNewRoomReordered.d.ts +1 -4
- package/dist/callbacks/subscriptions/postPickupCollect.d.ts +1 -5
- package/dist/callbacks/subscriptions/postPickupInitLate.d.ts +1 -5
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts +1 -6
- package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts +1 -5
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts +1 -5
- package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts +1 -5
- package/dist/callbacks/subscriptions/postPlayerInitReordered.d.ts +1 -5
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts +1 -5
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts +1 -5
- package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts +1 -5
- package/dist/callbacks/subscriptions/postPurchase.d.ts +1 -5
- package/dist/callbacks/subscriptions/postSacrifice.d.ts +1 -5
- package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts +1 -5
- package/dist/callbacks/subscriptions/postSlotInit.d.ts +1 -5
- package/dist/callbacks/subscriptions/postSlotRender.d.ts +1 -5
- package/dist/callbacks/subscriptions/postSlotUpdate.d.ts +1 -5
- package/dist/callbacks/subscriptions/postTearInitLate.d.ts +1 -5
- package/dist/callbacks/subscriptions/postTransformation.d.ts +1 -5
- package/dist/callbacks/subscriptions/preCustomRevive.d.ts +1 -5
- package/dist/callbacks/subscriptions/preItemPickup.d.ts +1 -6
- package/dist/constantsInternal.d.ts +1 -5
- package/dist/debug.d.ts +1 -2
- package/dist/errors.d.ts +1 -1
- package/dist/features/deployJSONRoom.d.ts +0 -3
- package/dist/features/disableInputs.d.ts +0 -3
- package/dist/features/forgottenSwitch.d.ts +0 -3
- package/dist/features/getCollectibleItemPoolType.d.ts +0 -3
- package/dist/features/preventCollectibleRotate.d.ts +0 -2
- package/dist/features/runInNFrames.d.ts +0 -2
- package/dist/features/saveDataManager/main.d.ts +1 -5
- package/dist/features/sirenHelpers.d.ts +0 -2
- package/dist/initialized.d.ts +1 -2
- package/dist/patchErrorFunctions.d.ts +1 -9
- package/dist/patchPrintFunction.d.ts +1 -8
- package/dist/types/ModCallbacksCustom.d.ts +0 -2
- package/dist/upgradeMod.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function customReviveCallbacksInit(mod: ModUpgraded): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function itemPickupCallbacksInit(mod: ModUpgraded): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postBombInitLateCallbackInit(mod: Mod): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postCursedTeleportCallbackInit(mod: Mod): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postEffectInitLateCallbackInit(mod: Mod): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postEsauJrCallbacksInit(mod: Mod): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postFamiliarInitLateCallbackInit(mod: Mod): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postFlipCallbacksInit(mod: Mod): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postGridEntityCallbacksInit(mod: Mod): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postLaserInitLateCallbackInit(mod: Mod): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postNPCInitLateCallbackInit(mod: Mod): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postNewRoomEarlyCallbackInit(mod: ModUpgraded): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postPickupCollectCallbackInit(mod: Mod): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postPickupInitLateCallbackInit(mod: Mod): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postPlayerChangeHealthCallbackInit(mod: ModUpgraded): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postPlayerChangeTypeCallbackInit(mod: ModUpgraded): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postPlayerFatalDamageCallbackInit(mod: ModUpgraded): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postPlayerInitLateCallbackInit(mod: Mod): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postPlayerReorderedCallbacksInit(mod: Mod): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postProjectileInitLateCallbackInit(mod: Mod): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postPurchaseCallbackInit(mod: Mod): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postSacrificeCallbackInit(mod: Mod): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postSlotInitUpdateCallbacksInit(mod: Mod): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postSlotRenderBrokenCallbacksInit(mod: Mod): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postTearInitLateCallbackInit(mod: Mod): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function postTransformationCallbackInit(mod: ModUpgraded): void;
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function preNewLevelCallbackInit(mod: ModUpgraded): void;
|
|
1
|
+
export {};
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
2
|
-
export declare function reorderedCallbacksInit(mod: Mod): void;
|
|
3
1
|
/**
|
|
4
2
|
* If some specific cases, mods can change the current level during run initialization on the 0th
|
|
5
3
|
* frame. However, due to how the callback reordering works, the custom PostNewLevel callback will
|
|
6
4
|
* never fire on the 0th frame. To get around this, call this function before changing levels to
|
|
7
5
|
* temporarily force the callback to fire.
|
|
8
|
-
*
|
|
9
|
-
* @category Custom Callbacks
|
|
10
6
|
*/
|
|
11
7
|
export declare function forceNewLevelCallback(): void;
|
|
12
8
|
/**
|
|
@@ -14,7 +10,5 @@ export declare function forceNewLevelCallback(): void;
|
|
|
14
10
|
* frame. However, due to how the callback reordering works, the custom PostNewRoom callback will
|
|
15
11
|
* never fire on the 0th frame. To get around this, call this function before changing rooms to
|
|
16
12
|
* temporarily force the callback to fire.
|
|
17
|
-
*
|
|
18
|
-
* @category Custom Callbacks
|
|
19
13
|
*/
|
|
20
14
|
export declare function forceNewRoomCallback(): void;
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export declare function preNewLevelHasSubscriptions(): boolean;
|
|
3
|
-
export declare function preNewLevelRegister(callback: PreNewLevelCallbackType): void;
|
|
4
|
-
export declare function preNewLevelFire(): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostBombInitLateCallbackType = (bomb: EntityBomb) => void;
|
|
3
|
-
export declare function postBombInitLateHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postBombInitLateRegister(callback: PostBombInitLateCallbackType, bombVariant?: BombVariant | int): void;
|
|
5
|
-
export declare function postBombInitLateFire(bomb: EntityBomb): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostCursedTeleportCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function postCursedTeleportHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postCursedTeleportRegister(callback: PostCursedTeleportCallbackType): void;
|
|
5
|
-
export declare function postCursedTeleportFire(player: EntityPlayer): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostCustomReviveCallbackType = (player: EntityPlayer, revivalType: int) => void;
|
|
3
|
-
export declare function postCustomReviveHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postCustomReviveRegister(callback: PostCustomReviveCallbackType, revivalType?: int): void;
|
|
5
|
-
export declare function postCustomReviveFire(player: EntityPlayer, revivalType: int): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostEffectInitLateCallbackType = (effect: EntityEffect) => void;
|
|
3
|
-
export declare function postEffectInitLateHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postEffectInitLateRegister(callback: PostEffectInitLateCallbackType, effectVariant?: EffectVariant): void;
|
|
5
|
-
export declare function postEffectInitLateFire(effect: EntityEffect): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostEsauJrCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function postEsauJrHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postEsauJrRegister(callback: PostEsauJrCallbackType): void;
|
|
5
|
-
export declare function postEsauJrFire(player: EntityPlayer): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostFamiliarInitLateCallbackType = (familiar: EntityFamiliar) => void;
|
|
3
|
-
export declare function postFamiliarInitLateHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postFamiliarInitLateRegister(callback: PostFamiliarInitLateCallbackType, familiarVariant?: FamiliarVariant | int): void;
|
|
5
|
-
export declare function postFamiliarInitLateFire(familiar: EntityFamiliar): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostFirstEsauJrCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function postFirstEsauJrHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postFirstEsauJrRegister(callback: PostFirstEsauJrCallbackType): void;
|
|
5
|
-
export declare function postFirstEsauJrFire(player: EntityPlayer): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostFirstFlipCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function postFirstFlipHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postFirstFlipRegister(callback: PostFirstFlipCallbackType): void;
|
|
5
|
-
export declare function postFirstFlipFire(player: EntityPlayer): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostFlipCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function postFlipHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postFlipRegister(callback: PostFlipCallbackType): void;
|
|
5
|
-
export declare function postFlipFire(player: EntityPlayer): void;
|
|
1
|
+
export {};
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export declare function postGameStartedReorderedHasSubscriptions(): boolean;
|
|
3
|
-
export declare function postGameStartedReorderedRegister(callback: PostGameStartedReorderedCallbackType): void;
|
|
4
|
-
export declare function postGameStartedReorderedFire(isContinued: boolean): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostGridEntityInitCallbackType = (gridEntity: GridEntity) => void;
|
|
3
|
-
export declare function postGridEntityInitHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postGridEntityInitRegister(callback: PostGridEntityInitCallbackType, gridEntityType?: GridEntityType): void;
|
|
5
|
-
export declare function postGridEntityInitFire(gridEntity: GridEntity): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostGridEntityRemoveCallbackType = (gridIndex: int, gridEntityType: GridEntityType) => void;
|
|
3
|
-
export declare function postGridEntityRemoveHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postGridEntityRemoveRegister(callback: PostGridEntityRemoveCallbackType, gridEntityType?: GridEntityType): void;
|
|
5
|
-
export declare function postGridEntityRemoveFire(gridIndex: int, gridEntityType: GridEntityType): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostGridEntityUpdateCallbackType = (gridEntity: GridEntity) => void;
|
|
3
|
-
export declare function postGridEntityUpdateHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postGridEntityUpdateRegister(callback: PostGridEntityUpdateCallbackType, gridEntityType?: GridEntityType): void;
|
|
5
|
-
export declare function postGridEntityUpdateFire(gridEntity: GridEntity): void;
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,2 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
|
-
import { PickingUpItem } from "../../types/PickingUpItem";
|
|
3
2
|
export declare type PostItemPickupCallbackType = (player: EntityPlayer, pickingUpItem: PickingUpItem) => void;
|
|
4
|
-
export declare function postItemPickupHasSubscriptions(): boolean;
|
|
5
|
-
export declare function postItemPickupRegister(callback: PostItemPickupCallbackType, itemType?: ItemType, itemID?: int): void;
|
|
6
|
-
export declare function postItemPickupFire(player: EntityPlayer, pickingUpItem: PickingUpItem): void;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostKnifeInitLateCallbackType = (knife: EntityKnife) => void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostLaserInitLateCallbackType = (laser: EntityLaser) => void;
|
|
3
|
-
export declare function postLaserInitLateHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postLaserInitLateRegister(callback: PostLaserInitLateCallbackType, laserVariant?: LaserVariant | int): void;
|
|
5
|
-
export declare function postLaserInitLateFire(laser: EntityLaser): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostNPCInitLateCallbackType = (npc: EntityNPC) => void;
|
|
3
|
-
export declare function postNPCInitLateHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postNPCInitLateRegister(callback: PostNPCInitLateCallbackType, entityType?: EntityType): void;
|
|
5
|
-
export declare function postNPCInitLateFire(npc: EntityNPC): void;
|
|
1
|
+
export {};
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export declare function postNewLevelReorderedHasSubscriptions(): boolean;
|
|
3
|
-
export declare function postNewLevelReorderedRegister(callback: PostNewLevelReorderedCallbackType): void;
|
|
4
|
-
export declare function postNewLevelReorderedFire(): void;
|
|
1
|
+
export {};
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export declare function postNewRoomEarlyHasSubscriptions(): boolean;
|
|
3
|
-
export declare function postNewRoomEarlyRegister(callback: PostNewRoomEarlyCallbackType): void;
|
|
4
|
-
export declare function postNewRoomEarlyFire(): void;
|
|
1
|
+
export {};
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export declare function postNewRoomReorderedHasSubscriptions(): boolean;
|
|
3
|
-
export declare function postNewRoomReorderedRegister(callback: PostNewRoomReorderedCallbackType): void;
|
|
4
|
-
export declare function postNewRoomReorderedFire(): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostPickupCollectCallbackType = (pickup: EntityPickup, player: EntityPlayer) => void;
|
|
3
|
-
export declare function postPickupCollectHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postPickupCollectRegister(callback: PostPickupCollectCallbackType, pickupVariant?: PickupVariant | int): void;
|
|
5
|
-
export declare function postPickupCollectFire(pickup: EntityPickup, player: EntityPlayer): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostPickupInitLateCallbackType = (pickup: EntityPickup) => void;
|
|
3
|
-
export declare function postPickupInitLateHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postPickupInitLateRegister(callback: PostPickupInitLateCallbackType, pickupVariant?: PickupVariant | int): void;
|
|
5
|
-
export declare function postPickupInitLateFire(pickup: EntityPickup): void;
|
|
1
|
+
export {};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { HealthType } from "../../types/HealthType";
|
|
3
|
-
export declare type PostPlayerChangeHealthCallbackType = (player: EntityPlayer, healthType: HealthType, amount: int) => void;
|
|
4
|
-
export declare function postPlayerChangeHealthHasSubscriptions(): boolean;
|
|
5
|
-
export declare function postPlayerChangeHealthRegister(callback: PostPlayerChangeHealthCallbackType, playerVariant?: PlayerVariant): void;
|
|
6
|
-
export declare function postPlayerChangeHealthFire(player: EntityPlayer, healthType: HealthType, amount: int): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostPlayerChangeTypeCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function postPlayerChangeTypeHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postPlayerChangeTypeRegister(callback: PostPlayerChangeTypeCallbackType): void;
|
|
5
|
-
export declare function postPlayerChangeTypeFire(player: EntityPlayer): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostPlayerFatalDamageCallbackType = (player: EntityPlayer) => boolean | void;
|
|
3
|
-
export declare function postPlayerFatalDamageHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postPlayerFatalDamageRegister(callback: PostPlayerFatalDamageCallbackType, playerVariant?: PlayerVariant): void;
|
|
5
|
-
export declare function postPlayerFatalDamageFire(player: EntityPlayer): boolean | void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostPlayerInitLateCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function postPlayerInitLateHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postPlayerInitLateRegister(callback: PostPlayerInitLateCallbackType, playerVariant?: PlayerVariant): void;
|
|
5
|
-
export declare function postPlayerInitLateFire(player: EntityPlayer): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostPlayerInitReorderedCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function postPlayerInitReorderedHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postPlayerInitReorderedRegister(callback: PostPlayerInitReorderedCallbackType, playerVariant?: PlayerVariant): void;
|
|
5
|
-
export declare function postPlayerInitReorderedFire(player: EntityPlayer): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostPlayerRenderReorderedCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function postPlayerRenderReorderedHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postPlayerRenderReorderedRegister(callback: PostPlayerRenderReorderedCallbackType, playerVariant?: PlayerVariant): void;
|
|
5
|
-
export declare function postPlayerRenderReorderedFire(player: EntityPlayer): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostPlayerUpdateReorderedCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function postPlayerUpdateReorderedHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postPlayerUpdateReorderedRegister(callback: PostPlayerUpdateReorderedCallbackType, playerVariant?: PlayerVariant): void;
|
|
5
|
-
export declare function postPlayerUpdateReorderedFire(player: EntityPlayer): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostProjectileInitLateCallbackType = (projectile: EntityProjectile) => void;
|
|
3
|
-
export declare function postProjectileInitLateHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postProjectileInitLateRegister(callback: PostProjectileInitLateCallbackType, projectileVariant?: ProjectileVariant | int): void;
|
|
5
|
-
export declare function postProjectileInitLateFire(projectile: EntityProjectile): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostPurchaseCallbackType = (player: EntityPlayer, pickupVariant: PickupVariant | int, pickupSubType: int, pickupPrice: int) => void;
|
|
3
|
-
export declare function postPurchaseHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postPurchaseRegister(callback: PostPurchaseCallbackType, pickupVariant?: PickupVariant | int, pickupSubType?: int): void;
|
|
5
|
-
export declare function postPurchaseFire(player: EntityPlayer, pickupVariant: PickupVariant | int, pickupSubType: int, pickupPrice: int): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostSacrificeCallbackType = (player: EntityPlayer, numSacrifices: int) => void;
|
|
3
|
-
export declare function postSacrificeHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postSacrificeRegister(callback: PostSacrificeCallbackType): void;
|
|
5
|
-
export declare function postSacrificeFire(player: EntityPlayer, numSacrifices: int): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostSlotDestroyedCallbackType = (slot: Entity) => void;
|
|
3
|
-
export declare function postSlotDestroyedHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postSlotDestroyedRegister(callback: PostSlotDestroyedCallbackType, slotVariant?: SlotVariant): void;
|
|
5
|
-
export declare function postSlotDestroyedFire(slot: Entity): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostSlotInitCallbackType = (slot: Entity) => void;
|
|
3
|
-
export declare function postSlotInitHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postSlotInitRegister(callback: PostSlotInitCallbackType, slotVariant?: SlotVariant): void;
|
|
5
|
-
export declare function postSlotInitFire(slot: Entity): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostSlotRenderCallbackType = (slot: Entity) => void;
|
|
3
|
-
export declare function postSlotRenderHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postSlotRenderRegister(callback: PostSlotRenderCallbackType, slotVariant?: SlotVariant): void;
|
|
5
|
-
export declare function postSlotRenderFire(slot: Entity): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostSlotUpdateCallbackType = (slot: Entity) => void;
|
|
3
|
-
export declare function postSlotUpdateHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postSlotUpdateRegister(callback: PostSlotUpdateCallbackType, slotVariant?: SlotVariant): void;
|
|
5
|
-
export declare function postSlotUpdateFire(slot: Entity): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostTearInitLateCallbackType = (tear: EntityTear) => void;
|
|
3
|
-
export declare function postTearInitLateHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postTearInitLateRegister(callback: PostTearInitLateCallbackType, tearVariant?: TearVariant | int): void;
|
|
5
|
-
export declare function postTearInitLateFire(tear: EntityTear): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PostTransformationCallbackType = (player: EntityPlayer, playerForm: PlayerForm, hasForm: boolean) => void;
|
|
3
|
-
export declare function postTransformationHasSubscriptions(): boolean;
|
|
4
|
-
export declare function postTransformationRegister(callback: PostTransformationCallbackType, playerForm?: PlayerForm): void;
|
|
5
|
-
export declare function postTransformationFire(player: EntityPlayer, playerForm: PlayerForm, hasForm: boolean): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type PreCustomReviveCallbackType = (player: EntityPlayer) => int | void;
|
|
3
|
-
export declare function preCustomReviveHasSubscriptions(): boolean;
|
|
4
|
-
export declare function preCustomReviveRegister(callback: PreCustomReviveCallbackType): void;
|
|
5
|
-
export declare function preCustomReviveFire(player: EntityPlayer): int | void;
|
|
1
|
+
export {};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { PickingUpItem } from "../../types/PickingUpItem";
|
|
3
|
-
export declare type PreItemPickupCallbackType = (player: EntityPlayer, pickingUpItem: PickingUpItem) => void;
|
|
4
|
-
export declare function preItemPickupHasSubscriptions(): boolean;
|
|
5
|
-
export declare function preItemPickupRegister(callback: PreItemPickupCallbackType, itemType?: ItemType, itemID?: int): void;
|
|
6
|
-
export declare function preItemPickupFire(player: EntityPlayer, pickingUpItem: PickingUpItem): void;
|
|
1
|
+
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export declare const TSTL_SET_BRAND = "__TSTL_SET";
|
|
3
|
-
export declare const TSTL_CLASS_BRAND = "__TSTL_CLASS";
|
|
4
|
-
export declare const TSTL_OBJECT_WITH_NUMBER_KEYS_BRAND = "__TSTL_OBJECT_WITH_NUMBER_KEYS";
|
|
5
|
-
export declare const VECTOR_BRAND = "__VECTOR";
|
|
1
|
+
export {};
|
package/dist/debug.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const DEBUG = false;
|
|
1
|
+
export {};
|
package/dist/errors.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export {};
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
import { JSONRoom } from "../types/JSONRoom";
|
|
3
|
-
import { ModUpgraded } from "../types/ModUpgraded";
|
|
4
|
-
/** @hidden */
|
|
5
|
-
export declare function deployJSONRoomInit(mod: ModUpgraded): void;
|
|
6
3
|
/**
|
|
7
4
|
* Helper function to deconstruct a vanilla room and set up a custom room in its place.
|
|
8
5
|
* Specifically, this will clear the current room of all entities and grid entities, and then spawn
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
|
-
import { ModUpgraded } from "../types/ModUpgraded";
|
|
3
|
-
/** @hidden */
|
|
4
|
-
export declare function disableInputsInit(mod: ModUpgraded): void;
|
|
5
2
|
/** After having disabled inputs, use this function to set things back to normal. */
|
|
6
3
|
export declare function enableAllInputs(): void;
|
|
7
4
|
/**
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { ModUpgraded } from "../types/ModUpgraded";
|
|
2
|
-
/** @hidden */
|
|
3
|
-
export declare function forgottenSwitchInit(mod: ModUpgraded): void;
|
|
4
1
|
/**
|
|
5
2
|
* When used on The Forgotten, switches to The Soul. When used on The Soul, switches to The
|
|
6
3
|
* Forgotten. This takes 1 game frame to take effect.
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
|
-
import { ModUpgraded } from "../types/ModUpgraded";
|
|
3
|
-
/** @hidden */
|
|
4
|
-
export declare function getCollectibleItemPoolTypeInit(mod: ModUpgraded): void;
|
|
5
2
|
/**
|
|
6
3
|
* Helper function to get the item pool type that a given collectible came from. Since there is no
|
|
7
4
|
* native method in the API to get this, IsaacScript listens in the PreGetCollectible callback for
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
|
-
import { ModUpgraded } from "../types/ModUpgraded";
|
|
3
|
-
export declare function preventCollectibleRotateInit(mod: ModUpgraded): void;
|
|
4
2
|
/**
|
|
5
3
|
* Helper function to prevent a collectible from being affected by Tainted Isaac's rotation
|
|
6
4
|
* mechanic. (This mechanic also happens from Glitched Crown and Binge Eater.) This is useful
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const FEATURE_NAME = "save data manager";
|
|
3
|
-
export declare function saveDataManagerInit(incomingMod: ModUpgraded): void;
|
|
4
|
-
export declare function isSaveDataManagerInitialized(): boolean;
|
|
5
|
-
export declare function forceSaveDataManagerSave(): void;
|
|
1
|
+
export {};
|
package/dist/initialized.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export declare function setFeaturesInitialized(): void;
|
|
1
|
+
export {};
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* In Lua, the `error` function will tell you the line number of the error, but not give you a full
|
|
3
|
-
* traceback of the parent functions, which is unlike how JavaScript works. This function monkey
|
|
4
|
-
* patches the `error` function to add this functionality.
|
|
5
|
-
*
|
|
6
|
-
* Traceback functionality can only be added if the "--luadebug" flag is turned on, so this function
|
|
7
|
-
* does nothing if the "--luadebug" flag is disabled.
|
|
8
|
-
*/
|
|
9
|
-
export declare function patchErrorFunction(): void;
|
|
1
|
+
export {};
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* When the "--luadebug" flag is enabled, the `print` function will no longer print messages to the
|
|
3
|
-
* "log.txt" file or the in-game console. This function monkey patches the `print` function to
|
|
4
|
-
* restore this functionality.
|
|
5
|
-
*
|
|
6
|
-
* If the "--luadebug" flag is disabled, this function will do nothing.
|
|
7
|
-
*/
|
|
8
|
-
export declare function patchPrintFunction(): void;
|
|
1
|
+
export {};
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
*
|
|
5
5
|
* For a better listing of all custom callbacks, check out the
|
|
6
6
|
* [Function Signatures](https://isaacscript.github.io/docs/function-signatures#custom-callbacks).
|
|
7
|
-
*
|
|
8
|
-
* @category Custom Callbacks
|
|
9
7
|
*/
|
|
10
8
|
export declare enum ModCallbacksCustom {
|
|
11
9
|
MC_POST_GAME_STARTED_REORDERED = 0,
|
package/dist/upgradeMod.d.ts
CHANGED
|
@@ -22,6 +22,5 @@ import { ModUpgraded } from "./types/ModUpgraded";
|
|
|
22
22
|
* @param verbose Enables verbose logging for the purposes of crash troubleshooting.
|
|
23
23
|
* Defaults to false.
|
|
24
24
|
* @returns The upgraded mod object.
|
|
25
|
-
* @category Custom Callbacks
|
|
26
25
|
*/
|
|
27
26
|
export declare function upgradeMod(modVanilla: Mod, verbose?: boolean): ModUpgraded;
|