isaacscript-common 30.11.6 → 30.11.7
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/isaacscript-common.lua +267 -247
- package/dist/lualib_bundle.lua +25 -5
- package/dist/src/classes/features/callbackLogic/CustomGridEntities.lua +6 -6
- package/dist/src/classes/features/callbackLogic/GameReorderedCallbacks.lua +4 -4
- package/dist/src/classes/features/other/CharacterHealthConversion.lua +2 -2
- package/dist/src/classes/features/other/CharacterStats.lua +2 -2
- package/dist/src/classes/features/other/CollectibleItemPoolType.lua +2 -2
- package/dist/src/classes/features/other/CustomHotkeys.lua +5 -5
- package/dist/src/classes/features/other/CustomItemPools.lua +3 -3
- package/dist/src/classes/features/other/CustomPickups.lua +2 -2
- package/dist/src/classes/features/other/CustomStages.lua +3 -3
- package/dist/src/classes/features/other/CustomTrapdoors.lua +3 -3
- package/dist/src/classes/features/other/DebugDisplay.lua +37 -37
- package/dist/src/classes/features/other/DeployJSONRoom.lua +2 -2
- package/dist/src/classes/features/other/DisableAllSound.lua +3 -3
- package/dist/src/classes/features/other/DisableInputs.lua +9 -9
- package/dist/src/classes/features/other/EdenStartingStats.lua +3 -3
- package/dist/src/classes/features/other/ExtraConsoleCommands.lua +3 -3
- package/dist/src/classes/features/other/FadeInRemover.lua +3 -3
- package/dist/src/classes/features/other/FastReset.lua +3 -3
- package/dist/src/classes/features/other/FlyingDetection.lua +2 -2
- package/dist/src/classes/features/other/ForgottenSwitch.lua +2 -2
- package/dist/src/classes/features/other/ItemPoolDetection.lua +4 -4
- package/dist/src/classes/features/other/ModdedElementDetection.lua +24 -24
- package/dist/src/classes/features/other/ModdedElementSets.lua +38 -38
- package/dist/src/classes/features/other/NoSirenSteal.lua +2 -2
- package/dist/src/classes/features/other/Pause.lua +4 -4
- package/dist/src/classes/features/other/PersistentEntities.lua +3 -3
- package/dist/src/classes/features/other/PickupIndexCreation.lua +2 -2
- package/dist/src/classes/features/other/PlayerInventory.lua +3 -3
- package/dist/src/classes/features/other/PonyDetection.lua +3 -3
- package/dist/src/classes/features/other/PressInput.lua +2 -2
- package/dist/src/classes/features/other/PreventChildEntities.lua +2 -2
- package/dist/src/classes/features/other/PreventCollectibleRotation.lua +2 -2
- package/dist/src/classes/features/other/PreventGridEntityRespawn.lua +2 -2
- package/dist/src/classes/features/other/RoomClearFrame.lua +3 -3
- package/dist/src/classes/features/other/RoomHistory.lua +8 -8
- package/dist/src/classes/features/other/RunInNFrames.lua +8 -8
- package/dist/src/classes/features/other/RunNextRoom.lua +2 -2
- package/dist/src/classes/features/other/SaveDataManager.lua +10 -10
- package/dist/src/classes/features/other/SpawnCollectible.lua +3 -3
- package/dist/src/classes/features/other/SpawnRockAltRewards.lua +8 -8
- package/dist/src/classes/features/other/StageHistory.lua +5 -5
- package/dist/src/classes/features/other/StartAmbush.lua +2 -2
- package/dist/src/classes/features/other/TaintedLazarusPlayers.lua +2 -2
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
6
6
|
local __TS__SparseArrayNew = ____lualib.__TS__SparseArrayNew
|
|
7
7
|
local __TS__SparseArrayPush = ____lualib.__TS__SparseArrayPush
|
|
8
8
|
local __TS__SparseArraySpread = ____lualib.__TS__SparseArraySpread
|
|
9
|
-
local
|
|
9
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
10
10
|
local ____exports = {}
|
|
11
11
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
12
12
|
local ButtonAction = ____isaac_2Dtypescript_2Ddefinitions.ButtonAction
|
|
@@ -100,6 +100,7 @@ end
|
|
|
100
100
|
function Pause.prototype.isPaused(self)
|
|
101
101
|
return v.run.isPseudoPaused
|
|
102
102
|
end
|
|
103
|
+
__TS__DecorateLegacy({Exported}, Pause.prototype, "isPaused", true)
|
|
103
104
|
function Pause.prototype.pause(self)
|
|
104
105
|
if v.run.isPseudoPaused then
|
|
105
106
|
logError("Failed to pseudo-pause the game, since it was already pseudo-paused.")
|
|
@@ -139,6 +140,7 @@ function Pause.prototype.pause(self)
|
|
|
139
140
|
end
|
|
140
141
|
self:stopTearsAndProjectilesFromMoving()
|
|
141
142
|
end
|
|
143
|
+
__TS__DecorateLegacy({Exported}, Pause.prototype, "pause", true)
|
|
142
144
|
function Pause.prototype.unpause(self)
|
|
143
145
|
if not v.run.isPseudoPaused then
|
|
144
146
|
logError("Failed to pseudo-unpause the game, since it was not already pseudo-paused.")
|
|
@@ -157,7 +159,5 @@ function Pause.prototype.unpause(self)
|
|
|
157
159
|
removeAllTears(nil)
|
|
158
160
|
removeAllProjectiles(nil)
|
|
159
161
|
end
|
|
160
|
-
|
|
161
|
-
__TS__Decorate({Exported}, Pause.prototype, "pause", true)
|
|
162
|
-
__TS__Decorate({Exported}, Pause.prototype, "unpause", true)
|
|
162
|
+
__TS__DecorateLegacy({Exported}, Pause.prototype, "unpause", true)
|
|
163
163
|
return ____exports
|
|
@@ -6,7 +6,7 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
6
6
|
local __TS__Spread = ____lualib.__TS__Spread
|
|
7
7
|
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
8
8
|
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
9
|
-
local
|
|
9
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
10
10
|
local ____exports = {}
|
|
11
11
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
12
12
|
local EntityFlag = ____isaac_2Dtypescript_2Ddefinitions.EntityFlag
|
|
@@ -137,6 +137,7 @@ function PersistentEntities.prototype.removePersistentEntity(self, persistentEnt
|
|
|
137
137
|
::__continue16::
|
|
138
138
|
end
|
|
139
139
|
end
|
|
140
|
+
__TS__DecorateLegacy({Exported}, PersistentEntities.prototype, "removePersistentEntity", true)
|
|
140
141
|
function PersistentEntities.prototype.spawnPersistentEntity(self, entityType, variant, subType, position)
|
|
141
142
|
local ____v_run_0, ____persistentEntityIndexCounter_1 = v.run, "persistentEntityIndexCounter"
|
|
142
143
|
____v_run_0[____persistentEntityIndexCounter_1] = ____v_run_0[____persistentEntityIndexCounter_1] + 1
|
|
@@ -149,6 +150,5 @@ function PersistentEntities.prototype.spawnPersistentEntity(self, entityType, va
|
|
|
149
150
|
)
|
|
150
151
|
return {entity = entity, persistentIndex = v.run.persistentEntityIndexCounter}
|
|
151
152
|
end
|
|
152
|
-
|
|
153
|
-
__TS__Decorate({Exported}, PersistentEntities.prototype, "spawnPersistentEntity", true)
|
|
153
|
+
__TS__DecorateLegacy({Exported}, PersistentEntities.prototype, "spawnPersistentEntity", true)
|
|
154
154
|
return ____exports
|
|
@@ -3,7 +3,7 @@ local Map = ____lualib.Map
|
|
|
3
3
|
local __TS__New = ____lualib.__TS__New
|
|
4
4
|
local __TS__Class = ____lualib.__TS__Class
|
|
5
5
|
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
6
|
-
local
|
|
6
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
7
7
|
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
8
8
|
local ____exports = {}
|
|
9
9
|
local getStoredPickupIndex
|
|
@@ -191,5 +191,5 @@ function PickupIndexCreation.prototype.getPickupIndex(self, pickup)
|
|
|
191
191
|
local entityID = getEntityID(nil, pickup)
|
|
192
192
|
error("Failed to generate a new pickup index for pickup: " .. entityID)
|
|
193
193
|
end
|
|
194
|
-
|
|
194
|
+
__TS__DecorateLegacy({Exported}, PickupIndexCreation.prototype, "getPickupIndex", true)
|
|
195
195
|
return ____exports
|
|
@@ -3,7 +3,7 @@ local __TS__New = ____lualib.__TS__New
|
|
|
3
3
|
local __TS__Class = ____lualib.__TS__Class
|
|
4
4
|
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
5
5
|
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
6
|
-
local
|
|
6
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
7
7
|
local ____exports = {}
|
|
8
8
|
local ____decorators = require("src.decorators")
|
|
9
9
|
local Exported = ____decorators.Exported
|
|
@@ -55,10 +55,10 @@ function PlayerInventory.prototype.getPlayerInventory(self, player, includeActiv
|
|
|
55
55
|
function(____, collectibleType) return not isActiveCollectible(nil, collectibleType) end
|
|
56
56
|
)
|
|
57
57
|
end
|
|
58
|
+
__TS__DecorateLegacy({Exported}, PlayerInventory.prototype, "getPlayerInventory", true)
|
|
58
59
|
function PlayerInventory.prototype.getPlayerLastPassiveCollectible(self, player)
|
|
59
60
|
local inventory = self:getPlayerInventory(player, false)
|
|
60
61
|
return getLastElement(nil, inventory)
|
|
61
62
|
end
|
|
62
|
-
|
|
63
|
-
__TS__Decorate({Exported}, PlayerInventory.prototype, "getPlayerLastPassiveCollectible", true)
|
|
63
|
+
__TS__DecorateLegacy({Exported}, PlayerInventory.prototype, "getPlayerLastPassiveCollectible", true)
|
|
64
64
|
return ____exports
|
|
@@ -3,7 +3,7 @@ local Set = ____lualib.Set
|
|
|
3
3
|
local __TS__New = ____lualib.__TS__New
|
|
4
4
|
local __TS__Class = ____lualib.__TS__Class
|
|
5
5
|
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
6
|
-
local
|
|
6
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
7
7
|
local __TS__ArraySome = ____lualib.__TS__ArraySome
|
|
8
8
|
local ____exports = {}
|
|
9
9
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
@@ -54,6 +54,7 @@ end
|
|
|
54
54
|
function PonyDetection.prototype.isPlayerUsingPony(self, player)
|
|
55
55
|
return setHasPlayer(nil, v.run.playersIsPonyActive, player)
|
|
56
56
|
end
|
|
57
|
+
__TS__DecorateLegacy({Exported}, PonyDetection.prototype, "isPlayerUsingPony", true)
|
|
57
58
|
function PonyDetection.prototype.anyPlayerUsingPony(self)
|
|
58
59
|
local players = getPlayers(nil)
|
|
59
60
|
return __TS__ArraySome(
|
|
@@ -61,6 +62,5 @@ function PonyDetection.prototype.anyPlayerUsingPony(self)
|
|
|
61
62
|
function(____, player) return self:isPlayerUsingPony(player) end
|
|
62
63
|
)
|
|
63
64
|
end
|
|
64
|
-
|
|
65
|
-
__TS__Decorate({Exported}, PonyDetection.prototype, "anyPlayerUsingPony", true)
|
|
65
|
+
__TS__DecorateLegacy({Exported}, PonyDetection.prototype, "anyPlayerUsingPony", true)
|
|
66
66
|
return ____exports
|
|
@@ -2,7 +2,7 @@ local ____lualib = require("lualib_bundle")
|
|
|
2
2
|
local __TS__Class = ____lualib.__TS__Class
|
|
3
3
|
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
4
|
local __TS__ArraySplice = ____lualib.__TS__ArraySplice
|
|
5
|
-
local
|
|
5
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
6
6
|
local ____exports = {}
|
|
7
7
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
8
8
|
local InputHook = ____isaac_2Dtypescript_2Ddefinitions.InputHook
|
|
@@ -50,5 +50,5 @@ function PressInput.prototype.pressInput(self, player, buttonAction)
|
|
|
50
50
|
local ____v_run_buttonActionPairs_0 = v.run.buttonActionPairs
|
|
51
51
|
____v_run_buttonActionPairs_0[#____v_run_buttonActionPairs_0 + 1] = {playerIndex = playerIndex, buttonAction = buttonAction}
|
|
52
52
|
end
|
|
53
|
-
|
|
53
|
+
__TS__DecorateLegacy({Exported}, PressInput.prototype, "pressInput", true)
|
|
54
54
|
return ____exports
|
|
@@ -3,7 +3,7 @@ local Set = ____lualib.Set
|
|
|
3
3
|
local __TS__New = ____lualib.__TS__New
|
|
4
4
|
local __TS__Class = ____lualib.__TS__Class
|
|
5
5
|
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
6
|
-
local
|
|
6
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
7
7
|
local ____exports = {}
|
|
8
8
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
9
9
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
@@ -32,5 +32,5 @@ function PreventChildEntities.prototype.preventChildEntities(self, entity)
|
|
|
32
32
|
local ptrHash = GetPtrHash(entity)
|
|
33
33
|
v.room.preventingEntities:add(ptrHash)
|
|
34
34
|
end
|
|
35
|
-
|
|
35
|
+
__TS__DecorateLegacy({Exported}, PreventChildEntities.prototype, "preventChildEntities", true)
|
|
36
36
|
return ____exports
|
|
@@ -3,7 +3,7 @@ local __TS__New = ____lualib.__TS__New
|
|
|
3
3
|
local Map = ____lualib.Map
|
|
4
4
|
local __TS__Class = ____lualib.__TS__Class
|
|
5
5
|
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
6
|
-
local
|
|
6
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
7
7
|
local ____exports = {}
|
|
8
8
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
9
9
|
local CardType = ____isaac_2Dtypescript_2Ddefinitions.CardType
|
|
@@ -107,5 +107,5 @@ function PreventCollectibleRotation.prototype.preventCollectibleRotation(self, c
|
|
|
107
107
|
end
|
|
108
108
|
end)
|
|
109
109
|
end
|
|
110
|
-
|
|
110
|
+
__TS__DecorateLegacy({Exported}, PreventCollectibleRotation.prototype, "preventCollectibleRotation", true)
|
|
111
111
|
return ____exports
|
|
@@ -2,7 +2,7 @@ local ____lualib = require("lualib_bundle")
|
|
|
2
2
|
local __TS__New = ____lualib.__TS__New
|
|
3
3
|
local __TS__Class = ____lualib.__TS__Class
|
|
4
4
|
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
5
|
-
local
|
|
5
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
6
6
|
local ____exports = {}
|
|
7
7
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
8
8
|
local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
|
|
@@ -121,5 +121,5 @@ function PreventGridEntityRespawn.prototype.preventGridEntityRespawn(self)
|
|
|
121
121
|
::__continue20::
|
|
122
122
|
end
|
|
123
123
|
end
|
|
124
|
-
|
|
124
|
+
__TS__DecorateLegacy({Exported}, PreventGridEntityRespawn.prototype, "preventGridEntityRespawn", true)
|
|
125
125
|
return ____exports
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
local ____lualib = require("lualib_bundle")
|
|
2
2
|
local __TS__Class = ____lualib.__TS__Class
|
|
3
3
|
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
|
-
local
|
|
4
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
5
5
|
local ____exports = {}
|
|
6
6
|
local ____cachedClasses = require("src.core.cachedClasses")
|
|
7
7
|
local game = ____cachedClasses.game
|
|
@@ -31,9 +31,9 @@ end
|
|
|
31
31
|
function RoomClearFrame.prototype.getRoomClearGameFrame(self)
|
|
32
32
|
return v.room.roomClearGameFrame
|
|
33
33
|
end
|
|
34
|
+
__TS__DecorateLegacy({Exported}, RoomClearFrame.prototype, "getRoomClearGameFrame", true)
|
|
34
35
|
function RoomClearFrame.prototype.getRoomClearRoomFrame(self)
|
|
35
36
|
return v.room.roomClearGameFrame
|
|
36
37
|
end
|
|
37
|
-
|
|
38
|
-
__TS__Decorate({Exported}, RoomClearFrame.prototype, "getRoomClearRoomFrame", true)
|
|
38
|
+
__TS__DecorateLegacy({Exported}, RoomClearFrame.prototype, "getRoomClearRoomFrame", true)
|
|
39
39
|
return ____exports
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
local ____lualib = require("lualib_bundle")
|
|
2
2
|
local __TS__Class = ____lualib.__TS__Class
|
|
3
3
|
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
|
-
local
|
|
4
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
5
5
|
local ____exports = {}
|
|
6
6
|
local ____cachedClasses = require("src.core.cachedClasses")
|
|
7
7
|
local game = ____cachedClasses.game
|
|
@@ -69,12 +69,15 @@ end
|
|
|
69
69
|
function RoomHistory.prototype.deleteLastRoomDescription(self)
|
|
70
70
|
table.remove(v.run.roomHistory)
|
|
71
71
|
end
|
|
72
|
+
__TS__DecorateLegacy({Exported}, RoomHistory.prototype, "deleteLastRoomDescription", true)
|
|
72
73
|
function RoomHistory.prototype.getNumRoomsEntered(self)
|
|
73
74
|
return #v.run.roomHistory
|
|
74
75
|
end
|
|
76
|
+
__TS__DecorateLegacy({Exported}, RoomHistory.prototype, "getNumRoomsEntered", true)
|
|
75
77
|
function RoomHistory.prototype.getRoomHistory(self)
|
|
76
78
|
return v.run.roomHistory
|
|
77
79
|
end
|
|
80
|
+
__TS__DecorateLegacy({Exported}, RoomHistory.prototype, "getRoomHistory", true)
|
|
78
81
|
function RoomHistory.prototype.getPreviousRoomDescription(self)
|
|
79
82
|
local previousRoomDescription = v.run.roomHistory[#v.run.roomHistory - 2 + 1]
|
|
80
83
|
if previousRoomDescription ~= nil then
|
|
@@ -86,12 +89,15 @@ function RoomHistory.prototype.getPreviousRoomDescription(self)
|
|
|
86
89
|
end
|
|
87
90
|
error("Failed to find a room description for any rooms thus far on this run.")
|
|
88
91
|
end
|
|
92
|
+
__TS__DecorateLegacy({Exported}, RoomHistory.prototype, "getPreviousRoomDescription", true)
|
|
89
93
|
function RoomHistory.prototype.getLatestRoomDescription(self)
|
|
90
94
|
return getLastElement(nil, v.run.roomHistory)
|
|
91
95
|
end
|
|
96
|
+
__TS__DecorateLegacy({Exported}, RoomHistory.prototype, "getLatestRoomDescription", true)
|
|
92
97
|
function RoomHistory.prototype.inFirstRoom(self)
|
|
93
98
|
return #v.run.roomHistory == 1
|
|
94
99
|
end
|
|
100
|
+
__TS__DecorateLegacy({Exported}, RoomHistory.prototype, "inFirstRoom", true)
|
|
95
101
|
function RoomHistory.prototype.isLeavingRoom(self)
|
|
96
102
|
local level = game:GetLevel()
|
|
97
103
|
local stage = level:GetStage()
|
|
@@ -106,11 +112,5 @@ function RoomHistory.prototype.isLeavingRoom(self)
|
|
|
106
112
|
end
|
|
107
113
|
return startSeedString ~= latestRoomDescription.startSeedString or stage ~= latestRoomDescription.stage or stageType ~= latestRoomDescription.stageType or roomListIndex ~= latestRoomDescription.roomListIndex or roomVisitedCount ~= latestRoomDescription.roomVisitedCount
|
|
108
114
|
end
|
|
109
|
-
|
|
110
|
-
__TS__Decorate({Exported}, RoomHistory.prototype, "getNumRoomsEntered", true)
|
|
111
|
-
__TS__Decorate({Exported}, RoomHistory.prototype, "getRoomHistory", true)
|
|
112
|
-
__TS__Decorate({Exported}, RoomHistory.prototype, "getPreviousRoomDescription", true)
|
|
113
|
-
__TS__Decorate({Exported}, RoomHistory.prototype, "getLatestRoomDescription", true)
|
|
114
|
-
__TS__Decorate({Exported}, RoomHistory.prototype, "inFirstRoom", true)
|
|
115
|
-
__TS__Decorate({Exported}, RoomHistory.prototype, "isLeavingRoom", true)
|
|
115
|
+
__TS__DecorateLegacy({Exported}, RoomHistory.prototype, "isLeavingRoom", true)
|
|
116
116
|
return ____exports
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
local ____lualib = require("lualib_bundle")
|
|
2
2
|
local __TS__Class = ____lualib.__TS__Class
|
|
3
3
|
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
|
-
local
|
|
4
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
5
5
|
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
6
6
|
local ____exports = {}
|
|
7
7
|
local checkExecuteQueuedFunctions, checkExecuteIntervalFunctions
|
|
@@ -99,6 +99,7 @@ function RunInNFrames.prototype.restartNextRenderFrame(self, character)
|
|
|
99
99
|
restart(nil, character)
|
|
100
100
|
end)
|
|
101
101
|
end
|
|
102
|
+
__TS__DecorateLegacy({Exported}, RunInNFrames.prototype, "restartNextRenderFrame", true)
|
|
102
103
|
function RunInNFrames.prototype.runInNGameFrames(self, func, numGameFrames, cancelIfRoomChanges)
|
|
103
104
|
if cancelIfRoomChanges == nil then
|
|
104
105
|
cancelIfRoomChanges = false
|
|
@@ -110,6 +111,7 @@ function RunInNFrames.prototype.runInNGameFrames(self, func, numGameFrames, canc
|
|
|
110
111
|
local ____v_run_queuedGameFunctions_0 = v.run.queuedGameFunctions
|
|
111
112
|
____v_run_queuedGameFunctions_0[#____v_run_queuedGameFunctions_0 + 1] = queuedFunction
|
|
112
113
|
end
|
|
114
|
+
__TS__DecorateLegacy({Exported}, RunInNFrames.prototype, "runInNGameFrames", true)
|
|
113
115
|
function RunInNFrames.prototype.runInNRenderFrames(self, func, numRenderFrames, cancelIfRoomChanges)
|
|
114
116
|
if cancelIfRoomChanges == nil then
|
|
115
117
|
cancelIfRoomChanges = false
|
|
@@ -121,18 +123,21 @@ function RunInNFrames.prototype.runInNRenderFrames(self, func, numRenderFrames,
|
|
|
121
123
|
local ____v_run_queuedRenderFunctions_1 = v.run.queuedRenderFunctions
|
|
122
124
|
____v_run_queuedRenderFunctions_1[#____v_run_queuedRenderFunctions_1 + 1] = queuedFunction
|
|
123
125
|
end
|
|
126
|
+
__TS__DecorateLegacy({Exported}, RunInNFrames.prototype, "runInNRenderFrames", true)
|
|
124
127
|
function RunInNFrames.prototype.runNextGameFrame(self, func, cancelIfRoomChanges)
|
|
125
128
|
if cancelIfRoomChanges == nil then
|
|
126
129
|
cancelIfRoomChanges = false
|
|
127
130
|
end
|
|
128
131
|
self:runInNGameFrames(func, 1, cancelIfRoomChanges)
|
|
129
132
|
end
|
|
133
|
+
__TS__DecorateLegacy({Exported}, RunInNFrames.prototype, "runNextGameFrame", true)
|
|
130
134
|
function RunInNFrames.prototype.runNextRenderFrame(self, func, cancelIfRoomChanges)
|
|
131
135
|
if cancelIfRoomChanges == nil then
|
|
132
136
|
cancelIfRoomChanges = false
|
|
133
137
|
end
|
|
134
138
|
self:runInNRenderFrames(func, 1, cancelIfRoomChanges)
|
|
135
139
|
end
|
|
140
|
+
__TS__DecorateLegacy({Exported}, RunInNFrames.prototype, "runNextRenderFrame", true)
|
|
136
141
|
function RunInNFrames.prototype.setIntervalGameFrames(self, func, numGameFrames, runImmediately, cancelIfRoomChanges)
|
|
137
142
|
if cancelIfRoomChanges == nil then
|
|
138
143
|
cancelIfRoomChanges = false
|
|
@@ -155,6 +160,7 @@ function RunInNFrames.prototype.setIntervalGameFrames(self, func, numGameFrames,
|
|
|
155
160
|
local ____v_run_intervalGameFunctions_2 = v.run.intervalGameFunctions
|
|
156
161
|
____v_run_intervalGameFunctions_2[#____v_run_intervalGameFunctions_2 + 1] = intervalFunction
|
|
157
162
|
end
|
|
163
|
+
__TS__DecorateLegacy({Exported}, RunInNFrames.prototype, "setIntervalGameFrames", true)
|
|
158
164
|
function RunInNFrames.prototype.setIntervalRenderFrames(self, func, numRenderFrames, runImmediately, cancelIfRoomChanges)
|
|
159
165
|
if cancelIfRoomChanges == nil then
|
|
160
166
|
cancelIfRoomChanges = false
|
|
@@ -177,11 +183,5 @@ function RunInNFrames.prototype.setIntervalRenderFrames(self, func, numRenderFra
|
|
|
177
183
|
local ____v_run_intervalRenderFunctions_3 = v.run.intervalRenderFunctions
|
|
178
184
|
____v_run_intervalRenderFunctions_3[#____v_run_intervalRenderFunctions_3 + 1] = intervalFunction
|
|
179
185
|
end
|
|
180
|
-
|
|
181
|
-
__TS__Decorate({Exported}, RunInNFrames.prototype, "runInNGameFrames", true)
|
|
182
|
-
__TS__Decorate({Exported}, RunInNFrames.prototype, "runInNRenderFrames", true)
|
|
183
|
-
__TS__Decorate({Exported}, RunInNFrames.prototype, "runNextGameFrame", true)
|
|
184
|
-
__TS__Decorate({Exported}, RunInNFrames.prototype, "runNextRenderFrame", true)
|
|
185
|
-
__TS__Decorate({Exported}, RunInNFrames.prototype, "setIntervalGameFrames", true)
|
|
186
|
-
__TS__Decorate({Exported}, RunInNFrames.prototype, "setIntervalRenderFrames", true)
|
|
186
|
+
__TS__DecorateLegacy({Exported}, RunInNFrames.prototype, "setIntervalRenderFrames", true)
|
|
187
187
|
return ____exports
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
local ____lualib = require("lualib_bundle")
|
|
2
2
|
local __TS__Class = ____lualib.__TS__Class
|
|
3
3
|
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
|
-
local
|
|
4
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
5
5
|
local ____exports = {}
|
|
6
6
|
local ____decorators = require("src.decorators")
|
|
7
7
|
local Exported = ____decorators.Exported
|
|
@@ -32,5 +32,5 @@ function RunNextRoom.prototype.runNextRoom(self, func)
|
|
|
32
32
|
local ____v_run_queuedFunctions_0 = v.run.queuedFunctions
|
|
33
33
|
____v_run_queuedFunctions_0[#____v_run_queuedFunctions_0 + 1] = func
|
|
34
34
|
end
|
|
35
|
-
|
|
35
|
+
__TS__DecorateLegacy({Exported}, RunNextRoom.prototype, "runNextRoom", true)
|
|
36
36
|
return ____exports
|
|
@@ -4,7 +4,7 @@ local __TS__Class = ____lualib.__TS__Class
|
|
|
4
4
|
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
5
5
|
local __TS__TypeOf = ____lualib.__TS__TypeOf
|
|
6
6
|
local __TS__ObjectKeys = ____lualib.__TS__ObjectKeys
|
|
7
|
-
local
|
|
7
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
8
8
|
local __TS__ArraySort = ____lualib.__TS__ArraySort
|
|
9
9
|
local ____exports = {}
|
|
10
10
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
@@ -136,6 +136,7 @@ function SaveDataManager.prototype.saveDataManager(self, key, v, conditionalFunc
|
|
|
136
136
|
self.saveDataConditionalFuncMap[key] = conditionalFunc
|
|
137
137
|
end
|
|
138
138
|
end
|
|
139
|
+
__TS__DecorateLegacy({Exported}, SaveDataManager.prototype, "saveDataManager", true)
|
|
139
140
|
function SaveDataManager.prototype.storeClassConstructorsFromObject(self, luaMap)
|
|
140
141
|
local tstlClassName = getTSTLClassName(nil, luaMap)
|
|
141
142
|
if tstlClassName ~= nil and not NON_USER_DEFINED_CLASS_NAMES:has(tstlClassName) then
|
|
@@ -150,12 +151,15 @@ end
|
|
|
150
151
|
function SaveDataManager.prototype.saveDataManagerLoad(self)
|
|
151
152
|
loadFromDisk(nil, self.mod, self.saveDataMap, self.classConstructors)
|
|
152
153
|
end
|
|
154
|
+
__TS__DecorateLegacy({Exported}, SaveDataManager.prototype, "saveDataManagerLoad", true)
|
|
153
155
|
function SaveDataManager.prototype.saveDataManagerSave(self)
|
|
154
156
|
saveToDisk(nil, self.mod, self.saveDataMap, self.saveDataConditionalFuncMap)
|
|
155
157
|
end
|
|
158
|
+
__TS__DecorateLegacy({Exported}, SaveDataManager.prototype, "saveDataManagerSave", true)
|
|
156
159
|
function SaveDataManager.prototype.saveDataManagerSetGlobal(self)
|
|
157
160
|
g = self.saveDataMap
|
|
158
161
|
end
|
|
162
|
+
__TS__DecorateLegacy({Exported}, SaveDataManager.prototype, "saveDataManagerSetGlobal", true)
|
|
159
163
|
function SaveDataManager.prototype.saveDataManagerRegisterClass(self, ...)
|
|
160
164
|
local tstlClasses = {...}
|
|
161
165
|
for ____, tstlClass in ipairs(tstlClasses) do
|
|
@@ -166,6 +170,7 @@ function SaveDataManager.prototype.saveDataManagerRegisterClass(self, ...)
|
|
|
166
170
|
self.classConstructors[name] = tstlClass
|
|
167
171
|
end
|
|
168
172
|
end
|
|
173
|
+
__TS__DecorateLegacy({Exported}, SaveDataManager.prototype, "saveDataManagerRegisterClass", true)
|
|
169
174
|
function SaveDataManager.prototype.saveDataManagerRemove(self, key)
|
|
170
175
|
if not isString(nil, key) then
|
|
171
176
|
error("The save data manager requires that keys are strings. You tried to use a key of type: " .. __TS__TypeOf(key))
|
|
@@ -178,6 +183,7 @@ function SaveDataManager.prototype.saveDataManagerRemove(self, key)
|
|
|
178
183
|
self.saveDataConditionalFuncMap[key] = nil
|
|
179
184
|
self.saveDataGlowingHourGlassMap[key] = nil
|
|
180
185
|
end
|
|
186
|
+
__TS__DecorateLegacy({Exported}, SaveDataManager.prototype, "saveDataManagerRemove", true)
|
|
181
187
|
function SaveDataManager.prototype.saveDataManagerReset(self, key, childObjectKey)
|
|
182
188
|
if not isString(nil, key) then
|
|
183
189
|
error("The save data manager requires that keys are strings. You tried to use a key of type: " .. __TS__TypeOf(key))
|
|
@@ -194,9 +200,11 @@ function SaveDataManager.prototype.saveDataManagerReset(self, key, childObjectKe
|
|
|
194
200
|
childObjectKey
|
|
195
201
|
)
|
|
196
202
|
end
|
|
203
|
+
__TS__DecorateLegacy({Exported}, SaveDataManager.prototype, "saveDataManagerReset", true)
|
|
197
204
|
function SaveDataManager.prototype.saveDataManagerInMenu(self)
|
|
198
205
|
return not self.inARun
|
|
199
206
|
end
|
|
207
|
+
__TS__DecorateLegacy({Exported}, SaveDataManager.prototype, "saveDataManagerInMenu", true)
|
|
200
208
|
function SaveDataManager.prototype.saveDataManagerLogSubscribers(self)
|
|
201
209
|
log("List of save data manager subscribers:")
|
|
202
210
|
local keys = __TS__ObjectKeys(self.saveDataMap)
|
|
@@ -205,13 +213,5 @@ function SaveDataManager.prototype.saveDataManagerLogSubscribers(self)
|
|
|
205
213
|
log("- " .. key)
|
|
206
214
|
end
|
|
207
215
|
end
|
|
208
|
-
|
|
209
|
-
__TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerLoad", true)
|
|
210
|
-
__TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerSave", true)
|
|
211
|
-
__TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerSetGlobal", true)
|
|
212
|
-
__TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerRegisterClass", true)
|
|
213
|
-
__TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerRemove", true)
|
|
214
|
-
__TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerReset", true)
|
|
215
|
-
__TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerInMenu", true)
|
|
216
|
-
__TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerLogSubscribers", true)
|
|
216
|
+
__TS__DecorateLegacy({Exported}, SaveDataManager.prototype, "saveDataManagerLogSubscribers", true)
|
|
217
217
|
return ____exports
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
local ____lualib = require("lualib_bundle")
|
|
2
2
|
local __TS__Class = ____lualib.__TS__Class
|
|
3
3
|
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
|
-
local
|
|
4
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
5
5
|
local ____exports = {}
|
|
6
6
|
local ____cachedClasses = require("src.core.cachedClasses")
|
|
7
7
|
local game = ____cachedClasses.game
|
|
@@ -50,6 +50,7 @@ function SpawnCollectible.prototype.spawnCollectible(self, collectibleType, posi
|
|
|
50
50
|
end
|
|
51
51
|
return collectible
|
|
52
52
|
end
|
|
53
|
+
__TS__DecorateLegacy({Exported}, SpawnCollectible.prototype, "spawnCollectible", true)
|
|
53
54
|
function SpawnCollectible.prototype.spawnCollectibleFromPool(self, itemPoolType, positionOrGridIndex, seedOrRNG, options, forceFreeItem, spawner)
|
|
54
55
|
if seedOrRNG == nil then
|
|
55
56
|
seedOrRNG = getRandomSeed(nil)
|
|
@@ -71,6 +72,5 @@ function SpawnCollectible.prototype.spawnCollectibleFromPool(self, itemPoolType,
|
|
|
71
72
|
spawner
|
|
72
73
|
)
|
|
73
74
|
end
|
|
74
|
-
|
|
75
|
-
__TS__Decorate({Exported}, SpawnCollectible.prototype, "spawnCollectibleFromPool", true)
|
|
75
|
+
__TS__DecorateLegacy({Exported}, SpawnCollectible.prototype, "spawnCollectibleFromPool", true)
|
|
76
76
|
return ____exports
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
local ____lualib = require("lualib_bundle")
|
|
2
2
|
local __TS__Class = ____lualib.__TS__Class
|
|
3
3
|
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
|
-
local
|
|
4
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
5
5
|
local ____exports = {}
|
|
6
6
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
7
7
|
local CardType = ____isaac_2Dtypescript_2Ddefinitions.CardType
|
|
@@ -114,6 +114,7 @@ function SpawnRockAltRewards.prototype.spawnRockAltReward(self, positionOrGridIn
|
|
|
114
114
|
end
|
|
115
115
|
until true
|
|
116
116
|
end
|
|
117
|
+
__TS__DecorateLegacy({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltReward", true)
|
|
117
118
|
function SpawnRockAltRewards.prototype.spawnRockAltRewardUrn(self, position, rng)
|
|
118
119
|
local room = game:GetRoom()
|
|
119
120
|
local chance = getRandom(nil, rng)
|
|
@@ -175,6 +176,7 @@ function SpawnRockAltRewards.prototype.spawnRockAltRewardUrn(self, position, rng
|
|
|
175
176
|
)
|
|
176
177
|
return true
|
|
177
178
|
end
|
|
179
|
+
__TS__DecorateLegacy({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardUrn", true)
|
|
178
180
|
function SpawnRockAltRewards.prototype.spawnRockAltRewardMushroom(self, position, rng)
|
|
179
181
|
local room = game:GetRoom()
|
|
180
182
|
local roomType = room:GetType()
|
|
@@ -228,6 +230,7 @@ function SpawnRockAltRewards.prototype.spawnRockAltRewardMushroom(self, position
|
|
|
228
230
|
game:ButterBeanFart(position, FART_RADIUS, nil)
|
|
229
231
|
return true
|
|
230
232
|
end
|
|
233
|
+
__TS__DecorateLegacy({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardMushroom", true)
|
|
231
234
|
function SpawnRockAltRewards.prototype.spawnRockAltRewardSkull(self, position, rng)
|
|
232
235
|
local chance = getRandom(nil, rng)
|
|
233
236
|
local totalChance = 0
|
|
@@ -275,6 +278,7 @@ function SpawnRockAltRewards.prototype.spawnRockAltRewardSkull(self, position, r
|
|
|
275
278
|
)
|
|
276
279
|
return true
|
|
277
280
|
end
|
|
281
|
+
__TS__DecorateLegacy({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardSkull", true)
|
|
278
282
|
function SpawnRockAltRewards.prototype.spawnRockAltRewardPolyp(self, position, rng)
|
|
279
283
|
local chance = getRandom(nil, rng)
|
|
280
284
|
local totalChance = 0
|
|
@@ -328,6 +332,7 @@ function SpawnRockAltRewards.prototype.spawnRockAltRewardPolyp(self, position, r
|
|
|
328
332
|
)
|
|
329
333
|
return true
|
|
330
334
|
end
|
|
335
|
+
__TS__DecorateLegacy({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardPolyp", true)
|
|
331
336
|
function SpawnRockAltRewards.prototype.spawnRockAltRewardBucketDownpour(self, position, rng)
|
|
332
337
|
local room = game:GetRoom()
|
|
333
338
|
local chance = getRandom(nil, rng)
|
|
@@ -394,6 +399,7 @@ function SpawnRockAltRewards.prototype.spawnRockAltRewardBucketDownpour(self, po
|
|
|
394
399
|
)
|
|
395
400
|
return true
|
|
396
401
|
end
|
|
402
|
+
__TS__DecorateLegacy({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardBucketDownpour", true)
|
|
397
403
|
function SpawnRockAltRewards.prototype.spawnRockAltRewardBucketDross(self, position, rng)
|
|
398
404
|
local room = game:GetRoom()
|
|
399
405
|
local chance = getRandom(nil, rng)
|
|
@@ -458,11 +464,5 @@ function SpawnRockAltRewards.prototype.spawnRockAltRewardBucketDross(self, posit
|
|
|
458
464
|
)
|
|
459
465
|
return true
|
|
460
466
|
end
|
|
461
|
-
|
|
462
|
-
__TS__Decorate({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardUrn", true)
|
|
463
|
-
__TS__Decorate({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardMushroom", true)
|
|
464
|
-
__TS__Decorate({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardSkull", true)
|
|
465
|
-
__TS__Decorate({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardPolyp", true)
|
|
466
|
-
__TS__Decorate({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardBucketDownpour", true)
|
|
467
|
-
__TS__Decorate({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardBucketDross", true)
|
|
467
|
+
__TS__DecorateLegacy({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardBucketDross", true)
|
|
468
468
|
return ____exports
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
local ____lualib = require("lualib_bundle")
|
|
2
2
|
local __TS__Class = ____lualib.__TS__Class
|
|
3
3
|
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
|
-
local
|
|
4
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
5
5
|
local __TS__ArraySome = ____lualib.__TS__ArraySome
|
|
6
6
|
local ____exports = {}
|
|
7
7
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
@@ -103,6 +103,7 @@ function StageHistory.prototype.getNextStageTypeWithHistory(self, upwards)
|
|
|
103
103
|
local nextStage = self:getNextStageWithHistory()
|
|
104
104
|
return calculateStageType(nil, nextStage)
|
|
105
105
|
end
|
|
106
|
+
__TS__DecorateLegacy({Exported}, StageHistory.prototype, "getNextStageTypeWithHistory", true)
|
|
106
107
|
function StageHistory.prototype.getNextStageWithHistory(self)
|
|
107
108
|
local backwardsPath = game:GetStateFlag(GameStateFlag.BACKWARDS_PATH)
|
|
108
109
|
if not backwardsPath then
|
|
@@ -169,9 +170,11 @@ function StageHistory.prototype.getNextStageWithHistory(self)
|
|
|
169
170
|
end
|
|
170
171
|
return asNumber(nil, stage) - 1
|
|
171
172
|
end
|
|
173
|
+
__TS__DecorateLegacy({Exported}, StageHistory.prototype, "getNextStageWithHistory", true)
|
|
172
174
|
function StageHistory.prototype.getStageHistory(self)
|
|
173
175
|
return v.run.stageHistory
|
|
174
176
|
end
|
|
177
|
+
__TS__DecorateLegacy({Exported}, StageHistory.prototype, "getStageHistory", true)
|
|
175
178
|
function StageHistory.prototype.hasVisitedStage(self, stage, stageType)
|
|
176
179
|
if stageType == nil then
|
|
177
180
|
return __TS__ArraySome(
|
|
@@ -184,8 +187,5 @@ function StageHistory.prototype.hasVisitedStage(self, stage, stageType)
|
|
|
184
187
|
function(____, stageHistoryEntry) return stageHistoryEntry.stage == stage and stageHistoryEntry.stageType == stageType end
|
|
185
188
|
)
|
|
186
189
|
end
|
|
187
|
-
|
|
188
|
-
__TS__Decorate({Exported}, StageHistory.prototype, "getNextStageWithHistory", true)
|
|
189
|
-
__TS__Decorate({Exported}, StageHistory.prototype, "getStageHistory", true)
|
|
190
|
-
__TS__Decorate({Exported}, StageHistory.prototype, "hasVisitedStage", true)
|
|
190
|
+
__TS__DecorateLegacy({Exported}, StageHistory.prototype, "hasVisitedStage", true)
|
|
191
191
|
return ____exports
|
|
@@ -2,7 +2,7 @@ local ____lualib = require("lualib_bundle")
|
|
|
2
2
|
local __TS__Class = ____lualib.__TS__Class
|
|
3
3
|
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
4
|
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
5
|
-
local
|
|
5
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
6
6
|
local ____exports = {}
|
|
7
7
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
8
8
|
local SackSubType = ____isaac_2Dtypescript_2Ddefinitions.SackSubType
|
|
@@ -49,5 +49,5 @@ function StartAmbush.prototype.startAmbush(self)
|
|
|
49
49
|
removeEntities(nil, coinsFromSack)
|
|
50
50
|
end)
|
|
51
51
|
end
|
|
52
|
-
|
|
52
|
+
__TS__DecorateLegacy({Exported}, StartAmbush.prototype, "startAmbush", true)
|
|
53
53
|
return ____exports
|
|
@@ -3,7 +3,7 @@ local Map = ____lualib.Map
|
|
|
3
3
|
local __TS__New = ____lualib.__TS__New
|
|
4
4
|
local __TS__Class = ____lualib.__TS__Class
|
|
5
5
|
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
6
|
-
local
|
|
6
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
7
7
|
local ____exports = {}
|
|
8
8
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
9
9
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
@@ -66,5 +66,5 @@ function TaintedLazarusPlayers.prototype.getTaintedLazarusSubPlayer(self, player
|
|
|
66
66
|
local ptrHash = GetPtrHash(player)
|
|
67
67
|
return v.run.subPlayerMap:get(ptrHash)
|
|
68
68
|
end
|
|
69
|
-
|
|
69
|
+
__TS__DecorateLegacy({Exported}, TaintedLazarusPlayers.prototype, "getTaintedLazarusSubPlayer", true)
|
|
70
70
|
return ____exports
|