isaacscript-common 27.10.1 → 27.11.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.
- package/dist/index.rollup.d.ts +240 -96
- package/dist/isaacscript-common.lua +326 -97
- package/dist/src/callbackClasses.d.ts +7 -0
- package/dist/src/callbackClasses.d.ts.map +1 -1
- package/dist/src/callbackClasses.lua +35 -0
- package/dist/src/callbacks.d.ts +103 -96
- package/dist/src/callbacks.d.ts.map +1 -1
- package/dist/src/callbacks.lua +7 -0
- package/dist/src/classes/callbacks/PostEffectInitFilter.d.ts +9 -0
- package/dist/src/classes/callbacks/PostEffectInitFilter.d.ts.map +1 -0
- package/dist/src/classes/callbacks/PostEffectInitFilter.lua +23 -0
- package/dist/src/classes/callbacks/PostEffectRenderFilter.d.ts +9 -0
- package/dist/src/classes/callbacks/PostEffectRenderFilter.d.ts.map +1 -0
- package/dist/src/classes/callbacks/PostEffectRenderFilter.lua +23 -0
- package/dist/src/classes/callbacks/PostEffectUpdateFilter.d.ts +9 -0
- package/dist/src/classes/callbacks/PostEffectUpdateFilter.d.ts.map +1 -0
- package/dist/src/classes/callbacks/PostEffectUpdateFilter.lua +23 -0
- package/dist/src/classes/callbacks/PostFamiliarInitFilter.d.ts +9 -0
- package/dist/src/classes/callbacks/PostFamiliarInitFilter.d.ts.map +1 -0
- package/dist/src/classes/callbacks/PostFamiliarInitFilter.lua +23 -0
- package/dist/src/classes/callbacks/PostFamiliarRenderFilter.d.ts +9 -0
- package/dist/src/classes/callbacks/PostFamiliarRenderFilter.d.ts.map +1 -0
- package/dist/src/classes/callbacks/PostFamiliarRenderFilter.lua +23 -0
- package/dist/src/classes/callbacks/PostFamiliarUpdateFilter.d.ts +9 -0
- package/dist/src/classes/callbacks/PostFamiliarUpdateFilter.d.ts.map +1 -0
- package/dist/src/classes/callbacks/PostFamiliarUpdateFilter.lua +23 -0
- package/dist/src/classes/callbacks/PreFamiliarCollisionFilter.d.ts +9 -0
- package/dist/src/classes/callbacks/PreFamiliarCollisionFilter.d.ts.map +1 -0
- package/dist/src/classes/callbacks/PreFamiliarCollisionFilter.lua +21 -0
- package/dist/src/enums/ModCallbackCustom.d.ts +205 -96
- package/dist/src/enums/ModCallbackCustom.d.ts.map +1 -1
- package/dist/src/enums/ModCallbackCustom.lua +110 -96
- package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts +35 -0
- package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts.map +1 -1
- package/dist/src/shouldFire.d.ts +2 -2
- package/dist/src/shouldFire.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/callbackClasses.ts +7 -0
- package/src/callbacks.ts +8 -0
- package/src/classes/callbacks/PostEffectInitFilter.ts +22 -0
- package/src/classes/callbacks/PostEffectRenderFilter.ts +22 -0
- package/src/classes/callbacks/PostEffectUpdateFilter.ts +22 -0
- package/src/classes/callbacks/PostFamiliarInitFilter.ts +22 -0
- package/src/classes/callbacks/PostFamiliarRenderFilter.ts +25 -0
- package/src/classes/callbacks/PostFamiliarUpdateFilter.ts +22 -0
- package/src/classes/callbacks/PreFamiliarCollisionFilter.ts +24 -0
- package/src/enums/ModCallbackCustom.ts +116 -0
- package/src/interfaces/private/AddCallbackParametersCustom.ts +46 -0
- package/src/shouldFire.ts +3 -0
package/dist/index.rollup.d.ts
CHANGED
|
@@ -154,16 +154,31 @@ declare interface AddCallbackParametersCustom {
|
|
|
154
154
|
callback: (door: GridEntityDoor) => void,
|
|
155
155
|
doorVariant?: DoorVariant
|
|
156
156
|
];
|
|
157
|
+
[ModCallbackCustom.POST_EFFECT_INIT_FILTER]: [
|
|
158
|
+
callback: (effect: EntityEffect) => void,
|
|
159
|
+
effectVariant?: EffectVariant,
|
|
160
|
+
subType?: int
|
|
161
|
+
];
|
|
157
162
|
[ModCallbackCustom.POST_EFFECT_INIT_LATE]: [
|
|
158
163
|
callback: (effect: EntityEffect) => void,
|
|
159
164
|
effectVariant?: EffectVariant,
|
|
160
165
|
subType?: int
|
|
161
166
|
];
|
|
167
|
+
[ModCallbackCustom.POST_EFFECT_RENDER_FILTER]: [
|
|
168
|
+
callback: (effect: EntityEffect, renderOffset: Vector) => void,
|
|
169
|
+
effectVariant?: EffectVariant,
|
|
170
|
+
subType?: int
|
|
171
|
+
];
|
|
162
172
|
[ModCallbackCustom.POST_EFFECT_STATE_CHANGED]: [
|
|
163
173
|
callback: (effect: EntityEffect, previousState: int, currentState: int) => void,
|
|
164
174
|
effectVariant?: EffectVariant,
|
|
165
175
|
subType?: int
|
|
166
176
|
];
|
|
177
|
+
[ModCallbackCustom.POST_EFFECT_UPDATE_FILTER]: [
|
|
178
|
+
callback: (effect: EntityEffect) => void,
|
|
179
|
+
effectVariant?: EffectVariant,
|
|
180
|
+
subType?: int
|
|
181
|
+
];
|
|
167
182
|
[ModCallbackCustom.POST_ENTITY_KILL_FILTER]: [
|
|
168
183
|
callback: (entity: Entity) => void,
|
|
169
184
|
entityType?: EntityType,
|
|
@@ -171,16 +186,31 @@ declare interface AddCallbackParametersCustom {
|
|
|
171
186
|
subType?: int
|
|
172
187
|
];
|
|
173
188
|
[ModCallbackCustom.POST_ESAU_JR]: [callback: (player: EntityPlayer) => void];
|
|
189
|
+
[ModCallbackCustom.POST_FAMILIAR_INIT_FILTER]: [
|
|
190
|
+
callback: (familiar: EntityFamiliar) => void,
|
|
191
|
+
familiarVariant?: FamiliarVariant,
|
|
192
|
+
subType?: int
|
|
193
|
+
];
|
|
174
194
|
[ModCallbackCustom.POST_FAMILIAR_INIT_LATE]: [
|
|
175
195
|
callback: (familiar: EntityFamiliar) => void,
|
|
176
196
|
familiarVariant?: FamiliarVariant,
|
|
177
197
|
subType?: int
|
|
178
198
|
];
|
|
199
|
+
[ModCallbackCustom.POST_FAMILIAR_RENDER_FILTER]: [
|
|
200
|
+
callback: (familiar: EntityFamiliar, renderOffset: Vector) => void,
|
|
201
|
+
familiarVariant?: FamiliarVariant,
|
|
202
|
+
subType?: int
|
|
203
|
+
];
|
|
179
204
|
[ModCallbackCustom.POST_FAMILIAR_STATE_CHANGED]: [
|
|
180
205
|
callback: (familiar: EntityFamiliar, previousState: int, currentState: int) => void,
|
|
181
206
|
familiarVariant?: FamiliarVariant,
|
|
182
207
|
subType?: int
|
|
183
208
|
];
|
|
209
|
+
[ModCallbackCustom.POST_FAMILIAR_UPDATE_FILTER]: [
|
|
210
|
+
callback: (familiar: EntityFamiliar) => void,
|
|
211
|
+
familiarVariant?: FamiliarVariant,
|
|
212
|
+
subType?: int
|
|
213
|
+
];
|
|
184
214
|
[ModCallbackCustom.POST_FIRST_ESAU_JR]: [
|
|
185
215
|
callback: (player: EntityPlayer) => void
|
|
186
216
|
];
|
|
@@ -581,6 +611,11 @@ declare interface AddCallbackParametersCustom {
|
|
|
581
611
|
variant?: int,
|
|
582
612
|
subtype?: int
|
|
583
613
|
];
|
|
614
|
+
[ModCallbackCustom.PRE_FAMILIAR_COLLISION_FILTER]: [
|
|
615
|
+
callback: (familiar: EntityFamiliar, collider: Entity, low: boolean) => boolean | undefined,
|
|
616
|
+
familiarVariant?: FamiliarVariant,
|
|
617
|
+
subtype?: int
|
|
618
|
+
];
|
|
584
619
|
[ModCallbackCustom.PRE_GET_PEDESTAL]: [
|
|
585
620
|
callback: (player: EntityPlayer, collectible: EntityPickupCollectible) => boolean | undefined,
|
|
586
621
|
playerVariant?: PlayerVariant,
|
|
@@ -9378,6 +9413,21 @@ export declare enum ModCallbackCustom {
|
|
|
9378
9413
|
* ```
|
|
9379
9414
|
*/
|
|
9380
9415
|
POST_DOOR_UPDATE = 15,
|
|
9416
|
+
/**
|
|
9417
|
+
* The exact same thing as the vanilla `POST_EFFECT_INIT` callback, except this callback allows
|
|
9418
|
+
* you to specify extra arguments for additional filtration.
|
|
9419
|
+
*
|
|
9420
|
+
* When registering the callback with the `ModUpgraded.AddCallbackCustom` method:
|
|
9421
|
+
* - You can provide an optional third argument that will make the callback only fire if it
|
|
9422
|
+
* matches the `EffectVariant` provided.
|
|
9423
|
+
* - You can provide an optional fourth argument that will make the callback only fire if it
|
|
9424
|
+
* matches the sub-type provided.
|
|
9425
|
+
*
|
|
9426
|
+
* ```ts
|
|
9427
|
+
* function postEffectInitFilter(effect: EntityEffect): void {}
|
|
9428
|
+
* ```
|
|
9429
|
+
*/
|
|
9430
|
+
POST_EFFECT_INIT_FILTER = 16,
|
|
9381
9431
|
/**
|
|
9382
9432
|
* Fires on the first `POST_EFFECT_UPDATE` frame for each effect.
|
|
9383
9433
|
*
|
|
@@ -9394,7 +9444,22 @@ export declare enum ModCallbackCustom {
|
|
|
9394
9444
|
* function postEffectInitLate(effect: EntityEffect): void {}
|
|
9395
9445
|
* ```
|
|
9396
9446
|
*/
|
|
9397
|
-
POST_EFFECT_INIT_LATE =
|
|
9447
|
+
POST_EFFECT_INIT_LATE = 17,
|
|
9448
|
+
/**
|
|
9449
|
+
* The exact same thing as the vanilla `POST_EFFECT_RENDER` callback, except this callback allows
|
|
9450
|
+
* you to specify extra arguments for additional filtration.
|
|
9451
|
+
*
|
|
9452
|
+
* When registering the callback with the `ModUpgraded.AddCallbackCustom` method:
|
|
9453
|
+
* - You can provide an optional third argument that will make the callback only fire if it
|
|
9454
|
+
* matches the `EffectVariant` provided.
|
|
9455
|
+
* - You can provide an optional fourth argument that will make the callback only fire if it
|
|
9456
|
+
* matches the sub-type provided.
|
|
9457
|
+
*
|
|
9458
|
+
* ```ts
|
|
9459
|
+
* function postEffectRenderFilter(effect: EntityEffect, renderOffset: Vector): void {}
|
|
9460
|
+
* ```
|
|
9461
|
+
*/
|
|
9462
|
+
POST_EFFECT_RENDER_FILTER = 18,
|
|
9398
9463
|
/**
|
|
9399
9464
|
* Fires from the `POST_EFFECT_UPDATE` callback when an effect's state has changed from what it
|
|
9400
9465
|
* was on the previous frame. (In this context, "state" refers to the `EntityEffect.State` field.)
|
|
@@ -9413,7 +9478,22 @@ export declare enum ModCallbackCustom {
|
|
|
9413
9478
|
* ): void {}
|
|
9414
9479
|
* ```
|
|
9415
9480
|
*/
|
|
9416
|
-
POST_EFFECT_STATE_CHANGED =
|
|
9481
|
+
POST_EFFECT_STATE_CHANGED = 19,
|
|
9482
|
+
/**
|
|
9483
|
+
* The exact same thing as the vanilla `POST_EFFECT_UPDATE` callback, except this callback allows
|
|
9484
|
+
* you to specify extra arguments for additional filtration.
|
|
9485
|
+
*
|
|
9486
|
+
* When registering the callback with the `ModUpgraded.AddCallbackCustom` method:
|
|
9487
|
+
* - You can provide an optional third argument that will make the callback only fire if it
|
|
9488
|
+
* matches the `EffectVariant` provided.
|
|
9489
|
+
* - You can provide an optional fourth argument that will make the callback only fire if it
|
|
9490
|
+
* matches the sub-type provided.
|
|
9491
|
+
*
|
|
9492
|
+
* ```ts
|
|
9493
|
+
* function postEffectUpdateFilter(effect: EntityEffect): void {}
|
|
9494
|
+
* ```
|
|
9495
|
+
*/
|
|
9496
|
+
POST_EFFECT_UPDATE_FILTER = 20,
|
|
9417
9497
|
/**
|
|
9418
9498
|
* The exact same thing as the vanilla `POST_ENTITY_KILL` callback, except this callback allows
|
|
9419
9499
|
* you to specify extra arguments for additional filtration.
|
|
@@ -9430,7 +9510,7 @@ export declare enum ModCallbackCustom {
|
|
|
9430
9510
|
* function postEntityKillFilter(entity: Entity): void {}
|
|
9431
9511
|
* ```
|
|
9432
9512
|
*/
|
|
9433
|
-
POST_ENTITY_KILL_FILTER =
|
|
9513
|
+
POST_ENTITY_KILL_FILTER = 21,
|
|
9434
9514
|
/**
|
|
9435
9515
|
* Fires one `POST_UPDATE` frame after the player has used the Esau Jr. item. (The player is not
|
|
9436
9516
|
* updated to the new character until a game frame has passed.)
|
|
@@ -9439,7 +9519,22 @@ export declare enum ModCallbackCustom {
|
|
|
9439
9519
|
* function postEsauJr(player: EntityPlayer): void {}
|
|
9440
9520
|
* ```
|
|
9441
9521
|
*/
|
|
9442
|
-
POST_ESAU_JR =
|
|
9522
|
+
POST_ESAU_JR = 22,
|
|
9523
|
+
/**
|
|
9524
|
+
* The exact same thing as the vanilla `POST_FAMILIAR_INIT` callback, except this callback allows
|
|
9525
|
+
* you to specify extra arguments for additional filtration.
|
|
9526
|
+
*
|
|
9527
|
+
* When registering the callback with the `ModUpgraded.AddCallbackCustom` method:
|
|
9528
|
+
* - You can provide an optional third argument that will make the callback only fire if it
|
|
9529
|
+
* matches the `FamiliarVariant` provided.
|
|
9530
|
+
* - You can provide an optional fourth argument that will make the callback only fire if it
|
|
9531
|
+
* matches the sub-type provided.
|
|
9532
|
+
*
|
|
9533
|
+
* ```ts
|
|
9534
|
+
* function postFamiliarInitFilter(familiar: EntityFamiliar): void {}
|
|
9535
|
+
* ```
|
|
9536
|
+
*/
|
|
9537
|
+
POST_FAMILIAR_INIT_FILTER = 23,
|
|
9443
9538
|
/**
|
|
9444
9539
|
* Fires on the first `FAMILIAR_UPDATE` frame for each familiar.
|
|
9445
9540
|
*
|
|
@@ -9456,7 +9551,22 @@ export declare enum ModCallbackCustom {
|
|
|
9456
9551
|
* function postFamiliarInitLate(familiar: EntityFamiliar): void {}
|
|
9457
9552
|
* ```
|
|
9458
9553
|
*/
|
|
9459
|
-
POST_FAMILIAR_INIT_LATE =
|
|
9554
|
+
POST_FAMILIAR_INIT_LATE = 24,
|
|
9555
|
+
/**
|
|
9556
|
+
* The exact same thing as the vanilla `POST_FAMILIAR_RENDER` callback, except this callback
|
|
9557
|
+
* allows you to specify extra arguments for additional filtration.
|
|
9558
|
+
*
|
|
9559
|
+
* When registering the callback with the `ModUpgraded.AddCallbackCustom` method:
|
|
9560
|
+
* - You can provide an optional third argument that will make the callback only fire if it
|
|
9561
|
+
* matches the `FamiliarVariant` provided.
|
|
9562
|
+
* - You can provide an optional fourth argument that will make the callback only fire if it
|
|
9563
|
+
* matches the sub-type provided.
|
|
9564
|
+
*
|
|
9565
|
+
* ```ts
|
|
9566
|
+
* function postFamiliarRenderFilter(familiar: EntityFamiliar, renderOffset: Vector): void {}
|
|
9567
|
+
* ```
|
|
9568
|
+
*/
|
|
9569
|
+
POST_FAMILIAR_RENDER_FILTER = 25,
|
|
9460
9570
|
/**
|
|
9461
9571
|
* Fires from the `POST_FAMILIAR_UPDATE` callback when a familiar's state has changed from what it
|
|
9462
9572
|
* was on the previous frame. (In this context, "state" refers to the `EntityFamiliar.State`
|
|
@@ -9476,7 +9586,22 @@ export declare enum ModCallbackCustom {
|
|
|
9476
9586
|
* ): void {}
|
|
9477
9587
|
* ```
|
|
9478
9588
|
*/
|
|
9479
|
-
POST_FAMILIAR_STATE_CHANGED =
|
|
9589
|
+
POST_FAMILIAR_STATE_CHANGED = 26,
|
|
9590
|
+
/**
|
|
9591
|
+
* The exact same thing as the vanilla `POST_FAMILIAR_UPDATE` callback, except this callback
|
|
9592
|
+
* allows you to specify extra arguments for additional filtration.
|
|
9593
|
+
*
|
|
9594
|
+
* When registering the callback with the `ModUpgraded.AddCallbackCustom` method:
|
|
9595
|
+
* - You can provide an optional third argument that will make the callback only fire if it
|
|
9596
|
+
* matches the `FamiliarVariant` provided.
|
|
9597
|
+
* - You can provide an optional fourth argument that will make the callback only fire if it
|
|
9598
|
+
* matches the sub-type provided.
|
|
9599
|
+
*
|
|
9600
|
+
* ```ts
|
|
9601
|
+
* function postFamiliarUpdateFilter(familiar: EntityFamiliar): void {}
|
|
9602
|
+
* ```
|
|
9603
|
+
*/
|
|
9604
|
+
POST_FAMILIAR_UPDATE_FILTER = 27,
|
|
9480
9605
|
/**
|
|
9481
9606
|
* Fires one `POST_UPDATE` frame after the player has first used the Esau Jr. item. (The player is
|
|
9482
9607
|
* not updated to the new character until a game frame has passed.)
|
|
@@ -9488,7 +9613,7 @@ export declare enum ModCallbackCustom {
|
|
|
9488
9613
|
* function postFirstEsauJr(player: EntityPlayer): void {}
|
|
9489
9614
|
* ```
|
|
9490
9615
|
*/
|
|
9491
|
-
POST_FIRST_ESAU_JR =
|
|
9616
|
+
POST_FIRST_ESAU_JR = 28,
|
|
9492
9617
|
/**
|
|
9493
9618
|
* Fires after the player has used the Flip item for the first time. Unlike the vanilla `USE_ITEM`
|
|
9494
9619
|
* callback, this callback will return the player object for the new Lazarus (not the one who used
|
|
@@ -9501,7 +9626,7 @@ export declare enum ModCallbackCustom {
|
|
|
9501
9626
|
* function postFirstFlip(newLazarus: EntityPlayer, oldLazarus: EntityPlayer): void {}
|
|
9502
9627
|
* ```
|
|
9503
9628
|
*/
|
|
9504
|
-
POST_FIRST_FLIP =
|
|
9629
|
+
POST_FIRST_FLIP = 29,
|
|
9505
9630
|
/**
|
|
9506
9631
|
* Fires after the player has used the Flip item. Unlike the vanilla `USE_ITEM` callback, this
|
|
9507
9632
|
* callback will return the player object for the new Lazarus (not the one who used the Flip
|
|
@@ -9514,7 +9639,7 @@ export declare enum ModCallbackCustom {
|
|
|
9514
9639
|
* function postFlip(newLazarus: EntityPlayer, oldLazarus: EntityPlayer): void {}
|
|
9515
9640
|
* ```
|
|
9516
9641
|
*/
|
|
9517
|
-
POST_FLIP =
|
|
9642
|
+
POST_FLIP = 30,
|
|
9518
9643
|
/**
|
|
9519
9644
|
* Similar to the vanilla callback of the same name, but fires in the correct order with respect
|
|
9520
9645
|
* to the `POST_NEW_LEVEL` and the `POST_NEW_ROOM` callbacks:
|
|
@@ -9533,7 +9658,7 @@ export declare enum ModCallbackCustom {
|
|
|
9533
9658
|
* function postGameStartedReordered(isContinued: boolean): void {}
|
|
9534
9659
|
* ```
|
|
9535
9660
|
*/
|
|
9536
|
-
POST_GAME_STARTED_REORDERED =
|
|
9661
|
+
POST_GAME_STARTED_REORDERED = 31,
|
|
9537
9662
|
/**
|
|
9538
9663
|
* Similar to the `POST_GAME_STARTED_REORDERED` callback, but fires after all of the subscribed
|
|
9539
9664
|
* callbacks have finished firing. Thus, you can use this callback to do perform things after a
|
|
@@ -9552,7 +9677,7 @@ export declare enum ModCallbackCustom {
|
|
|
9552
9677
|
* function postGameStartedReorderedLast(isContinued: boolean): void {}
|
|
9553
9678
|
* ```
|
|
9554
9679
|
*/
|
|
9555
|
-
POST_GAME_STARTED_REORDERED_LAST =
|
|
9680
|
+
POST_GAME_STARTED_REORDERED_LAST = 32,
|
|
9556
9681
|
/**
|
|
9557
9682
|
* Fires from the `POST_UPDATE` callback when the Greed Mode wave increases.
|
|
9558
9683
|
*
|
|
@@ -9560,7 +9685,7 @@ export declare enum ModCallbackCustom {
|
|
|
9560
9685
|
* function postGreedModeWave(oldWave: int, newWave: int): void {}
|
|
9561
9686
|
* ```
|
|
9562
9687
|
*/
|
|
9563
|
-
POST_GREED_MODE_WAVE =
|
|
9688
|
+
POST_GREED_MODE_WAVE = 33,
|
|
9564
9689
|
/**
|
|
9565
9690
|
* Fires from the `POST_UPDATE` callback when a grid entity changes to a state that corresponds to
|
|
9566
9691
|
* the broken state for the respective grid entity type. (For example, this will fire for a
|
|
@@ -9579,7 +9704,7 @@ export declare enum ModCallbackCustom {
|
|
|
9579
9704
|
* function postGridEntityBroken(gridEntity: GridEntity): void {}
|
|
9580
9705
|
* ```
|
|
9581
9706
|
*/
|
|
9582
|
-
POST_GRID_ENTITY_BROKEN =
|
|
9707
|
+
POST_GRID_ENTITY_BROKEN = 34,
|
|
9583
9708
|
/**
|
|
9584
9709
|
* Fires from the `POST_UPDATE` callback when a new entity collides with a grid entity. (After
|
|
9585
9710
|
* this, the callback will not continue to fire. It will only fire again once the entity moves out
|
|
@@ -9607,7 +9732,7 @@ export declare enum ModCallbackCustom {
|
|
|
9607
9732
|
* ): void {}
|
|
9608
9733
|
* ```
|
|
9609
9734
|
*/
|
|
9610
|
-
POST_GRID_ENTITY_COLLISION =
|
|
9735
|
+
POST_GRID_ENTITY_COLLISION = 35,
|
|
9611
9736
|
/**
|
|
9612
9737
|
* The same as the `POST_GRID_ENTITY_BROKEN` callback, but only fires for grid entities created
|
|
9613
9738
|
* with the `spawnCustomGridEntity` helper function.
|
|
@@ -9624,7 +9749,7 @@ export declare enum ModCallbackCustom {
|
|
|
9624
9749
|
* ): void {}
|
|
9625
9750
|
* ```
|
|
9626
9751
|
*/
|
|
9627
|
-
POST_GRID_ENTITY_CUSTOM_BROKEN =
|
|
9752
|
+
POST_GRID_ENTITY_CUSTOM_BROKEN = 36,
|
|
9628
9753
|
/**
|
|
9629
9754
|
* The same as the `POST_GRID_ENTITY_COLLISION` callback, but only fires for grid entities created
|
|
9630
9755
|
* with the `spawnCustomGridEntity` helper function.
|
|
@@ -9648,7 +9773,7 @@ export declare enum ModCallbackCustom {
|
|
|
9648
9773
|
* ): void {}
|
|
9649
9774
|
* ```
|
|
9650
9775
|
*/
|
|
9651
|
-
POST_GRID_ENTITY_CUSTOM_COLLISION =
|
|
9776
|
+
POST_GRID_ENTITY_CUSTOM_COLLISION = 37,
|
|
9652
9777
|
/**
|
|
9653
9778
|
* The same as the `POST_GRID_ENTITY_INIT` callback, but only fires for grid entities created with
|
|
9654
9779
|
* the `spawnCustomGridEntity` helper function.
|
|
@@ -9665,7 +9790,7 @@ export declare enum ModCallbackCustom {
|
|
|
9665
9790
|
* ): void {}
|
|
9666
9791
|
* ```
|
|
9667
9792
|
*/
|
|
9668
|
-
POST_GRID_ENTITY_CUSTOM_INIT =
|
|
9793
|
+
POST_GRID_ENTITY_CUSTOM_INIT = 38,
|
|
9669
9794
|
/**
|
|
9670
9795
|
* The same as the `POST_GRID_ENTITY_REMOVE` callback, but only fires for grid entities created
|
|
9671
9796
|
* with the `spawnCustomGridEntity` helper function.
|
|
@@ -9682,7 +9807,7 @@ export declare enum ModCallbackCustom {
|
|
|
9682
9807
|
* ): void {}
|
|
9683
9808
|
* ```
|
|
9684
9809
|
*/
|
|
9685
|
-
POST_GRID_ENTITY_CUSTOM_REMOVE =
|
|
9810
|
+
POST_GRID_ENTITY_CUSTOM_REMOVE = 39,
|
|
9686
9811
|
/**
|
|
9687
9812
|
* The same as the `POST_GRID_ENTITY_RENDER` callback, but only fires for grid entities created
|
|
9688
9813
|
* with the `spawnCustomGridEntity` helper function.
|
|
@@ -9699,7 +9824,7 @@ export declare enum ModCallbackCustom {
|
|
|
9699
9824
|
* ): void {}
|
|
9700
9825
|
* ```
|
|
9701
9826
|
*/
|
|
9702
|
-
POST_GRID_ENTITY_CUSTOM_RENDER =
|
|
9827
|
+
POST_GRID_ENTITY_CUSTOM_RENDER = 40,
|
|
9703
9828
|
/**
|
|
9704
9829
|
* The same as the `POST_GRID_ENTITY_STATE_CHANGED` callback, but only fires for grid entities
|
|
9705
9830
|
* created with the `spawnCustomGridEntity` helper function.
|
|
@@ -9718,7 +9843,7 @@ export declare enum ModCallbackCustom {
|
|
|
9718
9843
|
* ): void {}
|
|
9719
9844
|
* ```
|
|
9720
9845
|
*/
|
|
9721
|
-
POST_GRID_ENTITY_CUSTOM_STATE_CHANGED =
|
|
9846
|
+
POST_GRID_ENTITY_CUSTOM_STATE_CHANGED = 41,
|
|
9722
9847
|
/**
|
|
9723
9848
|
* The same as the `POST_GRID_ENTITY_UPDATE` callback, but only fires for grid entities created
|
|
9724
9849
|
* with the `spawnCustomGridEntity` helper function.
|
|
@@ -9735,7 +9860,7 @@ export declare enum ModCallbackCustom {
|
|
|
9735
9860
|
* ): void {}
|
|
9736
9861
|
* ```
|
|
9737
9862
|
*/
|
|
9738
|
-
POST_GRID_ENTITY_CUSTOM_UPDATE =
|
|
9863
|
+
POST_GRID_ENTITY_CUSTOM_UPDATE = 42,
|
|
9739
9864
|
/**
|
|
9740
9865
|
* Fires when a new grid entity is initialized. Specifically, this is either:
|
|
9741
9866
|
*
|
|
@@ -9757,7 +9882,7 @@ export declare enum ModCallbackCustom {
|
|
|
9757
9882
|
* function postGridEntityInit(gridEntity: GridEntity): void {}
|
|
9758
9883
|
* ```
|
|
9759
9884
|
*/
|
|
9760
|
-
POST_GRID_ENTITY_INIT =
|
|
9885
|
+
POST_GRID_ENTITY_INIT = 43,
|
|
9761
9886
|
/**
|
|
9762
9887
|
* Fires from the `POST_UPDATE` callback when a new grid entity is removed. Specifically, this on
|
|
9763
9888
|
* the frame after it no longer exists (where it did exist a frame ago).
|
|
@@ -9782,7 +9907,7 @@ export declare enum ModCallbackCustom {
|
|
|
9782
9907
|
* ): void {}
|
|
9783
9908
|
* ```
|
|
9784
9909
|
*/
|
|
9785
|
-
POST_GRID_ENTITY_REMOVE =
|
|
9910
|
+
POST_GRID_ENTITY_REMOVE = 44,
|
|
9786
9911
|
/**
|
|
9787
9912
|
* Fires from the `POST_RENDER` callback on every frame that a grid entity exists.
|
|
9788
9913
|
*
|
|
@@ -9799,7 +9924,7 @@ export declare enum ModCallbackCustom {
|
|
|
9799
9924
|
* function postGridEntityRender(gridEntity: GridEntity): void {}
|
|
9800
9925
|
* ```
|
|
9801
9926
|
*/
|
|
9802
|
-
POST_GRID_ENTITY_RENDER =
|
|
9927
|
+
POST_GRID_ENTITY_RENDER = 45,
|
|
9803
9928
|
/**
|
|
9804
9929
|
* Fires from the `POST_UPDATE` callback when a grid entity changes its state. (In this context,
|
|
9805
9930
|
* "state" refers to the `GridEntity.State` field.)
|
|
@@ -9821,7 +9946,7 @@ export declare enum ModCallbackCustom {
|
|
|
9821
9946
|
* ): void {}
|
|
9822
9947
|
* ```
|
|
9823
9948
|
*/
|
|
9824
|
-
POST_GRID_ENTITY_STATE_CHANGED =
|
|
9949
|
+
POST_GRID_ENTITY_STATE_CHANGED = 46,
|
|
9825
9950
|
/**
|
|
9826
9951
|
* Fires from the `POST_UPDATE` callback on every frame that a grid entity exists.
|
|
9827
9952
|
*
|
|
@@ -9838,7 +9963,7 @@ export declare enum ModCallbackCustom {
|
|
|
9838
9963
|
* function postGridEntityUpdate(gridEntity: GridEntity): void {}
|
|
9839
9964
|
* ```
|
|
9840
9965
|
*/
|
|
9841
|
-
POST_GRID_ENTITY_UPDATE =
|
|
9966
|
+
POST_GRID_ENTITY_UPDATE = 47,
|
|
9842
9967
|
/**
|
|
9843
9968
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when the player loses a Holy Mantle
|
|
9844
9969
|
* temporary collectible effect.
|
|
@@ -9861,7 +9986,7 @@ export declare enum ModCallbackCustom {
|
|
|
9861
9986
|
* ): void {}
|
|
9862
9987
|
* ```
|
|
9863
9988
|
*/
|
|
9864
|
-
POST_HOLY_MANTLE_REMOVED =
|
|
9989
|
+
POST_HOLY_MANTLE_REMOVED = 48,
|
|
9865
9990
|
/**
|
|
9866
9991
|
* Fires from `POST_PEFFECT_UPDATE_REORDERED` callback when the player loses charge on their
|
|
9867
9992
|
* active collectible item, implying that the item was just used.
|
|
@@ -9884,7 +10009,7 @@ export declare enum ModCallbackCustom {
|
|
|
9884
10009
|
* ): void {}
|
|
9885
10010
|
* ```
|
|
9886
10011
|
*/
|
|
9887
|
-
POST_ITEM_DISCHARGE =
|
|
10012
|
+
POST_ITEM_DISCHARGE = 49,
|
|
9888
10013
|
/**
|
|
9889
10014
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when an item is no longer queued (i.e.
|
|
9890
10015
|
* when the animation of the player holding the item above their head is finished and the item is
|
|
@@ -9905,7 +10030,7 @@ export declare enum ModCallbackCustom {
|
|
|
9905
10030
|
* ): void {}
|
|
9906
10031
|
* ```
|
|
9907
10032
|
*/
|
|
9908
|
-
POST_ITEM_PICKUP =
|
|
10033
|
+
POST_ITEM_PICKUP = 50,
|
|
9909
10034
|
/**
|
|
9910
10035
|
* Fires on the first `POST_RENDER` frame after a key on the keyboard has been pressed or
|
|
9911
10036
|
* released. (In other words, the callback only fires when the "pressed" status is different than
|
|
@@ -9921,7 +10046,7 @@ export declare enum ModCallbackCustom {
|
|
|
9921
10046
|
* function postKeyboardChanged(keyboard: Keyboard, pressed: boolean): void {}
|
|
9922
10047
|
* ```
|
|
9923
10048
|
*/
|
|
9924
|
-
POST_KEYBOARD_CHANGED =
|
|
10049
|
+
POST_KEYBOARD_CHANGED = 51,
|
|
9925
10050
|
/**
|
|
9926
10051
|
* Fires on the first `POST_KNIFE_UPDATE` frame for each knife.
|
|
9927
10052
|
*
|
|
@@ -9938,7 +10063,7 @@ export declare enum ModCallbackCustom {
|
|
|
9938
10063
|
* function postKnifeInitLate(knife: EntityKnife): void {}
|
|
9939
10064
|
* ```
|
|
9940
10065
|
*/
|
|
9941
|
-
POST_KNIFE_INIT_LATE =
|
|
10066
|
+
POST_KNIFE_INIT_LATE = 52,
|
|
9942
10067
|
/**
|
|
9943
10068
|
* Fires on the first `POST_LASER_UPDATE` frame for each laser.
|
|
9944
10069
|
*
|
|
@@ -9955,7 +10080,7 @@ export declare enum ModCallbackCustom {
|
|
|
9955
10080
|
* function postLaserInitLate(laser: EntityLaser): void {}
|
|
9956
10081
|
* ```
|
|
9957
10082
|
*/
|
|
9958
|
-
POST_LASER_INIT_LATE =
|
|
10083
|
+
POST_LASER_INIT_LATE = 53,
|
|
9959
10084
|
/**
|
|
9960
10085
|
* The same as the vanilla callback of the same name, but fires in the correct order with respect
|
|
9961
10086
|
* to the `POST_GAME_STARTED` and the `POST_NEW_ROOM` callbacks:
|
|
@@ -9981,7 +10106,7 @@ export declare enum ModCallbackCustom {
|
|
|
9981
10106
|
* function postNewLevelReordered(stage: LevelStage, stageType: StageType): void {}
|
|
9982
10107
|
* ```
|
|
9983
10108
|
*/
|
|
9984
|
-
POST_NEW_LEVEL_REORDERED =
|
|
10109
|
+
POST_NEW_LEVEL_REORDERED = 54,
|
|
9985
10110
|
/**
|
|
9986
10111
|
* Fires on the first `POST_NEW_ROOM` or `PRE_ENTITY_SPAWN` callback where being in a new room is
|
|
9987
10112
|
* detected. This is useful because the vanilla `POST_NEW_ROOM` callback fires only after entities
|
|
@@ -9998,7 +10123,7 @@ export declare enum ModCallbackCustom {
|
|
|
9998
10123
|
* function postNewRoomEarly(roomType: RoomType): void {}
|
|
9999
10124
|
* ```
|
|
10000
10125
|
*/
|
|
10001
|
-
POST_NEW_ROOM_EARLY =
|
|
10126
|
+
POST_NEW_ROOM_EARLY = 55,
|
|
10002
10127
|
/**
|
|
10003
10128
|
* The same as the vanilla callback of the same name, but fires in the correct order with respect
|
|
10004
10129
|
* to the `POST_GAME_STARTED` and the `POST_NEW_LEVEL` callbacks:
|
|
@@ -10021,7 +10146,7 @@ export declare enum ModCallbackCustom {
|
|
|
10021
10146
|
* function postNewRoomReordered(roomType: RoomType): void {}
|
|
10022
10147
|
* ```
|
|
10023
10148
|
*/
|
|
10024
|
-
POST_NEW_ROOM_REORDERED =
|
|
10149
|
+
POST_NEW_ROOM_REORDERED = 56,
|
|
10025
10150
|
/**
|
|
10026
10151
|
* The exact same thing as the vanilla `POST_NPC_DEATH` callback, except this callback allows you
|
|
10027
10152
|
* to specify extra arguments for additional filtration.
|
|
@@ -10038,7 +10163,7 @@ export declare enum ModCallbackCustom {
|
|
|
10038
10163
|
* function postNPCDeathFilter(npc: EntityNPC): void {}
|
|
10039
10164
|
* ```
|
|
10040
10165
|
*/
|
|
10041
|
-
POST_NPC_DEATH_FILTER =
|
|
10166
|
+
POST_NPC_DEATH_FILTER = 57,
|
|
10042
10167
|
/**
|
|
10043
10168
|
* The exact same thing as the vanilla `POST_NPC_INIT` callback, except this callback allows you
|
|
10044
10169
|
* to specify extra arguments for additional filtration.
|
|
@@ -10055,7 +10180,7 @@ export declare enum ModCallbackCustom {
|
|
|
10055
10180
|
* function postNPCInitFilter(npc: EntityNPC): void {}
|
|
10056
10181
|
* ```
|
|
10057
10182
|
*/
|
|
10058
|
-
POST_NPC_INIT_FILTER =
|
|
10183
|
+
POST_NPC_INIT_FILTER = 58,
|
|
10059
10184
|
/**
|
|
10060
10185
|
* Fires on the first `NPC_UPDATE` frame for each NPC.
|
|
10061
10186
|
*
|
|
@@ -10074,7 +10199,7 @@ export declare enum ModCallbackCustom {
|
|
|
10074
10199
|
* function postNPCInitLate(npc: EntityNPC): void {}
|
|
10075
10200
|
* ```
|
|
10076
10201
|
*/
|
|
10077
|
-
POST_NPC_INIT_LATE =
|
|
10202
|
+
POST_NPC_INIT_LATE = 59,
|
|
10078
10203
|
/**
|
|
10079
10204
|
* The exact same thing as the vanilla `POST_NPC_RENDER` callback, except this callback allows you
|
|
10080
10205
|
* to specify extra arguments for additional filtration.
|
|
@@ -10091,7 +10216,7 @@ export declare enum ModCallbackCustom {
|
|
|
10091
10216
|
* function postNPCRenderFilter(npc: EntityNPC, renderOffset: Vector): void {}
|
|
10092
10217
|
* ```
|
|
10093
10218
|
*/
|
|
10094
|
-
POST_NPC_RENDER_FILTER =
|
|
10219
|
+
POST_NPC_RENDER_FILTER = 60,
|
|
10095
10220
|
/**
|
|
10096
10221
|
* Fires from the `POST_NPC_UPDATE` callback when an NPC's state has changed from what it was on
|
|
10097
10222
|
* the previous frame. (In this context, "state" refers to the `EntityNPC.State` field.)
|
|
@@ -10112,7 +10237,7 @@ export declare enum ModCallbackCustom {
|
|
|
10112
10237
|
* ): void {}
|
|
10113
10238
|
* ```
|
|
10114
10239
|
*/
|
|
10115
|
-
POST_NPC_STATE_CHANGED =
|
|
10240
|
+
POST_NPC_STATE_CHANGED = 61,
|
|
10116
10241
|
/**
|
|
10117
10242
|
* The exact same thing as the vanilla `POST_NPC_UPDATE` callback, except this callback allows you
|
|
10118
10243
|
* to specify extra arguments for additional filtration.
|
|
@@ -10129,7 +10254,7 @@ export declare enum ModCallbackCustom {
|
|
|
10129
10254
|
* function postNPCUpdateFilter(npc: EntityNPC): void {}
|
|
10130
10255
|
* ```
|
|
10131
10256
|
*/
|
|
10132
|
-
POST_NPC_UPDATE_FILTER =
|
|
10257
|
+
POST_NPC_UPDATE_FILTER = 62,
|
|
10133
10258
|
/**
|
|
10134
10259
|
* Similar to the vanilla callback of the same name, but fires after the
|
|
10135
10260
|
* `POST_GAME_STARTED_REORDERED` callback fires (if the player is being updated on the 0th game
|
|
@@ -10154,7 +10279,7 @@ export declare enum ModCallbackCustom {
|
|
|
10154
10279
|
* function postPEffectUpdateReordered(player: EntityPlayer): void {}
|
|
10155
10280
|
* ```
|
|
10156
10281
|
*/
|
|
10157
|
-
POST_PEFFECT_UPDATE_REORDERED =
|
|
10282
|
+
POST_PEFFECT_UPDATE_REORDERED = 63,
|
|
10158
10283
|
/**
|
|
10159
10284
|
* Fires from the `POST_PICKUP_UPDATE` callback when a pickup has a different variant or sub-type
|
|
10160
10285
|
* than what it was on the previous frame.
|
|
@@ -10175,7 +10300,7 @@ export declare enum ModCallbackCustom {
|
|
|
10175
10300
|
* ): void {}
|
|
10176
10301
|
* ```
|
|
10177
10302
|
*/
|
|
10178
|
-
POST_PICKUP_CHANGED =
|
|
10303
|
+
POST_PICKUP_CHANGED = 64,
|
|
10179
10304
|
/**
|
|
10180
10305
|
* Fires on the first `POST_RENDER` frame that a pickup plays the "Collect" animation.
|
|
10181
10306
|
*
|
|
@@ -10194,7 +10319,7 @@ export declare enum ModCallbackCustom {
|
|
|
10194
10319
|
* function postPickupCollect(pickup: EntityPickup, player: EntityPlayer): void {}
|
|
10195
10320
|
* ```
|
|
10196
10321
|
*/
|
|
10197
|
-
POST_PICKUP_COLLECT =
|
|
10322
|
+
POST_PICKUP_COLLECT = 65,
|
|
10198
10323
|
/**
|
|
10199
10324
|
* The exact same thing as the vanilla `POST_PICKUP_INIT` callback, except this callback allows
|
|
10200
10325
|
* you to specify extra arguments for additional filtration.
|
|
@@ -10209,7 +10334,7 @@ export declare enum ModCallbackCustom {
|
|
|
10209
10334
|
* function postPickupInitFilter(pickup: EntityPickup): void {}
|
|
10210
10335
|
* ```
|
|
10211
10336
|
*/
|
|
10212
|
-
POST_PICKUP_INIT_FILTER =
|
|
10337
|
+
POST_PICKUP_INIT_FILTER = 66,
|
|
10213
10338
|
/**
|
|
10214
10339
|
* Fires from the `POST_PICKUP_INIT` callback on the first time that a player has seen the
|
|
10215
10340
|
* respective pickup on the run.
|
|
@@ -10227,7 +10352,7 @@ export declare enum ModCallbackCustom {
|
|
|
10227
10352
|
* function postPickupInitFirst(pickup: EntityPickup): void {}
|
|
10228
10353
|
* ```
|
|
10229
10354
|
*/
|
|
10230
|
-
POST_PICKUP_INIT_FIRST =
|
|
10355
|
+
POST_PICKUP_INIT_FIRST = 67,
|
|
10231
10356
|
/**
|
|
10232
10357
|
* Fires on the first `POST_PICKUP_UPDATE` frame for each pickup.
|
|
10233
10358
|
*
|
|
@@ -10244,7 +10369,7 @@ export declare enum ModCallbackCustom {
|
|
|
10244
10369
|
* function postPickupInitLate(pickup: EntityPickup): void {}
|
|
10245
10370
|
* ```
|
|
10246
10371
|
*/
|
|
10247
|
-
POST_PICKUP_INIT_LATE =
|
|
10372
|
+
POST_PICKUP_INIT_LATE = 68,
|
|
10248
10373
|
/**
|
|
10249
10374
|
* The exact same thing as the vanilla `POST_PICKUP_RENDER` callback, except this callback allows
|
|
10250
10375
|
* you to specify extra arguments for additional filtration.
|
|
@@ -10259,7 +10384,7 @@ export declare enum ModCallbackCustom {
|
|
|
10259
10384
|
* function postPickupRenderFilter(pickup: EntityPickup, renderOffset: Vector): void {}
|
|
10260
10385
|
* ```
|
|
10261
10386
|
*/
|
|
10262
|
-
POST_PICKUP_RENDER_FILTER =
|
|
10387
|
+
POST_PICKUP_RENDER_FILTER = 69,
|
|
10263
10388
|
/**
|
|
10264
10389
|
* The exact same thing as the vanilla `POST_PICKUP_SELECTION` callback, except this callback
|
|
10265
10390
|
* allows you to specify extra arguments for additional filtration.
|
|
@@ -10278,7 +10403,7 @@ export declare enum ModCallbackCustom {
|
|
|
10278
10403
|
* ): [PickupVariant, int] | undefined {}
|
|
10279
10404
|
* ```
|
|
10280
10405
|
*/
|
|
10281
|
-
POST_PICKUP_SELECTION_FILTER =
|
|
10406
|
+
POST_PICKUP_SELECTION_FILTER = 70,
|
|
10282
10407
|
/**
|
|
10283
10408
|
* Fires from the `POST_PICKUP_UPDATE` callback when a pickup's state has changed from what it was
|
|
10284
10409
|
* on the previous frame. (In this context, "state" refers to the `EntityPickup.State` field.)
|
|
@@ -10297,7 +10422,7 @@ export declare enum ModCallbackCustom {
|
|
|
10297
10422
|
* ): void {}
|
|
10298
10423
|
* ```
|
|
10299
10424
|
*/
|
|
10300
|
-
POST_PICKUP_STATE_CHANGED =
|
|
10425
|
+
POST_PICKUP_STATE_CHANGED = 71,
|
|
10301
10426
|
/**
|
|
10302
10427
|
* The exact same thing as the vanilla `POST_PICKUP_UPDATE` callback, except this callback allows
|
|
10303
10428
|
* you to specify extra arguments for additional filtration.
|
|
@@ -10312,7 +10437,7 @@ export declare enum ModCallbackCustom {
|
|
|
10312
10437
|
* function postPickupUpdateFilter(pickup: EntityPickup): void {}
|
|
10313
10438
|
* ```
|
|
10314
10439
|
*/
|
|
10315
|
-
POST_PICKUP_UPDATE_FILTER =
|
|
10440
|
+
POST_PICKUP_UPDATE_FILTER = 72,
|
|
10316
10441
|
/**
|
|
10317
10442
|
* Fires from the `POST_RENDER` callback on every frame that a pit exists.
|
|
10318
10443
|
*
|
|
@@ -10324,7 +10449,7 @@ export declare enum ModCallbackCustom {
|
|
|
10324
10449
|
* function postPitRender(pit: GridEntityPit): void {}
|
|
10325
10450
|
* ```
|
|
10326
10451
|
*/
|
|
10327
|
-
POST_PIT_RENDER =
|
|
10452
|
+
POST_PIT_RENDER = 73,
|
|
10328
10453
|
/**
|
|
10329
10454
|
* Fires from the `POST_UPDATE` callback on every frame that a pit exists.
|
|
10330
10455
|
*
|
|
@@ -10336,7 +10461,7 @@ export declare enum ModCallbackCustom {
|
|
|
10336
10461
|
* function postPitUpdate(pit: GridEntityPit): void {}
|
|
10337
10462
|
* ```
|
|
10338
10463
|
*/
|
|
10339
|
-
POST_PIT_UPDATE =
|
|
10464
|
+
POST_PIT_UPDATE = 74,
|
|
10340
10465
|
/**
|
|
10341
10466
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player's health (i.e. hearts) is
|
|
10342
10467
|
* different than what it was on the previous frame. For more information, see the `PlayerHealth`
|
|
@@ -10358,7 +10483,7 @@ export declare enum ModCallbackCustom {
|
|
|
10358
10483
|
* ): void {}
|
|
10359
10484
|
* ```
|
|
10360
10485
|
*/
|
|
10361
|
-
POST_PLAYER_CHANGE_HEALTH =
|
|
10486
|
+
POST_PLAYER_CHANGE_HEALTH = 75,
|
|
10362
10487
|
/**
|
|
10363
10488
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when one of the player's stats change
|
|
10364
10489
|
* from what they were on the previous frame.
|
|
@@ -10388,7 +10513,7 @@ export declare enum ModCallbackCustom {
|
|
|
10388
10513
|
* ) => void {}
|
|
10389
10514
|
* ```
|
|
10390
10515
|
*/
|
|
10391
|
-
POST_PLAYER_CHANGE_STAT =
|
|
10516
|
+
POST_PLAYER_CHANGE_STAT = 76,
|
|
10392
10517
|
/**
|
|
10393
10518
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player entity changes its player
|
|
10394
10519
|
* type
|
|
@@ -10411,7 +10536,7 @@ export declare enum ModCallbackCustom {
|
|
|
10411
10536
|
* ): void {}
|
|
10412
10537
|
* ```
|
|
10413
10538
|
*/
|
|
10414
|
-
POST_PLAYER_CHANGE_TYPE =
|
|
10539
|
+
POST_PLAYER_CHANGE_TYPE = 77,
|
|
10415
10540
|
/**
|
|
10416
10541
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player's collectible count is
|
|
10417
10542
|
* higher than what it was on the previous frame, or when the active items change, or when the
|
|
@@ -10428,7 +10553,7 @@ export declare enum ModCallbackCustom {
|
|
|
10428
10553
|
* ): void {}
|
|
10429
10554
|
* ```
|
|
10430
10555
|
*/
|
|
10431
|
-
POST_PLAYER_COLLECTIBLE_ADDED =
|
|
10556
|
+
POST_PLAYER_COLLECTIBLE_ADDED = 78,
|
|
10432
10557
|
/**
|
|
10433
10558
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player's collectible count is
|
|
10434
10559
|
* lower than what it was on the previous frame, or when the active items change, or when the
|
|
@@ -10445,7 +10570,7 @@ export declare enum ModCallbackCustom {
|
|
|
10445
10570
|
* ): void {}
|
|
10446
10571
|
* ```
|
|
10447
10572
|
*/
|
|
10448
|
-
POST_PLAYER_COLLECTIBLE_REMOVED =
|
|
10573
|
+
POST_PLAYER_COLLECTIBLE_REMOVED = 79,
|
|
10449
10574
|
/**
|
|
10450
10575
|
* Fires from the `ENTITY_TAKE_DMG` callback when a player takes fatal damage. Return false to
|
|
10451
10576
|
* prevent the fatal damage.
|
|
@@ -10463,7 +10588,7 @@ export declare enum ModCallbackCustom {
|
|
|
10463
10588
|
* function postPlayerFatalDamage(player: EntityPlayer): boolean | undefined {}
|
|
10464
10589
|
* ```
|
|
10465
10590
|
*/
|
|
10466
|
-
POST_PLAYER_FATAL_DAMAGE =
|
|
10591
|
+
POST_PLAYER_FATAL_DAMAGE = 80,
|
|
10467
10592
|
/**
|
|
10468
10593
|
* Fires on the first `POST_PEFFECT_UPDATE_REORDERED` frame for each player, similar to the
|
|
10469
10594
|
* `POST_PLAYER_INIT_LATE` callback, with two changes:
|
|
@@ -10485,7 +10610,7 @@ export declare enum ModCallbackCustom {
|
|
|
10485
10610
|
* function postPlayerInitFirst(player: EntityPlayer): void {}
|
|
10486
10611
|
* ```
|
|
10487
10612
|
*/
|
|
10488
|
-
POST_PLAYER_INIT_FIRST =
|
|
10613
|
+
POST_PLAYER_INIT_FIRST = 81,
|
|
10489
10614
|
/**
|
|
10490
10615
|
* Fires on the first `POST_PEFFECT_UPDATE_REORDERED` frame for each player.
|
|
10491
10616
|
*
|
|
@@ -10505,7 +10630,7 @@ export declare enum ModCallbackCustom {
|
|
|
10505
10630
|
* function postPlayerInitLate(pickup: EntityPickup): void {}
|
|
10506
10631
|
* ```
|
|
10507
10632
|
*/
|
|
10508
|
-
POST_PLAYER_INIT_LATE =
|
|
10633
|
+
POST_PLAYER_INIT_LATE = 82,
|
|
10509
10634
|
/**
|
|
10510
10635
|
* Similar to the vanilla callback of the same name, but fires after the `POST_GAME_STARTED`
|
|
10511
10636
|
* callback fires (if the player is spawning on the 0th game frame of the run).
|
|
@@ -10529,7 +10654,7 @@ export declare enum ModCallbackCustom {
|
|
|
10529
10654
|
* function postPlayerRenderReordered(player: EntityPlayer, renderOffset: Vector): void {}
|
|
10530
10655
|
* ```
|
|
10531
10656
|
*/
|
|
10532
|
-
POST_PLAYER_RENDER_REORDERED =
|
|
10657
|
+
POST_PLAYER_RENDER_REORDERED = 83,
|
|
10533
10658
|
/**
|
|
10534
10659
|
* Similar to the vanilla callback of the same name, but fires after the
|
|
10535
10660
|
* `POST_GAME_STARTED_REORDERED` callback fires (if the player is being updated on the 0th game
|
|
@@ -10554,7 +10679,7 @@ export declare enum ModCallbackCustom {
|
|
|
10554
10679
|
* function postPlayerUpdateReordered(player: EntityPlayer): void {}
|
|
10555
10680
|
* ```
|
|
10556
10681
|
*/
|
|
10557
|
-
POST_PLAYER_UPDATE_REORDERED =
|
|
10682
|
+
POST_PLAYER_UPDATE_REORDERED = 84,
|
|
10558
10683
|
/**
|
|
10559
10684
|
* Fires from the `POST_RENDER` callback on every frame that a poop exists.
|
|
10560
10685
|
*
|
|
@@ -10566,7 +10691,7 @@ export declare enum ModCallbackCustom {
|
|
|
10566
10691
|
* function postPoopRender(poop: GridEntityPoop): void {}
|
|
10567
10692
|
* ```
|
|
10568
10693
|
*/
|
|
10569
|
-
POST_POOP_RENDER =
|
|
10694
|
+
POST_POOP_RENDER = 85,
|
|
10570
10695
|
/**
|
|
10571
10696
|
* Fires from the `POST_UPDATE` callback on every frame that a poop exists.
|
|
10572
10697
|
*
|
|
@@ -10578,7 +10703,7 @@ export declare enum ModCallbackCustom {
|
|
|
10578
10703
|
* function postPoopUpdate(poop: GridEntityPoop): void {}
|
|
10579
10704
|
* ```
|
|
10580
10705
|
*/
|
|
10581
|
-
POST_POOP_UPDATE =
|
|
10706
|
+
POST_POOP_UPDATE = 86,
|
|
10582
10707
|
/**
|
|
10583
10708
|
* Fires from the `POST_RENDER` callback on every frame that a pressure plate exists.
|
|
10584
10709
|
*
|
|
@@ -10590,7 +10715,7 @@ export declare enum ModCallbackCustom {
|
|
|
10590
10715
|
* function postPressurePlateRender(pressurePlate: GridEntityPressurePlate): void {}
|
|
10591
10716
|
* ```
|
|
10592
10717
|
*/
|
|
10593
|
-
POST_PRESSURE_PLATE_RENDER =
|
|
10718
|
+
POST_PRESSURE_PLATE_RENDER = 87,
|
|
10594
10719
|
/**
|
|
10595
10720
|
* Fires from the `POST_UPDATE` callback on every frame that a pressure plate exists.
|
|
10596
10721
|
*
|
|
@@ -10602,7 +10727,7 @@ export declare enum ModCallbackCustom {
|
|
|
10602
10727
|
* function postPressurePlateUpdate(pressurePlate: GridEntityPressurePlate): void {}
|
|
10603
10728
|
* ```
|
|
10604
10729
|
*/
|
|
10605
|
-
POST_PRESSURE_PLATE_UPDATE =
|
|
10730
|
+
POST_PRESSURE_PLATE_UPDATE = 88,
|
|
10606
10731
|
/**
|
|
10607
10732
|
* Fires on the first `POST_PROJECTILE_UPDATE` frame for each projectile.
|
|
10608
10733
|
*
|
|
@@ -10619,7 +10744,7 @@ export declare enum ModCallbackCustom {
|
|
|
10619
10744
|
* function postProjectileInitLate(projectile: EntityProjectile): void {}
|
|
10620
10745
|
* ```
|
|
10621
10746
|
*/
|
|
10622
|
-
POST_PROJECTILE_INIT_LATE =
|
|
10747
|
+
POST_PROJECTILE_INIT_LATE = 89,
|
|
10623
10748
|
/**
|
|
10624
10749
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player first picks up a new
|
|
10625
10750
|
* item. The pickup returned in the callback is assumed to be the first pickup that no longer
|
|
@@ -10635,7 +10760,7 @@ export declare enum ModCallbackCustom {
|
|
|
10635
10760
|
* function postPurchase(player: EntityPlayer, pickup: EntityPickup): void {}
|
|
10636
10761
|
* ```
|
|
10637
10762
|
*/
|
|
10638
|
-
POST_PURCHASE =
|
|
10763
|
+
POST_PURCHASE = 90,
|
|
10639
10764
|
/**
|
|
10640
10765
|
* Fires from the `POST_RENDER` callback on every frame that a rock exists.
|
|
10641
10766
|
*
|
|
@@ -10649,7 +10774,7 @@ export declare enum ModCallbackCustom {
|
|
|
10649
10774
|
* function postRockRender(rock: GridEntityRock): void {}
|
|
10650
10775
|
* ```
|
|
10651
10776
|
*/
|
|
10652
|
-
POST_ROCK_RENDER =
|
|
10777
|
+
POST_ROCK_RENDER = 91,
|
|
10653
10778
|
/**
|
|
10654
10779
|
* Fires from the `POST_UPDATE` callback on every frame that a rock exists.
|
|
10655
10780
|
*
|
|
@@ -10663,7 +10788,7 @@ export declare enum ModCallbackCustom {
|
|
|
10663
10788
|
* function postRockUpdate(rock: GridEntityRock): void {}
|
|
10664
10789
|
* ```
|
|
10665
10790
|
*/
|
|
10666
|
-
POST_ROCK_UPDATE =
|
|
10791
|
+
POST_ROCK_UPDATE = 92,
|
|
10667
10792
|
/**
|
|
10668
10793
|
* Fires from the `POST_UPDATE` callback when the clear state of a room changes (as according to
|
|
10669
10794
|
* the `Room.IsClear` method).
|
|
@@ -10680,7 +10805,7 @@ export declare enum ModCallbackCustom {
|
|
|
10680
10805
|
* function postRoomClearChanged(roomClear: boolean): void {}
|
|
10681
10806
|
* ```
|
|
10682
10807
|
*/
|
|
10683
|
-
POST_ROOM_CLEAR_CHANGED =
|
|
10808
|
+
POST_ROOM_CLEAR_CHANGED = 93,
|
|
10684
10809
|
/**
|
|
10685
10810
|
* Fires from the `ENTITY_TAKE_DMG` callback when a player takes damage from spikes in a Sacrifice
|
|
10686
10811
|
* Room.
|
|
@@ -10695,7 +10820,7 @@ export declare enum ModCallbackCustom {
|
|
|
10695
10820
|
* function postSacrifice(player: EntityPlayer, numSacrifices: int): void {}
|
|
10696
10821
|
* ```
|
|
10697
10822
|
*/
|
|
10698
|
-
POST_SACRIFICE =
|
|
10823
|
+
POST_SACRIFICE = 94,
|
|
10699
10824
|
/**
|
|
10700
10825
|
* Fires from the `POST_RENDER` callback when a slot entity's animation changes.
|
|
10701
10826
|
*
|
|
@@ -10713,7 +10838,7 @@ export declare enum ModCallbackCustom {
|
|
|
10713
10838
|
* ): void {}
|
|
10714
10839
|
* ```
|
|
10715
10840
|
*/
|
|
10716
|
-
POST_SLOT_ANIMATION_CHANGED =
|
|
10841
|
+
POST_SLOT_ANIMATION_CHANGED = 95,
|
|
10717
10842
|
/**
|
|
10718
10843
|
* Fires from the `PRE_PLAYER_COLLISION` callback when when a player collides with a slot entity.
|
|
10719
10844
|
* (It will not fire if any other type of entity collides with the slot entity.)
|
|
@@ -10737,7 +10862,7 @@ export declare enum ModCallbackCustom {
|
|
|
10737
10862
|
* ): void {}
|
|
10738
10863
|
* ```
|
|
10739
10864
|
*/
|
|
10740
|
-
POST_SLOT_COLLISION =
|
|
10865
|
+
POST_SLOT_COLLISION = 96,
|
|
10741
10866
|
/**
|
|
10742
10867
|
* Fires from the `POST_SLOT_UPDATE` or the `POST_ENTITY_REMOVE` callback when a slot machine is
|
|
10743
10868
|
* destroyed or a beggar is removed.
|
|
@@ -10779,7 +10904,7 @@ export declare enum ModCallbackCustom {
|
|
|
10779
10904
|
* function postSlotDestroyed(slot: Entity, slotDestructionType: SlotDestructionType): void {}
|
|
10780
10905
|
* ```
|
|
10781
10906
|
*/
|
|
10782
|
-
POST_SLOT_DESTROYED =
|
|
10907
|
+
POST_SLOT_DESTROYED = 97,
|
|
10783
10908
|
/**
|
|
10784
10909
|
* Fires when a new slot entity is initialized. Specifically, this is either:
|
|
10785
10910
|
*
|
|
@@ -10798,7 +10923,7 @@ export declare enum ModCallbackCustom {
|
|
|
10798
10923
|
* function postSlotInit(slot: Entity): void {}
|
|
10799
10924
|
* ```
|
|
10800
10925
|
*/
|
|
10801
|
-
POST_SLOT_INIT =
|
|
10926
|
+
POST_SLOT_INIT = 98,
|
|
10802
10927
|
/**
|
|
10803
10928
|
* Fires from the `POST_RENDER` callback on every frame that a slot entity exists.
|
|
10804
10929
|
*
|
|
@@ -10812,7 +10937,7 @@ export declare enum ModCallbackCustom {
|
|
|
10812
10937
|
* function postSlotRender(slot: Entity): void {}
|
|
10813
10938
|
* ```
|
|
10814
10939
|
*/
|
|
10815
|
-
POST_SLOT_RENDER =
|
|
10940
|
+
POST_SLOT_RENDER = 99,
|
|
10816
10941
|
/**
|
|
10817
10942
|
* Fires from the `POST_UPDATE` callback on every frame that a slot entity exists.
|
|
10818
10943
|
*
|
|
@@ -10826,7 +10951,7 @@ export declare enum ModCallbackCustom {
|
|
|
10826
10951
|
* function postSlotUpdate(slot: Entity): void {}
|
|
10827
10952
|
* ```
|
|
10828
10953
|
*/
|
|
10829
|
-
POST_SLOT_UPDATE =
|
|
10954
|
+
POST_SLOT_UPDATE = 100,
|
|
10830
10955
|
/**
|
|
10831
10956
|
* Fires from the `POST_RENDER` callback on every frame that spikes exist.
|
|
10832
10957
|
*
|
|
@@ -10838,7 +10963,7 @@ export declare enum ModCallbackCustom {
|
|
|
10838
10963
|
* function postSpikesRender(spikes: GridEntitySpikes): void {}
|
|
10839
10964
|
* ```
|
|
10840
10965
|
*/
|
|
10841
|
-
POST_SPIKES_RENDER =
|
|
10966
|
+
POST_SPIKES_RENDER = 101,
|
|
10842
10967
|
/**
|
|
10843
10968
|
* Fires from the `POST_UPDATE` callback on every frame that spikes exist.
|
|
10844
10969
|
*
|
|
@@ -10850,7 +10975,7 @@ export declare enum ModCallbackCustom {
|
|
|
10850
10975
|
* function postSpikesUpdate(spikes: GridEntitySpikes): void {}
|
|
10851
10976
|
* ```
|
|
10852
10977
|
*/
|
|
10853
|
-
POST_SPIKES_UPDATE =
|
|
10978
|
+
POST_SPIKES_UPDATE = 102,
|
|
10854
10979
|
/**
|
|
10855
10980
|
* Fires on the first `POST_TEAR_UPDATE` frame for each tear (which is when
|
|
10856
10981
|
* `EntityTear.FrameCount` is equal to 0).
|
|
@@ -10868,7 +10993,7 @@ export declare enum ModCallbackCustom {
|
|
|
10868
10993
|
* function postTearInitLate(tear: EntityTear): void {}
|
|
10869
10994
|
* ```
|
|
10870
10995
|
*/
|
|
10871
|
-
POST_TEAR_INIT_LATE =
|
|
10996
|
+
POST_TEAR_INIT_LATE = 103,
|
|
10872
10997
|
/**
|
|
10873
10998
|
* Fires on the second `POST_TEAR_UPDATE` frame for each tear (which is when
|
|
10874
10999
|
* `EntityTear.FrameCount` is equal to 1).
|
|
@@ -10885,7 +11010,7 @@ export declare enum ModCallbackCustom {
|
|
|
10885
11010
|
* function postTearInitVeryLate(tear: EntityTear): void {}
|
|
10886
11011
|
* ```
|
|
10887
11012
|
*/
|
|
10888
|
-
POST_TEAR_INIT_VERY_LATE =
|
|
11013
|
+
POST_TEAR_INIT_VERY_LATE = 104,
|
|
10889
11014
|
/**
|
|
10890
11015
|
* Fires from the `POST_RENDER` callback on every frame that a TNT exists.
|
|
10891
11016
|
*
|
|
@@ -10897,7 +11022,7 @@ export declare enum ModCallbackCustom {
|
|
|
10897
11022
|
* function postTNTRender(tnt: GridEntityTNT): void {}
|
|
10898
11023
|
* ```
|
|
10899
11024
|
*/
|
|
10900
|
-
POST_TNT_RENDER =
|
|
11025
|
+
POST_TNT_RENDER = 105,
|
|
10901
11026
|
/**
|
|
10902
11027
|
* Fires from the `POST_UPDATE` callback on every frame that a TNT exists.
|
|
10903
11028
|
*
|
|
@@ -10909,7 +11034,7 @@ export declare enum ModCallbackCustom {
|
|
|
10909
11034
|
* function postTNTUpdate(tnt: GridEntityTNT): void {}
|
|
10910
11035
|
* ```
|
|
10911
11036
|
*/
|
|
10912
|
-
POST_TNT_UPDATE =
|
|
11037
|
+
POST_TNT_UPDATE = 106,
|
|
10913
11038
|
/**
|
|
10914
11039
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player gains or loses a new
|
|
10915
11040
|
* transformation.
|
|
@@ -10928,7 +11053,7 @@ export declare enum ModCallbackCustom {
|
|
|
10928
11053
|
* ): void {}
|
|
10929
11054
|
* ```
|
|
10930
11055
|
*/
|
|
10931
|
-
POST_TRANSFORMATION =
|
|
11056
|
+
POST_TRANSFORMATION = 107,
|
|
10932
11057
|
/**
|
|
10933
11058
|
* Fires from `ENTITY_TAKE_DMG` callback when a Wishbone or a Walnut breaks.
|
|
10934
11059
|
*
|
|
@@ -10943,7 +11068,7 @@ export declare enum ModCallbackCustom {
|
|
|
10943
11068
|
* ): void {}
|
|
10944
11069
|
* ```
|
|
10945
11070
|
*/
|
|
10946
|
-
POST_TRINKET_BREAK =
|
|
11071
|
+
POST_TRINKET_BREAK = 108,
|
|
10947
11072
|
/**
|
|
10948
11073
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback on the frame before a Berserk effect
|
|
10949
11074
|
* ends when the player is predicted to die (e.g. they currently have no health left or they took
|
|
@@ -10959,7 +11084,7 @@ export declare enum ModCallbackCustom {
|
|
|
10959
11084
|
* function preBerserkDeath(player: EntityPlayer): void {}
|
|
10960
11085
|
* ```
|
|
10961
11086
|
*/
|
|
10962
|
-
PRE_BERSERK_DEATH =
|
|
11087
|
+
PRE_BERSERK_DEATH = 109,
|
|
10963
11088
|
/**
|
|
10964
11089
|
* Fires from the `POST_PLAYER_FATAL_DAMAGE` callback when a player is about to die. If you want
|
|
10965
11090
|
* to initiate a custom revival, return an integer that corresponds to the item or type of revival
|
|
@@ -10978,7 +11103,7 @@ export declare enum ModCallbackCustom {
|
|
|
10978
11103
|
* function preCustomRevive(player: EntityPlayer): int | undefined {}
|
|
10979
11104
|
* ```
|
|
10980
11105
|
*/
|
|
10981
|
-
PRE_CUSTOM_REVIVE =
|
|
11106
|
+
PRE_CUSTOM_REVIVE = 110,
|
|
10982
11107
|
/**
|
|
10983
11108
|
* The exact same thing as the vanilla `PRE_ENTITY_SPAWN` callback, except this callback allows
|
|
10984
11109
|
* you to specify extra arguments for additional filtration.
|
|
@@ -11003,7 +11128,26 @@ export declare enum ModCallbackCustom {
|
|
|
11003
11128
|
* ): [EntityType, int, int, int] | undefined {}
|
|
11004
11129
|
* ```
|
|
11005
11130
|
*/
|
|
11006
|
-
PRE_ENTITY_SPAWN_FILTER =
|
|
11131
|
+
PRE_ENTITY_SPAWN_FILTER = 111,
|
|
11132
|
+
/**
|
|
11133
|
+
* The exact same thing as the vanilla `PRE_FAMILIAR_COLLISION` callback, except this callback
|
|
11134
|
+
* allows you to specify extra arguments for additional filtration.
|
|
11135
|
+
*
|
|
11136
|
+
* When registering the callback with the `ModUpgraded.AddCallbackCustom` method:
|
|
11137
|
+
* - You can provide an optional third argument that will make the callback only fire if it
|
|
11138
|
+
* matches the `FamiliarVariant` provided.
|
|
11139
|
+
* - You can provide an optional fourth argument that will make the callback only fire if it
|
|
11140
|
+
* matches the sub-type provided.
|
|
11141
|
+
*
|
|
11142
|
+
* ```ts
|
|
11143
|
+
* function preFamiliarCollisionFilter(
|
|
11144
|
+
* familiar: EntityFamiliar,
|
|
11145
|
+
* collider: Entity,
|
|
11146
|
+
* low: boolean,
|
|
11147
|
+
* ): void {}
|
|
11148
|
+
* ```
|
|
11149
|
+
*/
|
|
11150
|
+
PRE_FAMILIAR_COLLISION_FILTER = 112,
|
|
11007
11151
|
/**
|
|
11008
11152
|
* Fires from the `PRE_PICKUP_COLLISION` callback when a player touches a collectible pedestal and
|
|
11009
11153
|
* meets all of the conditions to pick it up.
|
|
@@ -11023,7 +11167,7 @@ export declare enum ModCallbackCustom {
|
|
|
11023
11167
|
* function preGetPedestal(player: EntityPlayer, collectible: EntityPickupCollectible): void {}
|
|
11024
11168
|
* ```
|
|
11025
11169
|
*/
|
|
11026
|
-
PRE_GET_PEDESTAL =
|
|
11170
|
+
PRE_GET_PEDESTAL = 113,
|
|
11027
11171
|
/**
|
|
11028
11172
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when an item becomes queued (i.e. when
|
|
11029
11173
|
* the player begins to hold the item above their head).
|
|
@@ -11043,7 +11187,7 @@ export declare enum ModCallbackCustom {
|
|
|
11043
11187
|
* ): void {}
|
|
11044
11188
|
* ```
|
|
11045
11189
|
*/
|
|
11046
|
-
PRE_ITEM_PICKUP =
|
|
11190
|
+
PRE_ITEM_PICKUP = 114,
|
|
11047
11191
|
/**
|
|
11048
11192
|
* Fires on the `POST_RENDER` frame before the player is taken to a new floor. Only fires when a
|
|
11049
11193
|
* player jumps into a trapdoor or enters a heaven door (beam of light). Does not fire on the
|
|
@@ -11057,7 +11201,7 @@ export declare enum ModCallbackCustom {
|
|
|
11057
11201
|
* function preNewLevel(player: EntityPlayer): void {}
|
|
11058
11202
|
* ```
|
|
11059
11203
|
*/
|
|
11060
|
-
PRE_NEW_LEVEL =
|
|
11204
|
+
PRE_NEW_LEVEL = 115,
|
|
11061
11205
|
/**
|
|
11062
11206
|
* The exact same thing as the vanilla `PRE_NPC_COLLISION` callback, except this callback allows
|
|
11063
11207
|
* you to specify extra arguments for additional filtration.
|
|
@@ -11078,7 +11222,7 @@ export declare enum ModCallbackCustom {
|
|
|
11078
11222
|
* ): boolean | undefined {}
|
|
11079
11223
|
* ```
|
|
11080
11224
|
*/
|
|
11081
|
-
PRE_NPC_COLLISION_FILTER =
|
|
11225
|
+
PRE_NPC_COLLISION_FILTER = 116,
|
|
11082
11226
|
/**
|
|
11083
11227
|
* The exact same thing as the vanilla `PRE_NPC_UPDATE` callback, except this callback allows you
|
|
11084
11228
|
* to specify extra arguments for additional filtration.
|
|
@@ -11095,7 +11239,7 @@ export declare enum ModCallbackCustom {
|
|
|
11095
11239
|
* function preNPCUpdateFilter(entity: Entity): boolean | undefined {}
|
|
11096
11240
|
* ```
|
|
11097
11241
|
*/
|
|
11098
|
-
PRE_NPC_UPDATE_FILTER =
|
|
11242
|
+
PRE_NPC_UPDATE_FILTER = 117,
|
|
11099
11243
|
/**
|
|
11100
11244
|
* The exact same thing as the vanilla `PRE_ROOM_ENTITY_SPAWN` callback, except this callback
|
|
11101
11245
|
* allows you to specify extra arguments for additional filtration.
|
|
@@ -11118,7 +11262,7 @@ export declare enum ModCallbackCustom {
|
|
|
11118
11262
|
* ): [EntityType | GridEntityXMLType, int, int] | undefined {}
|
|
11119
11263
|
* ```
|
|
11120
11264
|
*/
|
|
11121
|
-
PRE_ROOM_ENTITY_SPAWN_FILTER =
|
|
11265
|
+
PRE_ROOM_ENTITY_SPAWN_FILTER = 118
|
|
11122
11266
|
}
|
|
11123
11267
|
|
|
11124
11268
|
/**
|