isaacscript-common 30.11.5 → 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/index.rollup.d.ts +20 -17
- package/dist/isaacscript-common.lua +298 -251
- 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/dist/src/functions/logMisc.d.ts +19 -17
- package/dist/src/functions/logMisc.d.ts.map +1 -1
- package/dist/src/functions/logMisc.lua +47 -15
- package/package.json +1 -1
- package/src/classes/features/other/saveDataManager/saveToDisk.ts +1 -1
- package/src/decorators.ts +1 -1
- package/src/functions/decorators.ts +2 -2
- package/src/functions/logMisc.ts +48 -21
- package/dist/src/indexLua.d.ts +0 -186
- package/dist/src/indexLua.d.ts.map +0 -1
- package/dist/src/indexLua.lua +0 -1114
|
@@ -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
|
|
@@ -46,9 +46,9 @@ function EdenStartingStats.prototype.getEdenStartingStat(self, player, playerSta
|
|
|
46
46
|
end
|
|
47
47
|
return playerStats[playerStat]
|
|
48
48
|
end
|
|
49
|
+
__TS__DecorateLegacy({Exported}, EdenStartingStats.prototype, "getEdenStartingStat", true)
|
|
49
50
|
function EdenStartingStats.prototype.getEdenStartingStats(self, player)
|
|
50
51
|
return mapGetPlayer(nil, v.run.edenPlayerStats, player)
|
|
51
52
|
end
|
|
52
|
-
|
|
53
|
-
__TS__Decorate({Exported}, EdenStartingStats.prototype, "getEdenStartingStats", true)
|
|
53
|
+
__TS__DecorateLegacy({Exported}, EdenStartingStats.prototype, "getEdenStartingStats", true)
|
|
54
54
|
return ____exports
|
|
@@ -4,7 +4,7 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
4
4
|
local __TS__ObjectEntries = ____lualib.__TS__ObjectEntries
|
|
5
5
|
local Map = ____lualib.Map
|
|
6
6
|
local __TS__New = ____lualib.__TS__New
|
|
7
|
-
local
|
|
7
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
8
8
|
local ____exports = {}
|
|
9
9
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
10
10
|
local CacheFlag = ____isaac_2Dtypescript_2Ddefinitions.CacheFlag
|
|
@@ -145,12 +145,12 @@ function ExtraConsoleCommands.prototype.addConsoleCommand(self, commandName, com
|
|
|
145
145
|
end
|
|
146
146
|
self.commandFunctionMap:set(commandName, commandFunction)
|
|
147
147
|
end
|
|
148
|
+
__TS__DecorateLegacy({Exported}, ExtraConsoleCommands.prototype, "addConsoleCommand", true)
|
|
148
149
|
function ExtraConsoleCommands.prototype.removeConsoleCommand(self, commandName)
|
|
149
150
|
if not self.commandFunctionMap:has(commandName) then
|
|
150
151
|
error(("Failed to remove the console command of \"" .. commandName) .. "\", since it does not already exist in the map.")
|
|
151
152
|
end
|
|
152
153
|
self.commandFunctionMap:delete(commandName)
|
|
153
154
|
end
|
|
154
|
-
|
|
155
|
-
__TS__Decorate({Exported}, ExtraConsoleCommands.prototype, "removeConsoleCommand", true)
|
|
155
|
+
__TS__DecorateLegacy({Exported}, ExtraConsoleCommands.prototype, "removeConsoleCommand", true)
|
|
156
156
|
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
|
|
@@ -29,9 +29,9 @@ end
|
|
|
29
29
|
function FadeInRemover.prototype.removeFadeIn(self)
|
|
30
30
|
self.enabled = true
|
|
31
31
|
end
|
|
32
|
+
__TS__DecorateLegacy({Exported}, FadeInRemover.prototype, "removeFadeIn", true)
|
|
32
33
|
function FadeInRemover.prototype.restoreFadeIn(self)
|
|
33
34
|
self.enabled = false
|
|
34
35
|
end
|
|
35
|
-
|
|
36
|
-
__TS__Decorate({Exported}, FadeInRemover.prototype, "restoreFadeIn", true)
|
|
36
|
+
__TS__DecorateLegacy({Exported}, FadeInRemover.prototype, "restoreFadeIn", true)
|
|
37
37
|
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 checkResetInput
|
|
7
7
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
@@ -51,9 +51,9 @@ end
|
|
|
51
51
|
function FastReset.prototype.enableFastReset(self)
|
|
52
52
|
self.enabled = true
|
|
53
53
|
end
|
|
54
|
+
__TS__DecorateLegacy({Exported}, FastReset.prototype, "enableFastReset", true)
|
|
54
55
|
function FastReset.prototype.disableFastReset(self)
|
|
55
56
|
self.enabled = false
|
|
56
57
|
end
|
|
57
|
-
|
|
58
|
-
__TS__Decorate({Exported}, FastReset.prototype, "disableFastReset", true)
|
|
58
|
+
__TS__DecorateLegacy({Exported}, FastReset.prototype, "disableFastReset", true)
|
|
59
59
|
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__Iterator = ____lualib.__TS__Iterator
|
|
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 NullItemID = ____isaac_2Dtypescript_2Ddefinitions.NullItemID
|
|
@@ -43,5 +43,5 @@ function FlyingDetection.prototype.hasFlyingTemporaryEffect(self, player)
|
|
|
43
43
|
end
|
|
44
44
|
return false
|
|
45
45
|
end
|
|
46
|
-
|
|
46
|
+
__TS__DecorateLegacy({Exported}, FlyingDetection.prototype, "hasFlyingTemporaryEffect", true)
|
|
47
47
|
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 ButtonAction = ____isaac_2Dtypescript_2Ddefinitions.ButtonAction
|
|
@@ -24,5 +24,5 @@ end
|
|
|
24
24
|
function ForgottenSwitch.prototype.forgottenSwitch(self, player)
|
|
25
25
|
self.pressInput:pressInput(player, ButtonAction.DROP)
|
|
26
26
|
end
|
|
27
|
-
|
|
27
|
+
__TS__DecorateLegacy({Exported}, ForgottenSwitch.prototype, "forgottenSwitch", true)
|
|
28
28
|
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 Map = ____lualib.Map
|
|
7
7
|
local __TS__New = ____lualib.__TS__New
|
|
8
8
|
local ____exports = {}
|
|
@@ -102,6 +102,7 @@ function ItemPoolDetection.prototype.getCollectiblesInItemPool(self, itemPoolTyp
|
|
|
102
102
|
function(____, collectibleType) return self:isCollectibleInItemPool(collectibleType, itemPoolType) end
|
|
103
103
|
)
|
|
104
104
|
end
|
|
105
|
+
__TS__DecorateLegacy({Exported}, ItemPoolDetection.prototype, "getCollectiblesInItemPool", true)
|
|
105
106
|
function ItemPoolDetection.prototype.isCollectibleInItemPool(self, collectibleType, itemPoolType)
|
|
106
107
|
if collectibleType == COLLECTIBLE_TYPE_THAT_IS_NOT_IN_ANY_POOLS then
|
|
107
108
|
return false
|
|
@@ -135,13 +136,12 @@ function ItemPoolDetection.prototype.isCollectibleInItemPool(self, collectibleTy
|
|
|
135
136
|
end
|
|
136
137
|
return collectibleUnlocked
|
|
137
138
|
end
|
|
139
|
+
__TS__DecorateLegacy({Exported}, ItemPoolDetection.prototype, "isCollectibleInItemPool", true)
|
|
138
140
|
function ItemPoolDetection.prototype.isCollectibleUnlocked(self, collectibleType, itemPoolType)
|
|
139
141
|
if anyPlayerHasCollectible(nil, collectibleType) then
|
|
140
142
|
return true
|
|
141
143
|
end
|
|
142
144
|
return self:isCollectibleInItemPool(collectibleType, itemPoolType)
|
|
143
145
|
end
|
|
144
|
-
|
|
145
|
-
__TS__Decorate({Exported}, ItemPoolDetection.prototype, "isCollectibleInItemPool", true)
|
|
146
|
-
__TS__Decorate({Exported}, ItemPoolDetection.prototype, "isCollectibleUnlocked", true)
|
|
146
|
+
__TS__DecorateLegacy({Exported}, ItemPoolDetection.prototype, "isCollectibleUnlocked", true)
|
|
147
147
|
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 ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
@@ -71,10 +71,12 @@ function ModdedElementDetection.prototype.getFirstModdedCollectibleType(self)
|
|
|
71
71
|
end
|
|
72
72
|
return ____temp_0
|
|
73
73
|
end
|
|
74
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getFirstModdedCollectibleType", true)
|
|
74
75
|
function ModdedElementDetection.prototype.getLastCollectibleType(self)
|
|
75
76
|
self:errorIfNoCallbacksFired("collectible")
|
|
76
77
|
return itemConfig:GetCollectibles().Size - 1
|
|
77
78
|
end
|
|
79
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getLastCollectibleType", true)
|
|
78
80
|
function ModdedElementDetection.prototype.getModdedCollectibleTypes(self)
|
|
79
81
|
self:errorIfNoCallbacksFired("collectible")
|
|
80
82
|
local firstModdedCollectibleType = self:getFirstModdedCollectibleType()
|
|
@@ -84,16 +86,19 @@ function ModdedElementDetection.prototype.getModdedCollectibleTypes(self)
|
|
|
84
86
|
local lastCollectibleType = self:getLastCollectibleType()
|
|
85
87
|
return iRange(nil, firstModdedCollectibleType, lastCollectibleType)
|
|
86
88
|
end
|
|
89
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getModdedCollectibleTypes", true)
|
|
87
90
|
function ModdedElementDetection.prototype.getNumCollectibleTypes(self)
|
|
88
91
|
self:errorIfNoCallbacksFired("collectible")
|
|
89
92
|
local numModdedCollectibleTypes = self:getNumModdedCollectibleTypes()
|
|
90
93
|
return NUM_VANILLA_COLLECTIBLE_TYPES + numModdedCollectibleTypes
|
|
91
94
|
end
|
|
95
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getNumCollectibleTypes", true)
|
|
92
96
|
function ModdedElementDetection.prototype.getNumModdedCollectibleTypes(self)
|
|
93
97
|
self:errorIfNoCallbacksFired("collectible")
|
|
94
98
|
local lastCollectibleType = self:getLastCollectibleType()
|
|
95
99
|
return lastCollectibleType - LAST_VANILLA_COLLECTIBLE_TYPE
|
|
96
100
|
end
|
|
101
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getNumModdedCollectibleTypes", true)
|
|
97
102
|
function ModdedElementDetection.prototype.getFirstModdedTrinketType(self)
|
|
98
103
|
self:errorIfNoCallbacksFired("trinket")
|
|
99
104
|
local firstModdedTrinketType = asTrinketType(
|
|
@@ -109,11 +114,13 @@ function ModdedElementDetection.prototype.getFirstModdedTrinketType(self)
|
|
|
109
114
|
end
|
|
110
115
|
return ____temp_1
|
|
111
116
|
end
|
|
117
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getFirstModdedTrinketType", true)
|
|
112
118
|
function ModdedElementDetection.prototype.getLastTrinketType(self)
|
|
113
119
|
self:errorIfNoCallbacksFired("trinket")
|
|
114
120
|
local numTrinketTypes = self:getNumTrinketTypes()
|
|
115
121
|
return asTrinketType(nil, numTrinketTypes)
|
|
116
122
|
end
|
|
123
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getLastTrinketType", true)
|
|
117
124
|
function ModdedElementDetection.prototype.getModdedTrinketTypes(self)
|
|
118
125
|
self:errorIfNoCallbacksFired("trinket")
|
|
119
126
|
local firstModdedTrinketType = self:getFirstModdedTrinketType()
|
|
@@ -123,25 +130,30 @@ function ModdedElementDetection.prototype.getModdedTrinketTypes(self)
|
|
|
123
130
|
local lastTrinketType = self:getLastTrinketType()
|
|
124
131
|
return iRange(nil, firstModdedTrinketType, lastTrinketType)
|
|
125
132
|
end
|
|
133
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getModdedTrinketTypes", true)
|
|
126
134
|
function ModdedElementDetection.prototype.getNumTrinketTypes(self)
|
|
127
135
|
self:errorIfNoCallbacksFired("trinket")
|
|
128
136
|
return itemConfig:GetTrinkets().Size - 1
|
|
129
137
|
end
|
|
138
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getNumTrinketTypes", true)
|
|
130
139
|
function ModdedElementDetection.prototype.getNumModdedTrinketTypes(self)
|
|
131
140
|
self:errorIfNoCallbacksFired("trinket")
|
|
132
141
|
local numTrinketTypes = self:getNumTrinketTypes()
|
|
133
142
|
return numTrinketTypes - NUM_VANILLA_TRINKET_TYPES
|
|
134
143
|
end
|
|
144
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getNumModdedTrinketTypes", true)
|
|
135
145
|
function ModdedElementDetection.prototype.getTrinketTypes(self)
|
|
136
146
|
self:errorIfNoCallbacksFired("trinket")
|
|
137
147
|
local lastTrinketType = self:getLastTrinketType()
|
|
138
148
|
return iRange(nil, FIRST_TRINKET_TYPE, lastTrinketType)
|
|
139
149
|
end
|
|
150
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getTrinketTypes", true)
|
|
140
151
|
function ModdedElementDetection.prototype.getAllCardTypes(self)
|
|
141
152
|
self:errorIfNoCallbacksFired("card")
|
|
142
153
|
local lastCardType = self:getLastCardType()
|
|
143
154
|
return iRange(nil, FIRST_CARD_TYPE, lastCardType)
|
|
144
155
|
end
|
|
156
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getAllCardTypes", true)
|
|
145
157
|
function ModdedElementDetection.prototype.getFirstModdedCardType(self)
|
|
146
158
|
self:errorIfNoCallbacksFired("card")
|
|
147
159
|
local firstModdedCardType = asCardType(
|
|
@@ -157,11 +169,13 @@ function ModdedElementDetection.prototype.getFirstModdedCardType(self)
|
|
|
157
169
|
end
|
|
158
170
|
return ____temp_2
|
|
159
171
|
end
|
|
172
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getFirstModdedCardType", true)
|
|
160
173
|
function ModdedElementDetection.prototype.getLastCardType(self)
|
|
161
174
|
self:errorIfNoCallbacksFired("card")
|
|
162
175
|
local numCards = self:getNumCardTypes()
|
|
163
176
|
return asCardType(nil, numCards)
|
|
164
177
|
end
|
|
178
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getLastCardType", true)
|
|
165
179
|
function ModdedElementDetection.prototype.getModdedCardTypes(self)
|
|
166
180
|
self:errorIfNoCallbacksFired("card")
|
|
167
181
|
local firstModdedCardType = self:getFirstModdedCardType()
|
|
@@ -171,20 +185,24 @@ function ModdedElementDetection.prototype.getModdedCardTypes(self)
|
|
|
171
185
|
local lastCardType = self:getLastCardType()
|
|
172
186
|
return iRange(nil, firstModdedCardType, lastCardType)
|
|
173
187
|
end
|
|
188
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getModdedCardTypes", true)
|
|
174
189
|
function ModdedElementDetection.prototype.getNumCardTypes(self)
|
|
175
190
|
self:errorIfNoCallbacksFired("card")
|
|
176
191
|
return itemConfig:GetCards().Size - 1
|
|
177
192
|
end
|
|
193
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getNumCardTypes", true)
|
|
178
194
|
function ModdedElementDetection.prototype.getNumModdedCardTypes(self)
|
|
179
195
|
self:errorIfNoCallbacksFired("card")
|
|
180
196
|
local numCardTypes = self:getNumCardTypes()
|
|
181
197
|
return numCardTypes - NUM_VANILLA_CARD_TYPES
|
|
182
198
|
end
|
|
199
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getNumModdedCardTypes", true)
|
|
183
200
|
function ModdedElementDetection.prototype.getAllPillEffects(self)
|
|
184
201
|
self:errorIfNoCallbacksFired("pill")
|
|
185
202
|
local lastPillEffect = self:getLastPillEffect()
|
|
186
203
|
return iRange(nil, FIRST_PILL_EFFECT, lastPillEffect)
|
|
187
204
|
end
|
|
205
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getAllPillEffects", true)
|
|
188
206
|
function ModdedElementDetection.prototype.getFirstModdedPillEffect(self)
|
|
189
207
|
self:errorIfNoCallbacksFired("pill")
|
|
190
208
|
local firstModdedPillEffect = asPillEffect(
|
|
@@ -200,11 +218,13 @@ function ModdedElementDetection.prototype.getFirstModdedPillEffect(self)
|
|
|
200
218
|
end
|
|
201
219
|
return ____temp_3
|
|
202
220
|
end
|
|
221
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getFirstModdedPillEffect", true)
|
|
203
222
|
function ModdedElementDetection.prototype.getLastPillEffect(self)
|
|
204
223
|
self:errorIfNoCallbacksFired("pill")
|
|
205
224
|
local numPillEffects = self:getNumPillEffects()
|
|
206
225
|
return asPillEffect(nil, numPillEffects)
|
|
207
226
|
end
|
|
227
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getLastPillEffect", true)
|
|
208
228
|
function ModdedElementDetection.prototype.getModdedPillEffects(self)
|
|
209
229
|
self:errorIfNoCallbacksFired("pill")
|
|
210
230
|
local firstModdedPillEffect = self:getFirstModdedPillEffect()
|
|
@@ -214,36 +234,16 @@ function ModdedElementDetection.prototype.getModdedPillEffects(self)
|
|
|
214
234
|
local lastPillEffect = self:getLastPillEffect()
|
|
215
235
|
return iRange(nil, firstModdedPillEffect, lastPillEffect)
|
|
216
236
|
end
|
|
237
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getModdedPillEffects", true)
|
|
217
238
|
function ModdedElementDetection.prototype.getNumPillEffects(self)
|
|
218
239
|
self:errorIfNoCallbacksFired("pill")
|
|
219
240
|
return itemConfig:GetPillEffects().Size
|
|
220
241
|
end
|
|
242
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getNumPillEffects", true)
|
|
221
243
|
function ModdedElementDetection.prototype.getNumModdedPillEffects(self)
|
|
222
244
|
self:errorIfNoCallbacksFired("pill")
|
|
223
245
|
local numPillEffects = self:getNumPillEffects()
|
|
224
246
|
return numPillEffects - NUM_VANILLA_PILL_EFFECTS
|
|
225
247
|
end
|
|
226
|
-
|
|
227
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getLastCollectibleType", true)
|
|
228
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getModdedCollectibleTypes", true)
|
|
229
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getNumCollectibleTypes", true)
|
|
230
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getNumModdedCollectibleTypes", true)
|
|
231
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getFirstModdedTrinketType", true)
|
|
232
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getLastTrinketType", true)
|
|
233
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getModdedTrinketTypes", true)
|
|
234
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getNumTrinketTypes", true)
|
|
235
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getNumModdedTrinketTypes", true)
|
|
236
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getTrinketTypes", true)
|
|
237
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getAllCardTypes", true)
|
|
238
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getFirstModdedCardType", true)
|
|
239
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getLastCardType", true)
|
|
240
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getModdedCardTypes", true)
|
|
241
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getNumCardTypes", true)
|
|
242
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getNumModdedCardTypes", true)
|
|
243
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getAllPillEffects", true)
|
|
244
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getFirstModdedPillEffect", true)
|
|
245
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getLastPillEffect", true)
|
|
246
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getModdedPillEffects", true)
|
|
247
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getNumPillEffects", true)
|
|
248
|
-
__TS__Decorate({Exported}, ModdedElementDetection.prototype, "getNumModdedPillEffects", true)
|
|
248
|
+
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getNumModdedPillEffects", true)
|
|
249
249
|
return ____exports
|
|
@@ -5,7 +5,7 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
5
5
|
local Set = ____lualib.Set
|
|
6
6
|
local Map = ____lualib.Map
|
|
7
7
|
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
8
|
-
local
|
|
8
|
+
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
9
9
|
local ____exports = {}
|
|
10
10
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
11
11
|
local CacheFlag = ____isaac_2Dtypescript_2Ddefinitions.CacheFlag
|
|
@@ -358,10 +358,12 @@ function ModdedElementSets.prototype.getCardArray(self)
|
|
|
358
358
|
self:lazyInitModdedCardTypes()
|
|
359
359
|
return self.allCardTypesArray
|
|
360
360
|
end
|
|
361
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getCardArray", true)
|
|
361
362
|
function ModdedElementSets.prototype.getCardSet(self)
|
|
362
363
|
self:lazyInitModdedCardTypes()
|
|
363
364
|
return self.allCardTypesSet
|
|
364
365
|
end
|
|
366
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getCardSet", true)
|
|
365
367
|
function ModdedElementSets.prototype.getCardTypesOfType(self, ...)
|
|
366
368
|
local itemConfigCardTypes = {...}
|
|
367
369
|
if self.itemConfigCardTypeToCardTypeMap.size == 0 then
|
|
@@ -379,14 +381,17 @@ function ModdedElementSets.prototype.getCardTypesOfType(self, ...)
|
|
|
379
381
|
end
|
|
380
382
|
return matchingCardTypes
|
|
381
383
|
end
|
|
384
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getCardTypesOfType", true)
|
|
382
385
|
function ModdedElementSets.prototype.getCollectibleArray(self)
|
|
383
386
|
self:lazyInitModdedCollectibleTypes()
|
|
384
387
|
return self.allCollectibleTypesArray
|
|
385
388
|
end
|
|
389
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getCollectibleArray", true)
|
|
386
390
|
function ModdedElementSets.prototype.getCollectibleSet(self)
|
|
387
391
|
self:lazyInitModdedCollectibleTypes()
|
|
388
392
|
return self.allCollectibleTypesSet
|
|
389
393
|
end
|
|
394
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getCollectibleSet", true)
|
|
390
395
|
function ModdedElementSets.prototype.getCollectiblesForTransformation(self, playerForm)
|
|
391
396
|
local itemConfigTag = TRANSFORMATION_TO_TAG_MAP:get(playerForm)
|
|
392
397
|
if itemConfigTag == nil then
|
|
@@ -394,6 +399,7 @@ function ModdedElementSets.prototype.getCollectiblesForTransformation(self, play
|
|
|
394
399
|
end
|
|
395
400
|
return self:getCollectiblesWithTag(itemConfigTag)
|
|
396
401
|
end
|
|
402
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getCollectiblesForTransformation", true)
|
|
397
403
|
function ModdedElementSets.prototype.getCollectiblesWithCacheFlag(self, cacheFlag)
|
|
398
404
|
self:lazyInitCacheFlagToCollectibleTypesMap()
|
|
399
405
|
local collectiblesSet = self.cacheFlagToCollectibleTypesMap:get(cacheFlag)
|
|
@@ -402,6 +408,7 @@ function ModdedElementSets.prototype.getCollectiblesWithCacheFlag(self, cacheFla
|
|
|
402
408
|
end
|
|
403
409
|
return collectiblesSet
|
|
404
410
|
end
|
|
411
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getCollectiblesWithCacheFlag", true)
|
|
405
412
|
function ModdedElementSets.prototype.getCollectiblesWithTag(self, itemConfigTag)
|
|
406
413
|
self:lazyInitTagToCollectibleTypesMap()
|
|
407
414
|
local collectibleTypes = self.tagToCollectibleTypesMap:get(itemConfigTag)
|
|
@@ -410,46 +417,57 @@ function ModdedElementSets.prototype.getCollectiblesWithTag(self, itemConfigTag)
|
|
|
410
417
|
end
|
|
411
418
|
return collectibleTypes
|
|
412
419
|
end
|
|
420
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getCollectiblesWithTag", true)
|
|
413
421
|
function ModdedElementSets.prototype.getEdenActiveCollectibles(self)
|
|
414
422
|
self:lazyInitEdenCollectibleTypesSet()
|
|
415
423
|
return self.edenActiveCollectibleTypesSet
|
|
416
424
|
end
|
|
425
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getEdenActiveCollectibles", true)
|
|
417
426
|
function ModdedElementSets.prototype.getEdenPassiveCollectibles(self)
|
|
418
427
|
self:lazyInitEdenCollectibleTypesSet()
|
|
419
428
|
return self.edenPassiveCollectibleTypesSet
|
|
420
429
|
end
|
|
430
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getEdenPassiveCollectibles", true)
|
|
421
431
|
function ModdedElementSets.prototype.getFlyingCollectibles(self, includeConditionalItems)
|
|
422
432
|
self:lazyInitFlyingCollectibleTypesSet()
|
|
423
433
|
return includeConditionalItems and self.flyingCollectibleTypesSet or self.permanentFlyingCollectibleTypesSet
|
|
424
434
|
end
|
|
435
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getFlyingCollectibles", true)
|
|
425
436
|
function ModdedElementSets.prototype.getFlyingTrinkets(self)
|
|
426
437
|
self:lazyInitFlyingTrinketTypesSet()
|
|
427
438
|
return self.flyingTrinketTypesSet
|
|
428
439
|
end
|
|
440
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getFlyingTrinkets", true)
|
|
429
441
|
function ModdedElementSets.prototype.getModdedCardArray(self)
|
|
430
442
|
self:lazyInitModdedCardTypes()
|
|
431
443
|
return self.moddedCardTypesArray
|
|
432
444
|
end
|
|
445
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getModdedCardArray", true)
|
|
433
446
|
function ModdedElementSets.prototype.getModdedCardSet(self)
|
|
434
447
|
self:lazyInitModdedCardTypes()
|
|
435
448
|
return self.moddedCardTypesSet
|
|
436
449
|
end
|
|
450
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getModdedCardSet", true)
|
|
437
451
|
function ModdedElementSets.prototype.getModdedCollectibleArray(self)
|
|
438
452
|
self:lazyInitModdedCollectibleTypes()
|
|
439
453
|
return self.moddedCollectibleTypesArray
|
|
440
454
|
end
|
|
455
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getModdedCollectibleArray", true)
|
|
441
456
|
function ModdedElementSets.prototype.getModdedCollectibleSet(self)
|
|
442
457
|
self:lazyInitModdedCollectibleTypes()
|
|
443
458
|
return self.moddedCollectibleTypesSet
|
|
444
459
|
end
|
|
460
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getModdedCollectibleSet", true)
|
|
445
461
|
function ModdedElementSets.prototype.getModdedTrinketArray(self)
|
|
446
462
|
self:lazyInitModdedTrinketTypes()
|
|
447
463
|
return self.moddedTrinketTypesArray
|
|
448
464
|
end
|
|
465
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getModdedTrinketArray", true)
|
|
449
466
|
function ModdedElementSets.prototype.getModdedTrinketSet(self)
|
|
450
467
|
self:lazyInitModdedTrinketTypes()
|
|
451
468
|
return self.moddedTrinketTypesSet
|
|
452
469
|
end
|
|
470
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getModdedTrinketSet", true)
|
|
453
471
|
function ModdedElementSets.prototype.getPlayerCollectibleMap(self, player)
|
|
454
472
|
local collectibleArray = self:getCollectibleArray()
|
|
455
473
|
local collectibleMap = __TS__New(Map)
|
|
@@ -477,6 +495,7 @@ function ModdedElementSets.prototype.getPlayerCollectibleMap(self, player)
|
|
|
477
495
|
end
|
|
478
496
|
return collectibleMap
|
|
479
497
|
end
|
|
498
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getPlayerCollectibleMap", true)
|
|
480
499
|
function ModdedElementSets.prototype.getPlayerCollectiblesWithCacheFlag(self, player, cacheFlag)
|
|
481
500
|
local collectiblesWithCacheFlag = self:getCollectiblesWithCacheFlag(cacheFlag)
|
|
482
501
|
local playerCollectibles = {}
|
|
@@ -492,6 +511,7 @@ function ModdedElementSets.prototype.getPlayerCollectiblesWithCacheFlag(self, pl
|
|
|
492
511
|
end
|
|
493
512
|
return playerCollectibles
|
|
494
513
|
end
|
|
514
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getPlayerCollectiblesWithCacheFlag", true)
|
|
495
515
|
function ModdedElementSets.prototype.getPlayerCollectiblesWithTag(self, player, itemConfigTag)
|
|
496
516
|
local collectiblesWithTag = self:getCollectiblesWithTag(itemConfigTag)
|
|
497
517
|
local playerCollectibles = {}
|
|
@@ -507,6 +527,7 @@ function ModdedElementSets.prototype.getPlayerCollectiblesWithTag(self, player,
|
|
|
507
527
|
end
|
|
508
528
|
return playerCollectibles
|
|
509
529
|
end
|
|
530
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getPlayerCollectiblesWithTag", true)
|
|
510
531
|
function ModdedElementSets.prototype.getPlayerCollectiblesForTransformation(self, player, playerForm)
|
|
511
532
|
local collectibleForTransformation = self:getCollectiblesForTransformation(playerForm)
|
|
512
533
|
local playerCollectibles = {}
|
|
@@ -522,6 +543,7 @@ function ModdedElementSets.prototype.getPlayerCollectiblesForTransformation(self
|
|
|
522
543
|
end
|
|
523
544
|
return playerCollectibles
|
|
524
545
|
end
|
|
546
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getPlayerCollectiblesForTransformation", true)
|
|
525
547
|
function ModdedElementSets.prototype.getPlayerTrinketsWithCacheFlag(self, player, cacheFlag)
|
|
526
548
|
local trinketsWithCacheFlag = self:getTrinketsWithCacheFlag(cacheFlag)
|
|
527
549
|
local playerTrinkets = __TS__New(Map)
|
|
@@ -533,6 +555,7 @@ function ModdedElementSets.prototype.getPlayerTrinketsWithCacheFlag(self, player
|
|
|
533
555
|
end
|
|
534
556
|
return playerTrinkets
|
|
535
557
|
end
|
|
558
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getPlayerTrinketsWithCacheFlag", true)
|
|
536
559
|
function ModdedElementSets.prototype.getRandomCard(self, seedOrRNG, exceptions)
|
|
537
560
|
if seedOrRNG == nil then
|
|
538
561
|
seedOrRNG = getRandomSeed(nil)
|
|
@@ -542,6 +565,7 @@ function ModdedElementSets.prototype.getRandomCard(self, seedOrRNG, exceptions)
|
|
|
542
565
|
end
|
|
543
566
|
return getRandomSetElement(nil, self.cardSet, seedOrRNG, exceptions)
|
|
544
567
|
end
|
|
568
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getRandomCard", true)
|
|
545
569
|
function ModdedElementSets.prototype.getRandomCardTypeOfType(self, itemConfigCardType, seedOrRNG, exceptions)
|
|
546
570
|
if seedOrRNG == nil then
|
|
547
571
|
seedOrRNG = getRandomSeed(nil)
|
|
@@ -552,6 +576,7 @@ function ModdedElementSets.prototype.getRandomCardTypeOfType(self, itemConfigCar
|
|
|
552
576
|
local cardTypeSet = self:getCardTypesOfType(itemConfigCardType)
|
|
553
577
|
return getRandomSetElement(nil, cardTypeSet, seedOrRNG, exceptions)
|
|
554
578
|
end
|
|
579
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getRandomCardTypeOfType", true)
|
|
555
580
|
function ModdedElementSets.prototype.getRandomRune(self, seedOrRNG, exceptions)
|
|
556
581
|
if seedOrRNG == nil then
|
|
557
582
|
seedOrRNG = getRandomSeed(nil)
|
|
@@ -563,6 +588,7 @@ function ModdedElementSets.prototype.getRandomRune(self, seedOrRNG, exceptions)
|
|
|
563
588
|
runesSet:delete(CardType.RUNE_SHARD)
|
|
564
589
|
return getRandomSetElement(nil, runesSet, seedOrRNG, exceptions)
|
|
565
590
|
end
|
|
591
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getRandomRune", true)
|
|
566
592
|
function ModdedElementSets.prototype.getRandomEdenActiveCollectible(self, seedOrRNG, exceptions)
|
|
567
593
|
if seedOrRNG == nil then
|
|
568
594
|
seedOrRNG = getRandomSeed(nil)
|
|
@@ -573,6 +599,7 @@ function ModdedElementSets.prototype.getRandomEdenActiveCollectible(self, seedOr
|
|
|
573
599
|
self:lazyInitEdenCollectibleTypesSet()
|
|
574
600
|
return getRandomSetElement(nil, self.edenPassiveCollectibleTypesSet, seedOrRNG, exceptions)
|
|
575
601
|
end
|
|
602
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getRandomEdenActiveCollectible", true)
|
|
576
603
|
function ModdedElementSets.prototype.getRandomEdenPassiveCollectible(self, seedOrRNG, exceptions)
|
|
577
604
|
if seedOrRNG == nil then
|
|
578
605
|
seedOrRNG = getRandomSeed(nil)
|
|
@@ -583,14 +610,17 @@ function ModdedElementSets.prototype.getRandomEdenPassiveCollectible(self, seedO
|
|
|
583
610
|
self:lazyInitEdenCollectibleTypesSet()
|
|
584
611
|
return getRandomSetElement(nil, self.edenPassiveCollectibleTypesSet, seedOrRNG, exceptions)
|
|
585
612
|
end
|
|
613
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getRandomEdenPassiveCollectible", true)
|
|
586
614
|
function ModdedElementSets.prototype.getTrinketArray(self)
|
|
587
615
|
self:lazyInitModdedTrinketTypes()
|
|
588
616
|
return self.allTrinketTypesArray
|
|
589
617
|
end
|
|
618
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getTrinketArray", true)
|
|
590
619
|
function ModdedElementSets.prototype.getTrinketSet(self)
|
|
591
620
|
self:lazyInitModdedTrinketTypes()
|
|
592
621
|
return self.allTrinketTypesSet
|
|
593
622
|
end
|
|
623
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getTrinketSet", true)
|
|
594
624
|
function ModdedElementSets.prototype.getTrinketsWithCacheFlag(self, cacheFlag)
|
|
595
625
|
self:lazyInitCacheFlagToTrinketTypesMap()
|
|
596
626
|
local trinketsSet = self.cacheFlagToTrinketTypesMap:get(cacheFlag)
|
|
@@ -599,65 +629,35 @@ function ModdedElementSets.prototype.getTrinketsWithCacheFlag(self, cacheFlag)
|
|
|
599
629
|
end
|
|
600
630
|
return trinketsSet
|
|
601
631
|
end
|
|
632
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getTrinketsWithCacheFlag", true)
|
|
602
633
|
function ModdedElementSets.prototype.getVanillaCardArray(self)
|
|
603
634
|
self:lazyInitVanillaCardTypes()
|
|
604
635
|
return self.vanillaCardTypesArray
|
|
605
636
|
end
|
|
637
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getVanillaCardArray", true)
|
|
606
638
|
function ModdedElementSets.prototype.getVanillaCardSet(self)
|
|
607
639
|
self:lazyInitVanillaCardTypes()
|
|
608
640
|
return self.vanillaCardTypesSet
|
|
609
641
|
end
|
|
642
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getVanillaCardSet", true)
|
|
610
643
|
function ModdedElementSets.prototype.getVanillaCollectibleArray(self)
|
|
611
644
|
self:lazyInitVanillaCollectibleTypes()
|
|
612
645
|
return self.vanillaCollectibleTypesArray
|
|
613
646
|
end
|
|
647
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getVanillaCollectibleArray", true)
|
|
614
648
|
function ModdedElementSets.prototype.getVanillaCollectibleSet(self)
|
|
615
649
|
self:lazyInitVanillaCollectibleTypes()
|
|
616
650
|
return self.vanillaCollectibleTypesSet
|
|
617
651
|
end
|
|
652
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getVanillaCollectibleSet", true)
|
|
618
653
|
function ModdedElementSets.prototype.getVanillaTrinketArray(self)
|
|
619
654
|
self:lazyInitVanillaTrinketTypes()
|
|
620
655
|
return self.vanillaTrinketTypesArray
|
|
621
656
|
end
|
|
657
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getVanillaTrinketArray", true)
|
|
622
658
|
function ModdedElementSets.prototype.getVanillaTrinketSet(self)
|
|
623
659
|
self:lazyInitVanillaTrinketTypes()
|
|
624
660
|
return self.vanillaTrinketTypesSet
|
|
625
661
|
end
|
|
626
|
-
|
|
627
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getCardSet", true)
|
|
628
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getCardTypesOfType", true)
|
|
629
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getCollectibleArray", true)
|
|
630
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getCollectibleSet", true)
|
|
631
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getCollectiblesForTransformation", true)
|
|
632
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getCollectiblesWithCacheFlag", true)
|
|
633
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getCollectiblesWithTag", true)
|
|
634
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getEdenActiveCollectibles", true)
|
|
635
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getEdenPassiveCollectibles", true)
|
|
636
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getFlyingCollectibles", true)
|
|
637
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getFlyingTrinkets", true)
|
|
638
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getModdedCardArray", true)
|
|
639
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getModdedCardSet", true)
|
|
640
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getModdedCollectibleArray", true)
|
|
641
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getModdedCollectibleSet", true)
|
|
642
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getModdedTrinketArray", true)
|
|
643
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getModdedTrinketSet", true)
|
|
644
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getPlayerCollectibleMap", true)
|
|
645
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getPlayerCollectiblesWithCacheFlag", true)
|
|
646
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getPlayerCollectiblesWithTag", true)
|
|
647
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getPlayerCollectiblesForTransformation", true)
|
|
648
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getPlayerTrinketsWithCacheFlag", true)
|
|
649
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getRandomCard", true)
|
|
650
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getRandomCardTypeOfType", true)
|
|
651
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getRandomRune", true)
|
|
652
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getRandomEdenActiveCollectible", true)
|
|
653
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getRandomEdenPassiveCollectible", true)
|
|
654
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getTrinketArray", true)
|
|
655
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getTrinketSet", true)
|
|
656
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getTrinketsWithCacheFlag", true)
|
|
657
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getVanillaCardArray", true)
|
|
658
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getVanillaCardSet", true)
|
|
659
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getVanillaCollectibleArray", true)
|
|
660
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getVanillaCollectibleSet", true)
|
|
661
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getVanillaTrinketArray", true)
|
|
662
|
-
__TS__Decorate({Exported}, ModdedElementSets.prototype, "getVanillaTrinketSet", true)
|
|
662
|
+
__TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getVanillaTrinketSet", true)
|
|
663
663
|
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 EntityType = ____isaac_2Dtypescript_2Ddefinitions.EntityType
|
|
@@ -55,5 +55,5 @@ function NoSirenSteal.prototype.setFamiliarNoSirenSteal(self, familiarVariant, f
|
|
|
55
55
|
local ____v_run_familiarBlacklist_0 = v.run.familiarBlacklist
|
|
56
56
|
____v_run_familiarBlacklist_0[#____v_run_familiarBlacklist_0 + 1] = {familiarVariant, familiarSubType}
|
|
57
57
|
end
|
|
58
|
-
|
|
58
|
+
__TS__DecorateLegacy({Exported}, NoSirenSteal.prototype, "setFamiliarNoSirenSteal", true)
|
|
59
59
|
return ____exports
|