isaacscript-common 1.0.495 → 1.0.499
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.lua +5 -3
- package/dist/callbacks/postCursedTeleport.lua +5 -3
- package/dist/callbacks/postEffectInitLate.lua +5 -3
- package/dist/callbacks/postEsauJr.lua +9 -5
- package/dist/callbacks/postFamiliarInitLate.lua +5 -3
- package/dist/callbacks/postFlip.lua +9 -5
- package/dist/callbacks/postGridEntity.lua +13 -7
- package/dist/callbacks/postKnifeInitLate.lua +5 -3
- package/dist/callbacks/postLaserInitLate.lua +5 -3
- package/dist/callbacks/postNPCInitLate.lua +5 -3
- package/dist/callbacks/postPickupCollect.lua +5 -3
- package/dist/callbacks/postPickupInitLate.lua +5 -3
- 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.lua +5 -3
- 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.lua +5 -3
- 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/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 +26 -0
- package/dist/constants.lua +13 -0
- package/dist/features/getCollectibleItemPoolType.lua +5 -22
- package/dist/functions/collectibles.d.ts +26 -1
- package/dist/functions/collectibles.lua +23 -4
- package/dist/functions/gridEntity.d.ts +2 -3
- package/dist/functions/gridEntity.lua +3 -1
- package/dist/functions/rooms.d.ts +4 -5
- package/dist/functions/rooms.lua +5 -11
- package/dist/functions/sprite.d.ts +11 -0
- package/dist/functions/sprite.lua +9 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.lua +0 -8
- package/dist/types/ModUpgraded.lua +234 -78
- package/package.json +2 -2
|
@@ -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]
|
|
@@ -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]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
export declare type PostPlayerFatalDamageCallbackType = (player: EntityPlayer) => boolean | void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
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;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postPlayerFatalDamageHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postPlayerFatalDamageRegister(self, callback, playerVariant)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, playerVariant})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postPlayerFatalDamageFire(self, player)
|
|
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 PostPlayerInitLateCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function postPlayerInitLateHasSubscriptions(): boolean;
|
|
4
|
+
export declare function postPlayerInitLateRegister(callback: PostPlayerInitLateCallbackType, playerVariant?: PlayerVariant): void;
|
|
5
|
+
export declare function postPlayerInitLateFire(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.postPlayerInitLateHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postPlayerInitLateRegister(self, callback, playerVariant)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, playerVariant})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postPlayerInitLateFire(self, player)
|
|
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 PostPlayerInitReorderedCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function postPlayerInitReorderedHasSubscriptions(): boolean;
|
|
4
|
+
export declare function postPlayerInitReorderedRegister(callback: PostPlayerInitReorderedCallbackType, playerVariant?: PlayerVariant): void;
|
|
5
|
+
export declare function postPlayerInitReorderedFire(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.postPlayerInitReorderedHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postPlayerInitReorderedRegister(self, callback, playerVariant)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, playerVariant})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postPlayerInitReorderedFire(self, player)
|
|
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 PostPlayerRenderReorderedCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function postPlayerRenderReorderedHasSubscriptions(): boolean;
|
|
4
|
+
export declare function postPlayerRenderReorderedRegister(callback: PostPlayerRenderReorderedCallbackType, playerVariant?: PlayerVariant): void;
|
|
5
|
+
export declare function postPlayerRenderReorderedFire(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.postPlayerRenderReorderedHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postPlayerRenderReorderedRegister(self, callback, playerVariant)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, playerVariant})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postPlayerRenderReorderedFire(self, player)
|
|
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 PostPlayerUpdateReorderedCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function postPlayerUpdateReorderedHasSubscriptions(): boolean;
|
|
4
|
+
export declare function postPlayerUpdateReorderedRegister(callback: PostPlayerUpdateReorderedCallbackType, playerVariant?: PlayerVariant): void;
|
|
5
|
+
export declare function postPlayerUpdateReorderedFire(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.postPlayerUpdateReorderedHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postPlayerUpdateReorderedRegister(self, callback, playerVariant)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, playerVariant})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postPlayerUpdateReorderedFire(self, player)
|
|
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 PostProjectileInitLateCallbackType = (projectile: EntityProjectile) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
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;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postProjectileInitLateHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postProjectileInitLateRegister(self, callback, projectileVariant)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, projectileVariant})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postProjectileInitLateFire(self, projectile)
|
|
12
12
|
local projectileVariant
|
|
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 PostPurchaseCallbackType = (player: EntityPlayer, pickupVariant: PickupVariant | int, pickupSubType: int, pickupPrice: int) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
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;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postPurchaseHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postPurchaseRegister(self, callback, pickupVariant, pickupSubType)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, pickupVariant, pickupSubType})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postPurchaseFire(self, player, pickupVariant, pickupSubType, pickupPrice)
|
|
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 PostSacrificeCallbackType = (player: EntityPlayer, numSacrifices: int) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function postSacrificeHasSubscriptions(): boolean;
|
|
4
|
+
export declare function postSacrificeRegister(callback: PostSacrificeCallbackType): void;
|
|
5
|
+
export declare function postSacrificeFire(player: EntityPlayer, numSacrifices: 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.postSacrificeHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postSacrificeRegister(self, callback)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postSacrificeFire(self, player, numSacrifices)
|
|
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 PostSlotDestroyedCallbackType = (slot: Entity) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function postSlotDestroyedHasSubscriptions(): boolean;
|
|
4
|
+
export declare function postSlotDestroyedRegister(callback: PostSlotDestroyedCallbackType, slotVariant?: SlotVariant): void;
|
|
5
|
+
export declare function postSlotDestroyedFire(slot: Entity): void;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postSlotDestroyedHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postSlotDestroyedRegister(self, callback, slotVariant)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, slotVariant})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postSlotDestroyedFire(self, slot)
|
|
12
12
|
local slotVariant
|
|
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 PostSlotInitCallbackType = (slot: Entity) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function postSlotInitHasSubscriptions(): boolean;
|
|
4
|
+
export declare function postSlotInitRegister(callback: PostSlotInitCallbackType, slotVariant?: SlotVariant): void;
|
|
5
|
+
export declare function postSlotInitFire(slot: Entity): void;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postSlotInitHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postSlotInitRegister(self, callback, slotVariant)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, slotVariant})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postSlotInitFire(self, slot)
|
|
12
12
|
local slotVariant
|
|
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 PostSlotRenderCallbackType = (slot: Entity) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function postSlotRenderHasSubscriptions(): boolean;
|
|
4
|
+
export declare function postSlotRenderRegister(callback: PostSlotRenderCallbackType, slotVariant?: SlotVariant): void;
|
|
5
|
+
export declare function postSlotRenderFire(slot: Entity): void;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postSlotRenderHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postSlotRenderRegister(self, callback, slotVariant)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, slotVariant})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postSlotRenderFire(self, slot)
|
|
12
12
|
local slotVariant
|
|
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 PostSlotUpdateCallbackType = (slot: Entity) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function postSlotUpdateHasSubscriptions(): boolean;
|
|
4
|
+
export declare function postSlotUpdateRegister(callback: PostSlotUpdateCallbackType, slotVariant?: SlotVariant): void;
|
|
5
|
+
export declare function postSlotUpdateFire(slot: Entity): void;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postSlotUpdateHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postSlotUpdateRegister(self, callback, slotVariant)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, slotVariant})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postSlotUpdateFire(self, slot)
|
|
12
12
|
local slotVariant
|
|
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 PostTearInitLateCallbackType = (tear: EntityTear) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
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;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postTearInitLateHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postTearInitLateRegister(self, callback, tearVariant)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, tearVariant})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postTearInitLateFire(self, tear)
|
|
12
12
|
local tearVariant
|
|
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 PostTransformationCallbackType = (player: EntityPlayer, playerForm: PlayerForm, hasForm: boolean) => void;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
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;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local subscriptions = {}
|
|
5
|
-
function ____exports.
|
|
5
|
+
function ____exports.postTransformationHasSubscriptions(self)
|
|
6
6
|
return #subscriptions > 0
|
|
7
7
|
end
|
|
8
|
-
function ____exports.
|
|
8
|
+
function ____exports.postTransformationRegister(self, callback, playerForm)
|
|
9
9
|
__TS__ArrayPush(subscriptions, {callback, playerForm})
|
|
10
10
|
end
|
|
11
|
-
function ____exports.
|
|
11
|
+
function ____exports.postTransformationFire(self, player, playerForm, hasForm)
|
|
12
12
|
local callbackPlayerForm
|
|
13
13
|
local callback
|
|
14
14
|
for ____, ____value in ipairs(subscriptions) do
|