pkhex 25.10.26-a → 25.11.7
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/PKHeX.Core.dll → PKHeX.Core.dll} +0 -0
- package/{dist/PKHeX.deps.json → PKHeX.deps.json} +27 -85
- package/PKHeX.dll +0 -0
- package/{dist/PKHeX.runtimeconfig.json → PKHeX.runtimeconfig.json} +5 -2
- package/README.md +4 -2
- package/System.Collections.Concurrent.dll +0 -0
- package/System.Collections.dll +0 -0
- package/{dist/System.ComponentModel.Annotations.dll → System.ComponentModel.Annotations.dll} +0 -0
- package/System.ComponentModel.Primitives.dll +0 -0
- package/System.ComponentModel.TypeConverter.dll +0 -0
- package/System.Diagnostics.TraceSource.dll +0 -0
- package/System.IO.Compression.dll +0 -0
- package/{dist/System.IO.Pipelines.dll → System.IO.Pipelines.dll} +0 -0
- package/System.Linq.dll +0 -0
- package/System.Memory.dll +0 -0
- package/{dist/System.ObjectModel.dll → System.ObjectModel.dll} +0 -0
- package/System.Private.CoreLib.dll +0 -0
- package/System.Runtime.InteropServices.JavaScript.dll +0 -0
- package/{dist/System.Runtime.Numerics.dll → System.Runtime.Numerics.dll} +0 -0
- package/System.Security.Cryptography.dll +0 -0
- package/{dist/System.Text.Encodings.Web.dll → System.Text.Encodings.Web.dll} +0 -0
- package/System.Text.Json.dll +0 -0
- package/{dist/System.Text.RegularExpressions.dll → System.Text.RegularExpressions.dll} +0 -0
- package/{dist/System.Threading.Tasks.Parallel.dll → System.Threading.Tasks.Parallel.dll} +0 -0
- package/{dist/api-wrapper.d.ts → api-wrapper.d.ts} +40 -0
- package/{dist/api-wrapper.js → api-wrapper.js} +83 -0
- package/{dist/blazor.boot.json → blazor.boot.json} +1 -11
- package/{dist/corebindings.c → corebindings.c} +0 -0
- package/{dist/dotnet.d.ts → dotnet.d.ts} +0 -0
- package/{dist/dotnet.es6.extpost.js → dotnet.es6.extpost.js} +0 -0
- package/{dist/dotnet.es6.lib.js → dotnet.es6.lib.js} +1 -1
- package/{dist/dotnet.es6.pre.js → dotnet.es6.pre.js} +0 -0
- package/{dist/dotnet.globalization.js → dotnet.globalization.js} +0 -0
- package/{dist/dotnet.js → dotnet.js} +1 -1
- package/{dist/dotnet.js.map → dotnet.js.map} +1 -1
- package/{dist/dotnet.native.js → dotnet.native.js} +1 -1
- package/dotnet.native.js.symbols +8689 -0
- package/{dist/dotnet.native.wasm → dotnet.native.wasm} +0 -0
- package/{dist/dotnet.runtime.js → dotnet.runtime.js} +1 -1
- package/{dist/dotnet.runtime.js.map → dotnet.runtime.js.map} +1 -1
- package/{dist/driver.c → driver.c} +0 -0
- package/{dist/emcc-default.rsp → emcc-default.rsp} +0 -0
- package/{dist/emcc-link.rsp → emcc-link.rsp} +0 -0
- package/{dist/gc-common.h → gc-common.h} +0 -0
- package/helpers.d.ts +45 -0
- package/helpers.js +107 -0
- package/{dist/index.d.ts → index.d.ts} +1 -1
- package/package.json +10 -19
- package/{dist/pinvoke.c → pinvoke.c} +0 -0
- package/{dist/pinvoke.h → pinvoke.h} +0 -0
- package/{dist/runtime.c → runtime.c} +0 -0
- package/{dist/runtime.h → runtime.h} +0 -0
- package/{dist/segmentation-rules.json → segmentation-rules.json} +0 -0
- package/{dist/wasm-config.h → wasm-config.h} +0 -0
- package/{dist/wasm-props.json → wasm-props.json} +0 -0
- package/dist/PKHeX.dll +0 -0
- package/dist/System.Collections.Concurrent.dll +0 -0
- package/dist/System.Collections.dll +0 -0
- package/dist/System.ComponentModel.Primitives.dll +0 -0
- package/dist/System.ComponentModel.TypeConverter.dll +0 -0
- package/dist/System.Console.dll +0 -0
- package/dist/System.Diagnostics.DiagnosticSource.dll +0 -0
- package/dist/System.Diagnostics.TraceSource.dll +0 -0
- package/dist/System.IO.Compression.ZipFile.dll +0 -0
- package/dist/System.IO.Compression.dll +0 -0
- package/dist/System.Linq.dll +0 -0
- package/dist/System.Memory.dll +0 -0
- package/dist/System.Net.Http.dll +0 -0
- package/dist/System.Net.Primitives.dll +0 -0
- package/dist/System.Numerics.Vectors.dll +0 -0
- package/dist/System.Private.CoreLib.dll +0 -0
- package/dist/System.Private.Uri.dll +0 -0
- package/dist/System.Runtime.InteropServices.JavaScript.dll +0 -0
- package/dist/System.Runtime.InteropServices.dll +0 -0
- package/dist/System.Runtime.dll +0 -0
- package/dist/System.Security.Cryptography.dll +0 -0
- package/dist/System.Text.Json.dll +0 -0
- package/dist/System.Threading.dll +0 -0
- package/dist/dotnet.native.js.symbols +0 -8687
- package/dist/helpers.d.ts +0 -5
- package/dist/helpers.js +0 -15
- package/dist/package.json +0 -44
- package/src/helpers.ts +0 -20
- package/src/index.d.ts +0 -919
- /package/{dist/index.js → index.js} +0 -0
|
Binary file
|
|
@@ -9,134 +9,92 @@
|
|
|
9
9
|
".NETCoreApp,Version=v9.0/browser-wasm": {
|
|
10
10
|
"PKHeX/1.0.0": {
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"System.Text.Json": "9.0.10",
|
|
15
|
-
"runtimepack.Microsoft.NETCore.App.Runtime.Mono.browser-wasm": "9.0.10"
|
|
12
|
+
"PKHeX.Core": "25.11.7",
|
|
13
|
+
"runtimepack.Microsoft.NETCore.App.Runtime.Mono.browser-wasm": "9.0.13"
|
|
16
14
|
},
|
|
17
15
|
"runtime": {
|
|
18
16
|
"PKHeX.dll": {}
|
|
19
17
|
}
|
|
20
18
|
},
|
|
21
|
-
"runtimepack.Microsoft.NETCore.App.Runtime.Mono.browser-wasm/9.0.
|
|
19
|
+
"runtimepack.Microsoft.NETCore.App.Runtime.Mono.browser-wasm/9.0.13": {
|
|
22
20
|
"runtime": {
|
|
23
21
|
"System.Collections.Concurrent.dll": {
|
|
24
22
|
"assemblyVersion": "9.0.0.0",
|
|
25
|
-
"fileVersion": "9.0.
|
|
23
|
+
"fileVersion": "9.0.1326.6317"
|
|
26
24
|
},
|
|
27
25
|
"System.Collections.dll": {
|
|
28
26
|
"assemblyVersion": "9.0.0.0",
|
|
29
|
-
"fileVersion": "9.0.
|
|
27
|
+
"fileVersion": "9.0.1326.6317"
|
|
30
28
|
},
|
|
31
29
|
"System.ComponentModel.Annotations.dll": {
|
|
32
30
|
"assemblyVersion": "9.0.0.0",
|
|
33
|
-
"fileVersion": "9.0.
|
|
31
|
+
"fileVersion": "9.0.1326.6317"
|
|
34
32
|
},
|
|
35
33
|
"System.ComponentModel.Primitives.dll": {
|
|
36
34
|
"assemblyVersion": "9.0.0.0",
|
|
37
|
-
"fileVersion": "9.0.
|
|
35
|
+
"fileVersion": "9.0.1326.6317"
|
|
38
36
|
},
|
|
39
37
|
"System.ComponentModel.TypeConverter.dll": {
|
|
40
38
|
"assemblyVersion": "9.0.0.0",
|
|
41
|
-
"fileVersion": "9.0.
|
|
42
|
-
},
|
|
43
|
-
"System.Console.dll": {
|
|
44
|
-
"assemblyVersion": "9.0.0.0",
|
|
45
|
-
"fileVersion": "9.0.1025.47515"
|
|
46
|
-
},
|
|
47
|
-
"System.Diagnostics.DiagnosticSource.dll": {
|
|
48
|
-
"assemblyVersion": "9.0.0.0",
|
|
49
|
-
"fileVersion": "9.0.1025.47515"
|
|
39
|
+
"fileVersion": "9.0.1326.6317"
|
|
50
40
|
},
|
|
51
41
|
"System.Diagnostics.TraceSource.dll": {
|
|
52
42
|
"assemblyVersion": "9.0.0.0",
|
|
53
|
-
"fileVersion": "9.0.
|
|
54
|
-
},
|
|
55
|
-
"System.IO.Compression.ZipFile.dll": {
|
|
56
|
-
"assemblyVersion": "9.0.0.0",
|
|
57
|
-
"fileVersion": "9.0.1025.47515"
|
|
43
|
+
"fileVersion": "9.0.1326.6317"
|
|
58
44
|
},
|
|
59
45
|
"System.IO.Compression.dll": {
|
|
60
46
|
"assemblyVersion": "9.0.0.0",
|
|
61
|
-
"fileVersion": "9.0.
|
|
47
|
+
"fileVersion": "9.0.1326.6317"
|
|
62
48
|
},
|
|
63
49
|
"System.IO.Pipelines.dll": {
|
|
64
50
|
"assemblyVersion": "9.0.0.0",
|
|
65
|
-
"fileVersion": "9.0.
|
|
51
|
+
"fileVersion": "9.0.1326.6317"
|
|
66
52
|
},
|
|
67
53
|
"System.Linq.dll": {
|
|
68
54
|
"assemblyVersion": "9.0.0.0",
|
|
69
|
-
"fileVersion": "9.0.
|
|
55
|
+
"fileVersion": "9.0.1326.6317"
|
|
70
56
|
},
|
|
71
57
|
"System.Memory.dll": {
|
|
72
58
|
"assemblyVersion": "9.0.0.0",
|
|
73
|
-
"fileVersion": "9.0.
|
|
74
|
-
},
|
|
75
|
-
"System.Net.Http.dll": {
|
|
76
|
-
"assemblyVersion": "9.0.0.0",
|
|
77
|
-
"fileVersion": "9.0.1025.47515"
|
|
78
|
-
},
|
|
79
|
-
"System.Net.Primitives.dll": {
|
|
80
|
-
"assemblyVersion": "9.0.0.0",
|
|
81
|
-
"fileVersion": "9.0.1025.47515"
|
|
82
|
-
},
|
|
83
|
-
"System.Numerics.Vectors.dll": {
|
|
84
|
-
"assemblyVersion": "9.0.0.0",
|
|
85
|
-
"fileVersion": "9.0.1025.47515"
|
|
59
|
+
"fileVersion": "9.0.1326.6317"
|
|
86
60
|
},
|
|
87
61
|
"System.ObjectModel.dll": {
|
|
88
62
|
"assemblyVersion": "9.0.0.0",
|
|
89
|
-
"fileVersion": "9.0.
|
|
90
|
-
},
|
|
91
|
-
"System.Private.Uri.dll": {
|
|
92
|
-
"assemblyVersion": "9.0.0.0",
|
|
93
|
-
"fileVersion": "9.0.1025.47515"
|
|
63
|
+
"fileVersion": "9.0.1326.6317"
|
|
94
64
|
},
|
|
95
65
|
"System.Runtime.InteropServices.JavaScript.dll": {
|
|
96
66
|
"assemblyVersion": "9.0.0.0",
|
|
97
|
-
"fileVersion": "9.0.
|
|
98
|
-
},
|
|
99
|
-
"System.Runtime.InteropServices.dll": {
|
|
100
|
-
"assemblyVersion": "9.0.0.0",
|
|
101
|
-
"fileVersion": "9.0.1025.47515"
|
|
67
|
+
"fileVersion": "9.0.1326.6317"
|
|
102
68
|
},
|
|
103
69
|
"System.Runtime.Numerics.dll": {
|
|
104
70
|
"assemblyVersion": "9.0.0.0",
|
|
105
|
-
"fileVersion": "9.0.
|
|
106
|
-
},
|
|
107
|
-
"System.Runtime.dll": {
|
|
108
|
-
"assemblyVersion": "9.0.0.0",
|
|
109
|
-
"fileVersion": "9.0.1025.47515"
|
|
71
|
+
"fileVersion": "9.0.1326.6317"
|
|
110
72
|
},
|
|
111
73
|
"System.Security.Cryptography.dll": {
|
|
112
74
|
"assemblyVersion": "9.0.0.0",
|
|
113
|
-
"fileVersion": "9.0.
|
|
75
|
+
"fileVersion": "9.0.1326.6317"
|
|
114
76
|
},
|
|
115
77
|
"System.Text.Encodings.Web.dll": {
|
|
116
78
|
"assemblyVersion": "9.0.0.0",
|
|
117
|
-
"fileVersion": "9.0.
|
|
79
|
+
"fileVersion": "9.0.1326.6317"
|
|
118
80
|
},
|
|
119
81
|
"System.Text.Json.dll": {
|
|
120
82
|
"assemblyVersion": "9.0.0.0",
|
|
121
|
-
"fileVersion": "9.0.
|
|
83
|
+
"fileVersion": "9.0.1326.6317"
|
|
122
84
|
},
|
|
123
85
|
"System.Text.RegularExpressions.dll": {
|
|
124
86
|
"assemblyVersion": "9.0.0.0",
|
|
125
|
-
"fileVersion": "9.0.
|
|
87
|
+
"fileVersion": "9.0.1326.6317"
|
|
126
88
|
},
|
|
127
89
|
"System.Threading.Tasks.Parallel.dll": {
|
|
128
90
|
"assemblyVersion": "9.0.0.0",
|
|
129
|
-
"fileVersion": "9.0.
|
|
130
|
-
},
|
|
131
|
-
"System.Threading.dll": {
|
|
132
|
-
"assemblyVersion": "9.0.0.0",
|
|
133
|
-
"fileVersion": "9.0.1025.47515"
|
|
91
|
+
"fileVersion": "9.0.1326.6317"
|
|
134
92
|
}
|
|
135
93
|
},
|
|
136
94
|
"native": {
|
|
137
95
|
"System.Private.CoreLib.dll": {
|
|
138
96
|
"assemblyVersion": "9.0.0.0",
|
|
139
|
-
"fileVersion": "9.0.
|
|
97
|
+
"fileVersion": "9.0.1326.6317"
|
|
140
98
|
},
|
|
141
99
|
"dotnet.d.ts": {
|
|
142
100
|
"fileVersion": "0.0.0.0"
|
|
@@ -308,13 +266,11 @@
|
|
|
308
266
|
}
|
|
309
267
|
}
|
|
310
268
|
},
|
|
311
|
-
"
|
|
312
|
-
"System.Text.Json/9.0.10": {},
|
|
313
|
-
"PKHeX.Core/25.10.26": {
|
|
269
|
+
"PKHeX.Core/25.11.7": {
|
|
314
270
|
"runtime": {
|
|
315
271
|
"PKHeX.Core.dll": {
|
|
316
|
-
"assemblyVersion": "25.
|
|
317
|
-
"fileVersion": "25.
|
|
272
|
+
"assemblyVersion": "25.11.7.0",
|
|
273
|
+
"fileVersion": "25.11.7.0"
|
|
318
274
|
}
|
|
319
275
|
}
|
|
320
276
|
}
|
|
@@ -326,26 +282,12 @@
|
|
|
326
282
|
"serviceable": false,
|
|
327
283
|
"sha512": ""
|
|
328
284
|
},
|
|
329
|
-
"runtimepack.Microsoft.NETCore.App.Runtime.Mono.browser-wasm/9.0.
|
|
285
|
+
"runtimepack.Microsoft.NETCore.App.Runtime.Mono.browser-wasm/9.0.13": {
|
|
330
286
|
"type": "runtimepack",
|
|
331
287
|
"serviceable": false,
|
|
332
288
|
"sha512": ""
|
|
333
289
|
},
|
|
334
|
-
"
|
|
335
|
-
"type": "package",
|
|
336
|
-
"serviceable": true,
|
|
337
|
-
"sha512": "sha512-sseaSJcBxKEpkc59hnB00b3NmJdGvJLfj74HK+nucHxERxbZSUREuWKjC9ywc+HdzJvJyiP2eiyEOROaGSfcPw==",
|
|
338
|
-
"path": "microsoft.net.illink.tasks/9.0.10",
|
|
339
|
-
"hashPath": "microsoft.net.illink.tasks.9.0.10.nupkg.sha512"
|
|
340
|
-
},
|
|
341
|
-
"System.Text.Json/9.0.10": {
|
|
342
|
-
"type": "package",
|
|
343
|
-
"serviceable": true,
|
|
344
|
-
"sha512": "sha512-XM02ZBnzxk7Ti6l9YRy8Bp639wANqJzJzw4W4VYiCh+HXY9hBOWkGB4k89OLP/s/RxgM02P4a/mWcJTgFiLf1Q==",
|
|
345
|
-
"path": "system.text.json/9.0.10",
|
|
346
|
-
"hashPath": "system.text.json.9.0.10.nupkg.sha512"
|
|
347
|
-
},
|
|
348
|
-
"PKHeX.Core/25.10.26": {
|
|
290
|
+
"PKHeX.Core/25.11.7": {
|
|
349
291
|
"type": "project",
|
|
350
292
|
"serviceable": false,
|
|
351
293
|
"sha512": ""
|
package/PKHeX.dll
ADDED
|
Binary file
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"includedFrameworks": [
|
|
5
5
|
{
|
|
6
6
|
"name": "Microsoft.NETCore.App",
|
|
7
|
-
"version": "9.0.
|
|
7
|
+
"version": "9.0.13"
|
|
8
8
|
}
|
|
9
9
|
],
|
|
10
10
|
"configProperties": {
|
|
@@ -17,9 +17,12 @@
|
|
|
17
17
|
"System.Diagnostics.Metrics.Meter.IsSupported": false,
|
|
18
18
|
"System.Diagnostics.Tracing.EventSource.IsSupported": false,
|
|
19
19
|
"System.Globalization.Invariant": true,
|
|
20
|
-
"System.
|
|
20
|
+
"System.TimeZoneInfo.Invariant": false,
|
|
21
21
|
"System.Globalization.PredefinedCulturesOnly": true,
|
|
22
|
+
"System.Linq.Enumerable.IsSizeOptimized": true,
|
|
22
23
|
"System.Net.Http.EnableActivityPropagation": false,
|
|
24
|
+
"System.Net.Http.WasmEnableStreamingResponse": true,
|
|
25
|
+
"System.Net.SocketsHttpHandler.Http3Support": false,
|
|
23
26
|
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
|
|
24
27
|
"System.Resources.ResourceManager.AllowCustomResourceTypes": false,
|
|
25
28
|
"System.Resources.UseSystemResourceKeys": true,
|
package/README.md
CHANGED
|
@@ -68,6 +68,8 @@ locally with scripts/build.sh, and create a PR.
|
|
|
68
68
|
|
|
69
69
|
This project uses PKHeX.Core which is licensed under GPLv3.
|
|
70
70
|
|
|
71
|
-
##
|
|
71
|
+
## Acknowledgments
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
This project would not be possible without [PKHeX](https://github.com/kwsch/PKHeX) by [kwsch](https://github.com/kwsch). PKHeX is the gold standard for Pokémon save file editing, and we're grateful to be able to bring its powerful functionality to JavaScript/TypeScript environments through WebAssembly.
|
|
74
|
+
|
|
75
|
+
Special thanks to kwsch for maintaining PKHeX and making it available under an open source license.
|
|
Binary file
|
|
Binary file
|
package/{dist/System.ComponentModel.Annotations.dll → System.ComponentModel.Annotations.dll}
RENAMED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/System.Linq.dll
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -109,6 +109,46 @@ interface RawPKHeXApi {
|
|
|
109
109
|
GetSpeciesForms(species: number, generation: number): string;
|
|
110
110
|
GetSpeciesEvolutions(species: number, generation: number): string;
|
|
111
111
|
ConvertPKMFormat(base64PkmData: string, fromGeneration: number, toGeneration: number): string;
|
|
112
|
+
CollectColorfulScrews(handle: number): string;
|
|
113
|
+
GetColorfulScrewLocations(handle: number, collected: boolean): string;
|
|
114
|
+
SetTextSpeed(handle: number, speed: number): string;
|
|
115
|
+
GetTextSpeed(handle: number): string;
|
|
116
|
+
UnlockFashionCategory(handle: number, category: string): string;
|
|
117
|
+
UnlockAllFashion(handle: number): string;
|
|
118
|
+
UnlockAllHairMakeup(handle: number): string;
|
|
119
|
+
GetInfiniteRoyalePoints(handle: number): string;
|
|
120
|
+
SetInfiniteRoyalePoints(handle: number, royalePoints: number, infinitePoints: number): string;
|
|
121
|
+
GetFriendship(handle: number, box: number, slot: number): string;
|
|
122
|
+
SetFriendship(handle: number, box: number, slot: number, friendship: number): string;
|
|
123
|
+
SetOriginalTrainerFriendship(handle: number, box: number, slot: number, friendship: number): string;
|
|
124
|
+
SetHandlingTrainerFriendship(handle: number, box: number, slot: number, friendship: number): string;
|
|
125
|
+
SetAffection(handle: number, box: number, slot: number, affection: number): string;
|
|
126
|
+
SetFullness(handle: number, box: number, slot: number, fullness: number): string;
|
|
127
|
+
SetEnjoyment(handle: number, box: number, slot: number, enjoyment: number): string;
|
|
128
|
+
MaximizeFriendship(handle: number, box: number, slot: number): string;
|
|
129
|
+
GetMemories(handle: number, box: number, slot: number): string;
|
|
130
|
+
SetOriginalTrainerMemory(handle: number, box: number, slot: number, memoryId: number, intensity: number, feeling: number, variable: number): string;
|
|
131
|
+
SetHandlingTrainerMemory(handle: number, box: number, slot: number, memoryId: number, intensity: number, feeling: number, variable: number): string;
|
|
132
|
+
ClearMemories(handle: number, box: number, slot: number): string;
|
|
133
|
+
GetMemoryStrings(): string;
|
|
134
|
+
GetForm(handle: number, box: number, slot: number): string;
|
|
135
|
+
SetForm(handle: number, box: number, slot: number, form: number): string;
|
|
136
|
+
SetFormArgument(handle: number, box: number, slot: number, formArgument: number): string;
|
|
137
|
+
GetAvailableForms(species: number, generation: number): string;
|
|
138
|
+
ChangeSpeciesAndForm(handle: number, box: number, slot: number, species: number, form: number): string;
|
|
139
|
+
GetTeraType(handle: number, box: number, slot: number): string;
|
|
140
|
+
SetTeraType(handle: number, box: number, slot: number, teraType: number): string;
|
|
141
|
+
SetTeraTypeOverride(handle: number, box: number, slot: number, teraType: number): string;
|
|
142
|
+
ResetTeraType(handle: number, box: number, slot: number): string;
|
|
143
|
+
GetAllTeraTypes(): string;
|
|
144
|
+
GetPKMTeraType(base64PkmData: string, generation: number): string;
|
|
145
|
+
BatchCheckLegality(handle: number, locationsJson: string): string;
|
|
146
|
+
BatchModify(handle: number, modificationsJson: string): string;
|
|
147
|
+
ClearBox(handle: number, box: number): string;
|
|
148
|
+
ClearAllBoxes(handle: number): string;
|
|
149
|
+
SortBox(handle: number, box: number, sortBy: string): string;
|
|
150
|
+
CompactBox(handle: number, box: number): string;
|
|
151
|
+
GetBoxStats(handle: number, box: number): string;
|
|
112
152
|
}
|
|
113
153
|
export declare function createPKHeXApiWrapper(rawApiOrExports: RawPKHeXApi | any): PKHeXApi;
|
|
114
154
|
export {};
|
|
@@ -32,6 +32,8 @@ export function createPKHeXApiWrapper(rawApiOrExports) {
|
|
|
32
32
|
getInfo: (handle) => parseJson(rawApi.GetSaveInfo(handle)),
|
|
33
33
|
export: (handle) => parseJson(rawApi.ExportSave(handle)),
|
|
34
34
|
dispose: (handle) => parseJson(rawApi.DisposeSave(handle)),
|
|
35
|
+
setTextSpeed: (handle, speed) => parseJson(rawApi.SetTextSpeed(handle, speed)),
|
|
36
|
+
getTextSpeed: (handle) => parseJson(rawApi.GetTextSpeed(handle)),
|
|
35
37
|
pokemon: {
|
|
36
38
|
get: (handle, box, slot) => parseJson(rawApi.GetPokemon(handle, box, slot)),
|
|
37
39
|
getAll: (handle) => parseJson(rawApi.GetAllPokemon(handle)),
|
|
@@ -54,6 +56,30 @@ export function createPKHeXApiWrapper(rawApiOrExports) {
|
|
|
54
56
|
setRibbon: (handle, box, slot, ribbonName, value) => parseJson(rawApi.SetRibbon(handle, box, slot, ribbonName, value)),
|
|
55
57
|
getContestStats: (handle, box, slot) => parseJson(rawApi.GetContestStats(handle, box, slot)),
|
|
56
58
|
setContestStat: (handle, box, slot, statName, value) => parseJson(rawApi.SetContestStat(handle, box, slot, statName, value)),
|
|
59
|
+
// Friendship operations
|
|
60
|
+
getFriendship: (handle, box, slot) => parseJson(rawApi.GetFriendship(handle, box, slot)),
|
|
61
|
+
setFriendship: (handle, box, slot, friendship) => parseJson(rawApi.SetFriendship(handle, box, slot, friendship)),
|
|
62
|
+
setOriginalTrainerFriendship: (handle, box, slot, friendship) => parseJson(rawApi.SetOriginalTrainerFriendship(handle, box, slot, friendship)),
|
|
63
|
+
setHandlingTrainerFriendship: (handle, box, slot, friendship) => parseJson(rawApi.SetHandlingTrainerFriendship(handle, box, slot, friendship)),
|
|
64
|
+
setAffection: (handle, box, slot, affection) => parseJson(rawApi.SetAffection(handle, box, slot, affection)),
|
|
65
|
+
setFullness: (handle, box, slot, fullness) => parseJson(rawApi.SetFullness(handle, box, slot, fullness)),
|
|
66
|
+
setEnjoyment: (handle, box, slot, enjoyment) => parseJson(rawApi.SetEnjoyment(handle, box, slot, enjoyment)),
|
|
67
|
+
maximizeFriendship: (handle, box, slot) => parseJson(rawApi.MaximizeFriendship(handle, box, slot)),
|
|
68
|
+
// Memory operations
|
|
69
|
+
getMemories: (handle, box, slot) => parseJson(rawApi.GetMemories(handle, box, slot)),
|
|
70
|
+
setOriginalTrainerMemory: (handle, box, slot, memoryId, intensity, feeling, variable) => parseJson(rawApi.SetOriginalTrainerMemory(handle, box, slot, memoryId, intensity, feeling, variable)),
|
|
71
|
+
setHandlingTrainerMemory: (handle, box, slot, memoryId, intensity, feeling, variable) => parseJson(rawApi.SetHandlingTrainerMemory(handle, box, slot, memoryId, intensity, feeling, variable)),
|
|
72
|
+
clearMemories: (handle, box, slot) => parseJson(rawApi.ClearMemories(handle, box, slot)),
|
|
73
|
+
// Form operations
|
|
74
|
+
getForm: (handle, box, slot) => parseJson(rawApi.GetForm(handle, box, slot)),
|
|
75
|
+
setForm: (handle, box, slot, form) => parseJson(rawApi.SetForm(handle, box, slot, form)),
|
|
76
|
+
setFormArgument: (handle, box, slot, formArgument) => parseJson(rawApi.SetFormArgument(handle, box, slot, formArgument)),
|
|
77
|
+
changeSpeciesAndForm: (handle, box, slot, species, form) => parseJson(rawApi.ChangeSpeciesAndForm(handle, box, slot, species, form)),
|
|
78
|
+
// Tera Type operations
|
|
79
|
+
getTeraType: (handle, box, slot) => parseJson(rawApi.GetTeraType(handle, box, slot)),
|
|
80
|
+
setTeraType: (handle, box, slot, teraType) => parseJson(rawApi.SetTeraType(handle, box, slot, teraType)),
|
|
81
|
+
setTeraTypeOverride: (handle, box, slot, teraType) => parseJson(rawApi.SetTeraTypeOverride(handle, box, slot, teraType)),
|
|
82
|
+
resetTeraType: (handle, box, slot) => parseJson(rawApi.ResetTeraType(handle, box, slot)),
|
|
57
83
|
},
|
|
58
84
|
trainer: {
|
|
59
85
|
getInfo: (handle) => parseJson(rawApi.GetTrainerInfo(handle)),
|
|
@@ -73,6 +99,14 @@ export function createPKHeXApiWrapper(rawApiOrExports) {
|
|
|
73
99
|
getBattleBox: (handle) => parseJson(rawApi.GetBattleBox(handle)),
|
|
74
100
|
setBattleBoxSlot: (handle, slot, base64PkmData) => parseJson(rawApi.SetBattleBoxSlot(handle, slot, base64PkmData)),
|
|
75
101
|
getDaycare: (handle) => parseJson(rawApi.GetDaycare(handle)),
|
|
102
|
+
// Batch operations
|
|
103
|
+
batchCheckLegality: (handle, locations) => parseJson(rawApi.BatchCheckLegality(handle, JSON.stringify(locations))),
|
|
104
|
+
batchModify: (handle, modifications) => parseJson(rawApi.BatchModify(handle, JSON.stringify(modifications))),
|
|
105
|
+
clearBox: (handle, box) => parseJson(rawApi.ClearBox(handle, box)),
|
|
106
|
+
clearAllBoxes: (handle) => parseJson(rawApi.ClearAllBoxes(handle)),
|
|
107
|
+
sortBox: (handle, box, sortBy) => parseJson(rawApi.SortBox(handle, box, sortBy)),
|
|
108
|
+
compactBox: (handle, box) => parseJson(rawApi.CompactBox(handle, box)),
|
|
109
|
+
getBoxStats: (handle, box) => parseJson(rawApi.GetBoxStats(handle, box)),
|
|
76
110
|
},
|
|
77
111
|
items: {
|
|
78
112
|
getPouches: (handle) => parseJson(rawApi.GetPouchItems(handle)),
|
|
@@ -98,6 +132,10 @@ export function createPKHeXApiWrapper(rawApiOrExports) {
|
|
|
98
132
|
getBattleFacilityStats: (handle) => parseJson(rawApi.GetBattleFacilityStats(handle)),
|
|
99
133
|
getHallOfFame: (handle) => parseJson(rawApi.GetHallOfFame(handle)),
|
|
100
134
|
setHallOfFameEntry: (handle, index, team) => parseJson(rawApi.SetHallOfFameEntry(handle, index, JSON.stringify(team))),
|
|
135
|
+
collectColorfulScrews: (handle) => parseJson(rawApi.CollectColorfulScrews(handle)),
|
|
136
|
+
getColorfulScrewLocations: (handle, collected) => parseJson(rawApi.GetColorfulScrewLocations(handle, collected)),
|
|
137
|
+
getInfiniteRoyalePoints: (handle) => parseJson(rawApi.GetInfiniteRoyalePoints(handle)),
|
|
138
|
+
setInfiniteRoyalePoints: (handle, royalePoints, infinitePoints) => parseJson(rawApi.SetInfiniteRoyalePoints(handle, royalePoints, infinitePoints)),
|
|
101
139
|
},
|
|
102
140
|
time: {
|
|
103
141
|
getSecondsPlayed: (handle) => parseJson(rawApi.GetSecondsPlayed(handle)),
|
|
@@ -126,6 +164,9 @@ export function createPKHeXApiWrapper(rawApiOrExports) {
|
|
|
126
164
|
getPokePelago: (handle) => parseJson(rawApi.GetPokePelago(handle)),
|
|
127
165
|
getFestivalPlaza: (handle) => parseJson(rawApi.GetFestivalPlaza(handle)),
|
|
128
166
|
getPokeJobs: (handle) => parseJson(rawApi.GetPokeJobs(handle)),
|
|
167
|
+
unlockFashionCategory: (handle, category) => parseJson(rawApi.UnlockFashionCategory(handle, category)),
|
|
168
|
+
unlockAllFashion: (handle) => parseJson(rawApi.UnlockAllFashion(handle)),
|
|
169
|
+
unlockAllHairMakeup: (handle) => parseJson(rawApi.UnlockAllHairMakeup(handle)),
|
|
129
170
|
},
|
|
130
171
|
},
|
|
131
172
|
pkm: {
|
|
@@ -144,11 +185,53 @@ export function createPKHeXApiWrapper(rawApiOrExports) {
|
|
|
144
185
|
getHiddenPower: (base64PkmData, generation) => parseJson(rawApi.GetPKMHiddenPower(base64PkmData, generation)),
|
|
145
186
|
getCharacteristic: (base64PkmData, generation) => parseJson(rawApi.GetPKMCharacteristic(base64PkmData, generation)),
|
|
146
187
|
convertFormat: (base64PkmData, fromGeneration, toGeneration) => parseJson(rawApi.ConvertPKMFormat(base64PkmData, fromGeneration, toGeneration)),
|
|
188
|
+
getTeraType: (base64PkmData, generation) => parseJson(rawApi.GetPKMTeraType(base64PkmData, generation)),
|
|
147
189
|
},
|
|
148
190
|
gameData: {
|
|
149
191
|
getMetLocations: (generation, gameVersion, eggLocations) => parseJson(rawApi.GetPKMMetLocations(generation, gameVersion, eggLocations)),
|
|
150
192
|
getSpeciesForms: (species, generation) => parseJson(rawApi.GetSpeciesForms(species, generation)),
|
|
151
193
|
getSpeciesEvolutions: (species, generation) => parseJson(rawApi.GetSpeciesEvolutions(species, generation)),
|
|
194
|
+
getAvailableForms: (species, generation) => parseJson(rawApi.GetAvailableForms(species, generation)),
|
|
195
|
+
getMemoryStrings: () => parseJson(rawApi.GetMemoryStrings()),
|
|
196
|
+
getAllTeraTypes: () => parseJson(rawApi.GetAllTeraTypes()),
|
|
197
|
+
},
|
|
198
|
+
gen9a: {
|
|
199
|
+
collectColorfulScrews: (handle) => {
|
|
200
|
+
console.warn('gen9a.collectColorfulScrews is deprecated. Use save.progress.collectColorfulScrews instead.');
|
|
201
|
+
return parseJson(rawApi.CollectColorfulScrews(handle));
|
|
202
|
+
},
|
|
203
|
+
getColorfulScrewLocations: (handle, collected) => {
|
|
204
|
+
console.warn('gen9a.getColorfulScrewLocations is deprecated. Use save.progress.getColorfulScrewLocations instead.');
|
|
205
|
+
return parseJson(rawApi.GetColorfulScrewLocations(handle, collected));
|
|
206
|
+
},
|
|
207
|
+
setTextSpeed: (handle, speed) => {
|
|
208
|
+
console.warn('gen9a.setTextSpeed is deprecated. Use save.setTextSpeed instead.');
|
|
209
|
+
return parseJson(rawApi.SetTextSpeed(handle, speed));
|
|
210
|
+
},
|
|
211
|
+
getTextSpeed: (handle) => {
|
|
212
|
+
console.warn('gen9a.getTextSpeed is deprecated. Use save.getTextSpeed instead.');
|
|
213
|
+
return parseJson(rawApi.GetTextSpeed(handle));
|
|
214
|
+
},
|
|
215
|
+
unlockFashionCategory: (handle, category) => {
|
|
216
|
+
console.warn('gen9a.unlockFashionCategory is deprecated. Use save.features.unlockFashionCategory instead.');
|
|
217
|
+
return parseJson(rawApi.UnlockFashionCategory(handle, category));
|
|
218
|
+
},
|
|
219
|
+
unlockAllFashion: (handle) => {
|
|
220
|
+
console.warn('gen9a.unlockAllFashion is deprecated. Use save.features.unlockAllFashion instead.');
|
|
221
|
+
return parseJson(rawApi.UnlockAllFashion(handle));
|
|
222
|
+
},
|
|
223
|
+
unlockAllHairMakeup: (handle) => {
|
|
224
|
+
console.warn('gen9a.unlockAllHairMakeup is deprecated. Use save.features.unlockAllHairMakeup instead.');
|
|
225
|
+
return parseJson(rawApi.UnlockAllHairMakeup(handle));
|
|
226
|
+
},
|
|
227
|
+
getInfiniteRoyalePoints: (handle) => {
|
|
228
|
+
console.warn('gen9a.getInfiniteRoyalePoints is deprecated. Use save.progress.getInfiniteRoyalePoints instead.');
|
|
229
|
+
return parseJson(rawApi.GetInfiniteRoyalePoints(handle));
|
|
230
|
+
},
|
|
231
|
+
setInfiniteRoyalePoints: (handle, royalePoints, infinitePoints) => {
|
|
232
|
+
console.warn('gen9a.setInfiniteRoyalePoints is deprecated. Use save.progress.setInfiniteRoyalePoints instead.');
|
|
233
|
+
return parseJson(rawApi.SetInfiniteRoyalePoints(handle, royalePoints, infinitePoints));
|
|
234
|
+
},
|
|
152
235
|
},
|
|
153
236
|
};
|
|
154
237
|
}
|
|
@@ -9,30 +9,20 @@
|
|
|
9
9
|
"System.ComponentModel.Annotations.dll": "",
|
|
10
10
|
"System.ComponentModel.Primitives.dll": "",
|
|
11
11
|
"System.ComponentModel.TypeConverter.dll": "",
|
|
12
|
-
"System.Console.dll": "",
|
|
13
|
-
"System.Diagnostics.DiagnosticSource.dll": "",
|
|
14
12
|
"System.Diagnostics.TraceSource.dll": "",
|
|
15
|
-
"System.IO.Compression.ZipFile.dll": "",
|
|
16
13
|
"System.IO.Compression.dll": "",
|
|
17
14
|
"System.IO.Pipelines.dll": "",
|
|
18
15
|
"System.Linq.dll": "",
|
|
19
16
|
"System.Memory.dll": "",
|
|
20
|
-
"System.Net.Http.dll": "",
|
|
21
|
-
"System.Net.Primitives.dll": "",
|
|
22
|
-
"System.Numerics.Vectors.dll": "",
|
|
23
17
|
"System.ObjectModel.dll": "",
|
|
24
18
|
"System.Private.CoreLib.dll": "",
|
|
25
|
-
"System.Private.Uri.dll": "",
|
|
26
19
|
"System.Runtime.InteropServices.JavaScript.dll": "",
|
|
27
|
-
"System.Runtime.InteropServices.dll": "",
|
|
28
20
|
"System.Runtime.Numerics.dll": "",
|
|
29
|
-
"System.Runtime.dll": "",
|
|
30
21
|
"System.Security.Cryptography.dll": "",
|
|
31
22
|
"System.Text.Encodings.Web.dll": "",
|
|
32
23
|
"System.Text.Json.dll": "",
|
|
33
24
|
"System.Text.RegularExpressions.dll": "",
|
|
34
|
-
"System.Threading.Tasks.Parallel.dll": ""
|
|
35
|
-
"System.Threading.dll": ""
|
|
25
|
+
"System.Threading.Tasks.Parallel.dll": ""
|
|
36
26
|
},
|
|
37
27
|
"wasmNative": {
|
|
38
28
|
"dotnet.native.wasm": ""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -101,7 +101,7 @@ function injectDependencies() {
|
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
// var methodIndexByName wil be appended below by the MSBuild in browser.proj via exports-linker.ts
|
|
104
|
-
var gitHash = "
|
|
104
|
+
var gitHash = "9ecbfd4f3f330dc9649bce49cb12570b19d48c87";
|
|
105
105
|
var methodIndexByName = {
|
|
106
106
|
"mono_wasm_imports": {
|
|
107
107
|
"mono_wasm_schedule_timer": 0,
|
|
File without changes
|
|
File without changes
|