isaacscript-common 2.3.1 → 3.1.0

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.
Files changed (327) hide show
  1. package/cachedClasses.d.ts +6 -4
  2. package/cachedClasses.lua +24 -0
  3. package/callbacks/customRevive.lua +2 -0
  4. package/callbacks/itemPickup.lua +2 -0
  5. package/callbacks/postBombInitLate.lua +2 -0
  6. package/callbacks/postBoneSwing.lua +2 -0
  7. package/callbacks/postCollectibleInitFirst.lua +2 -0
  8. package/callbacks/postCursedTeleport.lua +2 -0
  9. package/callbacks/postCustomDoorEnter.lua +44 -0
  10. package/callbacks/postDoorRender.lua +2 -0
  11. package/callbacks/postDoorUpdate.lua +2 -0
  12. package/callbacks/postEffectInitLate.lua +2 -0
  13. package/callbacks/postEffectStateChanged.lua +2 -0
  14. package/callbacks/postEsauJr.lua +2 -0
  15. package/callbacks/postFamiliarInitLate.lua +2 -0
  16. package/callbacks/postFamiliarStateChanged.lua +2 -0
  17. package/callbacks/postFlip.lua +2 -0
  18. package/callbacks/postGreedModeWave.lua +2 -0
  19. package/callbacks/postGridEntity.lua +2 -0
  20. package/callbacks/postGridEntityCollision.lua +2 -0
  21. package/callbacks/postGridEntityRender.lua +2 -0
  22. package/callbacks/postHolyMantleRemoved.lua +2 -0
  23. package/callbacks/postKnifeInitLate.lua +2 -0
  24. package/callbacks/postLaserInitLate.lua +2 -0
  25. package/callbacks/postNPCInitLate.lua +2 -0
  26. package/callbacks/postNPCStateChanged.lua +2 -0
  27. package/callbacks/postNewRoomEarly.lua +2 -0
  28. package/callbacks/postPickupCollect.lua +2 -0
  29. package/callbacks/postPickupInitLate.lua +2 -0
  30. package/callbacks/postPickupStateChanged.lua +2 -0
  31. package/callbacks/postPitRender.lua +2 -0
  32. package/callbacks/postPitUpdate.lua +2 -0
  33. package/callbacks/postPlayerChangeHealth.lua +2 -0
  34. package/callbacks/postPlayerChangeType.lua +2 -0
  35. package/callbacks/postPlayerFatalDamage.lua +2 -0
  36. package/callbacks/postPlayerInitLate.lua +2 -0
  37. package/callbacks/postPlayerReordered.lua +2 -0
  38. package/callbacks/postPoopRender.lua +2 -0
  39. package/callbacks/postPoopUpdate.lua +2 -0
  40. package/callbacks/postPressurePlateRender.lua +2 -0
  41. package/callbacks/postPressurePlateUpdate.lua +2 -0
  42. package/callbacks/postProjectileInitLate.lua +2 -0
  43. package/callbacks/postPurchase.lua +2 -0
  44. package/callbacks/postRockRender.lua +2 -0
  45. package/callbacks/postRockUpdate.lua +2 -0
  46. package/callbacks/postRoomClearChanged.lua +2 -0
  47. package/callbacks/postSacrifice.lua +2 -0
  48. package/callbacks/postSlotDestroyed.d.ts +1 -0
  49. package/callbacks/postSlotDestroyed.lua +66 -0
  50. package/callbacks/postSlotInitUpdate.lua +2 -0
  51. package/callbacks/postSlotRender.lua +5 -21
  52. package/callbacks/postSpikesRender.lua +2 -0
  53. package/callbacks/postSpikesUpdate.lua +2 -0
  54. package/callbacks/postTNTRender.lua +2 -0
  55. package/callbacks/postTNTUpdate.lua +2 -0
  56. package/callbacks/postTearInitLate.lua +2 -0
  57. package/callbacks/postTearInitVeryLate.lua +2 -0
  58. package/callbacks/postTransformation.lua +2 -0
  59. package/callbacks/postTrinketBreak.lua +2 -0
  60. package/callbacks/preBerserkDeath.lua +2 -0
  61. package/callbacks/preNewLevel.lua +2 -0
  62. package/callbacks/reorderedCallbacks.lua +16 -0
  63. package/callbacks/subscriptions/postBombInitLate.lua +6 -0
  64. package/callbacks/subscriptions/postBoneSwing.lua +6 -0
  65. package/callbacks/subscriptions/postCollectibleInitFirst.lua +6 -0
  66. package/callbacks/subscriptions/postCursedTeleport.lua +6 -0
  67. package/callbacks/subscriptions/postCustomDoorEnter.lua +6 -0
  68. package/callbacks/subscriptions/postCustomRevive.d.ts +1 -0
  69. package/callbacks/subscriptions/postCustomRevive.lua +6 -0
  70. package/callbacks/subscriptions/postDoorRender.d.ts +1 -0
  71. package/callbacks/subscriptions/postDoorRender.lua +6 -0
  72. package/callbacks/subscriptions/postDoorUpdate.d.ts +1 -0
  73. package/callbacks/subscriptions/postDoorUpdate.lua +6 -0
  74. package/callbacks/subscriptions/postEffectInitLate.lua +6 -0
  75. package/callbacks/subscriptions/postEffectStateChanged.lua +6 -0
  76. package/callbacks/subscriptions/postEsauJr.lua +6 -0
  77. package/callbacks/subscriptions/postFamiliarInitLate.lua +6 -0
  78. package/callbacks/subscriptions/postFamiliarStateChanged.lua +6 -0
  79. package/callbacks/subscriptions/postFirstEsauJr.lua +6 -0
  80. package/callbacks/subscriptions/postFirstFlip.lua +6 -0
  81. package/callbacks/subscriptions/postFlip.lua +6 -0
  82. package/callbacks/subscriptions/postGameStartedReordered.lua +6 -0
  83. package/callbacks/subscriptions/postGreedModeWave.lua +6 -0
  84. package/callbacks/subscriptions/postGridEntityBroken.lua +6 -0
  85. package/callbacks/subscriptions/postGridEntityCollision.lua +6 -0
  86. package/callbacks/subscriptions/postGridEntityInit.lua +6 -0
  87. package/callbacks/subscriptions/postGridEntityRemove.lua +6 -0
  88. package/callbacks/subscriptions/postGridEntityRender.lua +6 -0
  89. package/callbacks/subscriptions/postGridEntityStateChanged.lua +6 -0
  90. package/callbacks/subscriptions/postGridEntityUpdate.lua +6 -0
  91. package/callbacks/subscriptions/postHolyMantleRemoved.lua +6 -0
  92. package/callbacks/subscriptions/postItemDischarged.lua +6 -0
  93. package/callbacks/subscriptions/postItemPickup.lua +6 -0
  94. package/callbacks/subscriptions/postKnifeInitLate.lua +6 -0
  95. package/callbacks/subscriptions/postLaserInitLate.lua +6 -0
  96. package/callbacks/subscriptions/postNPCInitLate.lua +6 -0
  97. package/callbacks/subscriptions/postNPCStateChanged.lua +6 -0
  98. package/callbacks/subscriptions/postNewLevelReordered.lua +6 -0
  99. package/callbacks/subscriptions/postNewRoomEarly.lua +6 -0
  100. package/callbacks/subscriptions/postNewRoomReordered.lua +6 -0
  101. package/callbacks/subscriptions/postPEffectUpdateReordered.lua +6 -0
  102. package/callbacks/subscriptions/postPickupCollect.d.ts +1 -0
  103. package/callbacks/subscriptions/postPickupCollect.lua +6 -0
  104. package/callbacks/subscriptions/postPickupInitLate.lua +6 -0
  105. package/callbacks/subscriptions/postPickupStateChanged.d.ts +1 -0
  106. package/callbacks/subscriptions/postPickupStateChanged.lua +6 -0
  107. package/callbacks/subscriptions/postPitRender.d.ts +1 -0
  108. package/callbacks/subscriptions/postPitRender.lua +6 -0
  109. package/callbacks/subscriptions/postPitUpdate.d.ts +1 -0
  110. package/callbacks/subscriptions/postPitUpdate.lua +6 -0
  111. package/callbacks/subscriptions/postPlayerChangeHealth.lua +6 -0
  112. package/callbacks/subscriptions/postPlayerChangeType.lua +6 -0
  113. package/callbacks/subscriptions/postPlayerFatalDamage.lua +6 -0
  114. package/callbacks/subscriptions/postPlayerInitLate.lua +6 -0
  115. package/callbacks/subscriptions/postPlayerInitReordered.lua +6 -0
  116. package/callbacks/subscriptions/postPlayerRenderReordered.lua +6 -0
  117. package/callbacks/subscriptions/postPlayerUpdateReordered.lua +6 -0
  118. package/callbacks/subscriptions/postPoopRender.d.ts +1 -0
  119. package/callbacks/subscriptions/postPoopRender.lua +6 -0
  120. package/callbacks/subscriptions/postPoopUpdate.d.ts +1 -0
  121. package/callbacks/subscriptions/postPoopUpdate.lua +6 -0
  122. package/callbacks/subscriptions/postPressurePlateRender.d.ts +1 -0
  123. package/callbacks/subscriptions/postPressurePlateRender.lua +6 -0
  124. package/callbacks/subscriptions/postPressurePlateUpdate.d.ts +1 -0
  125. package/callbacks/subscriptions/postPressurePlateUpdate.lua +6 -0
  126. package/callbacks/subscriptions/postProjectileInitLate.lua +6 -0
  127. package/callbacks/subscriptions/postPurchase.lua +6 -0
  128. package/callbacks/subscriptions/postRockRender.d.ts +1 -0
  129. package/callbacks/subscriptions/postRockRender.lua +6 -0
  130. package/callbacks/subscriptions/postRockUpdate.d.ts +1 -0
  131. package/callbacks/subscriptions/postRockUpdate.lua +6 -0
  132. package/callbacks/subscriptions/postRoomClearChanged.lua +6 -0
  133. package/callbacks/subscriptions/postSacrifice.lua +6 -0
  134. package/callbacks/subscriptions/postSlotAnimationChanged.lua +6 -0
  135. package/callbacks/subscriptions/postSlotDestroyed.lua +6 -0
  136. package/callbacks/subscriptions/postSlotInit.lua +6 -0
  137. package/callbacks/subscriptions/postSlotRender.lua +6 -0
  138. package/callbacks/subscriptions/postSlotUpdate.lua +6 -0
  139. package/callbacks/subscriptions/postSpikesRender.d.ts +1 -0
  140. package/callbacks/subscriptions/postSpikesRender.lua +6 -0
  141. package/callbacks/subscriptions/postSpikesUpdate.d.ts +1 -0
  142. package/callbacks/subscriptions/postSpikesUpdate.lua +6 -0
  143. package/callbacks/subscriptions/postTNTRender.d.ts +1 -0
  144. package/callbacks/subscriptions/postTNTRender.lua +6 -0
  145. package/callbacks/subscriptions/postTNTUpdate.d.ts +1 -0
  146. package/callbacks/subscriptions/postTNTUpdate.lua +6 -0
  147. package/callbacks/subscriptions/postTearInitLate.lua +6 -0
  148. package/callbacks/subscriptions/postTearInitVeryLate.lua +6 -0
  149. package/callbacks/subscriptions/postTransformation.lua +6 -0
  150. package/callbacks/subscriptions/postTrinketBreak.lua +6 -0
  151. package/callbacks/subscriptions/preBerserkDeath.lua +6 -0
  152. package/callbacks/subscriptions/preCustomRevive.lua +6 -0
  153. package/callbacks/subscriptions/preItemPickup.lua +6 -0
  154. package/callbacks/subscriptions/preNewLevel.lua +6 -0
  155. package/classes/DefaultMap.d.ts +70 -39
  156. package/classes/DefaultMap.lua +94 -43
  157. package/classes/ModUpgraded.d.ts +3 -3
  158. package/classes/ModUpgraded.lua +5 -0
  159. package/constants.lua +41 -0
  160. package/constantsFirstLast.lua +63 -0
  161. package/enums/HealthType.lua +3 -0
  162. package/enums/ModCallbackCustom.d.ts +1 -1
  163. package/enums/ModCallbackCustom.lua +6 -0
  164. package/enums/private/CopyableIsaacAPIClassType.lua +1 -0
  165. package/enums/private/SerializationBrand.lua +5 -0
  166. package/features/characterHealthConversion.lua +6 -0
  167. package/features/characterStats.lua +17 -0
  168. package/features/debugDisplay/exports.d.ts +17 -0
  169. package/features/debugDisplay/exports.lua +90 -0
  170. package/features/debugDisplay/v.d.ts +17 -0
  171. package/features/deployJSONRoom.d.ts +1 -0
  172. package/features/deployJSONRoom.lua +56 -0
  173. package/features/disableInputs.lua +45 -0
  174. package/features/disableSound.lua +14 -0
  175. package/features/extraConsoleCommands/commandsDisplay.lua +90 -0
  176. package/features/extraConsoleCommands/init.lua +16 -0
  177. package/features/extraConsoleCommands/listCommands.lua +172 -0
  178. package/features/fadeInRemover.lua +10 -0
  179. package/features/fastReset.lua +10 -0
  180. package/features/forgottenSwitch.lua +4 -0
  181. package/features/getCollectibleItemPoolType.lua +5 -0
  182. package/features/playerInventory.lua +18 -0
  183. package/features/ponyDetection.lua +4 -0
  184. package/features/preventCollectibleRotation.lua +9 -0
  185. package/features/runInNFrames.lua +50 -0
  186. package/features/saveDataManager/constants.lua +1 -0
  187. package/features/saveDataManager/exports.lua +115 -0
  188. package/features/saveDataManager/load.lua +12 -8
  189. package/features/saveDataManager/main.lua +16 -3
  190. package/features/saveDataManager/maps.lua +3 -0
  191. package/features/saveDataManager/merge.lua +53 -21
  192. package/features/saveDataManager/save.lua +12 -7
  193. package/features/sirenHelpers.lua +13 -0
  194. package/features/taintedLazarusPlayers.lua +11 -0
  195. package/featuresInitialized.lua +6 -0
  196. package/functions/array.d.ts +2 -0
  197. package/functions/array.lua +85 -0
  198. package/functions/benchmark.lua +6 -0
  199. package/functions/boss.lua +35 -0
  200. package/functions/cacheFlag.lua +4 -0
  201. package/functions/cards.lua +60 -0
  202. package/functions/challenges.lua +1 -0
  203. package/functions/character.lua +23 -0
  204. package/functions/charge.lua +39 -0
  205. package/functions/chargeBar.d.ts +1 -0
  206. package/functions/chargeBar.lua +4 -0
  207. package/functions/collectibleCacheFlag.lua +15 -0
  208. package/functions/collectibleSet.lua +3 -0
  209. package/functions/collectibleTag.lua +9 -0
  210. package/functions/collectibles.d.ts +6 -1
  211. package/functions/collectibles.lua +146 -2
  212. package/functions/color.lua +18 -0
  213. package/functions/debug.lua +18 -0
  214. package/functions/deepCopy.lua +60 -26
  215. package/functions/deepCopyTests.lua +8 -5
  216. package/functions/direction.d.ts +1 -0
  217. package/functions/direction.lua +22 -0
  218. package/functions/doors.d.ts +1 -0
  219. package/functions/doors.lua +58 -0
  220. package/functions/entity.d.ts +4 -4
  221. package/functions/entity.lua +94 -6
  222. package/functions/entitySpecific.d.ts +20 -20
  223. package/functions/entitySpecific.lua +182 -0
  224. package/functions/entityTypes.d.ts +1 -1
  225. package/functions/entityTypes.lua +1 -0
  226. package/functions/enums.d.ts +2 -0
  227. package/functions/enums.lua +62 -0
  228. package/functions/familiars.lua +52 -0
  229. package/functions/flag.lua +77 -0
  230. package/functions/flying.lua +10 -0
  231. package/functions/globals.lua +8 -10
  232. package/functions/gridEntity.lua +105 -0
  233. package/functions/gridEntitySpecific.d.ts +5 -0
  234. package/functions/gridEntitySpecific.lua +8 -0
  235. package/functions/input.lua +11 -0
  236. package/functions/isaacAPIClass.d.ts +4 -4
  237. package/functions/isaacAPIClass.lua +15 -3
  238. package/functions/jsonHelpers.lua +11 -0
  239. package/functions/jsonRoom.d.ts +2 -0
  240. package/functions/jsonRoom.lua +5 -0
  241. package/functions/kColor.lua +9 -0
  242. package/functions/language.lua +5 -0
  243. package/functions/log.lua +31 -3
  244. package/functions/map.lua +18 -0
  245. package/functions/math.lua +26 -0
  246. package/functions/npc.lua +24 -0
  247. package/functions/pickupVariants.d.ts +11 -11
  248. package/functions/pickupVariants.lua +11 -0
  249. package/functions/pickups.d.ts +9 -9
  250. package/functions/pickups.lua +67 -0
  251. package/functions/pills.lua +45 -0
  252. package/functions/player.lua +166 -0
  253. package/functions/playerDataStructures.lua +65 -0
  254. package/functions/playerHealth.d.ts +1 -0
  255. package/functions/playerHealth.lua +10 -0
  256. package/functions/playerIndex.d.ts +2 -0
  257. package/functions/playerIndex.lua +47 -0
  258. package/functions/pocketItems.lua +18 -0
  259. package/functions/positionVelocity.d.ts +3 -0
  260. package/functions/positionVelocity.lua +46 -0
  261. package/functions/random.d.ts +2 -0
  262. package/functions/random.lua +32 -0
  263. package/functions/revive.d.ts +2 -0
  264. package/functions/revive.lua +15 -0
  265. package/functions/rng.d.ts +1 -0
  266. package/functions/rng.lua +19 -0
  267. package/functions/roomData.lua +68 -0
  268. package/functions/roomGrid.lua +21 -0
  269. package/functions/roomShape.lua +22 -0
  270. package/functions/rooms.lua +100 -0
  271. package/functions/run.lua +5 -0
  272. package/functions/seeds.lua +4 -0
  273. package/functions/serialization.lua +6 -2
  274. package/functions/set.d.ts +1 -0
  275. package/functions/set.lua +22 -0
  276. package/functions/spawnCollectible.lua +24 -0
  277. package/functions/sprite.d.ts +2 -0
  278. package/functions/sprite.lua +25 -0
  279. package/functions/stage.lua +16 -0
  280. package/functions/string.lua +6 -0
  281. package/functions/table.d.ts +12 -0
  282. package/functions/table.lua +53 -0
  283. package/functions/tears.d.ts +1 -0
  284. package/functions/tears.lua +12 -0
  285. package/functions/transformations.lua +18 -0
  286. package/functions/trinketCacheFlag.lua +3 -0
  287. package/functions/trinketGive.lua +24 -0
  288. package/functions/trinkets.lua +52 -0
  289. package/functions/tstlClass.d.ts +34 -0
  290. package/functions/tstlClass.lua +63 -9
  291. package/functions/ui.d.ts +2 -0
  292. package/functions/ui.lua +16 -0
  293. package/functions/utils.d.ts +16 -0
  294. package/functions/utils.lua +108 -0
  295. package/functions/vector.lua +13 -16
  296. package/index.d.ts +1 -0
  297. package/initCustomCallbacks.lua +3 -0
  298. package/interfaces/ChargeBarSprites.d.ts +1 -0
  299. package/interfaces/private/TSTLClassMetatable.d.ts +2 -0
  300. package/lualib_bundle.lua +21 -34
  301. package/maps/cardMap.lua +1 -0
  302. package/maps/characterMap.lua +1 -0
  303. package/maps/defaultPlayerStatMap.lua +1 -0
  304. package/maps/gridEntityXMLMap.lua +2 -0
  305. package/maps/pillEffectMap.lua +1 -0
  306. package/maps/roomShapeToTopLeftWallGridIndexMap.lua +2 -0
  307. package/maps/roomTypeMap.lua +1 -0
  308. package/objects/LRoomShapeToRectangles.lua +2 -0
  309. package/objects/colors.lua +4 -0
  310. package/objects/oppositeDoorSlots.d.ts +4 -0
  311. package/objects/oppositeDoorSlots.lua +15 -0
  312. package/objects/roomShapeBounds.lua +2 -0
  313. package/objects/roomShapeLayoutSizes.lua +4 -0
  314. package/objects/roomShapeToBottomRightPosition.lua +2 -0
  315. package/objects/roomShapeToDoorSlotsToGridIndexDelta.lua +2 -0
  316. package/objects/roomShapeToTopLeftPosition.lua +2 -0
  317. package/objects/roomShapeVolumes.lua +3 -0
  318. package/package.json +2 -2
  319. package/patchErrorFunctions.lua +8 -0
  320. package/sets/bossSets.lua +23 -0
  321. package/sets/charactersWithNoRedHeartsSet.lua +2 -0
  322. package/sets/charactersWithNoSoulHeartsSet.lua +2 -0
  323. package/sets/lostStyleCharactersSet.lua +2 -0
  324. package/types/AnyEntity.d.ts +10 -0
  325. package/types/PickingUpItem.lua +7 -0
  326. package/upgradeMod.d.ts +4 -4
  327. package/upgradeMod.lua +18 -0
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postGridEntityRenderHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postGridEntityRenderRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postGridEntityRenderFire(self, gridEntity)
11
17
  local gridEntityType = gridEntity:GetType()
