isaacscript-common 15.0.5 → 15.1.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 +107 -49
- package/dist/isaacscript-common.lua +165 -56
- package/dist/src/callbacks.d.ts +52 -48
- package/dist/src/callbacks.d.ts.map +1 -1
- package/dist/src/callbacks.lua +6 -0
- package/dist/src/classes/ModFeature.d.ts +10 -0
- package/dist/src/classes/ModFeature.d.ts.map +1 -1
- package/dist/src/classes/ModFeature.lua +53 -7
- package/dist/src/classes/callbacks/PostNPCInitFilter.d.ts +14 -0
- package/dist/src/classes/callbacks/PostNPCInitFilter.d.ts.map +1 -0
- package/dist/src/classes/callbacks/PostNPCInitFilter.lua +26 -0
- package/dist/src/classes/callbacks/PostNPCUpdateFilter.d.ts +14 -0
- package/dist/src/classes/callbacks/PostNPCUpdateFilter.d.ts.map +1 -0
- package/dist/src/classes/callbacks/PostNPCUpdateFilter.lua +26 -0
- package/dist/src/enums/ModCallbackCustom.d.ts +74 -48
- package/dist/src/enums/ModCallbackCustom.d.ts.map +1 -1
- package/dist/src/enums/ModCallbackCustom.lua +52 -48
- package/dist/src/functions/arrayLua.d.ts +1 -1
- package/dist/src/functions/arrayLua.lua +1 -1
- package/dist/src/functions/decorators.d.ts.map +1 -1
- package/dist/src/functions/decorators.lua +10 -0
- package/dist/src/functions/tears.d.ts +10 -0
- package/dist/src/functions/tears.d.ts.map +1 -1
- package/dist/src/functions/tears.lua +10 -0
- package/dist/src/indexLua.d.ts +169 -0
- package/dist/src/indexLua.d.ts.map +1 -0
- package/dist/src/indexLua.lua +1042 -0
- package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts +12 -0
- package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/callbacks.ts +4 -0
- package/src/classes/ModFeature.ts +74 -6
- package/src/classes/callbacks/PostNPCInitFilter.ts +27 -0
- package/src/classes/callbacks/PostNPCUpdateFilter.ts +27 -0
- package/src/enums/ModCallbackCustom.ts +28 -0
- package/src/functions/arrayLua.ts +1 -1
- package/src/functions/decorators.ts +23 -8
- package/src/functions/tears.ts +10 -0
- package/src/interfaces/private/AddCallbackParametersCustom.ts +14 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
local ____lualib = require("lualib_bundle")
|
|
2
2
|
local __TS__Class = ____lualib.__TS__Class
|
|
3
|
-
local __TS__Spread = ____lualib.__TS__Spread
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local checkAddDecoratedCallbacks, checkAddDecoratedCallbacksCustom, checkRegisterSaveDataManager
|
|
6
5
|
local ____tstlClass = require("src.functions.tstlClass")
|
|
@@ -8,22 +7,60 @@ local getTSTLClassConstructor = ____tstlClass.getTSTLClassConstructor
|
|
|
8
7
|
local getTSTLClassName = ____tstlClass.getTSTLClassName
|
|
9
8
|
local ____types = require("src.functions.types")
|
|
10
9
|
local isTable = ____types.isTable
|
|
11
|
-
function checkAddDecoratedCallbacks(self, mod, modFeatureConstructor)
|
|
10
|
+
function checkAddDecoratedCallbacks(self, mod, modFeatureConstructor, modFeature)
|
|
12
11
|
local addCallbackArgs = modFeatureConstructor[____exports.ADD_CALLBACK_ARGS_KEY]
|
|
13
12
|
if addCallbackArgs == nil then
|
|
14
13
|
return
|
|
15
14
|
end
|
|
15
|
+
local tstlClassName = getTSTLClassName(nil, modFeatureConstructor) or "Unknown"
|
|
16
16
|
for ____, args in ipairs(addCallbackArgs) do
|
|
17
|
-
|
|
17
|
+
local parameters = args
|
|
18
|
+
local modCallback = table.remove(parameters, 1)
|
|
19
|
+
if modCallback == nil then
|
|
20
|
+
error("Failed to get the ModCallback from the parameters for class: " .. tstlClassName)
|
|
21
|
+
end
|
|
22
|
+
local callback = table.remove(parameters, 1)
|
|
23
|
+
if callback == nil then
|
|
24
|
+
error("Failed to get the callback from the parameters for class: " .. tstlClassName)
|
|
25
|
+
end
|
|
26
|
+
--- We need to wrap the callback in a new function so that we can explicitly pass the class as
|
|
27
|
+
-- the first argument. (Otherwise, the method will not be able to properly access `this`.
|
|
28
|
+
local function newCallback(____, ...)
|
|
29
|
+
callback(modFeature, ...)
|
|
30
|
+
end
|
|
31
|
+
mod:AddCallback(
|
|
32
|
+
modCallback,
|
|
33
|
+
newCallback,
|
|
34
|
+
table.unpack(parameters)
|
|
35
|
+
)
|
|
18
36
|
end
|
|
19
37
|
end
|
|
20
|
-
function checkAddDecoratedCallbacksCustom(self, mod, modFeatureConstructor)
|
|
38
|
+
function checkAddDecoratedCallbacksCustom(self, mod, modFeatureConstructor, modFeature)
|
|
21
39
|
local addCallbackCustomArgs = modFeatureConstructor[____exports.ADD_CALLBACK_CUSTOM_ARGS_KEY]
|
|
22
40
|
if addCallbackCustomArgs == nil then
|
|
23
41
|
return
|
|
24
42
|
end
|
|
43
|
+
local tstlClassName = getTSTLClassName(nil, modFeatureConstructor) or "Unknown"
|
|
25
44
|
for ____, args in ipairs(addCallbackCustomArgs) do
|
|
26
|
-
|
|
45
|
+
local parameters = args
|
|
46
|
+
local modCallbackCustom = table.remove(parameters, 1)
|
|
47
|
+
if modCallbackCustom == nil then
|
|
48
|
+
error("Failed to get the ModCallbackCustom from the parameters for class: " .. tstlClassName)
|
|
49
|
+
end
|
|
50
|
+
local callback = table.remove(parameters, 1)
|
|
51
|
+
if callback == nil then
|
|
52
|
+
error("Failed to get the callback from the parameters for class: " .. tstlClassName)
|
|
53
|
+
end
|
|
54
|
+
--- We need to wrap the callback in a new function so that we can explicitly pass the class as
|
|
55
|
+
-- the first argument. (Otherwise, the method will not be able to properly access `this`.
|
|
56
|
+
local function newCallback(____, ...)
|
|
57
|
+
callback(modFeature, ...)
|
|
58
|
+
end
|
|
59
|
+
mod:AddCallbackCustom(
|
|
60
|
+
modCallbackCustom,
|
|
61
|
+
newCallback,
|
|
62
|
+
table.unpack(parameters)
|
|
63
|
+
)
|
|
27
64
|
end
|
|
28
65
|
end
|
|
29
66
|
function checkRegisterSaveDataManager(self, mod, modFeature)
|
|
@@ -49,10 +86,19 @@ ____exports.ADD_CALLBACK_CUSTOM_ARGS_KEY = "__addCallbackCustomArgs"
|
|
|
49
86
|
-- mod features from this class in order to enable the `@Callback` and `@CustomCallback` decorators
|
|
50
87
|
-- that automatically subscribe to callbacks.
|
|
51
88
|
--
|
|
89
|
+
-- If your feature has variables that are managed by the save data manager, put them as a `v` class
|
|
90
|
+
-- member and they will automatically be registered with the save data manager when the class is
|
|
91
|
+
-- instantiated.
|
|
92
|
+
--
|
|
52
93
|
-- For example:
|
|
53
94
|
--
|
|
54
95
|
-- ```ts
|
|
55
96
|
-- export class MyFeature extends ModFeature {
|
|
97
|
+
-- v = {
|
|
98
|
+
-- run: {
|
|
99
|
+
-- foo: 123,
|
|
100
|
+
-- }
|
|
101
|
+
-- }
|
|
56
102
|
--
|
|
57
103
|
-- @Callback (ModCallback.POST_GAME_STARTED)
|
|
58
104
|
-- postGameStarted(isContinued: boolean): void {
|
|
@@ -69,8 +115,8 @@ function ModFeature.prototype.____constructor(self, mod)
|
|
|
69
115
|
error("Failed to get the TSTL class constructor for a mod feature.")
|
|
70
116
|
end
|
|
71
117
|
local modFeatureConstructor = constructor
|
|
72
|
-
checkAddDecoratedCallbacks(nil, mod, modFeatureConstructor)
|
|
73
|
-
checkAddDecoratedCallbacksCustom(nil, mod, modFeatureConstructor)
|
|
118
|
+
checkAddDecoratedCallbacks(nil, mod, modFeatureConstructor, self)
|
|
119
|
+
checkAddDecoratedCallbacksCustom(nil, mod, modFeatureConstructor, self)
|
|
74
120
|
checkRegisterSaveDataManager(nil, mod, self)
|
|
75
121
|
end
|
|
76
122
|
return ____exports
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ModCallbackCustom } from "../../enums/ModCallbackCustom";
|
|
2
|
+
import { shouldFireNPC } from "../../shouldFire";
|
|
3
|
+
import { CustomCallback } from "../private/CustomCallback";
|
|
4
|
+
export declare class PostNPCInitFilter extends CustomCallback<ModCallbackCustom.POST_NPC_INIT_FILTER> {
|
|
5
|
+
v: {
|
|
6
|
+
room: {
|
|
7
|
+
firedSet: Set<PtrHash>;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
constructor();
|
|
11
|
+
protected shouldFire: typeof shouldFireNPC;
|
|
12
|
+
private postNPCInit;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=PostNPCInitFilter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PostNPCInitFilter.d.ts","sourceRoot":"","sources":["../../../../src/classes/callbacks/PostNPCInitFilter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,qBAAa,iBAAkB,SAAQ,cAAc,CAAC,iBAAiB,CAAC,oBAAoB,CAAC;IAC3E,CAAC;;;;MAIf;;IAUF,UAAmB,UAAU,uBAAiB;IAG9C,OAAO,CAAC,WAAW,CAEjB;CACH"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
local ____lualib = require("lualib_bundle")
|
|
2
|
+
local __TS__Class = ____lualib.__TS__Class
|
|
3
|
+
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
|
+
local Set = ____lualib.Set
|
|
5
|
+
local __TS__New = ____lualib.__TS__New
|
|
6
|
+
local ____exports = {}
|
|
7
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
8
|
+
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
9
|
+
local ____shouldFire = require("src.shouldFire")
|
|
10
|
+
local shouldFireNPC = ____shouldFire.shouldFireNPC
|
|
11
|
+
local ____CustomCallback = require("src.classes.private.CustomCallback")
|
|
12
|
+
local CustomCallback = ____CustomCallback.CustomCallback
|
|
13
|
+
____exports.PostNPCInitFilter = __TS__Class()
|
|
14
|
+
local PostNPCInitFilter = ____exports.PostNPCInitFilter
|
|
15
|
+
PostNPCInitFilter.name = "PostNPCInitFilter"
|
|
16
|
+
__TS__ClassExtends(PostNPCInitFilter, CustomCallback)
|
|
17
|
+
function PostNPCInitFilter.prototype.____constructor(self)
|
|
18
|
+
CustomCallback.prototype.____constructor(self)
|
|
19
|
+
self.v = {room = {firedSet = __TS__New(Set)}}
|
|
20
|
+
self.shouldFire = shouldFireNPC
|
|
21
|
+
self.postNPCInit = function(____, npc)
|
|
22
|
+
self:fire(npc)
|
|
23
|
+
end
|
|
24
|
+
self.callbacksUsed = {{ModCallback.POST_NPC_INIT, {self.postNPCInit}}}
|
|
25
|
+
end
|
|
26
|
+
return ____exports
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ModCallbackCustom } from "../../enums/ModCallbackCustom";
|
|
2
|
+
import { shouldFireNPC } from "../../shouldFire";
|
|
3
|
+
import { CustomCallback } from "../private/CustomCallback";
|
|
4
|
+
export declare class PostNPCUpdateFilter extends CustomCallback<ModCallbackCustom.POST_NPC_UPDATE_FILTER> {
|
|
5
|
+
v: {
|
|
6
|
+
room: {
|
|
7
|
+
firedSet: Set<PtrHash>;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
constructor();
|
|
11
|
+
protected shouldFire: typeof shouldFireNPC;
|
|
12
|
+
private postNPCUpdate;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=PostNPCUpdateFilter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PostNPCUpdateFilter.d.ts","sourceRoot":"","sources":["../../../../src/classes/callbacks/PostNPCUpdateFilter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,qBAAa,mBAAoB,SAAQ,cAAc,CAAC,iBAAiB,CAAC,sBAAsB,CAAC;IAC/E,CAAC;;;;MAIf;;IAUF,UAAmB,UAAU,uBAAiB;IAG9C,OAAO,CAAC,aAAa,CAEnB;CACH"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
local ____lualib = require("lualib_bundle")
|
|
2
|
+
local __TS__Class = ____lualib.__TS__Class
|
|
3
|
+
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
|
+
local Set = ____lualib.Set
|
|
5
|
+
local __TS__New = ____lualib.__TS__New
|
|
6
|
+
local ____exports = {}
|
|
7
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
8
|
+
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
9
|
+
local ____shouldFire = require("src.shouldFire")
|
|
10
|
+
local shouldFireNPC = ____shouldFire.shouldFireNPC
|
|
11
|
+
local ____CustomCallback = require("src.classes.private.CustomCallback")
|
|
12
|
+
local CustomCallback = ____CustomCallback.CustomCallback
|
|
13
|
+
____exports.PostNPCUpdateFilter = __TS__Class()
|
|
14
|
+
local PostNPCUpdateFilter = ____exports.PostNPCUpdateFilter
|
|
15
|
+
PostNPCUpdateFilter.name = "PostNPCUpdateFilter"
|
|
16
|
+
__TS__ClassExtends(PostNPCUpdateFilter, CustomCallback)
|
|
17
|
+
function PostNPCUpdateFilter.prototype.____constructor(self)
|
|
18
|
+
CustomCallback.prototype.____constructor(self)
|
|
19
|
+
self.v = {room = {firedSet = __TS__New(Set)}}
|
|
20
|
+
self.shouldFire = shouldFireNPC
|
|
21
|
+
self.postNPCUpdate = function(____, npc)
|
|
22
|
+
self:fire(npc)
|
|
23
|
+
end
|
|
24
|
+
self.callbacksUsed = {{ModCallback.POST_NPC_UPDATE, {self.postNPCUpdate}}}
|
|
25
|
+
end
|
|
26
|
+
return ____exports
|
|
@@ -754,6 +754,19 @@ export declare enum ModCallbackCustom {
|
|
|
754
754
|
* ```
|
|
755
755
|
*/
|
|
756
756
|
POST_NEW_ROOM_REORDERED = 44,
|
|
757
|
+
/**
|
|
758
|
+
* The exact same thing as the vanilla `POST_NPC_INIT` callback, except this callback allows you
|
|
759
|
+
* to specify extra arguments for additional filtration.
|
|
760
|
+
*
|
|
761
|
+
* When registering the callback with the `ModUpgraded.AddCallbackCustom` method:
|
|
762
|
+
* - You can provide an optional third argument that will make the callback only fire if it
|
|
763
|
+
* matches the `EntityType` provided.
|
|
764
|
+
* - You can provide an optional fourth argument that will make the callback only fire if it
|
|
765
|
+
* matches the variant provided.
|
|
766
|
+
* - You can provide an optional fifth argument that will make the callback only fire if it
|
|
767
|
+
* matches the sub-type provided.
|
|
768
|
+
*/
|
|
769
|
+
POST_NPC_INIT_FILTER = 45,
|
|
757
770
|
/**
|
|
758
771
|
* Fires on the first `NPC_UPDATE` frame for each NPC.
|
|
759
772
|
*
|
|
@@ -772,7 +785,7 @@ export declare enum ModCallbackCustom {
|
|
|
772
785
|
* function postNPCInitLate(npc: EntityNPC): void {}
|
|
773
786
|
* ```
|
|
774
787
|
*/
|
|
775
|
-
POST_NPC_INIT_LATE =
|
|
788
|
+
POST_NPC_INIT_LATE = 46,
|
|
776
789
|
/**
|
|
777
790
|
* Fires from the `POST_NPC_UPDATE` callback when an NPC's state has changed from what it was on
|
|
778
791
|
* the previous frame. (In this context, "state" refers to the `EntityNPC.State` field.)
|
|
@@ -793,7 +806,20 @@ export declare enum ModCallbackCustom {
|
|
|
793
806
|
* ): void {}
|
|
794
807
|
* ```
|
|
795
808
|
*/
|
|
796
|
-
POST_NPC_STATE_CHANGED =
|
|
809
|
+
POST_NPC_STATE_CHANGED = 47,
|
|
810
|
+
/**
|
|
811
|
+
* The exact same thing as the vanilla `POST_NPC_UPDATE` callback, except this callback allows you
|
|
812
|
+
* to specify extra arguments for additional filtration.
|
|
813
|
+
*
|
|
814
|
+
* When registering the callback with the `ModUpgraded.AddCallbackCustom` method:
|
|
815
|
+
* - You can provide an optional third argument that will make the callback only fire if it
|
|
816
|
+
* matches the `EntityType` provided.
|
|
817
|
+
* - You can provide an optional fourth argument that will make the callback only fire if it
|
|
818
|
+
* matches the variant provided.
|
|
819
|
+
* - You can provide an optional fifth argument that will make the callback only fire if it
|
|
820
|
+
* matches the sub-type provided.
|
|
821
|
+
*/
|
|
822
|
+
POST_NPC_UPDATE_FILTER = 48,
|
|
797
823
|
/**
|
|
798
824
|
* Similar to the vanilla callback of the same name, but fires after the
|
|
799
825
|
* `POST_GAME_STARTED_REORDERED` callback fires (if the player is being updated on the 0th game
|
|
@@ -818,7 +844,7 @@ export declare enum ModCallbackCustom {
|
|
|
818
844
|
* function postPEffectUpdateReordered(player: EntityPlayer): void {}
|
|
819
845
|
* ```
|
|
820
846
|
*/
|
|
821
|
-
POST_PEFFECT_UPDATE_REORDERED =
|
|
847
|
+
POST_PEFFECT_UPDATE_REORDERED = 49,
|
|
822
848
|
/**
|
|
823
849
|
* Fires on the first `POST_RENDER` frame that a pickup plays the "Collect" animation.
|
|
824
850
|
*
|
|
@@ -834,7 +860,7 @@ export declare enum ModCallbackCustom {
|
|
|
834
860
|
* function postPickupCollect(pickup: EntityPickup, player: EntityPlayer): void {}
|
|
835
861
|
* ```
|
|
836
862
|
*/
|
|
837
|
-
POST_PICKUP_COLLECT =
|
|
863
|
+
POST_PICKUP_COLLECT = 50,
|
|
838
864
|
/**
|
|
839
865
|
* Fires from the `POST_PICKUP_INIT` callback on the first time that a player has seen the
|
|
840
866
|
* respective pickup on the run.
|
|
@@ -852,7 +878,7 @@ export declare enum ModCallbackCustom {
|
|
|
852
878
|
* function postPickupInitFirst(pickup: EntityPickup): void {}
|
|
853
879
|
* ```
|
|
854
880
|
*/
|
|
855
|
-
POST_PICKUP_INIT_FIRST =
|
|
881
|
+
POST_PICKUP_INIT_FIRST = 51,
|
|
856
882
|
/**
|
|
857
883
|
* Fires on the first `POST_PICKUP_UPDATE` frame for each pickup.
|
|
858
884
|
*
|
|
@@ -869,7 +895,7 @@ export declare enum ModCallbackCustom {
|
|
|
869
895
|
* function postPickupInitLate(pickup: EntityPickup): void {}
|
|
870
896
|
* ```
|
|
871
897
|
*/
|
|
872
|
-
POST_PICKUP_INIT_LATE =
|
|
898
|
+
POST_PICKUP_INIT_LATE = 52,
|
|
873
899
|
/**
|
|
874
900
|
* Fires from the `POST_PICKUP_UPDATE` callback when a pickup's state has changed from what it was
|
|
875
901
|
* on the previous frame. (In this context, "state" refers to the `EntityPickup.State` field.)
|
|
@@ -888,7 +914,7 @@ export declare enum ModCallbackCustom {
|
|
|
888
914
|
* ): void {}
|
|
889
915
|
* ```
|
|
890
916
|
*/
|
|
891
|
-
POST_PICKUP_STATE_CHANGED =
|
|
917
|
+
POST_PICKUP_STATE_CHANGED = 53,
|
|
892
918
|
/**
|
|
893
919
|
* Fires from the `POST_RENDER` callback on every frame that a pit exists.
|
|
894
920
|
*
|
|
@@ -900,7 +926,7 @@ export declare enum ModCallbackCustom {
|
|
|
900
926
|
* function postPitRender(pit: GridEntityPit): void {}
|
|
901
927
|
* ```
|
|
902
928
|
*/
|
|
903
|
-
POST_PIT_RENDER =
|
|
929
|
+
POST_PIT_RENDER = 54,
|
|
904
930
|
/**
|
|
905
931
|
* Fires from the `POST_UPDATE` callback on every frame that a pit exists.
|
|
906
932
|
*
|
|
@@ -912,7 +938,7 @@ export declare enum ModCallbackCustom {
|
|
|
912
938
|
* function postPitUpdate(pit: GridEntityPit): void {}
|
|
913
939
|
* ```
|
|
914
940
|
*/
|
|
915
|
-
POST_PIT_UPDATE =
|
|
941
|
+
POST_PIT_UPDATE = 55,
|
|
916
942
|
/**
|
|
917
943
|
* Fires from the `POST_PEFFECT_UPDATE` callback when a player's health (i.e. hearts) is different
|
|
918
944
|
* than what it was on the previous frame. For more information, see the `PlayerHealth` enum.
|
|
@@ -933,7 +959,7 @@ export declare enum ModCallbackCustom {
|
|
|
933
959
|
* ): void {}
|
|
934
960
|
* ```
|
|
935
961
|
*/
|
|
936
|
-
POST_PLAYER_CHANGE_HEALTH =
|
|
962
|
+
POST_PLAYER_CHANGE_HEALTH = 56,
|
|
937
963
|
/**
|
|
938
964
|
* Fires from the `POST_PEFFECT_UPDATE` callback when one of the player's stats change from what
|
|
939
965
|
* they were on the previous frame.
|
|
@@ -963,7 +989,7 @@ export declare enum ModCallbackCustom {
|
|
|
963
989
|
* ) => void {}
|
|
964
990
|
* ```
|
|
965
991
|
*/
|
|
966
|
-
POST_PLAYER_CHANGE_STAT =
|
|
992
|
+
POST_PLAYER_CHANGE_STAT = 57,
|
|
967
993
|
/**
|
|
968
994
|
* Fires from the `POST_PEFFECT_UPDATE` callback when a player entity changes its player type
|
|
969
995
|
* (i.e. character) from what it was on the previous frame. For example, it will fire after using
|
|
@@ -985,7 +1011,7 @@ export declare enum ModCallbackCustom {
|
|
|
985
1011
|
* ): void {}
|
|
986
1012
|
* ```
|
|
987
1013
|
*/
|
|
988
|
-
POST_PLAYER_CHANGE_TYPE =
|
|
1014
|
+
POST_PLAYER_CHANGE_TYPE = 58,
|
|
989
1015
|
/**
|
|
990
1016
|
* Fires from the `POST_PEFFECT_UPDATE` callback when a player's collectible count is higher than
|
|
991
1017
|
* what it was on the previous frame, or when the active items change, or when the build is
|
|
@@ -1002,7 +1028,7 @@ export declare enum ModCallbackCustom {
|
|
|
1002
1028
|
* ): void {}
|
|
1003
1029
|
* ```
|
|
1004
1030
|
*/
|
|
1005
|
-
POST_PLAYER_COLLECTIBLE_ADDED =
|
|
1031
|
+
POST_PLAYER_COLLECTIBLE_ADDED = 59,
|
|
1006
1032
|
/**
|
|
1007
1033
|
* Fires from the `POST_PEFFECT_UPDATE` callback when a player's collectible count is lower than
|
|
1008
1034
|
* what it was on the previous frame, or when the active items change, or when the build is
|
|
@@ -1019,7 +1045,7 @@ export declare enum ModCallbackCustom {
|
|
|
1019
1045
|
* ): void {}
|
|
1020
1046
|
* ```
|
|
1021
1047
|
*/
|
|
1022
|
-
POST_PLAYER_COLLECTIBLE_REMOVED =
|
|
1048
|
+
POST_PLAYER_COLLECTIBLE_REMOVED = 60,
|
|
1023
1049
|
/**
|
|
1024
1050
|
* Fires from the `ENTITY_TAKE_DMG` callback when a player takes fatal damage. Return false to
|
|
1025
1051
|
* prevent the fatal damage.
|
|
@@ -1037,7 +1063,7 @@ export declare enum ModCallbackCustom {
|
|
|
1037
1063
|
* function postPlayerFatalDamage(player: EntityPlayer): boolean | undefined {}
|
|
1038
1064
|
* ```
|
|
1039
1065
|
*/
|
|
1040
|
-
POST_PLAYER_FATAL_DAMAGE =
|
|
1066
|
+
POST_PLAYER_FATAL_DAMAGE = 61,
|
|
1041
1067
|
/**
|
|
1042
1068
|
* Fires on the first `POST_PEFFECT_UPDATE_REORDERED` frame for each player, similar to the
|
|
1043
1069
|
* `POST_PLAYER_INIT_LATE` callback, with two changes:
|
|
@@ -1059,7 +1085,7 @@ export declare enum ModCallbackCustom {
|
|
|
1059
1085
|
* function postPlayerInitFirst(player: EntityPlayer): void {}
|
|
1060
1086
|
* ```
|
|
1061
1087
|
*/
|
|
1062
|
-
POST_PLAYER_INIT_FIRST =
|
|
1088
|
+
POST_PLAYER_INIT_FIRST = 62,
|
|
1063
1089
|
/**
|
|
1064
1090
|
* Fires on the first `POST_PEFFECT_UPDATE_REORDERED` frame for each player.
|
|
1065
1091
|
*
|
|
@@ -1079,7 +1105,7 @@ export declare enum ModCallbackCustom {
|
|
|
1079
1105
|
* function postPlayerInitLate(pickup: EntityPickup): void {}
|
|
1080
1106
|
* ```
|
|
1081
1107
|
*/
|
|
1082
|
-
POST_PLAYER_INIT_LATE =
|
|
1108
|
+
POST_PLAYER_INIT_LATE = 63,
|
|
1083
1109
|
/**
|
|
1084
1110
|
* Similar to the vanilla callback of the same name, but fires after the `POST_GAME_STARTED`
|
|
1085
1111
|
* callback fires (if the player is spawning on the 0th game frame of the run).
|
|
@@ -1103,7 +1129,7 @@ export declare enum ModCallbackCustom {
|
|
|
1103
1129
|
* function postPlayerRenderReordered(player: EntityPlayer): void {}
|
|
1104
1130
|
* ```
|
|
1105
1131
|
*/
|
|
1106
|
-
POST_PLAYER_RENDER_REORDERED =
|
|
1132
|
+
POST_PLAYER_RENDER_REORDERED = 64,
|
|
1107
1133
|
/**
|
|
1108
1134
|
* Similar to the vanilla callback of the same name, but fires after the
|
|
1109
1135
|
* `POST_GAME_STARTED_REORDERED` callback fires (if the player is being updated on the 0th game
|
|
@@ -1128,7 +1154,7 @@ export declare enum ModCallbackCustom {
|
|
|
1128
1154
|
* function postPlayerUpdateReordered(player: EntityPlayer): void {}
|
|
1129
1155
|
* ```
|
|
1130
1156
|
*/
|
|
1131
|
-
POST_PLAYER_UPDATE_REORDERED =
|
|
1157
|
+
POST_PLAYER_UPDATE_REORDERED = 65,
|
|
1132
1158
|
/**
|
|
1133
1159
|
* Fires from the `POST_RENDER` callback on every frame that a poop exists.
|
|
1134
1160
|
*
|
|
@@ -1140,7 +1166,7 @@ export declare enum ModCallbackCustom {
|
|
|
1140
1166
|
* function postPoopRender(poop: GridEntityPoop): void {}
|
|
1141
1167
|
* ```
|
|
1142
1168
|
*/
|
|
1143
|
-
POST_POOP_RENDER =
|
|
1169
|
+
POST_POOP_RENDER = 66,
|
|
1144
1170
|
/**
|
|
1145
1171
|
* Fires from the `POST_UPDATE` callback on every frame that a poop exists.
|
|
1146
1172
|
*
|
|
@@ -1152,7 +1178,7 @@ export declare enum ModCallbackCustom {
|
|
|
1152
1178
|
* function postPoopUpdate(poop: GridEntityPoop): void {}
|
|
1153
1179
|
* ```
|
|
1154
1180
|
*/
|
|
1155
|
-
POST_POOP_UPDATE =
|
|
1181
|
+
POST_POOP_UPDATE = 67,
|
|
1156
1182
|
/**
|
|
1157
1183
|
* Fires from the `POST_RENDER` callback on every frame that a pressure plate exists.
|
|
1158
1184
|
*
|
|
@@ -1164,7 +1190,7 @@ export declare enum ModCallbackCustom {
|
|
|
1164
1190
|
* function postPressurePlateRender(pressurePlate: GridEntityPressurePlate): void {}
|
|
1165
1191
|
* ```
|
|
1166
1192
|
*/
|
|
1167
|
-
POST_PRESSURE_PLATE_RENDER =
|
|
1193
|
+
POST_PRESSURE_PLATE_RENDER = 68,
|
|
1168
1194
|
/**
|
|
1169
1195
|
* Fires from the `POST_UPDATE` callback on every frame that a pressure plate exists.
|
|
1170
1196
|
*
|
|
@@ -1176,7 +1202,7 @@ export declare enum ModCallbackCustom {
|
|
|
1176
1202
|
* function postPressurePlateUpdate(pressurePlate: GridEntityPressurePlate): void {}
|
|
1177
1203
|
* ```
|
|
1178
1204
|
*/
|
|
1179
|
-
POST_PRESSURE_PLATE_UPDATE =
|
|
1205
|
+
POST_PRESSURE_PLATE_UPDATE = 69,
|
|
1180
1206
|
/**
|
|
1181
1207
|
* Fires on the first `POST_PROJECTILE_UPDATE` frame for each projectile.
|
|
1182
1208
|
*
|
|
@@ -1193,7 +1219,7 @@ export declare enum ModCallbackCustom {
|
|
|
1193
1219
|
* function postProjectileInitLate(projectile: EntityProjectile): void {}
|
|
1194
1220
|
* ```
|
|
1195
1221
|
*/
|
|
1196
|
-
POST_PROJECTILE_INIT_LATE =
|
|
1222
|
+
POST_PROJECTILE_INIT_LATE = 70,
|
|
1197
1223
|
/**
|
|
1198
1224
|
* Fires from the `POST_PEFFECT_UPDATE` callback when a player first picks up a new item. The
|
|
1199
1225
|
* pickup returned in the callback is assumed to be the first pickup that no longer exists.
|
|
@@ -1208,7 +1234,7 @@ export declare enum ModCallbackCustom {
|
|
|
1208
1234
|
* function postPurchase(player: EntityPlayer, pickup: EntityPickup): void {}
|
|
1209
1235
|
* ```
|
|
1210
1236
|
*/
|
|
1211
|
-
POST_PURCHASE =
|
|
1237
|
+
POST_PURCHASE = 71,
|
|
1212
1238
|
/**
|
|
1213
1239
|
* Fires from the `POST_RENDER` callback on every frame that a rock exists.
|
|
1214
1240
|
*
|
|
@@ -1222,7 +1248,7 @@ export declare enum ModCallbackCustom {
|
|
|
1222
1248
|
* function postRockRender(rock: GridEntityRock): void {}
|
|
1223
1249
|
* ```
|
|
1224
1250
|
*/
|
|
1225
|
-
POST_ROCK_RENDER =
|
|
1251
|
+
POST_ROCK_RENDER = 72,
|
|
1226
1252
|
/**
|
|
1227
1253
|
* Fires from the `POST_UPDATE` callback on every frame that a rock exists.
|
|
1228
1254
|
*
|
|
@@ -1236,7 +1262,7 @@ export declare enum ModCallbackCustom {
|
|
|
1236
1262
|
* function postRockUpdate(rock: GridEntityRock): void {}
|
|
1237
1263
|
* ```
|
|
1238
1264
|
*/
|
|
1239
|
-
POST_ROCK_UPDATE =
|
|
1265
|
+
POST_ROCK_UPDATE = 73,
|
|
1240
1266
|
/**
|
|
1241
1267
|
* Fires from the `POST_UPDATE` callback when the clear state of a room changes (as according to
|
|
1242
1268
|
* the `Room.IsClear` method).
|
|
@@ -1253,7 +1279,7 @@ export declare enum ModCallbackCustom {
|
|
|
1253
1279
|
* function postRoomClearChanged(roomClear: boolean): void {}
|
|
1254
1280
|
* ```
|
|
1255
1281
|
*/
|
|
1256
|
-
POST_ROOM_CLEAR_CHANGED =
|
|
1282
|
+
POST_ROOM_CLEAR_CHANGED = 74,
|
|
1257
1283
|
/**
|
|
1258
1284
|
* Fires from the `ENTITY_TAKE_DMG` callback when a player takes damage from spikes in a Sacrifice
|
|
1259
1285
|
* Room.
|
|
@@ -1268,7 +1294,7 @@ export declare enum ModCallbackCustom {
|
|
|
1268
1294
|
* function postSacrifice(player: EntityPlayer, numSacrifices: int): void {}
|
|
1269
1295
|
* ```
|
|
1270
1296
|
*/
|
|
1271
|
-
POST_SACRIFICE =
|
|
1297
|
+
POST_SACRIFICE = 75,
|
|
1272
1298
|
/**
|
|
1273
1299
|
* Fires from the `POST_RENDER` callback when a slot entity's animation changes.
|
|
1274
1300
|
*
|
|
@@ -1282,7 +1308,7 @@ export declare enum ModCallbackCustom {
|
|
|
1282
1308
|
* function postSlotAnimationChanged(slot: Entity): void {}
|
|
1283
1309
|
* ```
|
|
1284
1310
|
*/
|
|
1285
|
-
POST_SLOT_ANIMATION_CHANGED =
|
|
1311
|
+
POST_SLOT_ANIMATION_CHANGED = 76,
|
|
1286
1312
|
/**
|
|
1287
1313
|
* Fires from the `PRE_PLAYER_COLLISION` callback when when a player collides with a slot entity.
|
|
1288
1314
|
* (It will not fire if any other type of entity collides with the slot entity.)
|
|
@@ -1306,7 +1332,7 @@ export declare enum ModCallbackCustom {
|
|
|
1306
1332
|
* ): void {}
|
|
1307
1333
|
* ```
|
|
1308
1334
|
*/
|
|
1309
|
-
POST_SLOT_COLLISION =
|
|
1335
|
+
POST_SLOT_COLLISION = 77,
|
|
1310
1336
|
/**
|
|
1311
1337
|
* Fires from the `POST_RENDER` callback when a slot plays the animation that indicates that it
|
|
1312
1338
|
* has broken.
|
|
@@ -1321,7 +1347,7 @@ export declare enum ModCallbackCustom {
|
|
|
1321
1347
|
* function postSlotDestroyed(slot: Entity, slotDestructionType: SlotDestructionType): void {}
|
|
1322
1348
|
* ```
|
|
1323
1349
|
*/
|
|
1324
|
-
POST_SLOT_DESTROYED =
|
|
1350
|
+
POST_SLOT_DESTROYED = 78,
|
|
1325
1351
|
/**
|
|
1326
1352
|
* Fires when a new slot entity is initialized. Specifically, this is either:
|
|
1327
1353
|
*
|
|
@@ -1340,7 +1366,7 @@ export declare enum ModCallbackCustom {
|
|
|
1340
1366
|
* function postSlotInit(slot: Entity): void {}
|
|
1341
1367
|
* ```
|
|
1342
1368
|
*/
|
|
1343
|
-
POST_SLOT_INIT =
|
|
1369
|
+
POST_SLOT_INIT = 79,
|
|
1344
1370
|
/**
|
|
1345
1371
|
* Fires from the `POST_RENDER` callback on every frame that a slot entity exists.
|
|
1346
1372
|
*
|
|
@@ -1354,7 +1380,7 @@ export declare enum ModCallbackCustom {
|
|
|
1354
1380
|
* function postSlotRender(slot: Entity): void {}
|
|
1355
1381
|
* ```
|
|
1356
1382
|
*/
|
|
1357
|
-
POST_SLOT_RENDER =
|
|
1383
|
+
POST_SLOT_RENDER = 80,
|
|
1358
1384
|
/**
|
|
1359
1385
|
* Fires from the `POST_UPDATE` callback on every frame that a slot entity exists.
|
|
1360
1386
|
*
|
|
@@ -1368,7 +1394,7 @@ export declare enum ModCallbackCustom {
|
|
|
1368
1394
|
* function postSlotUpdate(slot: Entity): void {}
|
|
1369
1395
|
* ```
|
|
1370
1396
|
*/
|
|
1371
|
-
POST_SLOT_UPDATE =
|
|
1397
|
+
POST_SLOT_UPDATE = 81,
|
|
1372
1398
|
/**
|
|
1373
1399
|
* Fires from the `POST_RENDER` callback on every frame that spikes exist.
|
|
1374
1400
|
*
|
|
@@ -1380,7 +1406,7 @@ export declare enum ModCallbackCustom {
|
|
|
1380
1406
|
* function postSpikesRender(spikes: GridEntitySpikes): void {}
|
|
1381
1407
|
* ```
|
|
1382
1408
|
*/
|
|
1383
|
-
POST_SPIKES_RENDER =
|
|
1409
|
+
POST_SPIKES_RENDER = 82,
|
|
1384
1410
|
/**
|
|
1385
1411
|
* Fires from the `POST_UPDATE` callback on every frame that spikes exist.
|
|
1386
1412
|
*
|
|
@@ -1392,7 +1418,7 @@ export declare enum ModCallbackCustom {
|
|
|
1392
1418
|
* function postSpikesUpdate(spikes: GridEntitySpikes): void {}
|
|
1393
1419
|
* ```
|
|
1394
1420
|
*/
|
|
1395
|
-
POST_SPIKES_UPDATE =
|
|
1421
|
+
POST_SPIKES_UPDATE = 83,
|
|
1396
1422
|
/**
|
|
1397
1423
|
* Fires on the first `POST_TEAR_UPDATE` frame for each tear (which is when
|
|
1398
1424
|
* `EntityTear.FrameCount` is equal to 0).
|
|
@@ -1410,7 +1436,7 @@ export declare enum ModCallbackCustom {
|
|
|
1410
1436
|
* function postTearInitLate(tear: EntityTear): void {}
|
|
1411
1437
|
* ```
|
|
1412
1438
|
*/
|
|
1413
|
-
POST_TEAR_INIT_LATE =
|
|
1439
|
+
POST_TEAR_INIT_LATE = 84,
|
|
1414
1440
|
/**
|
|
1415
1441
|
* Fires on the second `POST_TEAR_UPDATE` frame for each tear (which is when
|
|
1416
1442
|
* `EntityTear.FrameCount` is equal to 1).
|
|
@@ -1427,7 +1453,7 @@ export declare enum ModCallbackCustom {
|
|
|
1427
1453
|
* function postTearInitVeryLate(tear: EntityTear): void {}
|
|
1428
1454
|
* ```
|
|
1429
1455
|
*/
|
|
1430
|
-
POST_TEAR_INIT_VERY_LATE =
|
|
1456
|
+
POST_TEAR_INIT_VERY_LATE = 85,
|
|
1431
1457
|
/**
|
|
1432
1458
|
* Fires from the `POST_RENDER` callback on every frame that a TNT exists.
|
|
1433
1459
|
*
|
|
@@ -1439,7 +1465,7 @@ export declare enum ModCallbackCustom {
|
|
|
1439
1465
|
* function postTNTRender(tnt: GridEntityTNT): void {}
|
|
1440
1466
|
* ```
|
|
1441
1467
|
*/
|
|
1442
|
-
POST_TNT_RENDER =
|
|
1468
|
+
POST_TNT_RENDER = 86,
|
|
1443
1469
|
/**
|
|
1444
1470
|
* Fires from the `POST_UPDATE` callback on every frame that a TNT exists.
|
|
1445
1471
|
*
|
|
@@ -1451,7 +1477,7 @@ export declare enum ModCallbackCustom {
|
|
|
1451
1477
|
* function postTNTUpdate(tnt: GridEntityTNT): void {}
|
|
1452
1478
|
* ```
|
|
1453
1479
|
*/
|
|
1454
|
-
POST_TNT_UPDATE =
|
|
1480
|
+
POST_TNT_UPDATE = 87,
|
|
1455
1481
|
/**
|
|
1456
1482
|
* Fires from the `POST_PEFFECT_UPDATE` callback when a player gains or loses a new
|
|
1457
1483
|
* transformation.
|
|
@@ -1470,7 +1496,7 @@ export declare enum ModCallbackCustom {
|
|
|
1470
1496
|
* ): void {}
|
|
1471
1497
|
* ```
|
|
1472
1498
|
*/
|
|
1473
|
-
POST_TRANSFORMATION =
|
|
1499
|
+
POST_TRANSFORMATION = 88,
|
|
1474
1500
|
/**
|
|
1475
1501
|
* Fires from `ENTITY_TAKE_DMG` callback when a Wishbone or a Walnut breaks.
|
|
1476
1502
|
*
|
|
@@ -1485,7 +1511,7 @@ export declare enum ModCallbackCustom {
|
|
|
1485
1511
|
* ): void {}
|
|
1486
1512
|
* ```
|
|
1487
1513
|
*/
|
|
1488
|
-
POST_TRINKET_BREAK =
|
|
1514
|
+
POST_TRINKET_BREAK = 89,
|
|
1489
1515
|
/**
|
|
1490
1516
|
* Fires from the `POST_PEFFECT_UPDATE` callback on the frame before a Berserk effect ends when
|
|
1491
1517
|
* the player is predicted to die (e.g. they currently have no health left or they took damage in
|
|
@@ -1501,7 +1527,7 @@ export declare enum ModCallbackCustom {
|
|
|
1501
1527
|
* function preBerserkDeath(player: EntityPlayer): void {}
|
|
1502
1528
|
* ```
|
|
1503
1529
|
*/
|
|
1504
|
-
PRE_BERSERK_DEATH =
|
|
1530
|
+
PRE_BERSERK_DEATH = 90,
|
|
1505
1531
|
/**
|
|
1506
1532
|
* Fires from the `POST_PLAYER_FATAL_DAMAGE` callback when a player is about to die. If you want
|
|
1507
1533
|
* to initiate a custom revival, return an integer that corresponds to the item or type of revival
|
|
@@ -1520,7 +1546,7 @@ export declare enum ModCallbackCustom {
|
|
|
1520
1546
|
* function preCustomRevive(player: EntityPlayer): int | undefined {}
|
|
1521
1547
|
* ```
|
|
1522
1548
|
*/
|
|
1523
|
-
PRE_CUSTOM_REVIVE =
|
|
1549
|
+
PRE_CUSTOM_REVIVE = 91,
|
|
1524
1550
|
/**
|
|
1525
1551
|
* Fires from the `PRE_PICKUP_COLLISION` callback when a player touches a collectible pedestal and
|
|
1526
1552
|
* meets all of the conditions to pick it up.
|
|
@@ -1540,7 +1566,7 @@ export declare enum ModCallbackCustom {
|
|
|
1540
1566
|
* function preGetPedestal(player: EntityPlayer, collectible: EntityPickupCollectible): void {}
|
|
1541
1567
|
* ```
|
|
1542
1568
|
*/
|
|
1543
|
-
PRE_GET_PEDESTAL =
|
|
1569
|
+
PRE_GET_PEDESTAL = 92,
|
|
1544
1570
|
/**
|
|
1545
1571
|
* Fires from the `POST_PEFFECT_UPDATE` callback when an item becomes queued (i.e. when the player
|
|
1546
1572
|
* begins to hold the item above their head).
|
|
@@ -1560,7 +1586,7 @@ export declare enum ModCallbackCustom {
|
|
|
1560
1586
|
* ): void {}
|
|
1561
1587
|
* ```
|
|
1562
1588
|
*/
|
|
1563
|
-
PRE_ITEM_PICKUP =
|
|
1589
|
+
PRE_ITEM_PICKUP = 93,
|
|
1564
1590
|
/**
|
|
1565
1591
|
* Fires on the `POST_RENDER` frame before the player is taken to a new floor. Only fires when a
|
|
1566
1592
|
* player jumps into a trapdoor or enters a heaven door (beam of light). Does not fire on the
|
|
@@ -1574,6 +1600,6 @@ export declare enum ModCallbackCustom {
|
|
|
1574
1600
|
* function preNewLevel(player: EntityPlayer): void {}
|
|
1575
1601
|
* ```
|
|
1576
1602
|
*/
|
|
1577
|
-
PRE_NEW_LEVEL =
|
|
1603
|
+
PRE_NEW_LEVEL = 94
|
|
1578
1604
|
}
|
|
1579
1605
|
//# sourceMappingURL=ModCallbackCustom.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModCallbackCustom.d.ts","sourceRoot":"","sources":["../../../src/enums/ModCallbackCustom.ts"],"names":[],"mappings":"AAYA;;;;;;;GAOG;AACH,oBAAY,iBAAiB;IAC3B;;;;;;;;;;;OAWG;IACH,oBAAoB,IAAA;IAEpB;;;;;;;;;;;OAWG;IACH,mBAAmB,IAAA;IAEnB;;;;;;;;;;;;OAYG;IACH,kBAAkB,IAAA;IAElB;;;;;;;;;;;;;;;OAeG;IACH,mBAAmB,IAAA;IAEnB;;;;;;OAMG;IACH,eAAe,IAAA;IAEf;;;;;;;;;;;;;;OAcG;IACH,sBAAsB,IAAA;IAEtB;;;;;;;;;;;;;;;;OAgBG;IACH,2BAA2B,IAAA;IAE3B;;;;;;;;;;;;;;OAcG;IACH,oBAAoB,IAAA;IAEpB;;;;;;;;;;;;;;;;OAgBG;IACH,kBAAkB,IAAA;IAElB;;;;;;;;;;;;;;OAcG;IACH,wBAAwB,IAAA;IAExB;;;;;;;;;;OAUG;IACH,gBAAgB,KAAA;IAEhB;;;;;;;;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