isaacscript-common 1.0.497 → 1.0.501
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.lua +9 -5
- package/dist/callbacks/itemPickup.lua +9 -5
- package/dist/callbacks/postBombInitLate.d.ts +2 -2
- package/dist/callbacks/postBombInitLate.lua +16 -19
- package/dist/callbacks/postCursedTeleport.lua +5 -3
- package/dist/callbacks/postEffectInitLate.d.ts +2 -2
- package/dist/callbacks/postEffectInitLate.lua +16 -19
- package/dist/callbacks/postEsauJr.lua +9 -5
- package/dist/callbacks/postFamiliarInitLate.d.ts +2 -2
- package/dist/callbacks/postFamiliarInitLate.lua +16 -19
- package/dist/callbacks/postFlip.lua +9 -5
- package/dist/callbacks/postGridEntity.lua +13 -7
- package/dist/callbacks/postKnifeInitLate.d.ts +2 -2
- package/dist/callbacks/postKnifeInitLate.lua +16 -19
- package/dist/callbacks/postLaserInitLate.d.ts +2 -2
- package/dist/callbacks/postLaserInitLate.lua +16 -19
- package/dist/callbacks/postNPCInitLate.d.ts +2 -2
- package/dist/callbacks/postNPCInitLate.lua +16 -19
- package/dist/callbacks/postNewRoomEarly.d.ts +2 -0
- package/dist/callbacks/postNewRoomEarly.lua +46 -0
- package/dist/callbacks/postPickupCollect.lua +5 -3
- package/dist/callbacks/postPickupInitLate.d.ts +2 -2
- package/dist/callbacks/postPickupInitLate.lua +16 -19
- package/dist/callbacks/postPlayerChangeHealth.lua +5 -3
- package/dist/callbacks/postPlayerChangeType.lua +5 -3
- package/dist/callbacks/postPlayerFatalDamage.lua +5 -3
- package/dist/callbacks/postPlayerInitLate.lua +5 -3
- package/dist/callbacks/postPlayerReordered.lua +16 -10
- package/dist/callbacks/postProjectileInitLate.d.ts +2 -2
- package/dist/callbacks/postProjectileInitLate.lua +16 -19
- package/dist/callbacks/postPurchase.lua +11 -3
- package/dist/callbacks/postSacrifice.lua +5 -3
- package/dist/callbacks/postSlotInitUpdate.lua +9 -5
- package/dist/callbacks/postSlotRenderBroken.lua +9 -5
- package/dist/callbacks/postTearInitLate.d.ts +2 -2
- package/dist/callbacks/postTearInitLate.lua +16 -19
- package/dist/callbacks/postTransformation.lua +5 -3
- package/dist/callbacks/reorderedCallbacks.lua +18 -12
- package/dist/callbacks/subscriptions/postBombInitLate.d.ts +3 -3
- package/dist/callbacks/subscriptions/postBombInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postCursedTeleport.d.ts +3 -3
- package/dist/callbacks/subscriptions/postCursedTeleport.lua +3 -3
- package/dist/callbacks/subscriptions/postCustomRevive.d.ts +3 -3
- package/dist/callbacks/subscriptions/postCustomRevive.lua +3 -3
- package/dist/callbacks/subscriptions/postEffectInitLate.d.ts +3 -3
- package/dist/callbacks/subscriptions/postEffectInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postEsauJr.d.ts +3 -3
- package/dist/callbacks/subscriptions/postEsauJr.lua +3 -3
- package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts +3 -3
- package/dist/callbacks/subscriptions/postFamiliarInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postFirstEsauJr.d.ts +3 -3
- package/dist/callbacks/subscriptions/postFirstEsauJr.lua +3 -3
- package/dist/callbacks/subscriptions/postFirstFlip.d.ts +3 -3
- package/dist/callbacks/subscriptions/postFirstFlip.lua +3 -3
- package/dist/callbacks/subscriptions/postFlip.d.ts +3 -3
- package/dist/callbacks/subscriptions/postFlip.lua +3 -3
- package/dist/callbacks/subscriptions/postGameStartedReordered.d.ts +3 -3
- package/dist/callbacks/subscriptions/postGameStartedReordered.lua +3 -3
- package/dist/callbacks/subscriptions/postGridEntityInit.d.ts +3 -3
- package/dist/callbacks/subscriptions/postGridEntityInit.lua +3 -3
- package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts +3 -3
- package/dist/callbacks/subscriptions/postGridEntityRemove.lua +3 -3
- package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts +3 -3
- package/dist/callbacks/subscriptions/postGridEntityUpdate.lua +3 -3
- package/dist/callbacks/subscriptions/postItemPickup.d.ts +3 -3
- package/dist/callbacks/subscriptions/postItemPickup.lua +3 -3
- package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts +3 -3
- package/dist/callbacks/subscriptions/postKnifeInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postLaserInitLate.d.ts +3 -3
- package/dist/callbacks/subscriptions/postLaserInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postNPCInitLate.d.ts +3 -3
- package/dist/callbacks/subscriptions/postNPCInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postNewLevelReordered.d.ts +3 -3
- package/dist/callbacks/subscriptions/postNewLevelReordered.lua +3 -3
- package/dist/callbacks/subscriptions/postNewRoomEarly.d.ts +4 -0
- package/dist/callbacks/subscriptions/postNewRoomEarly.lua +18 -0
- package/dist/callbacks/subscriptions/postNewRoomReordered.d.ts +3 -3
- package/dist/callbacks/subscriptions/postNewRoomReordered.lua +3 -3
- package/dist/callbacks/subscriptions/postPickupCollect.d.ts +3 -3
- package/dist/callbacks/subscriptions/postPickupCollect.lua +3 -3
- package/dist/callbacks/subscriptions/postPickupInitLate.d.ts +3 -3
- package/dist/callbacks/subscriptions/postPickupInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts +3 -3
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.lua +3 -3
- package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts +3 -3
- package/dist/callbacks/subscriptions/postPlayerChangeType.lua +3 -3
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts +3 -3
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.lua +3 -3
- package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts +3 -3
- package/dist/callbacks/subscriptions/postPlayerInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postPlayerInitReordered.d.ts +3 -3
- package/dist/callbacks/subscriptions/postPlayerInitReordered.lua +3 -3
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts +3 -3
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.lua +3 -3
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts +3 -3
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.lua +3 -3
- package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts +3 -3
- package/dist/callbacks/subscriptions/postProjectileInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postPurchase.d.ts +3 -3
- package/dist/callbacks/subscriptions/postPurchase.lua +3 -3
- package/dist/callbacks/subscriptions/postSacrifice.d.ts +3 -3
- package/dist/callbacks/subscriptions/postSacrifice.lua +3 -3
- package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts +3 -3
- package/dist/callbacks/subscriptions/postSlotDestroyed.lua +3 -3
- package/dist/callbacks/subscriptions/postSlotInit.d.ts +3 -3
- package/dist/callbacks/subscriptions/postSlotInit.lua +3 -3
- package/dist/callbacks/subscriptions/postSlotRender.d.ts +3 -3
- package/dist/callbacks/subscriptions/postSlotRender.lua +3 -3
- package/dist/callbacks/subscriptions/postSlotUpdate.d.ts +3 -3
- package/dist/callbacks/subscriptions/postSlotUpdate.lua +3 -3
- package/dist/callbacks/subscriptions/postTearInitLate.d.ts +3 -3
- package/dist/callbacks/subscriptions/postTearInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postTransformation.d.ts +3 -3
- package/dist/callbacks/subscriptions/postTransformation.lua +3 -3
- package/dist/callbacks/subscriptions/preCustomRevive.d.ts +3 -3
- package/dist/callbacks/subscriptions/preCustomRevive.lua +3 -3
- package/dist/callbacks/subscriptions/preItemPickup.d.ts +3 -3
- package/dist/callbacks/subscriptions/preItemPickup.lua +3 -3
- package/dist/constants.d.ts +18 -8
- package/dist/constants.lua +10 -8
- package/dist/features/deployJSONRoom.lua +16 -16
- package/dist/features/getCollectibleItemPoolType.lua +6 -28
- package/dist/functions/collectibles.d.ts +26 -1
- package/dist/functions/collectibles.lua +27 -4
- package/dist/functions/flag.d.ts +1 -1
- package/dist/functions/gridEntity.d.ts +10 -5
- package/dist/functions/gridEntity.lua +19 -1
- package/dist/functions/input.d.ts +3 -5
- package/dist/functions/player.d.ts +5 -5
- package/dist/functions/revive.d.ts +2 -2
- package/dist/functions/rooms.d.ts +40 -20
- package/dist/functions/rooms.lua +63 -52
- package/dist/functions/sprite.d.ts +11 -0
- package/dist/functions/sprite.lua +9 -0
- package/dist/functions/util.d.ts +2 -2
- package/dist/functions/util.lua +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.lua +1 -1
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts +3 -0
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.lua +12 -0
- package/dist/types/CallbackParametersCustom.d.ts +4 -0
- package/dist/types/ModCallbacksCustom.d.ts +34 -33
- package/dist/types/ModCallbacksCustom.lua +35 -33
- package/dist/types/ModUpgraded.lua +256 -243
- package/dist/upgradeMod.lua +3 -0
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
export declare type PostCustomReviveCallbackType = (player: EntityPlayer, revivalType: int) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
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;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postCustomReviveHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postCustomReviveRegister(self, callback, revivalType)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, revivalType})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postCustomReviveFire(self, player, revivalType)
|
|
12
12
|
local callbackRevivalType
|
|
13
13
|
local callback
|
|
14
14
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
export declare type PostEffectInitLateCallbackType = (effect: EntityEffect) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function postEffectInitLateHasSubscriptions(): boolean;
|
|
4
|
+
export declare function postEffectInitLateRegister(callback: PostEffectInitLateCallbackType, effectVariant?: EffectVariant): void;
|
|
5
|
+
export declare function postEffectInitLateFire(effect: EntityEffect): void;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postEffectInitLateHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postEffectInitLateRegister(self, callback, effectVariant)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, effectVariant})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postEffectInitLateFire(self, effect)
|
|
12
12
|
local effectVariant
|
|
13
13
|
local callback
|
|
14
14
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
export declare type PostEsauJrCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function postEsauJrHasSubscriptions(): boolean;
|
|
4
|
+
export declare function postEsauJrRegister(callback: PostEsauJrCallbackType): void;
|
|
5
|
+
export declare function postEsauJrFire(player: EntityPlayer): void;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postEsauJrHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postEsauJrRegister(self, callback)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postEsauJrFire(self, player)
|
|
12
12
|
local callback
|
|
13
13
|
for ____, ____value in ipairs(subscriptions) do
|
|
14
14
|
callback = ____value[1]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
export declare type PostFamiliarInitLateCallbackType = (familiar: EntityFamiliar) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
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;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postFamiliarInitLateHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postFamiliarInitLateRegister(self, callback, familiarVariant)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, familiarVariant})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postFamiliarInitLateFire(self, familiar)
|
|
12
12
|
local familiarVariant
|
|
13
13
|
local callback
|
|
14
14
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
export declare type PostFirstEsauJrCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function postFirstEsauJrHasSubscriptions(): boolean;
|
|
4
|
+
export declare function postFirstEsauJrRegister(callback: PostFirstEsauJrCallbackType): void;
|
|
5
|
+
export declare function postFirstEsauJrFire(player: EntityPlayer): void;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postFirstEsauJrHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postFirstEsauJrRegister(self, callback)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postFirstEsauJrFire(self, player)
|
|
12
12
|
local callback
|
|
13
13
|
for ____, ____value in ipairs(subscriptions) do
|
|
14
14
|
callback = ____value[1]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
export declare type PostFirstFlipCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function postFirstFlipHasSubscriptions(): boolean;
|
|
4
|
+
export declare function postFirstFlipRegister(callback: PostFirstFlipCallbackType): void;
|
|
5
|
+
export declare function postFirstFlipFire(player: EntityPlayer): void;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postFirstFlipHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postFirstFlipRegister(self, callback)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postFirstFlipFire(self, player)
|
|
12
12
|
local callback
|
|
13
13
|
for ____, ____value in ipairs(subscriptions) do
|
|
14
14
|
callback = ____value[1]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
export declare type PostFlipCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function postFlipHasSubscriptions(): boolean;
|
|
4
|
+
export declare function postFlipRegister(callback: PostFlipCallbackType): void;
|
|
5
|
+
export declare function postFlipFire(player: EntityPlayer): void;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postFlipHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postFlipRegister(self, callback)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postFlipFire(self, player)
|
|
12
12
|
local callback
|
|
13
13
|
for ____, ____value in ipairs(subscriptions) do
|
|
14
14
|
callback = ____value[1]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare type PostGameStartedReorderedCallbackType = (isContinued: boolean) => void;
|
|
2
|
-
export declare function
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
2
|
+
export declare function postGameStartedReorderedHasSubscriptions(): boolean;
|
|
3
|
+
export declare function postGameStartedReorderedRegister(callback: PostGameStartedReorderedCallbackType): void;
|
|
4
|
+
export declare function postGameStartedReorderedFire(isContinued: boolean): void;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postGameStartedReorderedHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postGameStartedReorderedRegister(self, callback)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postGameStartedReorderedFire(self, isContinued)
|
|
12
12
|
local callback
|
|
13
13
|
for ____, ____value in ipairs(subscriptions) do
|
|
14
14
|
callback = ____value[1]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
export declare type PostGridEntityInitCallbackType = (gridEntity: GridEntity) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function postGridEntityInitHasSubscriptions(): boolean;
|
|
4
|
+
export declare function postGridEntityInitRegister(callback: PostGridEntityInitCallbackType, gridEntityType?: GridEntityType): void;
|
|
5
|
+
export declare function postGridEntityInitFire(gridEntity: GridEntity): void;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postGridEntityInitHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postGridEntityInitRegister(self, callback, gridEntityType)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, gridEntityType})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postGridEntityInitFire(self, gridEntity)
|
|
12
12
|
local gridEntityType
|
|
13
13
|
local callback
|
|
14
14
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
export declare type PostGridEntityRemoveCallbackType = (gridIndex: int, gridEntityType: GridEntityType) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
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;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postGridEntityRemoveHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postGridEntityRemoveRegister(self, callback, gridEntityType)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, gridEntityType})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postGridEntityRemoveFire(self, gridIndex, gridEntityType)
|
|
12
12
|
local callbackGridEntityType
|
|
13
13
|
local callback
|
|
14
14
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
export declare type PostGridEntityUpdateCallbackType = (gridEntity: GridEntity) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function postGridEntityUpdateHasSubscriptions(): boolean;
|
|
4
|
+
export declare function postGridEntityUpdateRegister(callback: PostGridEntityUpdateCallbackType, gridEntityType?: GridEntityType): void;
|
|
5
|
+
export declare function postGridEntityUpdateFire(gridEntity: GridEntity): void;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postGridEntityUpdateHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postGridEntityUpdateRegister(self, callback, gridEntityType)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, gridEntityType})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postGridEntityUpdateFire(self, gridEntity)
|
|
12
12
|
local gridEntityType
|
|
13
13
|
local callback
|
|
14
14
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
import { PickingUpItem } from "../../types/PickingUpItem";
|
|
3
3
|
export declare type PostItemPickupCallbackType = (player: EntityPlayer, pickingUpItem: PickingUpItem) => void;
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
6
|
-
export declare function
|
|
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;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postItemPickupHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postItemPickupRegister(self, callback, itemType, itemID)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, itemType, itemID})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postItemPickupFire(self, player, pickingUpItem)
|
|
12
12
|
local itemID
|
|
13
13
|
local itemType
|
|
14
14
|
local callback
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
export declare type PostKnifeInitLateCallbackType = (knife: EntityKnife) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function postKnifeInitLateHasSubscriptions(): boolean;
|
|
4
|
+
export declare function postKnifeInitLateRegister(callback: PostKnifeInitLateCallbackType, knifeVariant?: KnifeVariant | int): void;
|
|
5
|
+
export declare function postKnifeInitLateFire(knife: EntityKnife): void;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postKnifeInitLateHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postKnifeInitLateRegister(self, callback, knifeVariant)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, knifeVariant})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postKnifeInitLateFire(self, knife)
|
|
12
12
|
local knifeVariant
|
|
13
13
|
local callback
|
|
14
14
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
export declare type PostLaserInitLateCallbackType = (laser: EntityLaser) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
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;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postLaserInitLateHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postLaserInitLateRegister(self, callback, laserVariant)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, laserVariant})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postLaserInitLateFire(self, laser)
|
|
12
12
|
local laserVariant
|
|
13
13
|
local callback
|
|
14
14
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
export declare type PostNPCInitLateCallbackType = (npc: EntityNPC) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function postNPCInitLateHasSubscriptions(): boolean;
|
|
4
|
+
export declare function postNPCInitLateRegister(callback: PostNPCInitLateCallbackType, entityType?: EntityType): void;
|
|
5
|
+
export declare function postNPCInitLateFire(npc: EntityNPC): void;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postNPCInitLateHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postNPCInitLateRegister(self, callback, entityType)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, entityType})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postNPCInitLateFire(self, npc)
|
|
12
12
|
local entityType
|
|
13
13
|
local callback
|
|
14
14
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare type PostNewLevelReorderedCallbackType = () => void;
|
|
2
|
-
export declare function
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
2
|
+
export declare function postNewLevelReorderedHasSubscriptions(): boolean;
|
|
3
|
+
export declare function postNewLevelReorderedRegister(callback: PostNewLevelReorderedCallbackType): void;
|
|
4
|
+
export declare function postNewLevelReorderedFire(): void;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postNewLevelReorderedHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postNewLevelReorderedRegister(self, callback)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postNewLevelReorderedFire(self)
|
|
12
12
|
local callback
|
|
13
13
|
for ____, ____value in ipairs(subscriptions) do
|
|
14
14
|
callback = ____value[1]
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare type PostNewRoomEarlyCallbackType = () => void;
|
|
2
|
+
export declare function postNewRoomEarlyHasSubscriptions(): boolean;
|
|
3
|
+
export declare function postNewRoomEarlyRegister(callback: PostNewRoomEarlyCallbackType): void;
|
|
4
|
+
export declare function postNewRoomEarlyFire(): void;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
+
require("lualib_bundle");
|
|
3
|
+
local ____exports = {}
|
|
4
|
+
local subscriptions = {}
|
|
5
|
+
function ____exports.postNewRoomEarlyHasSubscriptions(self)
|
|
6
|
+
return #subscriptions > 0
|
|
7
|
+
end
|
|
8
|
+
function ____exports.postNewRoomEarlyRegister(self, callback)
|
|
9
|
+
__TS__ArrayPush(subscriptions, {callback})
|
|
10
|
+
end
|
|
11
|
+
function ____exports.postNewRoomEarlyFire(self)
|
|
12
|
+
local callback
|
|
13
|
+
for ____, ____value in ipairs(subscriptions) do
|
|
14
|
+
callback = ____value[1]
|
|
15
|
+
callback(nil)
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
return ____exports
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare type PostNewRoomReorderedCallbackType = () => void;
|
|
2
|
-
export declare function
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
2
|
+
export declare function postNewRoomReorderedHasSubscriptions(): boolean;
|
|
3
|
+
export declare function postNewRoomReorderedRegister(callback: PostNewRoomReorderedCallbackType): void;
|
|
4
|
+
export declare function postNewRoomReorderedFire(): void;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postNewRoomReorderedHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postNewRoomReorderedRegister(self, callback)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postNewRoomReorderedFire(self)
|
|
12
12
|
local callback
|
|
13
13
|
for ____, ____value in ipairs(subscriptions) do
|
|
14
14
|
callback = ____value[1]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
export declare type PostPickupCollectCallbackType = (pickup: EntityPickup, player: EntityPlayer) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
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;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postPickupCollectHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postPickupCollectRegister(self, callback, pickupVariant)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, pickupVariant})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postPickupCollectFire(self, pickup, player)
|
|
12
12
|
local pickupVariant
|
|
13
13
|
local callback
|
|
14
14
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
export declare type PostPickupInitLateCallbackType = (pickup: EntityPickup) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
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;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postPickupInitLateHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postPickupInitLateRegister(self, callback, pickupVariant)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, pickupVariant})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postPickupInitLateFire(self, pickup)
|
|
12
12
|
local pickupVariant
|
|
13
13
|
local callback
|
|
14
14
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
import { HealthType } from "../../types/HealthType";
|
|
3
3
|
export declare type PostPlayerChangeHealthCallbackType = (player: EntityPlayer, healthType: HealthType, amount: int) => void;
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
6
|
-
export declare function
|
|
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;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postPlayerChangeHealthHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postPlayerChangeHealthRegister(self, callback, playerVariant)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, playerVariant})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postPlayerChangeHealthFire(self, player, healthType, amount)
|
|
12
12
|
local playerVariant
|
|
13
13
|
local callback
|
|
14
14
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
export declare type PostPlayerChangeTypeCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function postPlayerChangeTypeHasSubscriptions(): boolean;
|
|
4
|
+
export declare function postPlayerChangeTypeRegister(callback: PostPlayerChangeTypeCallbackType): void;
|
|
5
|
+
export declare function postPlayerChangeTypeFire(player: EntityPlayer): void;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postPlayerChangeTypeHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postPlayerChangeTypeRegister(self, callback)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postPlayerChangeTypeFire(self, player)
|
|
12
12
|
local callback
|
|
13
13
|
for ____, ____value in ipairs(subscriptions) do
|
|
14
14
|
callback = ____value[1]
|