12
18
  local gridEntityVariant = gridEntity:GetVariant()
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postGridEntityStateChangedHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postGridEntityStateChangedRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postGridEntityStateChangedFire(self, gridEntity, oldState, newState)
11
17
  local gridEntityType = gridEntity:GetType()
12
18
  local gridEntityVariant = gridEntity:GetVariant()
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postGridEntityUpdateHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postGridEntityUpdateRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postGridEntityUpdateFire(self, gridEntity)
11
17
  local gridEntityType = gridEntity:GetType()
12
18
  local gridEntityVariant = gridEntity:GetVariant()
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postHolyMantleRemovedHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postHolyMantleRemovedRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postHolyMantleRemovedFire(self, player, oldNumHolyMantles, newNumHolyMantles)
11
17
  local character = player:GetPlayerType()
12
18
  for ____, ____value in ipairs(subscriptions) do
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postItemDischargeHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postItemDischargeRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postItemDischargeFire(self, player, collectibleType, activeSlot)
11
17
  for ____, ____value in ipairs(subscriptions) do
12
18
  local callback = ____value[1]
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postItemPickupHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postItemPickupRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postItemPickupFire(self, player, pickingUpItem)
11
17
  for ____, ____value in ipairs(subscriptions) do
12
18
  local callback = ____value[1]
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postKnifeInitLateHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postKnifeInitLateRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postKnifeInitLateFire(self, knife)
11
17
  for ____, ____value in ipairs(subscriptions) do
