isaacscript-common 15.4.0 → 15.4.1
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.d.ts +95 -190
- package/dist/isaacscript-common.lua +242 -397
- package/dist/src/callbacks.d.ts +95 -105
- package/dist/src/callbacks.d.ts.map +1 -1
- package/dist/src/callbacks.lua +1 -16
- package/dist/src/enums/ModCallbackCustom.d.ts +95 -160
- package/dist/src/enums/ModCallbackCustom.d.ts.map +1 -1
- package/dist/src/enums/ModCallbackCustom.lua +95 -105
- package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts +0 -30
- package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts.map +1 -1
- package/dist/src/shouldFire.d.ts +1 -8
- package/dist/src/shouldFire.d.ts.map +1 -1
- package/dist/src/shouldFire.lua +0 -5
- package/package.json +1 -1
- package/src/callbacks.ts +0 -10
- package/src/enums/ModCallbackCustom.ts +0 -70
- package/src/interfaces/private/AddCallbackParametersCustom.ts +0 -45
- package/src/shouldFire.ts +1 -25
- package/dist/src/classes/callbacks/EntityTakeDmgFilter.d.ts +0 -9
- package/dist/src/classes/callbacks/EntityTakeDmgFilter.d.ts.map +0 -1
- package/dist/src/classes/callbacks/EntityTakeDmgFilter.lua +0 -27
- package/dist/src/classes/callbacks/PostNPCDeathFilter.d.ts +0 -9
- package/dist/src/classes/callbacks/PostNPCDeathFilter.d.ts.map +0 -1
- package/dist/src/classes/callbacks/PostNPCDeathFilter.lua +0 -23
- package/dist/src/classes/callbacks/PostNPCRenderFilter.d.ts +0 -9
- package/dist/src/classes/callbacks/PostNPCRenderFilter.d.ts.map +0 -1
- package/dist/src/classes/callbacks/PostNPCRenderFilter.lua +0 -23
- package/dist/src/classes/callbacks/PreNPCCollisionFilter.d.ts +0 -9
- package/dist/src/classes/callbacks/PreNPCCollisionFilter.d.ts.map +0 -1
- package/dist/src/classes/callbacks/PreNPCCollisionFilter.lua +0 -21
- package/dist/src/classes/callbacks/PreNPCUpdateFilter.d.ts +0 -9
- package/dist/src/classes/callbacks/PreNPCUpdateFilter.d.ts.map +0 -1
- package/dist/src/classes/callbacks/PreNPCUpdateFilter.lua +0 -21
- package/src/classes/callbacks/EntityTakeDmgFilter.ts +0 -25
- package/src/classes/callbacks/PostNPCDeathFilter.ts +0 -21
- package/src/classes/callbacks/PostNPCRenderFilter.ts +0 -21
- package/src/classes/callbacks/PreNPCCollisionFilter.ts +0 -20
- package/src/classes/callbacks/PreNPCUpdateFilter.ts +0 -19
package/dist/src/callbacks.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { EntityTakeDmgFilter } from "./classes/callbacks/EntityTakeDmgFilter";
|
|
2
1
|
import { PostAmbushFinished } from "./classes/callbacks/PostAmbushFinished";
|
|
3
2
|
import { PostAmbushStarted } from "./classes/callbacks/PostAmbushStarted";
|
|
4
3
|
import { PostBombExploded } from "./classes/callbacks/PostBombExploded";
|
|
@@ -44,10 +43,8 @@ import { PostLaserInitLate } from "./classes/callbacks/PostLaserInitLate";
|
|
|
44
43
|
import { PostNewLevelReordered } from "./classes/callbacks/PostNewLevelReordered";
|
|
45
44
|
import { PostNewRoomEarly } from "./classes/callbacks/PostNewRoomEarly";
|
|
46
45
|
import { PostNewRoomReordered } from "./classes/callbacks/PostNewRoomReordered";
|
|
47
|
-
import { PostNPCDeathFilter } from "./classes/callbacks/PostNPCDeathFilter";
|
|
48
46
|
import { PostNPCInitFilter } from "./classes/callbacks/PostNPCInitFilter";
|
|
49
47
|
import { PostNPCInitLate } from "./classes/callbacks/PostNPCInitLate";
|
|
50
|
-
import { PostNPCRenderFilter } from "./classes/callbacks/PostNPCRenderFilter";
|
|
51
48
|
import { PostNPCStateChanged } from "./classes/callbacks/PostNPCStateChanged";
|
|
52
49
|
import { PostNPCUpdateFilter } from "./classes/callbacks/PostNPCUpdateFilter";
|
|
53
50
|
import { PostPEffectUpdateReordered } from "./classes/callbacks/PostPEffectUpdateReordered";
|
|
@@ -96,109 +93,102 @@ import { PreCustomRevive } from "./classes/callbacks/PreCustomRevive";
|
|
|
96
93
|
import { PreGetPedestal } from "./classes/callbacks/PreGetPedestal";
|
|
97
94
|
import { PreItemPickup } from "./classes/callbacks/PreItemPickup";
|
|
98
95
|
import { PreNewLevel } from "./classes/callbacks/PreNewLevel";
|
|
99
|
-
import { PreNPCCollisionFilter } from "./classes/callbacks/PreNPCCollisionFilter";
|
|
100
|
-
import { PreNPCUpdateFilter } from "./classes/callbacks/PreNPCUpdateFilter";
|
|
101
96
|
declare const MOD_CALLBACK_CUSTOM_TO_CLASS: {
|
|
102
|
-
readonly 0: typeof
|
|
103
|
-
readonly 1: typeof
|
|
104
|
-
readonly 2: typeof
|
|
105
|
-
readonly 3: typeof
|
|
106
|
-
readonly 4: typeof
|
|
107
|
-
readonly 5: typeof
|
|
108
|
-
readonly 6: typeof
|
|
109
|
-
readonly 7: typeof
|
|
110
|
-
readonly 8: typeof
|
|
111
|
-
readonly 9: typeof
|
|
112
|
-
readonly 10: typeof
|
|
113
|
-
readonly 11: typeof
|
|
114
|
-
readonly 12: typeof
|
|
115
|
-
readonly 13: typeof
|
|
116
|
-
readonly 14: typeof
|
|
117
|
-
readonly 15: typeof
|
|
118
|
-
readonly 16: typeof
|
|
119
|
-
readonly
|
|
120
|
-
readonly
|
|
121
|
-
readonly
|
|
122
|
-
readonly 20: typeof
|
|
123
|
-
readonly 21: typeof
|
|
124
|
-
readonly 22: typeof
|
|
125
|
-
readonly 23: typeof
|
|
126
|
-
readonly 24: typeof
|
|
127
|
-
readonly 25: typeof
|
|
128
|
-
readonly 26: typeof
|
|
129
|
-
readonly 27: typeof
|
|
130
|
-
readonly 28: typeof
|
|
131
|
-
readonly 29: typeof
|
|
132
|
-
readonly 30: typeof
|
|
133
|
-
readonly 31: typeof
|
|
134
|
-
readonly 32: typeof
|
|
135
|
-
readonly 33: typeof
|
|
136
|
-
readonly 34: typeof
|
|
137
|
-
readonly 35: typeof
|
|
138
|
-
readonly 36: typeof
|
|
139
|
-
readonly 37: typeof
|
|
140
|
-
readonly 38: typeof
|
|
141
|
-
readonly 39: typeof
|
|
142
|
-
readonly 40: typeof
|
|
143
|
-
readonly 41: typeof
|
|
144
|
-
readonly 42: typeof
|
|
145
|
-
readonly 43: typeof
|
|
146
|
-
readonly 44: typeof
|
|
147
|
-
readonly 45: typeof
|
|
148
|
-
readonly 46: typeof
|
|
149
|
-
readonly 47: typeof
|
|
150
|
-
readonly 48: typeof
|
|
151
|
-
readonly 49: typeof
|
|
152
|
-
readonly 50: typeof
|
|
153
|
-
readonly 51: typeof
|
|
154
|
-
readonly 52: typeof
|
|
155
|
-
readonly 53: typeof
|
|
156
|
-
readonly 54: typeof
|
|
157
|
-
readonly 55: typeof
|
|
158
|
-
readonly 56: typeof
|
|
159
|
-
readonly 57: typeof
|
|
160
|
-
readonly 58: typeof
|
|
161
|
-
readonly 59: typeof
|
|
162
|
-
readonly 60: typeof
|
|
163
|
-
readonly 61: typeof
|
|
164
|
-
readonly 62: typeof
|
|
165
|
-
readonly 63: typeof
|
|
166
|
-
readonly 64: typeof
|
|
167
|
-
readonly 65: typeof
|
|
168
|
-
readonly 66: typeof
|
|
169
|
-
readonly 67: typeof
|
|
170
|
-
readonly 68: typeof
|
|
171
|
-
readonly 69: typeof
|
|
172
|
-
readonly 70: typeof
|
|
173
|
-
readonly 71: typeof
|
|
174
|
-
readonly 72: typeof
|
|
175
|
-
readonly 73: typeof
|
|
176
|
-
readonly 74: typeof
|
|
177
|
-
readonly 75: typeof
|
|
178
|
-
readonly 76: typeof
|
|
179
|
-
readonly 77: typeof
|
|
180
|
-
readonly 78: typeof
|
|
181
|
-
readonly 79: typeof
|
|
182
|
-
readonly 80: typeof
|
|
183
|
-
readonly 81: typeof
|
|
184
|
-
readonly 82: typeof
|
|
185
|
-
readonly 83: typeof
|
|
186
|
-
readonly 84: typeof
|
|
187
|
-
readonly 85: typeof
|
|
188
|
-
readonly 86: typeof
|
|
189
|
-
readonly 87: typeof
|
|
190
|
-
readonly 88: typeof
|
|
191
|
-
readonly 89: typeof
|
|
192
|
-
readonly 90: typeof
|
|
193
|
-
readonly 91: typeof
|
|
194
|
-
readonly 92: typeof
|
|
195
|
-
readonly 93: typeof
|
|
196
|
-
readonly 94: typeof
|
|
197
|
-
readonly 95: typeof PreGetPedestal;
|
|
198
|
-
readonly 96: typeof PreItemPickup;
|
|
199
|
-
readonly 97: typeof PreNewLevel;
|
|
200
|
-
readonly 98: typeof PreNPCCollisionFilter;
|
|
201
|
-
readonly 99: typeof PreNPCUpdateFilter;
|
|
97
|
+
readonly 0: typeof PostAmbushFinished;
|
|
98
|
+
readonly 1: typeof PostAmbushStarted;
|
|
99
|
+
readonly 2: typeof PostBombExploded;
|
|
100
|
+
readonly 3: typeof PostBombInitLate;
|
|
101
|
+
readonly 4: typeof PostBoneSwing;
|
|
102
|
+
readonly 5: typeof PostCollectibleEmpty;
|
|
103
|
+
readonly 6: typeof PostCollectibleInitFirst;
|
|
104
|
+
readonly 7: typeof PostCursedTeleport;
|
|
105
|
+
readonly 8: typeof PostCustomRevive;
|
|
106
|
+
readonly 9: typeof PostDiceRoomActivated;
|
|
107
|
+
readonly 10: typeof PostDoorRender;
|
|
108
|
+
readonly 11: typeof PostDoorUpdate;
|
|
109
|
+
readonly 12: typeof PostEffectInitLate;
|
|
110
|
+
readonly 13: typeof PostEffectStateChanged;
|
|
111
|
+
readonly 14: typeof PostEsauJr;
|
|
112
|
+
readonly 15: typeof PostFamiliarInitLate;
|
|
113
|
+
readonly 16: typeof PostFamiliarStateChanged;
|
|
114
|
+
readonly 18: typeof PostFirstFlip;
|
|
115
|
+
readonly 17: typeof PostFirstEsauJr;
|
|
116
|
+
readonly 19: typeof PostFlip;
|
|
117
|
+
readonly 20: typeof PostGameStartedReordered;
|
|
118
|
+
readonly 21: typeof PostGameStartedReorderedLast;
|
|
119
|
+
readonly 22: typeof PostGreedModeWave;
|
|
120
|
+
readonly 23: typeof PostGridEntityBroken;
|
|
121
|
+
readonly 24: typeof PostGridEntityCollision;
|
|
122
|
+
readonly 25: typeof PostGridEntityCustomBroken;
|
|
123
|
+
readonly 26: typeof PostGridEntityCustomCollision;
|
|
124
|
+
readonly 27: typeof PostGridEntityCustomInit;
|
|
125
|
+
readonly 28: typeof PostGridEntityCustomRemove;
|
|
126
|
+
readonly 29: typeof PostGridEntityCustomRender;
|
|
127
|
+
readonly 30: typeof PostGridEntityCustomStateChanged;
|
|
128
|
+
readonly 31: typeof PostGridEntityCustomUpdate;
|
|
129
|
+
readonly 32: typeof PostGridEntityInit;
|
|
130
|
+
readonly 33: typeof PostGridEntityRemove;
|
|
131
|
+
readonly 34: typeof PostGridEntityRender;
|
|
132
|
+
readonly 35: typeof PostGridEntityStateChanged;
|
|
133
|
+
readonly 36: typeof PostGridEntityUpdate;
|
|
134
|
+
readonly 37: typeof PostHolyMantleRemoved;
|
|
135
|
+
readonly 38: typeof PostItemDischarge;
|
|
136
|
+
readonly 39: typeof PostItemPickup;
|
|
137
|
+
readonly 40: typeof PostKnifeInitLate;
|
|
138
|
+
readonly 41: typeof PostLaserInitLate;
|
|
139
|
+
readonly 42: typeof PostNewLevelReordered;
|
|
140
|
+
readonly 43: typeof PostNewRoomEarly;
|
|
141
|
+
readonly 44: typeof PostNewRoomReordered;
|
|
142
|
+
readonly 45: typeof PostNPCInitFilter;
|
|
143
|
+
readonly 46: typeof PostNPCInitLate;
|
|
144
|
+
readonly 47: typeof PostNPCStateChanged;
|
|
145
|
+
readonly 48: typeof PostNPCUpdateFilter;
|
|
146
|
+
readonly 49: typeof PostPEffectUpdateReordered;
|
|
147
|
+
readonly 50: typeof PostPickupCollect;
|
|
148
|
+
readonly 51: typeof PostPickupInitFirst;
|
|
149
|
+
readonly 52: typeof PostPickupInitLate;
|
|
150
|
+
readonly 53: typeof PostPickupStateChanged;
|
|
151
|
+
readonly 54: typeof PostPitRender;
|
|
152
|
+
readonly 55: typeof PostPitUpdate;
|
|
153
|
+
readonly 56: typeof PostPlayerChangeHealth;
|
|
154
|
+
readonly 57: typeof PostPlayerChangeStat;
|
|
155
|
+
readonly 58: typeof PostPlayerChangeType;
|
|
156
|
+
readonly 59: typeof PostPlayerCollectibleAdded;
|
|
157
|
+
readonly 60: typeof PostPlayerCollectibleRemoved;
|
|
158
|
+
readonly 61: typeof PostPlayerFatalDamage;
|
|
159
|
+
readonly 62: typeof PostPlayerInitFirst;
|
|
160
|
+
readonly 63: typeof PostPlayerInitLate;
|
|
161
|
+
readonly 64: typeof PostPlayerRenderReordered;
|
|
162
|
+
readonly 65: typeof PostPlayerUpdateReordered;
|
|
163
|
+
readonly 66: typeof PostPoopRender;
|
|
164
|
+
readonly 67: typeof PostPoopUpdate;
|
|
165
|
+
readonly 68: typeof PostPressurePlateRender;
|
|
166
|
+
readonly 69: typeof PostPressurePlateUpdate;
|
|
167
|
+
readonly 70: typeof PostProjectileInitLate;
|
|
168
|
+
readonly 71: typeof PostPurchase;
|
|
169
|
+
readonly 72: typeof PostRockRender;
|
|
170
|
+
readonly 73: typeof PostRockUpdate;
|
|
171
|
+
readonly 74: typeof PostRoomClearChanged;
|
|
172
|
+
readonly 75: typeof PostSacrifice;
|
|
173
|
+
readonly 76: typeof PostSlotAnimationChanged;
|
|
174
|
+
readonly 77: typeof PostSlotCollision;
|
|
175
|
+
readonly 78: typeof PostSlotDestroyed;
|
|
176
|
+
readonly 79: typeof PostSlotInit;
|
|
177
|
+
readonly 80: typeof PostSlotRender;
|
|
178
|
+
readonly 81: typeof PostSlotUpdate;
|
|
179
|
+
readonly 82: typeof PostSpikesRender;
|
|
180
|
+
readonly 83: typeof PostSpikesUpdate;
|
|
181
|
+
readonly 84: typeof PostTearInitLate;
|
|
182
|
+
readonly 85: typeof PostTearInitVeryLate;
|
|
183
|
+
readonly 86: typeof PostTNTRender;
|
|
184
|
+
readonly 87: typeof PostTNTUpdate;
|
|
185
|
+
readonly 88: typeof PostTransformation;
|
|
186
|
+
readonly 89: typeof PostTrinketBreak;
|
|
187
|
+
readonly 90: typeof PreBerserkDeath;
|
|
188
|
+
readonly 91: typeof PreCustomRevive;
|
|
189
|
+
readonly 92: typeof PreGetPedestal;
|
|
190
|
+
readonly 93: typeof PreItemPickup;
|
|
191
|
+
readonly 94: typeof PreNewLevel;
|
|
202
192
|
};
|
|
203
193
|
export declare type ModCallbackCustomToClass = {
|
|
204
194
|
readonly [key in keyof typeof MOD_CALLBACK_CUSTOM_TO_CLASS]: InstanceType<typeof MOD_CALLBACK_CUSTOM_TO_CLASS[key]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callbacks.d.ts","sourceRoot":"","sources":["../../src/callbacks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"callbacks.d.ts","sourceRoot":"","sources":["../../src/callbacks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,E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AAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAK9D,QAAA,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyGvB,CAAC;AAEZ,oBAAY,wBAAwB,GAAG;IACrC,QAAQ,EAAE,GAAG,IAAI,MAAM,OAAO,4BAA4B,GAAG,YAAY,CACvE,OAAO,4BAA4B,CAAC,GAAG,CAAC,CACzC;CACF,CAAC;AAEF,wBAAgB,YAAY,IAAI,wBAAwB,CASvD"}
|
package/dist/src/callbacks.lua
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
local ____lualib = require("lualib_bundle")
|
|
2
2
|
local __TS__New = ____lualib.__TS__New
|
|
3
3
|
local ____exports = {}
|
|
4
|
-
local ____EntityTakeDmgFilter = require("src.classes.callbacks.EntityTakeDmgFilter")
|
|
5
|
-
local EntityTakeDmgFilter = ____EntityTakeDmgFilter.EntityTakeDmgFilter
|
|
6
4
|
local ____PostAmbushFinished = require("src.classes.callbacks.PostAmbushFinished")
|
|
7
5
|
local PostAmbushFinished = ____PostAmbushFinished.PostAmbushFinished
|
|
8
6
|
local ____PostAmbushStarted = require("src.classes.callbacks.PostAmbushStarted")
|
|
@@ -93,14 +91,10 @@ local ____PostNewRoomEarly = require("src.classes.callbacks.PostNewRoomEarly")
|
|
|
93
91
|
local PostNewRoomEarly = ____PostNewRoomEarly.PostNewRoomEarly
|
|
94
92
|
local ____PostNewRoomReordered = require("src.classes.callbacks.PostNewRoomReordered")
|
|
95
93
|
local PostNewRoomReordered = ____PostNewRoomReordered.PostNewRoomReordered
|
|
96
|
-
local ____PostNPCDeathFilter = require("src.classes.callbacks.PostNPCDeathFilter")
|
|
97
|
-
local PostNPCDeathFilter = ____PostNPCDeathFilter.PostNPCDeathFilter
|
|
98
94
|
local ____PostNPCInitFilter = require("src.classes.callbacks.PostNPCInitFilter")
|
|
99
95
|
local PostNPCInitFilter = ____PostNPCInitFilter.PostNPCInitFilter
|
|
100
96
|
local ____PostNPCInitLate = require("src.classes.callbacks.PostNPCInitLate")
|
|
101
97
|
local PostNPCInitLate = ____PostNPCInitLate.PostNPCInitLate
|
|
102
|
-
local ____PostNPCRenderFilter = require("src.classes.callbacks.PostNPCRenderFilter")
|
|
103
|
-
local PostNPCRenderFilter = ____PostNPCRenderFilter.PostNPCRenderFilter
|
|
104
98
|
local ____PostNPCStateChanged = require("src.classes.callbacks.PostNPCStateChanged")
|
|
105
99
|
local PostNPCStateChanged = ____PostNPCStateChanged.PostNPCStateChanged
|
|
106
100
|
local ____PostNPCUpdateFilter = require("src.classes.callbacks.PostNPCUpdateFilter")
|
|
@@ -197,10 +191,6 @@ local ____PreItemPickup = require("src.classes.callbacks.PreItemPickup")
|
|
|
197
191
|
local PreItemPickup = ____PreItemPickup.PreItemPickup
|
|
198
192
|
local ____PreNewLevel = require("src.classes.callbacks.PreNewLevel")
|
|
199
193
|
local PreNewLevel = ____PreNewLevel.PreNewLevel
|
|
200
|
-
local ____PreNPCCollisionFilter = require("src.classes.callbacks.PreNPCCollisionFilter")
|
|
201
|
-
local PreNPCCollisionFilter = ____PreNPCCollisionFilter.PreNPCCollisionFilter
|
|
202
|
-
local ____PreNPCUpdateFilter = require("src.classes.callbacks.PreNPCUpdateFilter")
|
|
203
|
-
local PreNPCUpdateFilter = ____PreNPCUpdateFilter.PreNPCUpdateFilter
|
|
204
194
|
local ____ModCallbackCustom = require("src.enums.ModCallbackCustom")
|
|
205
195
|
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
206
196
|
local ____enums = require("src.functions.enums")
|
|
@@ -208,7 +198,6 @@ local getEnumValues = ____enums.getEnumValues
|
|
|
208
198
|
local ____utils = require("src.functions.utils")
|
|
209
199
|
local newObjectWithEnumKeys = ____utils.newObjectWithEnumKeys
|
|
210
200
|
local MOD_CALLBACK_CUSTOM_TO_CLASS = newObjectWithEnumKeys(nil, ModCallbackCustom, {
|
|
211
|
-
[ModCallbackCustom.ENTITY_TAKE_DMG_FILTER] = EntityTakeDmgFilter,
|
|
212
201
|
[ModCallbackCustom.POST_AMBUSH_FINISHED] = PostAmbushFinished,
|
|
213
202
|
[ModCallbackCustom.POST_AMBUSH_STARTED] = PostAmbushStarted,
|
|
214
203
|
[ModCallbackCustom.POST_BOMB_EXPLODED] = PostBombExploded,
|
|
@@ -254,10 +243,8 @@ local MOD_CALLBACK_CUSTOM_TO_CLASS = newObjectWithEnumKeys(nil, ModCallbackCusto
|
|
|
254
243
|
[ModCallbackCustom.POST_NEW_LEVEL_REORDERED] = PostNewLevelReordered,
|
|
255
244
|
[ModCallbackCustom.POST_NEW_ROOM_EARLY] = PostNewRoomEarly,
|
|
256
245
|
[ModCallbackCustom.POST_NEW_ROOM_REORDERED] = PostNewRoomReordered,
|
|
257
|
-
[ModCallbackCustom.POST_NPC_DEATH_FILTER] = PostNPCDeathFilter,
|
|
258
246
|
[ModCallbackCustom.POST_NPC_INIT_FILTER] = PostNPCInitFilter,
|
|
259
247
|
[ModCallbackCustom.POST_NPC_INIT_LATE] = PostNPCInitLate,
|
|
260
|
-
[ModCallbackCustom.POST_NPC_RENDER_FILTER] = PostNPCRenderFilter,
|
|
261
248
|
[ModCallbackCustom.POST_NPC_STATE_CHANGED] = PostNPCStateChanged,
|
|
262
249
|
[ModCallbackCustom.POST_NPC_UPDATE_FILTER] = PostNPCUpdateFilter,
|
|
263
250
|
[ModCallbackCustom.POST_PEFFECT_UPDATE_REORDERED] = PostPEffectUpdateReordered,
|
|
@@ -305,9 +292,7 @@ local MOD_CALLBACK_CUSTOM_TO_CLASS = newObjectWithEnumKeys(nil, ModCallbackCusto
|
|
|
305
292
|
[ModCallbackCustom.PRE_CUSTOM_REVIVE] = PreCustomRevive,
|
|
306
293
|
[ModCallbackCustom.PRE_GET_PEDESTAL] = PreGetPedestal,
|
|
307
294
|
[ModCallbackCustom.PRE_ITEM_PICKUP] = PreItemPickup,
|
|
308
|
-
[ModCallbackCustom.PRE_NEW_LEVEL] = PreNewLevel
|
|
309
|
-
[ModCallbackCustom.PRE_NPC_COLLISION_FILTER] = PreNPCCollisionFilter,
|
|
310
|
-
[ModCallbackCustom.PRE_NPC_UPDATE_FILTER] = PreNPCUpdateFilter
|
|
295
|
+
[ModCallbackCustom.PRE_NEW_LEVEL] = PreNewLevel
|
|
311
296
|
})
|
|
312
297
|
function ____exports.getCallbacks(self)
|
|
313
298
|
local instantiatedClasses = {}
|