isaacscript-common 6.22.4 → 6.23.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/features/saveDataManager/exports.d.ts +13 -8
- package/dist/features/saveDataManager/exports.d.ts.map +1 -1
- package/dist/features/saveDataManager/exports.lua +12 -7
- package/dist/features/saveDataManager/maps.d.ts +2 -2
- package/dist/features/saveDataManager/maps.d.ts.map +1 -1
- package/dist/features/taintedLazarusPlayers.lua +1 -6
- package/dist/functions/isaacAPIClass.d.ts +1 -1
- package/dist/functions/isaacAPIClass.d.ts.map +1 -1
- package/dist/interfaces/SaveData.d.ts +33 -4
- package/dist/interfaces/SaveData.d.ts.map +1 -1
- package/dist/types/AnyClass.d.ts +2 -0
- package/dist/types/AnyClass.d.ts.map +1 -0
- package/dist/{interfaces/indexTypeDoc.lua → types/AnyClass.lua} +0 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/features/saveDataManager/exports.ts +28 -10
- package/src/features/saveDataManager/save.ts +2 -1
- package/src/features/taintedLazarusPlayers.ts +2 -2
- package/src/functions/entities.ts +2 -2
- package/src/functions/isaacAPIClass.ts +0 -1
- package/src/interfaces/SaveData.ts +55 -5
- package/src/types/AnyClass.ts +1 -0
- package/src/types/index.ts +1 -1
- package/src/types/indexTypeDoc.ts +1 -1
- package/dist/classes/indexTypeDoc.d.ts +0 -3
- package/dist/classes/indexTypeDoc.d.ts.map +0 -1
- package/dist/classes/indexTypeDoc.lua +0 -4
- package/dist/core/indexTypeDoc.d.ts +0 -5
- package/dist/core/indexTypeDoc.d.ts.map +0 -1
- package/dist/core/indexTypeDoc.lua +0 -6
- package/dist/enums/indexTypeDoc.d.ts +0 -9
- package/dist/enums/indexTypeDoc.d.ts.map +0 -1
- package/dist/enums/indexTypeDoc.lua +0 -10
- package/dist/features/indexTypeDoc.d.ts +0 -30
- package/dist/features/indexTypeDoc.d.ts.map +0 -1
- package/dist/features/indexTypeDoc.lua +0 -31
- package/dist/functions/indexTypeDoc.d.ts +0 -99
- package/dist/functions/indexTypeDoc.d.ts.map +0 -1
- package/dist/functions/indexTypeDoc.lua +0 -100
- package/dist/indexTypeDoc.d.ts +0 -10
- package/dist/indexTypeDoc.d.ts.map +0 -1
- package/dist/indexTypeDoc.lua +0 -11
- package/dist/interfaces/indexTypeDoc.d.ts +0 -11
- package/dist/interfaces/indexTypeDoc.d.ts.map +0 -1
- package/dist/maps/indexTypeDoc.d.ts +0 -5
- package/dist/maps/indexTypeDoc.d.ts.map +0 -1
- package/dist/maps/indexTypeDoc.lua +0 -6
- package/dist/objects/indexTypeDoc.d.ts +0 -2
- package/dist/objects/indexTypeDoc.d.ts.map +0 -1
- package/dist/objects/indexTypeDoc.lua +0 -3
- package/dist/types/IsaacAPIClass.d.ts +0 -5
- package/dist/types/IsaacAPIClass.d.ts.map +0 -1
- package/dist/types/IsaacAPIClass.lua +0 -2
- package/dist/types/indexTypeDoc.d.ts +0 -12
- package/dist/types/indexTypeDoc.d.ts.map +0 -1
- package/dist/types/indexTypeDoc.lua +0 -3
- package/src/types/IsaacAPIClass.ts +0 -3
|
@@ -79,15 +79,20 @@ import { SaveData } from "../../interfaces/SaveData";
|
|
|
79
79
|
* manager. The save data manager will throw an error if the key is already registered.
|
|
80
80
|
* @param v An object that corresponds to the `SaveData` interface. The object is conventionally
|
|
81
81
|
* called "v" for brevity. ("v" is short for "local variables").
|
|
82
|
-
* @param conditionalFunc
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
* save
|
|
88
|
-
*
|
|
82
|
+
* @param conditionalFunc Optional. A function to run to check if this save data should be written
|
|
83
|
+
* to disk. Default is `() => true`, meaning that this save data will always
|
|
84
|
+
* be written to disk. Use a conditional function for the situations when the
|
|
85
|
+
* local variables are for a feature that the end-user can disable. (If the
|
|
86
|
+
* feature is disabled, then there would be no point in writing any of the
|
|
87
|
+
* variables to the "save#.dat" file.) You can also specify `false` to this
|
|
88
|
+
* argument in order to completely disable saving data. (Specifying `false`
|
|
89
|
+
* will allow you to use non-serializable objects in your save data, such as
|
|
90
|
+
* `EntityPtr`.
|
|
89
91
|
*/
|
|
90
|
-
export declare function saveDataManager(key: string,
|
|
92
|
+
export declare function saveDataManager<Persistent, Run, Level>(key: string, // This is the overload for the standard case with serializable data.
|
|
93
|
+
v: SaveData<Persistent, Run, Level>, conditionalFunc?: () => boolean): void;
|
|
94
|
+
export declare function saveDataManager(key: string, // This is the overload for the case when saving data is disabled.
|
|
95
|
+
v: SaveData<unknown, unknown, unknown>, conditionalFunc: false): void;
|
|
91
96
|
/**
|
|
92
97
|
* The save data manager will automatically load variables from disk at the appropriate times (i.e.
|
|
93
98
|
* when a new run is started). Use this function to explicitly force the save data manager to load
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/exports.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAarD
|
|
1
|
+
{"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/exports.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAarD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyFG;AACH,wBAAgB,eAAe,CAAC,UAAU,EAAE,GAAG,EAAE,KAAK,EACpD,GAAG,EAAE,MAAM,EAAE,qEAAqE;AAClF,CAAC,EAAE,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE,KAAK,CAAC,EACnC,eAAe,CAAC,EAAE,MAAM,OAAO,GAC9B,IAAI,CAAC;AACR,wBAAgB,eAAe,CAC7B,GAAG,EAAE,MAAM,EAAE,kEAAkE;AAC/E,CAAC,EAAE,QAAQ,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EACtC,eAAe,EAAE,KAAK,GACrB,IAAI,CAAC;AA+CR;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAG1C;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAG1C;AAQD;;;;;;GAMG;AACH,wBAAgB,wBAAwB,IAAI,IAAI,CAK/C;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,MAAM,EACX,cAAc,EAAE,MAAM,GACrB,IAAI,CAiBN"}
|
|
@@ -99,13 +99,15 @@ local SAVE_DATA_MANAGER_FEATURE_NAME = ____saveDataManagerConstants.SAVE_DATA_MA
|
|
|
99
99
|
-- manager. The save data manager will throw an error if the key is already registered.
|
|
100
100
|
-- @param v An object that corresponds to the `SaveData` interface. The object is conventionally
|
|
101
101
|
-- called "v" for brevity. ("v" is short for "local variables").
|
|
102
|
-
-- @param conditionalFunc
|
|
103
|
-
--
|
|
104
|
-
--
|
|
105
|
-
--
|
|
106
|
-
--
|
|
107
|
-
-- save
|
|
108
|
-
--
|
|
102
|
+
-- @param conditionalFunc Optional. A function to run to check if this save data should be written
|
|
103
|
+
-- to disk. Default is `() => true`, meaning that this save data will always
|
|
104
|
+
-- be written to disk. Use a conditional function for the situations when the
|
|
105
|
+
-- local variables are for a feature that the end-user can disable. (If the
|
|
106
|
+
-- feature is disabled, then there would be no point in writing any of the
|
|
107
|
+
-- variables to the "save#.dat" file.) You can also specify `false` to this
|
|
108
|
+
-- argument in order to completely disable saving data. (Specifying `false`
|
|
109
|
+
-- will allow you to use non-serializable objects in your save data, such as
|
|
110
|
+
-- `EntityPtr`.
|
|
109
111
|
function ____exports.saveDataManager(self, key, v, conditionalFunc)
|
|
110
112
|
errorIfFeaturesNotInitialized(nil, SAVE_DATA_MANAGER_FEATURE_NAME)
|
|
111
113
|
if not isString(nil, key) then
|
|
@@ -115,6 +117,9 @@ function ____exports.saveDataManager(self, key, v, conditionalFunc)
|
|
|
115
117
|
error((("The " .. SAVE_DATA_MANAGER_FEATURE_NAME) .. " is already managing save data for a key of: ") .. key)
|
|
116
118
|
end
|
|
117
119
|
saveDataMap[key] = v
|
|
120
|
+
if conditionalFunc == false then
|
|
121
|
+
conditionalFunc = function() return false end
|
|
122
|
+
end
|
|
118
123
|
local saveDataKeys = __TS__ObjectKeys(v)
|
|
119
124
|
if #saveDataKeys == 1 and saveDataKeys[1] == "room" then
|
|
120
125
|
conditionalFunc = function() return false end
|
|
@@ -5,7 +5,7 @@ import { SaveData } from "../../interfaces/SaveData";
|
|
|
5
5
|
* Maps for the master map so that we can access the variables via the in-game console when
|
|
6
6
|
* debugging. (TSTL Maps don't expose the map keys as normal keys.)
|
|
7
7
|
*/
|
|
8
|
-
export declare const saveDataMap: LuaMap<string, SaveData
|
|
9
|
-
export declare const saveDataDefaultsMap: LuaMap<string, SaveData
|
|
8
|
+
export declare const saveDataMap: LuaMap<string, SaveData<unknown, unknown, unknown>>;
|
|
9
|
+
export declare const saveDataDefaultsMap: LuaMap<string, SaveData<unknown, unknown, unknown>>;
|
|
10
10
|
export declare const saveDataConditionalFuncMap: LuaMap<string, () => boolean>;
|
|
11
11
|
//# sourceMappingURL=maps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maps.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/maps.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"maps.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/maps.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,WAAW,qDAAiC,CAAC;AAE1D,eAAO,MAAM,mBAAmB,qDAAiC,CAAC;AAClE,eAAO,MAAM,0BAA0B,uBAA4B,OAAO,CAAG,CAAC"}
|
|
@@ -50,12 +50,7 @@ v = {run = {
|
|
|
50
50
|
subPlayerMap = __TS__New(Map)
|
|
51
51
|
}}
|
|
52
52
|
function ____exports.taintedLazarusPlayersInit(self, mod)
|
|
53
|
-
saveDataManager(
|
|
54
|
-
nil,
|
|
55
|
-
FEATURE_NAME,
|
|
56
|
-
v,
|
|
57
|
-
function() return false end
|
|
58
|
-
)
|
|
53
|
+
saveDataManager(nil, FEATURE_NAME, v, false)
|
|
59
54
|
mod:AddCallback(ModCallback.POST_PLAYER_INIT, postPlayerInit)
|
|
60
55
|
end
|
|
61
56
|
--- Helper function to get the other version of Tainted Lazarus.
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
/// <reference types="isaac-typescript-definitions" />
|
|
18
18
|
/// <reference types="isaac-typescript-definitions" />
|
|
19
19
|
/// <reference types="isaac-typescript-definitions" />
|
|
20
|
-
|
|
20
|
+
/// <reference types="isaac-typescript-definitions" />
|
|
21
21
|
/**
|
|
22
22
|
* Helper function to get the name of a class from the Isaac API. This is contained within the
|
|
23
23
|
* "__type" metatable key.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isaacAPIClass.d.ts","sourceRoot":"","sources":["../../src/functions/isaacAPIClass.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"isaacAPIClass.d.ts","sourceRoot":"","sources":["../../src/functions/isaacAPIClass.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAGA;;;;;;;;;;;;GAYG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAkBxE;AAED,uEAAuE;AACvE,wBAAgB,MAAM,CAAC,QAAQ,EAAE,OAAO,GAAG,QAAQ,IAAI,UAAU,CAEhE;AAED,2EAA2E;AAC3E,wBAAgB,MAAM,CAAC,QAAQ,EAAE,OAAO,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F,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,OAAO,GAChB,QAAQ,IAAI,uBAAuB,CAErC;AAED,6EAA6E;AAC7E,wBAAgB,YAAY,CAAC,QAAQ,EAAE,OAAO,GAAG,QAAQ,IAAI,gBAAgB,CAE5E;AAED,2EAA2E;AAC3E,wBAAgB,MAAM,CAAC,QAAQ,EAAE,OAAO,GAAG,QAAQ,IAAI,cAAc,CAEpE;AAED,6EAA6E;AAC7E,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,OAAO,GAAG,QAAQ,IAAI,gBAAgB,CAExE;AAED,0EAA0E;AAC1E,wBAAgB,KAAK,CAAC,QAAQ,EAAE,OAAO,GAAG,QAAQ,IAAI,aAAa,CAElE;AAED,uEAAuE;AACvE,wBAAgB,MAAM,CAAC,QAAQ,EAAE,OAAO,GAAG,QAAQ,IAAI,UAAU,CAEhE;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,MAAM,EAAE,GACb,OAAO,CAKT"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/// <reference types="isaac-typescript-definitions" />
|
|
2
|
+
/// <reference types="isaac-typescript-definitions" />
|
|
3
|
+
/// <reference types="isaac-typescript-definitions" />
|
|
4
|
+
/// <reference types="isaac-typescript-definitions" />
|
|
5
|
+
/// <reference types="isaac-typescript-definitions" />
|
|
6
|
+
import { AnyClass } from "../types";
|
|
1
7
|
/**
|
|
2
8
|
* This is the format of the object that you give to the save data manager. It will contains all of
|
|
3
9
|
* the variables for the particular mod feature.
|
|
@@ -11,6 +17,8 @@
|
|
|
11
17
|
* - `boolean`
|
|
12
18
|
* - `number`
|
|
13
19
|
* - `string`
|
|
20
|
+
* - `undefined` (will be skipped over when saving)
|
|
21
|
+
* - `null` (will be skipped over when saving)
|
|
14
22
|
* - `Map` / `DefaultMap`
|
|
15
23
|
* - `Set`
|
|
16
24
|
* - serializable Isaac API classes (such as `Color`)
|
|
@@ -21,10 +29,31 @@
|
|
|
21
29
|
* properties. This means that the TypeScript compiler will not be able to validate that you are
|
|
22
30
|
* passing in serializable data.)
|
|
23
31
|
*/
|
|
24
|
-
export interface SaveData {
|
|
25
|
-
persistent?:
|
|
26
|
-
run?:
|
|
27
|
-
level?:
|
|
32
|
+
export interface SaveData<Persistent = unknown, Run = unknown, Level = unknown> {
|
|
33
|
+
persistent?: Serializable<Persistent>;
|
|
34
|
+
run?: Serializable<Run>;
|
|
35
|
+
level?: Serializable<Level>;
|
|
28
36
|
room?: Record<string, unknown>;
|
|
29
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* A type that represents valid serializable data fed to the save data manager.
|
|
40
|
+
*
|
|
41
|
+
* Custom errors are thrown when an Isaac API class or a nested custom class is detected.
|
|
42
|
+
*
|
|
43
|
+
* The recursive nature of this type is based on the `Immutable` type:
|
|
44
|
+
* https://stackoverflow.com/questions/41879327/deepreadonly-object-typescript
|
|
45
|
+
*/
|
|
46
|
+
declare type Serializable<T> = T extends SerializableIsaacAPIClass ? T : T extends IsaacAPIClass ? IsaacAPIClassIsNotSerializable : T extends SerializablePrimitive ? T : T extends Array<infer U> ? SerializableArray<U> : T extends Map<infer K, infer V> ? SerializableMap<K, V> : T extends Set<infer M> ? SerializableSet<M> : SerializableObject<T>;
|
|
47
|
+
declare type SerializableInsideArrayOrMap<T> = T extends AnyClass ? CustomClassIsNotSerializable : Serializable<T>;
|
|
48
|
+
declare type SerializablePrimitive = boolean | string | number | undefined | null;
|
|
49
|
+
declare type SerializableArray<T> = Array<SerializableInsideArrayOrMap<T>>;
|
|
50
|
+
declare type SerializableMap<K, V> = Map<SerializableInsideArrayOrMap<K>, SerializableInsideArrayOrMap<V>>;
|
|
51
|
+
declare type SerializableSet<T> = Set<SerializableInsideArrayOrMap<T>>;
|
|
52
|
+
declare type SerializableObject<T> = {
|
|
53
|
+
[K in keyof T]: Serializable<T[K]>;
|
|
54
|
+
};
|
|
55
|
+
declare type SerializableIsaacAPIClass = Color | KColor | RNG | Vector;
|
|
56
|
+
declare type IsaacAPIClassIsNotSerializable = "Error: Isaac API classes (such as e.g. `Entity` or `RoomConfig`) are not serializable. For more information, see: https://isaacscript.github.io/main/gotchas#isaac-api-classes-are-not-serializable";
|
|
57
|
+
declare type CustomClassIsNotSerializable = 'Error: The "DefaultMap" class and other custom classes are not serializable when they are placed inside of an array, map, or set. For more information, see: https://isaacscript.github.io/main/gotchas#defaultmap-and-other-custom-classes-are-not-serializable';
|
|
58
|
+
export {};
|
|
30
59
|
//# sourceMappingURL=SaveData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SaveData.d.ts","sourceRoot":"","sources":["../../src/interfaces/SaveData.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"SaveData.d.ts","sourceRoot":"","sources":["../../src/interfaces/SaveData.ts"],"names":[],"mappings":";;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,WAAW,QAAQ,CACvB,UAAU,GAAG,OAAO,EACpB,GAAG,GAAG,OAAO,EACb,KAAK,GAAG,OAAO;IAEf,UAAU,CAAC,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC;IACtC,GAAG,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IACxB,KAAK,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC;AAED;;;;;;;GAOG;AACH,aAAK,YAAY,CAAC,CAAC,IAAI,CAAC,SAAS,yBAAyB,GACtD,CAAC,GACD,CAAC,SAAS,aAAa,GACvB,8BAA8B,GAC9B,CAAC,SAAS,qBAAqB,GAC/B,CAAC,GACD,CAAC,SAAS,KAAK,CAAC,MAAM,CAAC,CAAC,GACxB,iBAAiB,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O,CAAC"}
|
|
File without changes
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
export * from "./AnyClass";
|
|
1
2
|
export * from "./AnyEntity";
|
|
2
3
|
export * from "./AnyGridEntity";
|
|
3
4
|
export * from "./CollectibleIndex";
|
|
4
5
|
export * from "./Immutable";
|
|
5
|
-
export * from "./IsaacAPIClass";
|
|
6
6
|
export * from "./PickingUpItem";
|
|
7
7
|
export * from "./PickupIndex";
|
|
8
8
|
export * from "./PlayerIndex";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript-common",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.23.0",
|
|
4
4
|
"description": "Helper functions and features for IsaacScript mods.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaac",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"main": "dist/index",
|
|
23
23
|
"types": "dist/index.d.ts",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"isaac-typescript-definitions": "^3.1
|
|
25
|
+
"isaac-typescript-definitions": "^3.2.1"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -96,18 +96,30 @@ import { SAVE_DATA_MANAGER_FEATURE_NAME } from "./saveDataManagerConstants";
|
|
|
96
96
|
* manager. The save data manager will throw an error if the key is already registered.
|
|
97
97
|
* @param v An object that corresponds to the `SaveData` interface. The object is conventionally
|
|
98
98
|
* called "v" for brevity. ("v" is short for "local variables").
|
|
99
|
-
* @param conditionalFunc
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
* save
|
|
105
|
-
*
|
|
99
|
+
* @param conditionalFunc Optional. A function to run to check if this save data should be written
|
|
100
|
+
* to disk. Default is `() => true`, meaning that this save data will always
|
|
101
|
+
* be written to disk. Use a conditional function for the situations when the
|
|
102
|
+
* local variables are for a feature that the end-user can disable. (If the
|
|
103
|
+
* feature is disabled, then there would be no point in writing any of the
|
|
104
|
+
* variables to the "save#.dat" file.) You can also specify `false` to this
|
|
105
|
+
* argument in order to completely disable saving data. (Specifying `false`
|
|
106
|
+
* will allow you to use non-serializable objects in your save data, such as
|
|
107
|
+
* `EntityPtr`.
|
|
106
108
|
*/
|
|
109
|
+
export function saveDataManager<Persistent, Run, Level>(
|
|
110
|
+
key: string, // This is the overload for the standard case with serializable data.
|
|
111
|
+
v: SaveData<Persistent, Run, Level>,
|
|
112
|
+
conditionalFunc?: () => boolean,
|
|
113
|
+
): void;
|
|
107
114
|
export function saveDataManager(
|
|
115
|
+
key: string, // This is the overload for the case when saving data is disabled.
|
|
116
|
+
v: SaveData<unknown, unknown, unknown>,
|
|
117
|
+
conditionalFunc: false,
|
|
118
|
+
): void;
|
|
119
|
+
export function saveDataManager<Persistent, Run, Level>(
|
|
108
120
|
key: string,
|
|
109
|
-
v: SaveData,
|
|
110
|
-
conditionalFunc?: () => boolean,
|
|
121
|
+
v: SaveData<Persistent, Run, Level>,
|
|
122
|
+
conditionalFunc?: (() => boolean) | false,
|
|
111
123
|
): void {
|
|
112
124
|
errorIfFeaturesNotInitialized(SAVE_DATA_MANAGER_FEATURE_NAME);
|
|
113
125
|
|
|
@@ -126,6 +138,12 @@ export function saveDataManager(
|
|
|
126
138
|
// Add the new save data to the map.
|
|
127
139
|
saveDataMap.set(key, v);
|
|
128
140
|
|
|
141
|
+
// Convert the boolean to a function, if necessary. (Having the argument be a boolean is necessary
|
|
142
|
+
// in order for the overloads to work properly.)
|
|
143
|
+
if (conditionalFunc === false) {
|
|
144
|
+
conditionalFunc = () => false;
|
|
145
|
+
}
|
|
146
|
+
|
|
129
147
|
// If the only key in the save data is "room", then we don't have to worry about saving this data
|
|
130
148
|
// to disk (because the room would be reloaded upon resuming a continued run).
|
|
131
149
|
const saveDataKeys = Object.keys(v);
|
|
@@ -135,7 +153,7 @@ export function saveDataManager(
|
|
|
135
153
|
|
|
136
154
|
// Make a copy of the initial save data so that we can use it to restore the default values later
|
|
137
155
|
// on.
|
|
138
|
-
const saveDataCopy = deepCopy(v, SerializationType.NONE, key) as
|
|
156
|
+
const saveDataCopy = deepCopy(v, SerializationType.NONE, key) as typeof v;
|
|
139
157
|
saveDataDefaultsMap.set(key, saveDataCopy);
|
|
140
158
|
|
|
141
159
|
// Store the conditional function for later, if present.
|
|
@@ -44,7 +44,8 @@ function getAllSaveDataToWriteToDisk(
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
// Strip out the room part of the save data
|
|
47
|
+
// Strip out the room part of the save data (and any other arbitrary fields that they might
|
|
48
|
+
// have added).
|
|
48
49
|
const saveDataWithoutRoom: SaveData = {
|
|
49
50
|
persistent: saveData.persistent,
|
|
50
51
|
run: saveData.run,
|
|
@@ -31,10 +31,10 @@ const v = {
|
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
export function taintedLazarusPlayersInit(mod: ModUpgraded): void {
|
|
34
|
-
// `EntityPtr` is not serializable, so we cannot save data. However, this is inconsequential,
|
|
34
|
+
// `EntityPtr` is not serializable, so we cannot save the data. However, this is inconsequential,
|
|
35
35
|
// since the `POST_PLAYER_INIT` callback will fire when a run is continued, which will repopulate
|
|
36
36
|
// the `subPlayerMap`.
|
|
37
|
-
saveDataManager(FEATURE_NAME, v,
|
|
37
|
+
saveDataManager(FEATURE_NAME, v, false);
|
|
38
38
|
|
|
39
39
|
mod.AddCallback(ModCallback.POST_PLAYER_INIT, postPlayerInit);
|
|
40
40
|
}
|
|
@@ -187,9 +187,9 @@ function setPrimitiveEntityFields(
|
|
|
187
187
|
const indexKey = key as keyof typeof entity;
|
|
188
188
|
const value = entity[indexKey];
|
|
189
189
|
if (isPrimitive(value)) {
|
|
190
|
-
entityFields.set(indexKey, value);
|
|
190
|
+
entityFields.set(indexKey as string, value);
|
|
191
191
|
} else if (isVector(value)) {
|
|
192
|
-
entityFields.set(indexKey, vectorToString(value));
|
|
192
|
+
entityFields.set(indexKey as string, vectorToString(value));
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { AnyClass } from "../types";
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* This is the format of the object that you give to the save data manager. It will contains all of
|
|
3
5
|
* the variables for the particular mod feature.
|
|
@@ -11,6 +13,8 @@
|
|
|
11
13
|
* - `boolean`
|
|
12
14
|
* - `number`
|
|
13
15
|
* - `string`
|
|
16
|
+
* - `undefined` (will be skipped over when saving)
|
|
17
|
+
* - `null` (will be skipped over when saving)
|
|
14
18
|
* - `Map` / `DefaultMap`
|
|
15
19
|
* - `Set`
|
|
16
20
|
* - serializable Isaac API classes (such as `Color`)
|
|
@@ -21,9 +25,55 @@
|
|
|
21
25
|
* properties. This means that the TypeScript compiler will not be able to validate that you are
|
|
22
26
|
* passing in serializable data.)
|
|
23
27
|
*/
|
|
24
|
-
export interface SaveData
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
export interface SaveData<
|
|
29
|
+
Persistent = unknown,
|
|
30
|
+
Run = unknown,
|
|
31
|
+
Level = unknown,
|
|
32
|
+
> {
|
|
33
|
+
persistent?: Serializable<Persistent>;
|
|
34
|
+
run?: Serializable<Run>;
|
|
35
|
+
level?: Serializable<Level>;
|
|
36
|
+
room?: Record<string, unknown>; // Room data is never saved to disk.
|
|
29
37
|
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* A type that represents valid serializable data fed to the save data manager.
|
|
41
|
+
*
|
|
42
|
+
* Custom errors are thrown when an Isaac API class or a nested custom class is detected.
|
|
43
|
+
*
|
|
44
|
+
* The recursive nature of this type is based on the `Immutable` type:
|
|
45
|
+
* https://stackoverflow.com/questions/41879327/deepreadonly-object-typescript
|
|
46
|
+
*/
|
|
47
|
+
type Serializable<T> = T extends SerializableIsaacAPIClass
|
|
48
|
+
? T
|
|
49
|
+
: T extends IsaacAPIClass
|
|
50
|
+
? IsaacAPIClassIsNotSerializable
|
|
51
|
+
: T extends SerializablePrimitive
|
|
52
|
+
? T
|
|
53
|
+
: T extends Array<infer U>
|
|
54
|
+
? SerializableArray<U>
|
|
55
|
+
: T extends Map<infer K, infer V>
|
|
56
|
+
? SerializableMap<K, V>
|
|
57
|
+
: T extends Set<infer M>
|
|
58
|
+
? SerializableSet<M>
|
|
59
|
+
: SerializableObject<T>;
|
|
60
|
+
|
|
61
|
+
type SerializableInsideArrayOrMap<T> = T extends AnyClass
|
|
62
|
+
? CustomClassIsNotSerializable
|
|
63
|
+
: Serializable<T>;
|
|
64
|
+
|
|
65
|
+
type SerializablePrimitive = boolean | string | number | undefined | null;
|
|
66
|
+
type SerializableArray<T> = Array<SerializableInsideArrayOrMap<T>>;
|
|
67
|
+
type SerializableMap<K, V> = Map<
|
|
68
|
+
SerializableInsideArrayOrMap<K>,
|
|
69
|
+
SerializableInsideArrayOrMap<V>
|
|
70
|
+
>;
|
|
71
|
+
type SerializableSet<T> = Set<SerializableInsideArrayOrMap<T>>;
|
|
72
|
+
type SerializableObject<T> = { [K in keyof T]: Serializable<T[K]> };
|
|
73
|
+
type SerializableIsaacAPIClass = Color | KColor | RNG | Vector;
|
|
74
|
+
|
|
75
|
+
type IsaacAPIClassIsNotSerializable =
|
|
76
|
+
"Error: Isaac API classes (such as e.g. `Entity` or `RoomConfig`) are not serializable. For more information, see: https://isaacscript.github.io/main/gotchas#isaac-api-classes-are-not-serializable";
|
|
77
|
+
|
|
78
|
+
type CustomClassIsNotSerializable =
|
|
79
|
+
'Error: The "DefaultMap" class and other custom classes are not serializable when they are placed inside of an array, map, or set. For more information, see: https://isaacscript.github.io/main/gotchas#defaultmap-and-other-custom-classes-are-not-serializable';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type AnyClass = new (...args: readonly unknown[]) => unknown;
|
package/src/types/index.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
export * from "./AnyClass";
|
|
1
2
|
export * from "./AnyEntity";
|
|
2
3
|
export * from "./AnyGridEntity";
|
|
3
4
|
export * from "./CollectibleIndex";
|
|
4
5
|
export * from "./Immutable";
|
|
5
|
-
export * from "./IsaacAPIClass";
|
|
6
6
|
export * from "./PickingUpItem";
|
|
7
7
|
export * from "./PickupIndex";
|
|
8
8
|
export * from "./PlayerIndex";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
export * as AnyClass from "./AnyClass";
|
|
1
2
|
export * as AnyEntity from "./AnyEntity";
|
|
2
3
|
export * as AnyGridEntity from "./AnyGridEntity";
|
|
3
4
|
export * as CollectibleIndex from "./CollectibleIndex";
|
|
4
5
|
export * as Immutable from "./Immutable";
|
|
5
|
-
export * as IsaacAPIClass from "./IsaacAPIClass";
|
|
6
6
|
export * as PickingUpItem from "./PickingUpItem";
|
|
7
7
|
export * as PickupIndex from "./PickupIndex";
|
|
8
8
|
export * as PlayerIndex from "./PlayerIndex";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"indexTypeDoc.d.ts","sourceRoot":"","sources":["../../src/classes/indexTypeDoc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"indexTypeDoc.d.ts","sourceRoot":"","sources":["../../src/core/indexTypeDoc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,kBAAkB,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
local ____exports = {}
|
|
2
|
-
____exports.CachedClasses = require("core.cachedClasses")
|
|
3
|
-
____exports.Constants = require("core.constants")
|
|
4
|
-
____exports.ConstantsFirstLast = require("core.constantsFirstLast")
|
|
5
|
-
____exports.UpgradeMod = require("core.upgradeMod")
|
|
6
|
-
return ____exports
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * as AmbushType from "./AmbushType";
|
|
2
|
-
export * as CornerType from "./CornerType";
|
|
3
|
-
export * as HealthType from "./HealthType";
|
|
4
|
-
export * as ModCallbackCustom from "./ModCallbackCustom";
|
|
5
|
-
export * as PocketItemType from "./PocketItemType";
|
|
6
|
-
export * as RockAltType from "./RockAltType";
|
|
7
|
-
export * as SerializationType from "./SerializationType";
|
|
8
|
-
export * as SlotDestructionType from "./SlotDestructionType";
|
|
9
|
-
//# sourceMappingURL=indexTypeDoc.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"indexTypeDoc.d.ts","sourceRoot":"","sources":["../../src/enums/indexTypeDoc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,iBAAiB,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,iBAAiB,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,mBAAmB,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
local ____exports = {}
|
|
2
|
-
____exports.AmbushType = require("enums.AmbushType")
|
|
3
|
-
____exports.CornerType = require("enums.CornerType")
|
|
4
|
-
____exports.HealthType = require("enums.HealthType")
|
|
5
|
-
____exports.ModCallbackCustom = require("enums.ModCallbackCustom")
|
|
6
|
-
____exports.PocketItemType = require("enums.PocketItemType")
|
|
7
|
-
____exports.RockAltType = require("enums.RockAltType")
|
|
8
|
-
____exports.SerializationType = require("enums.SerializationType")
|
|
9
|
-
____exports.SlotDestructionType = require("enums.SlotDestructionType")
|
|
10
|
-
return ____exports
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export * as CharacterHealthConversion from "./characterHealthConversion";
|
|
2
|
-
export * as CharacterStats from "./characterStats";
|
|
3
|
-
export * as CollectibleItemPoolType from "./collectibleItemPoolType";
|
|
4
|
-
export * as CustomDoor from "./customDoor";
|
|
5
|
-
export * as CustomGridEntity from "./customGridEntity";
|
|
6
|
-
export * as CustomStage from "./customStage/exports";
|
|
7
|
-
export * as CustomTrapdoor from "./customTrapdoor/exports";
|
|
8
|
-
export * as DebugDisplay from "./debugDisplay/exports";
|
|
9
|
-
export * as DeployJSONRoom from "./deployJSONRoom";
|
|
10
|
-
export * as DisableAllSound from "./disableAllSound";
|
|
11
|
-
export * as DisableInputs from "./disableInputs";
|
|
12
|
-
export * as ExtraConsoleCommands from "./extraConsoleCommands/exports";
|
|
13
|
-
export * as FadeInRemover from "./fadeInRemover";
|
|
14
|
-
export * as FastReset from "./fastReset";
|
|
15
|
-
export * as ForgottenSwitch from "./forgottenSwitch";
|
|
16
|
-
export * as Pause from "./pause";
|
|
17
|
-
export * as PersistentEntities from "./persistentEntities";
|
|
18
|
-
export * as PickupIndex from "./pickupIndex";
|
|
19
|
-
export * as PlayerInventory from "./playerInventory";
|
|
20
|
-
export * as PonyDetection from "./ponyDetection";
|
|
21
|
-
export * as PreventCollectibleRotation from "./preventCollectibleRotation";
|
|
22
|
-
export * as RegisterHotkey from "./registerHotkey";
|
|
23
|
-
export * as RoomClearFrame from "./roomClearFrame";
|
|
24
|
-
export * as RoomHistory from "./roomHistory";
|
|
25
|
-
export * as RunInNFrames from "./runInNFrames";
|
|
26
|
-
export * as SaveDataManager from "./saveDataManager/exports";
|
|
27
|
-
export * as SirenHelpers from "./sirenHelpers";
|
|
28
|
-
export * as StageHistory from "./stageHistory";
|
|
29
|
-
export * as TaintedLazarusPlayers from "./taintedLazarusPlayers";
|
|
30
|
-
//# sourceMappingURL=indexTypeDoc.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"indexTypeDoc.d.ts","sourceRoot":"","sources":["../../src/features/indexTypeDoc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,yBAAyB,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,uBAAuB,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,WAAW,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,cAAc,MAAM,0BAA0B,CAAC;AAC3D,OAAO,KAAK,YAAY,MAAM,wBAAwB,CAAC;AACvD,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,oBAAoB,MAAM,gCAAgC,CAAC;AACvE,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,kBAAkB,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,0BAA0B,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,eAAe,MAAM,2BAA2B,CAAC;AAC7D,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,qBAAqB,MAAM,yBAAyB,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
local ____exports = {}
|
|
2
|
-
____exports.CharacterHealthConversion = require("features.characterHealthConversion")
|
|
3
|
-
____exports.CharacterStats = require("features.characterStats")
|
|
4
|
-
____exports.CollectibleItemPoolType = require("features.collectibleItemPoolType")
|
|
5
|
-
____exports.CustomDoor = require("features.customDoor")
|
|
6
|
-
____exports.CustomGridEntity = require("features.customGridEntity")
|
|
7
|
-
____exports.CustomStage = require("features.customStage.exports")
|
|
8
|
-
____exports.CustomTrapdoor = require("features.customTrapdoor.exports")
|
|
9
|
-
____exports.DebugDisplay = require("features.debugDisplay.exports")
|
|
10
|
-
____exports.DeployJSONRoom = require("features.deployJSONRoom")
|
|
11
|
-
____exports.DisableAllSound = require("features.disableAllSound")
|
|
12
|
-
____exports.DisableInputs = require("features.disableInputs")
|
|
13
|
-
____exports.ExtraConsoleCommands = require("features.extraConsoleCommands.exports")
|
|
14
|
-
____exports.FadeInRemover = require("features.fadeInRemover")
|
|
15
|
-
____exports.FastReset = require("features.fastReset")
|
|
16
|
-
____exports.ForgottenSwitch = require("features.forgottenSwitch")
|
|
17
|
-
____exports.Pause = require("features.pause")
|
|
18
|
-
____exports.PersistentEntities = require("features.persistentEntities")
|
|
19
|
-
____exports.PickupIndex = require("features.pickupIndex")
|
|
20
|
-
____exports.PlayerInventory = require("features.playerInventory")
|
|
21
|
-
____exports.PonyDetection = require("features.ponyDetection")
|
|
22
|
-
____exports.PreventCollectibleRotation = require("features.preventCollectibleRotation")
|
|
23
|
-
____exports.RegisterHotkey = require("features.registerHotkey")
|
|
24
|
-
____exports.RoomClearFrame = require("features.roomClearFrame")
|
|
25
|
-
____exports.RoomHistory = require("features.roomHistory")
|
|
26
|
-
____exports.RunInNFrames = require("features.runInNFrames")
|
|
27
|
-
____exports.SaveDataManager = require("features.saveDataManager.exports")
|
|
28
|
-
____exports.SirenHelpers = require("features.sirenHelpers")
|
|
29
|
-
____exports.StageHistory = require("features.stageHistory")
|
|
30
|
-
____exports.TaintedLazarusPlayers = require("features.taintedLazarusPlayers")
|
|
31
|
-
return ____exports
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
export * as Ambush from "./ambush";
|
|
2
|
-
export * as Array from "./array";
|
|
3
|
-
export * as Benchmark from "./benchmark";
|
|
4
|
-
export * as Bitwise from "./bitwise";
|
|
5
|
-
export * as Bombs from "./bombs";
|
|
6
|
-
export * as Bosses from "./bosses";
|
|
7
|
-
export * as CacheFlag from "./cacheFlag";
|
|
8
|
-
export * as Cards from "./cards";
|
|
9
|
-
export * as Challenges from "./challenges";
|
|
10
|
-
export * as Characters from "./characters";
|
|
11
|
-
export * as Charge from "./charge";
|
|
12
|
-
export * as ChargeBar from "./chargeBar";
|
|
13
|
-
export * as CollectibleCacheFlag from "./collectibleCacheFlag";
|
|
14
|
-
export * as Collectibles from "./collectibles";
|
|
15
|
-
export * as CollectibleSet from "./collectibleSet";
|
|
16
|
-
export * as CollectibleTag from "./collectibleTag";
|
|
17
|
-
export * as Color from "./color";
|
|
18
|
-
export * as Curses from "./curses";
|
|
19
|
-
export * as Debug from "./debug";
|
|
20
|
-
export * as DeepCopy from "./deepCopy";
|
|
21
|
-
export * as DeepCopyTests from "./deepCopyTests";
|
|
22
|
-
export * as Dimensions from "./dimensions";
|
|
23
|
-
export * as Direction from "./direction";
|
|
24
|
-
export * as Doors from "./doors";
|
|
25
|
-
export * as Easing from "./easing";
|
|
26
|
-
export * as Eden from "./eden";
|
|
27
|
-
export * as Effects from "./effects";
|
|
28
|
-
export * as Entities from "./entities";
|
|
29
|
-
export * as EntitiesSpecific from "./entitiesSpecific";
|
|
30
|
-
export * as EntityTypes from "./entityTypes";
|
|
31
|
-
export * as Enums from "./enums";
|
|
32
|
-
export * as Familiars from "./familiars";
|
|
33
|
-
export * as Flag from "./flag";
|
|
34
|
-
export * as Flying from "./flying";
|
|
35
|
-
export * as Globals from "./globals";
|
|
36
|
-
export * as GridEntities from "./gridEntities";
|
|
37
|
-
export * as GridEntitiesSpecific from "./gridEntitiesSpecific";
|
|
38
|
-
export * as Input from "./input";
|
|
39
|
-
export * as IsaacAPIClass from "./isaacAPIClass";
|
|
40
|
-
export * as ItemPool from "./itemPool";
|
|
41
|
-
export * as JSONHelpers from "./jsonHelpers";
|
|
42
|
-
export * as JSONRoom from "./jsonRoom";
|
|
43
|
-
export * as KColor from "./kColor";
|
|
44
|
-
export * as Language from "./language";
|
|
45
|
-
export * as Level from "./level";
|
|
46
|
-
export * as LevelGrid from "./levelGrid";
|
|
47
|
-
export * as Log from "./log";
|
|
48
|
-
export * as LogEntities from "./logEntities";
|
|
49
|
-
export * as Map from "./map";
|
|
50
|
-
export * as Math from "./math";
|
|
51
|
-
export * as MergeTests from "./mergeTests";
|
|
52
|
-
export * as Minimap from "./minimap";
|
|
53
|
-
export * as NextStage from "./nextStage";
|
|
54
|
-
export * as NPCs from "./npcs";
|
|
55
|
-
export * as Pickups from "./pickups";
|
|
56
|
-
export * as PickupsSpecific from "./pickupsSpecific";
|
|
57
|
-
export * as PickupVariants from "./pickupVariants";
|
|
58
|
-
export * as Pills from "./pills";
|
|
59
|
-
export * as PlayerCenter from "./playerCenter";
|
|
60
|
-
export * as PlayerDataStructures from "./playerDataStructures";
|
|
61
|
-
export * as PlayerHealth from "./playerHealth";
|
|
62
|
-
export * as PlayerIndex from "./playerIndex";
|
|
63
|
-
export * as Players from "./players";
|
|
64
|
-
export * as PocketItems from "./pocketItems";
|
|
65
|
-
export * as PositionVelocity from "./positionVelocity";
|
|
66
|
-
export * as PressurePlate from "./pressurePlate";
|
|
67
|
-
export * as Projectiles from "./projectiles";
|
|
68
|
-
export * as Random from "./random";
|
|
69
|
-
export * as ReorderedCallbacks from "./reorderedCallbacks";
|
|
70
|
-
export * as Revive from "./revive";
|
|
71
|
-
export * as RNG from "./rng";
|
|
72
|
-
export * as RockAlt from "./rockAlt";
|
|
73
|
-
export * as RoomData from "./roomData";
|
|
74
|
-
export * as RoomGrid from "./roomGrid";
|
|
75
|
-
export * as Rooms from "./rooms";
|
|
76
|
-
export * as RoomShape from "./roomShape";
|
|
77
|
-
export * as RoomTransition from "./roomTransition";
|
|
78
|
-
export * as Run from "./run";
|
|
79
|
-
export * as SaveFile from "./saveFile";
|
|
80
|
-
export * as Seeds from "./seeds";
|
|
81
|
-
export * as Serialization from "./serialization";
|
|
82
|
-
export * as Set from "./set";
|
|
83
|
-
export * as Sound from "./sound";
|
|
84
|
-
export * as SpawnCollectible from "./spawnCollectible";
|
|
85
|
-
export * as Sprites from "./sprites";
|
|
86
|
-
export * as Stage from "./stage";
|
|
87
|
-
export * as String from "./string";
|
|
88
|
-
export * as Table from "./table";
|
|
89
|
-
export * as Tears from "./tears";
|
|
90
|
-
export * as Transformations from "./transformations";
|
|
91
|
-
export * as TrinketCacheFlag from "./trinketCacheFlag";
|
|
92
|
-
export * as TrinketGive from "./trinketGive";
|
|
93
|
-
export * as Trinkets from "./trinkets";
|
|
94
|
-
export * as TSTLClass from "./tstlClass";
|
|
95
|
-
export * as Types from "./types";
|
|
96
|
-
export * as UI from "./ui";
|
|
97
|
-
export * as Utils from "./utils";
|
|
98
|
-
export * as Vector from "./vector";
|
|
99
|
-
//# sourceMappingURL=indexTypeDoc.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"indexTypeDoc.d.ts","sourceRoot":"","sources":["../../src/functions/indexTypeDoc.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,oBAAoB,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,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CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC"}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
local ____exports = {}
|
|
2
|
-
____exports.Ambush = require("functions.ambush")
|
|
3
|
-
____exports.Array = require("functions.array")
|
|
4
|
-
____exports.Benchmark = require("functions.benchmark")
|
|
5
|
-
____exports.Bitwise = require("functions.bitwise")
|
|
6
|
-
____exports.Bombs = require("functions.bombs")
|
|
7
|
-
____exports.Bosses = require("functions.bosses")
|
|
8
|
-
____exports.CacheFlag = require("functions.cacheFlag")
|
|
9
|
-
____exports.Cards = require("functions.cards")
|
|
10
|
-
____exports.Challenges = require("functions.challenges")
|
|
11
|
-
____exports.Characters = require("functions.characters")
|
|
12
|
-
____exports.Charge = require("functions.charge")
|
|
13
|
-
____exports.ChargeBar = require("functions.chargeBar")
|
|
14
|
-
____exports.CollectibleCacheFlag = require("functions.collectibleCacheFlag")
|
|
15
|
-
____exports.Collectibles = require("functions.collectibles")
|
|
16
|
-
____exports.CollectibleSet = require("functions.collectibleSet")
|
|
17
|
-
____exports.CollectibleTag = require("functions.collectibleTag")
|
|
18
|
-
____exports.Color = require("functions.color")
|
|
19
|
-
____exports.Curses = require("functions.curses")
|
|
20
|
-
____exports.Debug = require("functions.debug")
|
|
21
|
-
____exports.DeepCopy = require("functions.deepCopy")
|
|
22
|
-
____exports.DeepCopyTests = require("functions.deepCopyTests")
|
|
23
|
-
____exports.Dimensions = require("functions.dimensions")
|
|
24
|
-
____exports.Direction = require("functions.direction")
|
|
25
|
-
____exports.Doors = require("functions.doors")
|
|
26
|
-
____exports.Easing = require("functions.easing")
|
|
27
|
-
____exports.Eden = require("functions.eden")
|
|
28
|
-
____exports.Effects = require("functions.effects")
|
|
29
|
-
____exports.Entities = require("functions.entities")
|
|
30
|
-
____exports.EntitiesSpecific = require("functions.entitiesSpecific")
|
|
31
|
-
____exports.EntityTypes = require("functions.entityTypes")
|
|
32
|
-
____exports.Enums = require("functions.enums")
|
|
33
|
-
____exports.Familiars = require("functions.familiars")
|
|
34
|
-
____exports.Flag = require("functions.flag")
|
|
35
|
-
____exports.Flying = require("functions.flying")
|
|
36
|
-
____exports.Globals = require("functions.globals")
|
|
37
|
-
____exports.GridEntities = require("functions.gridEntities")
|
|
38
|
-
____exports.GridEntitiesSpecific = require("functions.gridEntitiesSpecific")
|
|
39
|
-
____exports.Input = require("functions.input")
|
|
40
|
-
____exports.IsaacAPIClass = require("functions.isaacAPIClass")
|
|
41
|
-
____exports.ItemPool = require("functions.itemPool")
|
|
42
|
-
____exports.JSONHelpers = require("functions.jsonHelpers")
|
|
43
|
-
____exports.JSONRoom = require("functions.jsonRoom")
|
|
44
|
-
____exports.KColor = require("functions.kColor")
|
|
45
|
-
____exports.Language = require("functions.language")
|
|
46
|
-
____exports.Level = require("functions.level")
|
|
47
|
-
____exports.LevelGrid = require("functions.levelGrid")
|
|
48
|
-
____exports.Log = require("functions.log")
|
|
49
|
-
____exports.LogEntities = require("functions.logEntities")
|
|
50
|
-
____exports.Map = require("functions.map")
|
|
51
|
-
____exports.Math = require("functions.math")
|
|
52
|
-
____exports.MergeTests = require("functions.mergeTests")
|
|
53
|
-
____exports.Minimap = require("functions.minimap")
|
|
54
|
-
____exports.NextStage = require("functions.nextStage")
|
|
55
|
-
____exports.NPCs = require("functions.npcs")
|
|
56
|
-
____exports.Pickups = require("functions.pickups")
|
|
57
|
-
____exports.PickupsSpecific = require("functions.pickupsSpecific")
|
|
58
|
-
____exports.PickupVariants = require("functions.pickupVariants")
|
|
59
|
-
____exports.Pills = require("functions.pills")
|
|
60
|
-
____exports.PlayerCenter = require("functions.playerCenter")
|
|
61
|
-
____exports.PlayerDataStructures = require("functions.playerDataStructures")
|
|
62
|
-
____exports.PlayerHealth = require("functions.playerHealth")
|
|
63
|
-
____exports.PlayerIndex = require("functions.playerIndex")
|
|
64
|
-
____exports.Players = require("functions.players")
|
|
65
|
-
____exports.PocketItems = require("functions.pocketItems")
|
|
66
|
-
____exports.PositionVelocity = require("functions.positionVelocity")
|
|
67
|
-
____exports.PressurePlate = require("functions.pressurePlate")
|
|
68
|
-
____exports.Projectiles = require("functions.projectiles")
|
|
69
|
-
____exports.Random = require("functions.random")
|
|
70
|
-
____exports.ReorderedCallbacks = require("functions.reorderedCallbacks")
|
|
71
|
-
____exports.Revive = require("functions.revive")
|
|
72
|
-
____exports.RNG = require("functions.rng")
|
|
73
|
-
____exports.RockAlt = require("functions.rockAlt")
|
|
74
|
-
____exports.RoomData = require("functions.roomData")
|
|
75
|
-
____exports.RoomGrid = require("functions.roomGrid")
|
|
76
|
-
____exports.Rooms = require("functions.rooms")
|
|
77
|
-
____exports.RoomShape = require("functions.roomShape")
|
|
78
|
-
____exports.RoomTransition = require("functions.roomTransition")
|
|
79
|
-
____exports.Run = require("functions.run")
|
|
80
|
-
____exports.SaveFile = require("functions.saveFile")
|
|
81
|
-
____exports.Seeds = require("functions.seeds")
|
|
82
|
-
____exports.Serialization = require("functions.serialization")
|
|
83
|
-
____exports.Set = require("functions.set")
|
|
84
|
-
____exports.Sound = require("functions.sound")
|
|
85
|
-
____exports.SpawnCollectible = require("functions.spawnCollectible")
|
|
86
|
-
____exports.Sprites = require("functions.sprites")
|
|
87
|
-
____exports.Stage = require("functions.stage")
|
|
88
|
-
____exports.String = require("functions.string")
|
|
89
|
-
____exports.Table = require("functions.table")
|
|
90
|
-
____exports.Tears = require("functions.tears")
|
|
91
|
-
____exports.Transformations = require("functions.transformations")
|
|
92
|
-
____exports.TrinketCacheFlag = require("functions.trinketCacheFlag")
|
|
93
|
-
____exports.TrinketGive = require("functions.trinketGive")
|
|
94
|
-
____exports.Trinkets = require("functions.trinkets")
|
|
95
|
-
____exports.TSTLClass = require("functions.tstlClass")
|
|
96
|
-
____exports.Types = require("functions.types")
|
|
97
|
-
____exports.UI = require("functions.ui")
|
|
98
|
-
____exports.Utils = require("functions.utils")
|
|
99
|
-
____exports.Vector = require("functions.vector")
|
|
100
|
-
return ____exports
|
package/dist/indexTypeDoc.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * as Classes from "./classes/indexTypeDoc";
|
|
2
|
-
export * as Core from "./core/indexTypeDoc";
|
|
3
|
-
export * as Enums from "./enums/indexTypeDoc";
|
|
4
|
-
export * as Features from "./features/indexTypeDoc";
|
|
5
|
-
export * as Functions from "./functions/indexTypeDoc";
|
|
6
|
-
export * as Interfaces from "./interfaces/indexTypeDoc";
|
|
7
|
-
export * as Maps from "./maps/indexTypeDoc";
|
|
8
|
-
export * as Objects from "./objects/indexTypeDoc";
|
|
9
|
-
export * as Types from "./types/indexTypeDoc";
|
|
10
|
-
//# sourceMappingURL=indexTypeDoc.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"indexTypeDoc.d.ts","sourceRoot":"","sources":["../src/indexTypeDoc.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAC;AAClD,OAAO,KAAK,IAAI,MAAM,qBAAqB,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAC9C,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,SAAS,MAAM,0BAA0B,CAAC;AACtD,OAAO,KAAK,UAAU,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,IAAI,MAAM,qBAAqB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC"}
|
package/dist/indexTypeDoc.lua
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
local ____exports = {}
|
|
2
|
-
____exports.Classes = require("classes.indexTypeDoc")
|
|
3
|
-
____exports.Core = require("core.indexTypeDoc")
|
|
4
|
-
____exports.Enums = require("enums.indexTypeDoc")
|
|
5
|
-
____exports.Features = require("features.indexTypeDoc")
|
|
6
|
-
____exports.Functions = require("functions.indexTypeDoc")
|
|
7
|
-
____exports.Interfaces = require("interfaces.indexTypeDoc")
|
|
8
|
-
____exports.Maps = require("maps.indexTypeDoc")
|
|
9
|
-
____exports.Objects = require("objects.indexTypeDoc")
|
|
10
|
-
____exports.Types = require("types.indexTypeDoc")
|
|
11
|
-
return ____exports
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * as ChargeBarSprites from "./ChargeBarSprites";
|
|
2
|
-
export * as Corner from "./Corner";
|
|
3
|
-
export * as CustomStageLua from "./CustomStageLua";
|
|
4
|
-
export * as GridEntityCustomData from "./GridEntityCustomData";
|
|
5
|
-
export * as JSONRoomsFile from "./JSONRoomsFile";
|
|
6
|
-
export * as PlayerHealth from "./PlayerHealth";
|
|
7
|
-
export * as PocketItemDescription from "./PocketItemDescription";
|
|
8
|
-
export * as RoomDescription from "./RoomDescription";
|
|
9
|
-
export * as SaveData from "./SaveData";
|
|
10
|
-
export * as TrinketSituation from "./TrinketSituation";
|
|
11
|
-
//# sourceMappingURL=indexTypeDoc.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"indexTypeDoc.d.ts","sourceRoot":"","sources":["../../src/interfaces/indexTypeDoc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,oBAAoB,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,qBAAqB,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"indexTypeDoc.d.ts","sourceRoot":"","sources":["../../src/maps/indexTypeDoc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"indexTypeDoc.d.ts","sourceRoot":"","sources":["../../src/objects/indexTypeDoc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IsaacAPIClass.d.ts","sourceRoot":"","sources":["../../src/types/IsaacAPIClass.ts"],"names":[],"mappings":";AAAA,oBAAY,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IACpD,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;CACvC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export * as AnyEntity from "./AnyEntity";
|
|
2
|
-
export * as AnyGridEntity from "./AnyGridEntity";
|
|
3
|
-
export * as CollectibleIndex from "./CollectibleIndex";
|
|
4
|
-
export * as Immutable from "./Immutable";
|
|
5
|
-
export * as IsaacAPIClass from "./IsaacAPIClass";
|
|
6
|
-
export * as PickingUpItem from "./PickingUpItem";
|
|
7
|
-
export * as PickupIndex from "./PickupIndex";
|
|
8
|
-
export * as PlayerIndex from "./PlayerIndex";
|
|
9
|
-
export * as SerializedIsaacAPIClass from "./SerializedIsaacAPIClass";
|
|
10
|
-
export * as TrapdoorDestination from "./TrapdoorDestination";
|
|
11
|
-
export * as TSTLClass from "./TSTLClass";
|
|
12
|
-
//# sourceMappingURL=indexTypeDoc.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"indexTypeDoc.d.ts","sourceRoot":"","sources":["../../src/types/indexTypeDoc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,uBAAuB,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,mBAAmB,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC"}
|