12
18
  local callback = ____value[1]
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postLaserInitLateHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postLaserInitLateRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postLaserInitLateFire(self, laser)
11
17
  for ____, ____value in ipairs(subscriptions) do
12
18
  local callback = ____value[1]
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postNPCInitLateHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postNPCInitLateRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postNPCInitLateFire(self, npc)
11
17
  for ____, ____value in ipairs(subscriptions) do
12
18
  local callback = ____value[1]
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postNPCStateChangedHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postNPCStateChangedRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postNPCStateChangedFire(self, npc, previousState, currentState)
11
17
  for ____, ____value in ipairs(subscriptions) do
12
18
  local callback = ____value[1]
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postNewLevelReorderedHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postNewLevelReorderedRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postNewLevelReorderedFire(self)
11
17
  for ____, ____value in ipairs(subscriptions) do
12
18
  local callback = ____value[1]
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postNewRoomEarlyHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postNewRoomEarlyRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postNewRoomEarlyFire(self)
11
17
  for ____, ____value in ipairs(subscriptions) do
12
18
  local callback = ____value[1]
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postNewRoomReorderedHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postNewRoomReorderedRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postNewRoomReorderedFire(self)
11
17
  for ____, ____value in ipairs(subscriptions) do
12
18
  local callback = ____value[1]
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postPEffectUpdateReorderedHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postPEffectUpdateReorderedRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postPEffectUpdateReorderedFire(self, player)
11
17
  local character = player:GetPlayerType()
12
18
  for ____, ____value in ipairs(subscriptions) do
@@ -1,4 +1,5 @@
1
1
  /// <reference types="isaac-typescript-definitions" />
2
+ /// <reference types="isaac-typescript-definitions" />
2
3
  export declare type PostPickupCollectRegisterParameters = PickupRegisterParameters<[
3
4
  player: EntityPlayer
4
5
  ], void>;
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postPickupCollectHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postPickupCollectRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postPickupCollectFire(self, pickup, player)
11
17
  for ____, ____value in ipairs(subscriptions) do
12
18
  local callback = ____value[1]
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postPickupInitLateHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postPickupInitLateRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postPickupInitLateFire(self, pickup)
11
17
  for ____, ____value in ipairs(subscriptions) do
12
18
  local callback = ____value[1]
@@ -1,4 +1,5 @@
1
1
  /// <reference types="isaac-typescript-definitions" />
2
+ /// <reference types="isaac-typescript-definitions" />
2
3
  export declare type PostPickupStateChangedRegisterParameters = PickupRegisterParameters<[
3
4
  previousState: int,
4
5
  currentState: int
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postPickupStateChangedHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postPickupStateChangedRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postPickupStateChangedFire(self, pickup, previousState, currentState)
11
17
  for ____, ____value in ipairs(subscriptions) do
12
18
  local callback = ____value[1]
@@ -1,4 +1,5 @@
1
1
  /// <reference types="isaac-typescript-definitions" />
2
+ /// <reference types="isaac-typescript-definitions" />
2
3
  export declare type PostPitRenderRegisterParameters = [
3
4
  callback: (pit: GridEntityPit) => void,
4
5
  gridEntityVariant?: int
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postPitRenderHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postPitRenderRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postPitRenderFire(self, pit)
11
17
  local gridEntityVariant = pit:GetVariant()
12
18
  for ____, ____value in ipairs(subscriptions) do
@@ -1,4 +1,5 @@
1
1
  /// <reference types="isaac-typescript-definitions" />
2
+ /// <reference types="isaac-typescript-definitions" />
2
3
  export declare type PostPitUpdateRegisterParameters = [
3
4
  callback: (pit: GridEntityPit) => void,
4
5
  gridEntityVariant?: int
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postPitUpdateHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postPitUpdateRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postPitUpdateFire(self, pit)
11
17
  local gridEntityVariant = pit:GetVariant()
12
18
  for ____, ____value in ipairs(subscriptions) do
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postPlayerChangeHealthHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postPlayerChangeHealthRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postPlayerChangeHealthFire(self, player, healthType, amount)
11
17
  local character = player:GetPlayerType()
12
18
  for ____, ____value in ipairs(subscriptions) do
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postPlayerChangeTypeHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postPlayerChangeTypeRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postPlayerChangeTypeFire(self, player, oldCharacter, newCharacter)
11
17
  for ____, ____value in ipairs(subscriptions) do
12
18
  local callback = ____value[1]
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postPlayerFatalDamageHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postPlayerFatalDamageRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postPlayerFatalDamageFire(self, player, damageAmount, damageFlags, damageSource, damageCountdownFrames)
11
17
  local character = player:GetPlayerType()
12
18
  for ____, ____value in ipairs(subscriptions) do
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postPlayerInitLateHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postPlayerInitLateRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postPlayerInitLateFire(self, player)
11
17
  local character = player:GetPlayerType()
12
18
  for ____, ____value in ipairs(subscriptions) do
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postPlayerInitReorderedHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postPlayerInitReorderedRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postPlayerInitReorderedFire(self, player)
11
17
  local character = player:GetPlayerType()
12
18
  for ____, ____value in ipairs(subscriptions) do
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postPlayerRenderReorderedHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postPlayerRenderReorderedRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postPlayerRenderReorderedFire(self, player)
11
17
  local character = player:GetPlayerType()
12
18
  for ____, ____value in ipairs(subscriptions) do
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postPlayerUpdateReorderedHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postPlayerUpdateReorderedRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postPlayerUpdateReorderedFire(self, player)
11
17
  local character = player:GetPlayerType()
12
18
  for ____, ____value in ipairs(subscriptions) do
@@ -1,4 +1,5 @@
1
1
  /// <reference types="isaac-typescript-definitions" />
2
+ /// <reference types="isaac-typescript-definitions" />
2
3
  export declare type PostPoopRenderRegisterParameters = [
3
4
  callback: (poop: GridEntityPoop) => void,
4
5
  gridEntityVariant?: int
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postPoopRenderHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postPoopRenderRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postPoopRenderFire(self, poop)
11
17
  local gridEntityVariant = poop:GetVariant()
12
18
  for ____, ____value in ipairs(subscriptions) do
@@ -1,4 +1,5 @@
1
1
  /// <reference types="isaac-typescript-definitions" />
2
+ /// <reference types="isaac-typescript-definitions" />
2
3
  export declare type PostPoopUpdateRegisterParameters = [
3
4
  callback: (poop: GridEntityPoop) => void,
4
5
  gridEntityVariant?: int
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postPoopUpdateHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postPoopUpdateRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postPoopUpdateFire(self, poop)
11
17
  local gridEntityVariant = poop:GetVariant()
12
18
  for ____, ____value in ipairs(subscriptions) do
@@ -1,4 +1,5 @@
1
1
  /// <reference types="isaac-typescript-definitions" />
2
+ /// <reference types="isaac-typescript-definitions" />
2
3
  export declare type PostPressurePlateRenderRegisterParameters = [
3
4
  callback: (pressurePlate: GridEntityPressurePlate) => void,
4
5
  gridEntityVariant?: int
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postPressurePlateRenderHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postPressurePlateRenderRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postPressurePlateRenderFire(self, pressurePlate)
11
17
  local gridEntityVariant = pressurePlate:GetVariant()
12
18
  for ____, ____value in ipairs(subscriptions) do
@@ -1,4 +1,5 @@
1
1
  /// <reference types="isaac-typescript-definitions" />
2
+ /// <reference types="isaac-typescript-definitions" />
2
3
  export declare type PostPressurePlateUpdateRegisterParameters = [
3
4
  callback: (pressurePlate: GridEntityPressurePlate) => void,
4
5
  gridEntityVariant?: int
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postPressurePlateUpdateHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postPressurePlateUpdateRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postPressurePlateUpdateFire(self, pressurePlate)
11
17
  local gridEntityVariant = pressurePlate:GetVariant()
12
18
  for ____, ____value in ipairs(subscriptions) do
@@ -1,12 +1,18 @@
1
1
  local ____exports = {}
2
2
  local subscriptions = {}
3
+ ---
4
+ -- @internal
3
5
  function ____exports.postProjectileInitLateHasSubscriptions(self)
4
6
  return #subscriptions > 0
5
7
  end
8
+ ---
9
+ -- @internal
6
10
  function ____exports.postProjectileInitLateRegister(self, ...)
7
11
  local args = {...}
8
12
  subscriptions[#subscriptions + 1] = args
9
13
  end
14
+ ---
15
+ -- @internal
10
16
  function ____exports.postProjectileInitLateFire(self, projectile)
11
17
  for ____, ____value in ipairs(subscriptions) do
12
18
  local callback = ____value[1]