fleethub-core 1.7.11 → 1.8.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/node/fleethub_core.d.ts +894 -751
- package/node/fleethub_core.js +335 -398
- package/node/fleethub_core_bg.wasm +0 -0
- package/node/fleethub_core_bg.wasm.d.ts +125 -166
- package/package.json +1 -1
- package/pkg/fleethub_core.d.ts +894 -751
- package/pkg/fleethub_core_bg.js +335 -398
- package/pkg/fleethub_core_bg.wasm +0 -0
- package/pkg/fleethub_core_bg.wasm.d.ts +125 -166
package/node/fleethub_core.js
CHANGED
|
@@ -2,54 +2,24 @@ let imports = {};
|
|
|
2
2
|
imports['__wbindgen_placeholder__'] = module.exports;
|
|
3
3
|
let wasm;
|
|
4
4
|
const { createEquipmentBonuses } = require(`equipment-bonus`);
|
|
5
|
-
const {
|
|
6
|
-
|
|
7
|
-
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
8
|
-
|
|
9
|
-
cachedTextDecoder.decode();
|
|
10
|
-
|
|
11
|
-
let cachedUint8Memory0;
|
|
12
|
-
function getUint8Memory0() {
|
|
13
|
-
if (cachedUint8Memory0.byteLength === 0) {
|
|
14
|
-
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
|
|
15
|
-
}
|
|
16
|
-
return cachedUint8Memory0;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
function getStringFromWasm0(ptr, len) {
|
|
20
|
-
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
21
|
-
}
|
|
5
|
+
const { TextEncoder, TextDecoder } = require(`util`);
|
|
22
6
|
|
|
23
7
|
const heap = new Array(32).fill(undefined);
|
|
24
8
|
|
|
25
9
|
heap.push(undefined, null, true, false);
|
|
26
10
|
|
|
27
|
-
let heap_next = heap.length;
|
|
28
|
-
|
|
29
|
-
function addHeapObject(obj) {
|
|
30
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
31
|
-
const idx = heap_next;
|
|
32
|
-
heap_next = heap[idx];
|
|
33
|
-
|
|
34
|
-
heap[idx] = obj;
|
|
35
|
-
return idx;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
11
|
function getObject(idx) { return heap[idx]; }
|
|
39
12
|
|
|
40
|
-
|
|
41
|
-
if (idx < 36) return;
|
|
42
|
-
heap[idx] = heap_next;
|
|
43
|
-
heap_next = idx;
|
|
44
|
-
}
|
|
13
|
+
let WASM_VECTOR_LEN = 0;
|
|
45
14
|
|
|
46
|
-
|
|
47
|
-
const ret = getObject(idx);
|
|
48
|
-
dropObject(idx);
|
|
49
|
-
return ret;
|
|
50
|
-
}
|
|
15
|
+
let cachedUint8Memory0 = new Uint8Array();
|
|
51
16
|
|
|
52
|
-
|
|
17
|
+
function getUint8Memory0() {
|
|
18
|
+
if (cachedUint8Memory0.byteLength === 0) {
|
|
19
|
+
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
|
|
20
|
+
}
|
|
21
|
+
return cachedUint8Memory0;
|
|
22
|
+
}
|
|
53
23
|
|
|
54
24
|
let cachedTextEncoder = new TextEncoder('utf-8');
|
|
55
25
|
|
|
@@ -104,7 +74,8 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
104
74
|
return ptr;
|
|
105
75
|
}
|
|
106
76
|
|
|
107
|
-
let cachedInt32Memory0;
|
|
77
|
+
let cachedInt32Memory0 = new Int32Array();
|
|
78
|
+
|
|
108
79
|
function getInt32Memory0() {
|
|
109
80
|
if (cachedInt32Memory0.byteLength === 0) {
|
|
110
81
|
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
@@ -112,9 +83,44 @@ function getInt32Memory0() {
|
|
|
112
83
|
return cachedInt32Memory0;
|
|
113
84
|
}
|
|
114
85
|
|
|
115
|
-
|
|
86
|
+
let heap_next = heap.length;
|
|
116
87
|
|
|
117
|
-
|
|
88
|
+
function dropObject(idx) {
|
|
89
|
+
if (idx < 36) return;
|
|
90
|
+
heap[idx] = heap_next;
|
|
91
|
+
heap_next = idx;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
function takeObject(idx) {
|
|
95
|
+
const ret = getObject(idx);
|
|
96
|
+
dropObject(idx);
|
|
97
|
+
return ret;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
101
|
+
|
|
102
|
+
cachedTextDecoder.decode();
|
|
103
|
+
|
|
104
|
+
function getStringFromWasm0(ptr, len) {
|
|
105
|
+
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
function addHeapObject(obj) {
|
|
109
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
110
|
+
const idx = heap_next;
|
|
111
|
+
heap_next = heap[idx];
|
|
112
|
+
|
|
113
|
+
heap[idx] = obj;
|
|
114
|
+
return idx;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* @param {ShipConditions} value
|
|
118
|
+
* @returns {ShipConditions}
|
|
119
|
+
*/
|
|
120
|
+
module.exports.parse_ship_conditions = function(value) {
|
|
121
|
+
const ret = wasm.parse_ship_conditions(addHeapObject(value));
|
|
122
|
+
return takeObject(ret);
|
|
123
|
+
};
|
|
118
124
|
|
|
119
125
|
function _assertClass(instance, klass) {
|
|
120
126
|
if (!(instance instanceof klass)) {
|
|
@@ -123,7 +129,12 @@ function _assertClass(instance, klass) {
|
|
|
123
129
|
return instance.ptr;
|
|
124
130
|
}
|
|
125
131
|
|
|
126
|
-
|
|
132
|
+
const u32CvtShim = new Uint32Array(2);
|
|
133
|
+
|
|
134
|
+
const uint64CvtShim = new BigUint64Array(u32CvtShim.buffer);
|
|
135
|
+
|
|
136
|
+
let cachedFloat64Memory0 = new Float64Array();
|
|
137
|
+
|
|
127
138
|
function getFloat64Memory0() {
|
|
128
139
|
if (cachedFloat64Memory0.byteLength === 0) {
|
|
129
140
|
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
@@ -131,11 +142,23 @@ function getFloat64Memory0() {
|
|
|
131
142
|
return cachedFloat64Memory0;
|
|
132
143
|
}
|
|
133
144
|
|
|
145
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
146
|
+
return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
150
|
+
const ptr = malloc(arg.length * 1);
|
|
151
|
+
getUint8Memory0().set(arg, ptr / 1);
|
|
152
|
+
WASM_VECTOR_LEN = arg.length;
|
|
153
|
+
return ptr;
|
|
154
|
+
}
|
|
155
|
+
|
|
134
156
|
function isLikeNone(x) {
|
|
135
157
|
return x === undefined || x === null;
|
|
136
158
|
}
|
|
137
159
|
|
|
138
|
-
let cachedUint32Memory0;
|
|
160
|
+
let cachedUint32Memory0 = new Uint32Array();
|
|
161
|
+
|
|
139
162
|
function getUint32Memory0() {
|
|
140
163
|
if (cachedUint32Memory0.byteLength === 0) {
|
|
141
164
|
cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
|
|
@@ -153,7 +176,8 @@ function getArrayJsValueFromWasm0(ptr, len) {
|
|
|
153
176
|
return result;
|
|
154
177
|
}
|
|
155
178
|
|
|
156
|
-
let cachedUint16Memory0;
|
|
179
|
+
let cachedUint16Memory0 = new Uint16Array();
|
|
180
|
+
|
|
157
181
|
function getUint16Memory0() {
|
|
158
182
|
if (cachedUint16Memory0.byteLength === 0) {
|
|
159
183
|
cachedUint16Memory0 = new Uint16Array(wasm.memory.buffer);
|
|
@@ -164,26 +188,15 @@ function getUint16Memory0() {
|
|
|
164
188
|
function getArrayU16FromWasm0(ptr, len) {
|
|
165
189
|
return getUint16Memory0().subarray(ptr / 2, ptr / 2 + len);
|
|
166
190
|
}
|
|
167
|
-
|
|
168
|
-
function passArray16ToWasm0(arg, malloc) {
|
|
169
|
-
const ptr = malloc(arg.length * 2);
|
|
170
|
-
getUint16Memory0().set(arg, ptr / 2);
|
|
171
|
-
WASM_VECTOR_LEN = arg.length;
|
|
172
|
-
return ptr;
|
|
173
|
-
}
|
|
174
191
|
/**
|
|
175
192
|
*/
|
|
176
193
|
module.exports.set_panic_hook = function() {
|
|
177
194
|
wasm.set_panic_hook();
|
|
178
195
|
};
|
|
179
196
|
|
|
180
|
-
function
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
function passArray8ToWasm0(arg, malloc) {
|
|
185
|
-
const ptr = malloc(arg.length * 1);
|
|
186
|
-
getUint8Memory0().set(arg, ptr / 1);
|
|
197
|
+
function passArray16ToWasm0(arg, malloc) {
|
|
198
|
+
const ptr = malloc(arg.length * 2);
|
|
199
|
+
getUint16Memory0().set(arg, ptr / 2);
|
|
187
200
|
WASM_VECTOR_LEN = arg.length;
|
|
188
201
|
return ptr;
|
|
189
202
|
}
|
|
@@ -220,6 +233,7 @@ class AirSquadron {
|
|
|
220
233
|
wasm.__wbg_airsquadron_free(ptr);
|
|
221
234
|
}
|
|
222
235
|
/**
|
|
236
|
+
* @returns {string}
|
|
223
237
|
*/
|
|
224
238
|
get id() {
|
|
225
239
|
try {
|
|
@@ -234,6 +248,7 @@ class AirSquadron {
|
|
|
234
248
|
}
|
|
235
249
|
}
|
|
236
250
|
/**
|
|
251
|
+
* @param {string} arg0
|
|
237
252
|
*/
|
|
238
253
|
set id(arg0) {
|
|
239
254
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -241,11 +256,12 @@ class AirSquadron {
|
|
|
241
256
|
wasm.__wbg_set_airsquadron_id(this.ptr, ptr0, len0);
|
|
242
257
|
}
|
|
243
258
|
/**
|
|
259
|
+
* @returns {bigint}
|
|
244
260
|
*/
|
|
245
|
-
get
|
|
261
|
+
get hash() {
|
|
246
262
|
try {
|
|
247
263
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
248
|
-
wasm.
|
|
264
|
+
wasm.__wbg_get_airsquadron_hash(retptr, this.ptr);
|
|
249
265
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
250
266
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
251
267
|
u32CvtShim[0] = r0;
|
|
@@ -257,20 +273,23 @@ class AirSquadron {
|
|
|
257
273
|
}
|
|
258
274
|
}
|
|
259
275
|
/**
|
|
276
|
+
* @param {bigint} arg0
|
|
260
277
|
*/
|
|
261
|
-
set
|
|
278
|
+
set hash(arg0) {
|
|
262
279
|
uint64CvtShim[0] = arg0;
|
|
263
280
|
const low0 = u32CvtShim[0];
|
|
264
281
|
const high0 = u32CvtShim[1];
|
|
265
|
-
wasm.
|
|
282
|
+
wasm.__wbg_set_airsquadron_hash(this.ptr, low0, high0);
|
|
266
283
|
}
|
|
267
284
|
/**
|
|
285
|
+
* @returns {AirSquadronMode}
|
|
268
286
|
*/
|
|
269
287
|
get mode() {
|
|
270
288
|
const ret = wasm.__wbg_get_airsquadron_mode(this.ptr);
|
|
271
289
|
return takeObject(ret);
|
|
272
290
|
}
|
|
273
291
|
/**
|
|
292
|
+
* @param {AirSquadronMode} arg0
|
|
274
293
|
*/
|
|
275
294
|
set mode(arg0) {
|
|
276
295
|
wasm.__wbg_set_airsquadron_mode(this.ptr, addHeapObject(arg0));
|
|
@@ -372,68 +391,79 @@ class Analyzer {
|
|
|
372
391
|
wasm.__wbg_analyzer_free(ptr);
|
|
373
392
|
}
|
|
374
393
|
/**
|
|
375
|
-
* @param {
|
|
376
|
-
* @param {
|
|
377
|
-
* @param {
|
|
378
|
-
* @
|
|
379
|
-
* @param {number | undefined} aaci
|
|
380
|
-
* @returns {CompAntiAirInfo}
|
|
394
|
+
* @param {AttackAnalyzerConfig} config
|
|
395
|
+
* @param {Ship} attacker
|
|
396
|
+
* @param {Ship} target
|
|
397
|
+
* @returns {AttackAnalysis}
|
|
381
398
|
*/
|
|
382
|
-
|
|
383
|
-
_assertClass(
|
|
384
|
-
|
|
399
|
+
analyze_attack(config, attacker, target) {
|
|
400
|
+
_assertClass(attacker, Ship);
|
|
401
|
+
_assertClass(target, Ship);
|
|
402
|
+
const ret = wasm.analyzer_analyze_attack(this.ptr, addHeapObject(config), attacker.ptr, target.ptr);
|
|
385
403
|
return takeObject(ret);
|
|
386
404
|
}
|
|
387
405
|
/**
|
|
388
|
-
* @param {
|
|
389
|
-
* @
|
|
406
|
+
* @param {ShipAnalyzerConfig} config
|
|
407
|
+
* @param {Ship} left
|
|
408
|
+
* @param {Ship} right
|
|
409
|
+
* @param {boolean} attacker_is_left
|
|
410
|
+
* @returns {AttackAnalysis}
|
|
390
411
|
*/
|
|
391
|
-
|
|
392
|
-
_assertClass(
|
|
393
|
-
|
|
412
|
+
analyze_attack_by_ship_analyzer(config, left, right, attacker_is_left) {
|
|
413
|
+
_assertClass(left, Ship);
|
|
414
|
+
_assertClass(right, Ship);
|
|
415
|
+
const ret = wasm.analyzer_analyze_attack_by_ship_analyzer(this.ptr, addHeapObject(config), left.ptr, right.ptr, attacker_is_left);
|
|
394
416
|
return takeObject(ret);
|
|
395
417
|
}
|
|
396
418
|
/**
|
|
397
|
-
* @param {
|
|
398
|
-
* @param {
|
|
399
|
-
* @param {
|
|
400
|
-
* @
|
|
419
|
+
* @param {NodeAttackAnalyzerConfig} config
|
|
420
|
+
* @param {Comp} left_comp
|
|
421
|
+
* @param {Ship} left_ship
|
|
422
|
+
* @param {Comp} right_comp
|
|
423
|
+
* @param {Ship} right_ship
|
|
424
|
+
* @returns {NodeAttackAnalysis}
|
|
401
425
|
*/
|
|
402
|
-
|
|
403
|
-
_assertClass(
|
|
404
|
-
|
|
426
|
+
analyze_node_attack(config, left_comp, left_ship, right_comp, right_ship) {
|
|
427
|
+
_assertClass(left_comp, Comp);
|
|
428
|
+
_assertClass(left_ship, Ship);
|
|
429
|
+
_assertClass(right_comp, Comp);
|
|
430
|
+
_assertClass(right_ship, Ship);
|
|
431
|
+
const ret = wasm.analyzer_analyze_node_attack(this.ptr, addHeapObject(config), left_comp.ptr, left_ship.ptr, right_comp.ptr, right_ship.ptr);
|
|
405
432
|
return takeObject(ret);
|
|
406
433
|
}
|
|
407
434
|
/**
|
|
408
435
|
* @param {Comp} comp
|
|
409
|
-
* @
|
|
436
|
+
* @param {CompAnalyzerConfig} config
|
|
437
|
+
* @returns {CompAnalysis}
|
|
410
438
|
*/
|
|
411
|
-
|
|
439
|
+
analyze_comp(comp, config) {
|
|
412
440
|
_assertClass(comp, Comp);
|
|
413
|
-
const ret = wasm.
|
|
441
|
+
const ret = wasm.analyzer_analyze_comp(this.ptr, comp.ptr, addHeapObject(config));
|
|
414
442
|
return takeObject(ret);
|
|
415
443
|
}
|
|
416
444
|
/**
|
|
417
|
-
* @param {
|
|
418
|
-
* @param {
|
|
419
|
-
* @param {
|
|
420
|
-
* @
|
|
421
|
-
|
|
422
|
-
analyze_warfare(params, attacker, target) {
|
|
423
|
-
_assertClass(attacker, Ship);
|
|
424
|
-
_assertClass(target, Ship);
|
|
425
|
-
const ret = wasm.analyzer_analyze_warfare(this.ptr, addHeapObject(params), attacker.ptr, target.ptr);
|
|
426
|
-
return takeObject(ret);
|
|
427
|
-
}
|
|
428
|
-
/**
|
|
429
|
-
* @param {Comp} comp
|
|
430
|
-
* @param {Engagement} engagement
|
|
431
|
-
* @returns {FleetCutinAnalysis}
|
|
445
|
+
* @param {Comp} player_comp
|
|
446
|
+
* @param {Comp} enemy_comp
|
|
447
|
+
* @param {NodeAttackAnalyzerConfig} config
|
|
448
|
+
* @param {number} times
|
|
449
|
+
* @returns {SimulatorResult}
|
|
432
450
|
*/
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
451
|
+
simulate_support_shelling(player_comp, enemy_comp, config, times) {
|
|
452
|
+
try {
|
|
453
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
454
|
+
_assertClass(player_comp, Comp);
|
|
455
|
+
_assertClass(enemy_comp, Comp);
|
|
456
|
+
wasm.analyzer_simulate_support_shelling(retptr, this.ptr, player_comp.ptr, enemy_comp.ptr, addHeapObject(config), times);
|
|
457
|
+
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
458
|
+
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
459
|
+
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
460
|
+
if (r2) {
|
|
461
|
+
throw takeObject(r1);
|
|
462
|
+
}
|
|
463
|
+
return takeObject(r0);
|
|
464
|
+
} finally {
|
|
465
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
466
|
+
}
|
|
437
467
|
}
|
|
438
468
|
}
|
|
439
469
|
module.exports.Analyzer = Analyzer;
|
|
@@ -462,34 +492,28 @@ class Comp {
|
|
|
462
492
|
wasm.__wbg_comp_free(ptr);
|
|
463
493
|
}
|
|
464
494
|
/**
|
|
495
|
+
* @returns {OrgType}
|
|
465
496
|
*/
|
|
466
497
|
get org_type() {
|
|
467
498
|
const ret = wasm.__wbg_get_comp_org_type(this.ptr);
|
|
468
499
|
return takeObject(ret);
|
|
469
500
|
}
|
|
470
501
|
/**
|
|
471
|
-
|
|
472
|
-
set org_type(arg0) {
|
|
473
|
-
wasm.__wbg_set_comp_org_type(this.ptr, addHeapObject(arg0));
|
|
474
|
-
}
|
|
475
|
-
/**
|
|
502
|
+
* @returns {number}
|
|
476
503
|
*/
|
|
477
504
|
get hq_level() {
|
|
478
505
|
const ret = wasm.__wbg_get_comp_hq_level(this.ptr);
|
|
479
506
|
return ret;
|
|
480
507
|
}
|
|
481
508
|
/**
|
|
482
|
-
|
|
483
|
-
set hq_level(arg0) {
|
|
484
|
-
wasm.__wbg_set_comp_hq_level(this.ptr, arg0);
|
|
485
|
-
}
|
|
486
|
-
/**
|
|
509
|
+
* @returns {Fleet}
|
|
487
510
|
*/
|
|
488
511
|
get main() {
|
|
489
512
|
const ret = wasm.__wbg_get_comp_main(this.ptr);
|
|
490
513
|
return Fleet.__wrap(ret);
|
|
491
514
|
}
|
|
492
515
|
/**
|
|
516
|
+
* @param {Fleet} arg0
|
|
493
517
|
*/
|
|
494
518
|
set main(arg0) {
|
|
495
519
|
_assertClass(arg0, Fleet);
|
|
@@ -498,12 +522,14 @@ class Comp {
|
|
|
498
522
|
wasm.__wbg_set_comp_main(this.ptr, ptr0);
|
|
499
523
|
}
|
|
500
524
|
/**
|
|
525
|
+
* @returns {Fleet | undefined}
|
|
501
526
|
*/
|
|
502
527
|
get escort() {
|
|
503
528
|
const ret = wasm.__wbg_get_comp_escort(this.ptr);
|
|
504
529
|
return ret === 0 ? undefined : Fleet.__wrap(ret);
|
|
505
530
|
}
|
|
506
531
|
/**
|
|
532
|
+
* @param {Fleet | undefined} arg0
|
|
507
533
|
*/
|
|
508
534
|
set escort(arg0) {
|
|
509
535
|
let ptr0 = 0;
|
|
@@ -515,12 +541,14 @@ class Comp {
|
|
|
515
541
|
wasm.__wbg_set_comp_escort(this.ptr, ptr0);
|
|
516
542
|
}
|
|
517
543
|
/**
|
|
544
|
+
* @returns {Fleet | undefined}
|
|
518
545
|
*/
|
|
519
546
|
get route_sup() {
|
|
520
547
|
const ret = wasm.__wbg_get_comp_route_sup(this.ptr);
|
|
521
548
|
return ret === 0 ? undefined : Fleet.__wrap(ret);
|
|
522
549
|
}
|
|
523
550
|
/**
|
|
551
|
+
* @param {Fleet | undefined} arg0
|
|
524
552
|
*/
|
|
525
553
|
set route_sup(arg0) {
|
|
526
554
|
let ptr0 = 0;
|
|
@@ -532,12 +560,14 @@ class Comp {
|
|
|
532
560
|
wasm.__wbg_set_comp_route_sup(this.ptr, ptr0);
|
|
533
561
|
}
|
|
534
562
|
/**
|
|
563
|
+
* @returns {Fleet | undefined}
|
|
535
564
|
*/
|
|
536
565
|
get boss_sup() {
|
|
537
566
|
const ret = wasm.__wbg_get_comp_boss_sup(this.ptr);
|
|
538
567
|
return ret === 0 ? undefined : Fleet.__wrap(ret);
|
|
539
568
|
}
|
|
540
569
|
/**
|
|
570
|
+
* @param {Fleet | undefined} arg0
|
|
541
571
|
*/
|
|
542
572
|
set boss_sup(arg0) {
|
|
543
573
|
let ptr0 = 0;
|
|
@@ -714,11 +744,11 @@ class Comp {
|
|
|
714
744
|
/**
|
|
715
745
|
* @param {Ship} ship
|
|
716
746
|
* @param {Formation | undefined} formation
|
|
717
|
-
* @returns {
|
|
747
|
+
* @returns {ShipConditions}
|
|
718
748
|
*/
|
|
719
|
-
|
|
749
|
+
get_ship_conditions(ship, formation) {
|
|
720
750
|
_assertClass(ship, Ship);
|
|
721
|
-
const ret = wasm.
|
|
751
|
+
const ret = wasm.comp_get_ship_conditions(this.ptr, ship.ptr, isLikeNone(formation) ? 0 : addHeapObject(formation));
|
|
722
752
|
return takeObject(ret);
|
|
723
753
|
}
|
|
724
754
|
}
|
|
@@ -847,30 +877,6 @@ class FhCore {
|
|
|
847
877
|
const ret = wasm.fhcore_create_analyzer(this.ptr);
|
|
848
878
|
return Analyzer.__wrap(ret);
|
|
849
879
|
}
|
|
850
|
-
/**
|
|
851
|
-
* @param {Comp} player
|
|
852
|
-
* @param {Comp} enemy
|
|
853
|
-
* @param {ShellingSupportSimulatorParams} params
|
|
854
|
-
* @param {number} times
|
|
855
|
-
* @returns {SimulatorResult}
|
|
856
|
-
*/
|
|
857
|
-
simulate_shelling_support(player, enemy, params, times) {
|
|
858
|
-
try {
|
|
859
|
-
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
860
|
-
_assertClass(player, Comp);
|
|
861
|
-
_assertClass(enemy, Comp);
|
|
862
|
-
wasm.fhcore_simulate_shelling_support(retptr, this.ptr, player.ptr, enemy.ptr, addHeapObject(params), times);
|
|
863
|
-
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
864
|
-
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
865
|
-
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
866
|
-
if (r2) {
|
|
867
|
-
throw takeObject(r1);
|
|
868
|
-
}
|
|
869
|
-
return takeObject(r0);
|
|
870
|
-
} finally {
|
|
871
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
880
|
}
|
|
875
881
|
module.exports.FhCore = FhCore;
|
|
876
882
|
|
|
@@ -898,6 +904,7 @@ class Fleet {
|
|
|
898
904
|
wasm.__wbg_fleet_free(ptr);
|
|
899
905
|
}
|
|
900
906
|
/**
|
|
907
|
+
* @returns {string}
|
|
901
908
|
*/
|
|
902
909
|
get id() {
|
|
903
910
|
try {
|
|
@@ -912,6 +919,7 @@ class Fleet {
|
|
|
912
919
|
}
|
|
913
920
|
}
|
|
914
921
|
/**
|
|
922
|
+
* @param {string} arg0
|
|
915
923
|
*/
|
|
916
924
|
set id(arg0) {
|
|
917
925
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -919,11 +927,12 @@ class Fleet {
|
|
|
919
927
|
wasm.__wbg_set_fleet_id(this.ptr, ptr0, len0);
|
|
920
928
|
}
|
|
921
929
|
/**
|
|
930
|
+
* @returns {bigint}
|
|
922
931
|
*/
|
|
923
|
-
get
|
|
932
|
+
get hash() {
|
|
924
933
|
try {
|
|
925
934
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
926
|
-
wasm.
|
|
935
|
+
wasm.__wbg_get_fleet_hash(retptr, this.ptr);
|
|
927
936
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
928
937
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
929
938
|
u32CvtShim[0] = r0;
|
|
@@ -935,25 +944,13 @@ class Fleet {
|
|
|
935
944
|
}
|
|
936
945
|
}
|
|
937
946
|
/**
|
|
938
|
-
|
|
939
|
-
set xxh3(arg0) {
|
|
940
|
-
uint64CvtShim[0] = arg0;
|
|
941
|
-
const low0 = u32CvtShim[0];
|
|
942
|
-
const high0 = u32CvtShim[1];
|
|
943
|
-
wasm.__wbg_set_fleet_xxh3(this.ptr, low0, high0);
|
|
944
|
-
}
|
|
945
|
-
/**
|
|
947
|
+
* @returns {number}
|
|
946
948
|
*/
|
|
947
949
|
get len() {
|
|
948
950
|
const ret = wasm.__wbg_get_fleet_len(this.ptr);
|
|
949
951
|
return ret >>> 0;
|
|
950
952
|
}
|
|
951
953
|
/**
|
|
952
|
-
*/
|
|
953
|
-
set len(arg0) {
|
|
954
|
-
wasm.__wbg_set_fleet_len(this.ptr, arg0);
|
|
955
|
-
}
|
|
956
|
-
/**
|
|
957
954
|
* @returns {FleetMeta}
|
|
958
955
|
*/
|
|
959
956
|
meta() {
|
|
@@ -1077,6 +1074,7 @@ class Fleet {
|
|
|
1077
1074
|
return ret === 0 ? undefined : Ship.__wrap(ret);
|
|
1078
1075
|
}
|
|
1079
1076
|
/**
|
|
1077
|
+
* @returns {number | undefined}
|
|
1080
1078
|
*/
|
|
1081
1079
|
get fleet_los_mod() {
|
|
1082
1080
|
try {
|
|
@@ -1193,6 +1191,7 @@ class Gear {
|
|
|
1193
1191
|
wasm.__wbg_gear_free(ptr);
|
|
1194
1192
|
}
|
|
1195
1193
|
/**
|
|
1194
|
+
* @returns {string}
|
|
1196
1195
|
*/
|
|
1197
1196
|
get id() {
|
|
1198
1197
|
try {
|
|
@@ -1207,6 +1206,7 @@ class Gear {
|
|
|
1207
1206
|
}
|
|
1208
1207
|
}
|
|
1209
1208
|
/**
|
|
1209
|
+
* @param {string} arg0
|
|
1210
1210
|
*/
|
|
1211
1211
|
set id(arg0) {
|
|
1212
1212
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1214,11 +1214,12 @@ class Gear {
|
|
|
1214
1214
|
wasm.__wbg_set_gear_id(this.ptr, ptr0, len0);
|
|
1215
1215
|
}
|
|
1216
1216
|
/**
|
|
1217
|
+
* @returns {bigint}
|
|
1217
1218
|
*/
|
|
1218
|
-
get
|
|
1219
|
+
get hash() {
|
|
1219
1220
|
try {
|
|
1220
1221
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1221
|
-
wasm.
|
|
1222
|
+
wasm.__wbg_get_gear_hash(retptr, this.ptr);
|
|
1222
1223
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
1223
1224
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
1224
1225
|
u32CvtShim[0] = r0;
|
|
@@ -1230,58 +1231,35 @@ class Gear {
|
|
|
1230
1231
|
}
|
|
1231
1232
|
}
|
|
1232
1233
|
/**
|
|
1233
|
-
|
|
1234
|
-
set xxh3(arg0) {
|
|
1235
|
-
uint64CvtShim[0] = arg0;
|
|
1236
|
-
const low0 = u32CvtShim[0];
|
|
1237
|
-
const high0 = u32CvtShim[1];
|
|
1238
|
-
wasm.__wbg_set_gear_xxh3(this.ptr, low0, high0);
|
|
1239
|
-
}
|
|
1240
|
-
/**
|
|
1234
|
+
* @returns {number}
|
|
1241
1235
|
*/
|
|
1242
1236
|
get gear_id() {
|
|
1243
1237
|
const ret = wasm.__wbg_get_gear_gear_id(this.ptr);
|
|
1244
1238
|
return ret;
|
|
1245
1239
|
}
|
|
1246
1240
|
/**
|
|
1247
|
-
|
|
1248
|
-
set gear_id(arg0) {
|
|
1249
|
-
wasm.__wbg_set_gear_gear_id(this.ptr, arg0);
|
|
1250
|
-
}
|
|
1251
|
-
/**
|
|
1241
|
+
* @returns {number}
|
|
1252
1242
|
*/
|
|
1253
1243
|
get stars() {
|
|
1254
1244
|
const ret = wasm.__wbg_get_gear_stars(this.ptr);
|
|
1255
1245
|
return ret;
|
|
1256
1246
|
}
|
|
1257
1247
|
/**
|
|
1258
|
-
|
|
1259
|
-
set stars(arg0) {
|
|
1260
|
-
wasm.__wbg_set_gear_stars(this.ptr, arg0);
|
|
1261
|
-
}
|
|
1262
|
-
/**
|
|
1248
|
+
* @returns {number}
|
|
1263
1249
|
*/
|
|
1264
1250
|
get exp() {
|
|
1265
1251
|
const ret = wasm.__wbg_get_gear_exp(this.ptr);
|
|
1266
1252
|
return ret;
|
|
1267
1253
|
}
|
|
1268
1254
|
/**
|
|
1269
|
-
|
|
1270
|
-
set exp(arg0) {
|
|
1271
|
-
wasm.__wbg_set_gear_exp(this.ptr, arg0);
|
|
1272
|
-
}
|
|
1273
|
-
/**
|
|
1255
|
+
* @returns {number}
|
|
1274
1256
|
*/
|
|
1275
1257
|
get default_exp() {
|
|
1276
1258
|
const ret = wasm.__wbg_get_gear_default_exp(this.ptr);
|
|
1277
1259
|
return ret;
|
|
1278
1260
|
}
|
|
1279
1261
|
/**
|
|
1280
|
-
|
|
1281
|
-
set default_exp(arg0) {
|
|
1282
|
-
wasm.__wbg_set_gear_default_exp(this.ptr, arg0);
|
|
1283
|
-
}
|
|
1284
|
-
/**
|
|
1262
|
+
* @returns {string}
|
|
1285
1263
|
*/
|
|
1286
1264
|
get name() {
|
|
1287
1265
|
try {
|
|
@@ -1296,6 +1274,7 @@ class Gear {
|
|
|
1296
1274
|
}
|
|
1297
1275
|
}
|
|
1298
1276
|
/**
|
|
1277
|
+
* @param {string} arg0
|
|
1299
1278
|
*/
|
|
1300
1279
|
set name(arg0) {
|
|
1301
1280
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1303,6 +1282,7 @@ class Gear {
|
|
|
1303
1282
|
wasm.__wbg_set_gear_name(this.ptr, ptr0, len0);
|
|
1304
1283
|
}
|
|
1305
1284
|
/**
|
|
1285
|
+
* @returns {Uint8Array}
|
|
1306
1286
|
*/
|
|
1307
1287
|
get types() {
|
|
1308
1288
|
try {
|
|
@@ -1318,6 +1298,7 @@ class Gear {
|
|
|
1318
1298
|
}
|
|
1319
1299
|
}
|
|
1320
1300
|
/**
|
|
1301
|
+
* @param {Uint8Array} arg0
|
|
1321
1302
|
*/
|
|
1322
1303
|
set types(arg0) {
|
|
1323
1304
|
const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
@@ -1325,215 +1306,139 @@ class Gear {
|
|
|
1325
1306
|
wasm.__wbg_set_gear_types(this.ptr, ptr0, len0);
|
|
1326
1307
|
}
|
|
1327
1308
|
/**
|
|
1309
|
+
* @returns {GearType}
|
|
1328
1310
|
*/
|
|
1329
1311
|
get gear_type() {
|
|
1330
1312
|
const ret = wasm.__wbg_get_gear_gear_type(this.ptr);
|
|
1331
1313
|
return takeObject(ret);
|
|
1332
1314
|
}
|
|
1333
1315
|
/**
|
|
1334
|
-
|
|
1335
|
-
set gear_type(arg0) {
|
|
1336
|
-
wasm.__wbg_set_gear_gear_type(this.ptr, addHeapObject(arg0));
|
|
1337
|
-
}
|
|
1338
|
-
/**
|
|
1316
|
+
* @returns {number}
|
|
1339
1317
|
*/
|
|
1340
1318
|
get max_hp() {
|
|
1341
1319
|
const ret = wasm.__wbg_get_gear_max_hp(this.ptr);
|
|
1342
1320
|
return ret;
|
|
1343
1321
|
}
|
|
1344
1322
|
/**
|
|
1345
|
-
|
|
1346
|
-
set max_hp(arg0) {
|
|
1347
|
-
wasm.__wbg_set_gear_max_hp(this.ptr, arg0);
|
|
1348
|
-
}
|
|
1349
|
-
/**
|
|
1323
|
+
* @returns {number}
|
|
1350
1324
|
*/
|
|
1351
1325
|
get firepower() {
|
|
1352
1326
|
const ret = wasm.__wbg_get_gear_firepower(this.ptr);
|
|
1353
1327
|
return ret;
|
|
1354
1328
|
}
|
|
1355
1329
|
/**
|
|
1356
|
-
|
|
1357
|
-
set firepower(arg0) {
|
|
1358
|
-
wasm.__wbg_set_gear_firepower(this.ptr, arg0);
|
|
1359
|
-
}
|
|
1360
|
-
/**
|
|
1330
|
+
* @returns {number}
|
|
1361
1331
|
*/
|
|
1362
1332
|
get armor() {
|
|
1363
1333
|
const ret = wasm.__wbg_get_gear_armor(this.ptr);
|
|
1364
1334
|
return ret;
|
|
1365
1335
|
}
|
|
1366
1336
|
/**
|
|
1367
|
-
|
|
1368
|
-
set armor(arg0) {
|
|
1369
|
-
wasm.__wbg_set_gear_armor(this.ptr, arg0);
|
|
1370
|
-
}
|
|
1371
|
-
/**
|
|
1337
|
+
* @returns {number}
|
|
1372
1338
|
*/
|
|
1373
1339
|
get torpedo() {
|
|
1374
1340
|
const ret = wasm.__wbg_get_gear_torpedo(this.ptr);
|
|
1375
1341
|
return ret;
|
|
1376
1342
|
}
|
|
1377
1343
|
/**
|
|
1378
|
-
|
|
1379
|
-
set torpedo(arg0) {
|
|
1380
|
-
wasm.__wbg_set_gear_torpedo(this.ptr, arg0);
|
|
1381
|
-
}
|
|
1382
|
-
/**
|
|
1344
|
+
* @returns {number}
|
|
1383
1345
|
*/
|
|
1384
1346
|
get anti_air() {
|
|
1385
1347
|
const ret = wasm.__wbg_get_gear_anti_air(this.ptr);
|
|
1386
1348
|
return ret;
|
|
1387
1349
|
}
|
|
1388
1350
|
/**
|
|
1389
|
-
|
|
1390
|
-
set anti_air(arg0) {
|
|
1391
|
-
wasm.__wbg_set_gear_anti_air(this.ptr, arg0);
|
|
1392
|
-
}
|
|
1393
|
-
/**
|
|
1351
|
+
* @returns {number}
|
|
1394
1352
|
*/
|
|
1395
1353
|
get speed() {
|
|
1396
1354
|
const ret = wasm.__wbg_get_gear_speed(this.ptr);
|
|
1397
1355
|
return ret;
|
|
1398
1356
|
}
|
|
1399
1357
|
/**
|
|
1400
|
-
|
|
1401
|
-
set speed(arg0) {
|
|
1402
|
-
wasm.__wbg_set_gear_speed(this.ptr, arg0);
|
|
1403
|
-
}
|
|
1404
|
-
/**
|
|
1358
|
+
* @returns {number}
|
|
1405
1359
|
*/
|
|
1406
1360
|
get bombing() {
|
|
1407
1361
|
const ret = wasm.__wbg_get_gear_bombing(this.ptr);
|
|
1408
1362
|
return ret;
|
|
1409
1363
|
}
|
|
1410
1364
|
/**
|
|
1411
|
-
|
|
1412
|
-
set bombing(arg0) {
|
|
1413
|
-
wasm.__wbg_set_gear_bombing(this.ptr, arg0);
|
|
1414
|
-
}
|
|
1415
|
-
/**
|
|
1365
|
+
* @returns {number}
|
|
1416
1366
|
*/
|
|
1417
1367
|
get asw() {
|
|
1418
1368
|
const ret = wasm.__wbg_get_gear_asw(this.ptr);
|
|
1419
1369
|
return ret;
|
|
1420
1370
|
}
|
|
1421
1371
|
/**
|
|
1422
|
-
|
|
1423
|
-
set asw(arg0) {
|
|
1424
|
-
wasm.__wbg_set_gear_asw(this.ptr, arg0);
|
|
1425
|
-
}
|
|
1426
|
-
/**
|
|
1372
|
+
* @returns {number}
|
|
1427
1373
|
*/
|
|
1428
1374
|
get los() {
|
|
1429
1375
|
const ret = wasm.__wbg_get_gear_los(this.ptr);
|
|
1430
1376
|
return ret;
|
|
1431
1377
|
}
|
|
1432
1378
|
/**
|
|
1433
|
-
|
|
1434
|
-
set los(arg0) {
|
|
1435
|
-
wasm.__wbg_set_gear_los(this.ptr, arg0);
|
|
1436
|
-
}
|
|
1437
|
-
/**
|
|
1379
|
+
* @returns {number}
|
|
1438
1380
|
*/
|
|
1439
1381
|
get luck() {
|
|
1440
1382
|
const ret = wasm.__wbg_get_gear_luck(this.ptr);
|
|
1441
1383
|
return ret;
|
|
1442
1384
|
}
|
|
1443
1385
|
/**
|
|
1444
|
-
|
|
1445
|
-
set luck(arg0) {
|
|
1446
|
-
wasm.__wbg_set_gear_luck(this.ptr, arg0);
|
|
1447
|
-
}
|
|
1448
|
-
/**
|
|
1386
|
+
* @returns {number}
|
|
1449
1387
|
*/
|
|
1450
1388
|
get accuracy() {
|
|
1451
1389
|
const ret = wasm.__wbg_get_gear_accuracy(this.ptr);
|
|
1452
1390
|
return ret;
|
|
1453
1391
|
}
|
|
1454
1392
|
/**
|
|
1455
|
-
|
|
1456
|
-
set accuracy(arg0) {
|
|
1457
|
-
wasm.__wbg_set_gear_accuracy(this.ptr, arg0);
|
|
1458
|
-
}
|
|
1459
|
-
/**
|
|
1393
|
+
* @returns {number}
|
|
1460
1394
|
*/
|
|
1461
1395
|
get evasion() {
|
|
1462
1396
|
const ret = wasm.__wbg_get_gear_evasion(this.ptr);
|
|
1463
1397
|
return ret;
|
|
1464
1398
|
}
|
|
1465
1399
|
/**
|
|
1466
|
-
|
|
1467
|
-
set evasion(arg0) {
|
|
1468
|
-
wasm.__wbg_set_gear_evasion(this.ptr, arg0);
|
|
1469
|
-
}
|
|
1470
|
-
/**
|
|
1400
|
+
* @returns {number}
|
|
1471
1401
|
*/
|
|
1472
1402
|
get range() {
|
|
1473
1403
|
const ret = wasm.__wbg_get_gear_range(this.ptr);
|
|
1474
1404
|
return ret;
|
|
1475
1405
|
}
|
|
1476
1406
|
/**
|
|
1477
|
-
|
|
1478
|
-
set range(arg0) {
|
|
1479
|
-
wasm.__wbg_set_gear_range(this.ptr, arg0);
|
|
1480
|
-
}
|
|
1481
|
-
/**
|
|
1407
|
+
* @returns {number}
|
|
1482
1408
|
*/
|
|
1483
1409
|
get radius() {
|
|
1484
1410
|
const ret = wasm.__wbg_get_gear_radius(this.ptr);
|
|
1485
1411
|
return ret;
|
|
1486
1412
|
}
|
|
1487
1413
|
/**
|
|
1488
|
-
|
|
1489
|
-
set radius(arg0) {
|
|
1490
|
-
wasm.__wbg_set_gear_radius(this.ptr, arg0);
|
|
1491
|
-
}
|
|
1492
|
-
/**
|
|
1414
|
+
* @returns {number}
|
|
1493
1415
|
*/
|
|
1494
1416
|
get cost() {
|
|
1495
1417
|
const ret = wasm.__wbg_get_gear_cost(this.ptr);
|
|
1496
1418
|
return ret;
|
|
1497
1419
|
}
|
|
1498
1420
|
/**
|
|
1499
|
-
|
|
1500
|
-
set cost(arg0) {
|
|
1501
|
-
wasm.__wbg_set_gear_cost(this.ptr, arg0);
|
|
1502
|
-
}
|
|
1503
|
-
/**
|
|
1421
|
+
* @returns {boolean}
|
|
1504
1422
|
*/
|
|
1505
1423
|
get improvable() {
|
|
1506
1424
|
const ret = wasm.__wbg_get_gear_improvable(this.ptr);
|
|
1507
1425
|
return ret !== 0;
|
|
1508
1426
|
}
|
|
1509
1427
|
/**
|
|
1428
|
+
* @returns {number}
|
|
1510
1429
|
*/
|
|
1511
|
-
|
|
1512
|
-
wasm.
|
|
1513
|
-
}
|
|
1514
|
-
/**
|
|
1515
|
-
*/
|
|
1516
|
-
get ship_anti_air_resistance() {
|
|
1517
|
-
const ret = wasm.__wbg_get_gear_ship_anti_air_resistance(this.ptr);
|
|
1430
|
+
get ship_anti_air_resist() {
|
|
1431
|
+
const ret = wasm.__wbg_get_gear_ship_anti_air_resist(this.ptr);
|
|
1518
1432
|
return ret;
|
|
1519
1433
|
}
|
|
1520
1434
|
/**
|
|
1435
|
+
* @returns {number}
|
|
1521
1436
|
*/
|
|
1522
|
-
|
|
1523
|
-
wasm.
|
|
1524
|
-
}
|
|
1525
|
-
/**
|
|
1526
|
-
*/
|
|
1527
|
-
get fleet_anti_air_resistance() {
|
|
1528
|
-
const ret = wasm.__wbg_get_gear_fleet_anti_air_resistance(this.ptr);
|
|
1437
|
+
get fleet_anti_air_resist() {
|
|
1438
|
+
const ret = wasm.__wbg_get_gear_fleet_anti_air_resist(this.ptr);
|
|
1529
1439
|
return ret;
|
|
1530
1440
|
}
|
|
1531
1441
|
/**
|
|
1532
|
-
*/
|
|
1533
|
-
set fleet_anti_air_resistance(arg0) {
|
|
1534
|
-
wasm.__wbg_set_gear_fleet_anti_air_resistance(this.ptr, arg0);
|
|
1535
|
-
}
|
|
1536
|
-
/**
|
|
1537
1442
|
* @returns {Gear}
|
|
1538
1443
|
*/
|
|
1539
1444
|
static default() {
|
|
@@ -1541,18 +1446,21 @@ class Gear {
|
|
|
1541
1446
|
return Gear.__wrap(ret);
|
|
1542
1447
|
}
|
|
1543
1448
|
/**
|
|
1449
|
+
* @returns {number}
|
|
1544
1450
|
*/
|
|
1545
1451
|
get gear_type_id() {
|
|
1546
1452
|
const ret = wasm.gear_gear_type_id(this.ptr);
|
|
1547
1453
|
return ret;
|
|
1548
1454
|
}
|
|
1549
1455
|
/**
|
|
1456
|
+
* @returns {number}
|
|
1550
1457
|
*/
|
|
1551
1458
|
get special_type_id() {
|
|
1552
1459
|
const ret = wasm.gear_special_type_id(this.ptr);
|
|
1553
1460
|
return ret;
|
|
1554
1461
|
}
|
|
1555
1462
|
/**
|
|
1463
|
+
* @returns {number}
|
|
1556
1464
|
*/
|
|
1557
1465
|
get icon_id() {
|
|
1558
1466
|
const ret = wasm.gear_icon_id(this.ptr);
|
|
@@ -1574,18 +1482,21 @@ class Gear {
|
|
|
1574
1482
|
return takeObject(ret);
|
|
1575
1483
|
}
|
|
1576
1484
|
/**
|
|
1485
|
+
* @returns {number}
|
|
1577
1486
|
*/
|
|
1578
1487
|
get ace() {
|
|
1579
1488
|
const ret = wasm.gear_ace(this.ptr);
|
|
1580
1489
|
return ret;
|
|
1581
1490
|
}
|
|
1582
1491
|
/**
|
|
1492
|
+
* @returns {number}
|
|
1583
1493
|
*/
|
|
1584
1494
|
get anti_bomber() {
|
|
1585
1495
|
const ret = wasm.gear_anti_bomber(this.ptr);
|
|
1586
1496
|
return ret;
|
|
1587
1497
|
}
|
|
1588
1498
|
/**
|
|
1499
|
+
* @returns {number}
|
|
1589
1500
|
*/
|
|
1590
1501
|
get interception() {
|
|
1591
1502
|
const ret = wasm.gear_interception(this.ptr);
|
|
@@ -1622,8 +1533,8 @@ class Gear {
|
|
|
1622
1533
|
/**
|
|
1623
1534
|
* @returns {number}
|
|
1624
1535
|
*/
|
|
1625
|
-
|
|
1626
|
-
const ret = wasm.
|
|
1536
|
+
exp_critical_bonus() {
|
|
1537
|
+
const ret = wasm.gear_exp_critical_bonus(this.ptr);
|
|
1627
1538
|
return ret;
|
|
1628
1539
|
}
|
|
1629
1540
|
/**
|
|
@@ -1772,177 +1683,209 @@ class IBonuses {
|
|
|
1772
1683
|
wasm.__wbg_ibonuses_free(ptr);
|
|
1773
1684
|
}
|
|
1774
1685
|
/**
|
|
1686
|
+
* @returns {number}
|
|
1775
1687
|
*/
|
|
1776
1688
|
get shelling_power() {
|
|
1777
1689
|
const ret = wasm.__wbg_get_ibonuses_shelling_power(this.ptr);
|
|
1778
1690
|
return ret;
|
|
1779
1691
|
}
|
|
1780
1692
|
/**
|
|
1693
|
+
* @param {number} arg0
|
|
1781
1694
|
*/
|
|
1782
1695
|
set shelling_power(arg0) {
|
|
1783
1696
|
wasm.__wbg_set_ibonuses_shelling_power(this.ptr, arg0);
|
|
1784
1697
|
}
|
|
1785
1698
|
/**
|
|
1699
|
+
* @returns {number}
|
|
1786
1700
|
*/
|
|
1787
1701
|
get carrier_shelling_power() {
|
|
1788
1702
|
const ret = wasm.__wbg_get_ibonuses_carrier_shelling_power(this.ptr);
|
|
1789
1703
|
return ret;
|
|
1790
1704
|
}
|
|
1791
1705
|
/**
|
|
1706
|
+
* @param {number} arg0
|
|
1792
1707
|
*/
|
|
1793
1708
|
set carrier_shelling_power(arg0) {
|
|
1794
1709
|
wasm.__wbg_set_ibonuses_carrier_shelling_power(this.ptr, arg0);
|
|
1795
1710
|
}
|
|
1796
1711
|
/**
|
|
1712
|
+
* @returns {number}
|
|
1797
1713
|
*/
|
|
1798
1714
|
get shelling_accuracy() {
|
|
1799
1715
|
const ret = wasm.__wbg_get_ibonuses_shelling_accuracy(this.ptr);
|
|
1800
1716
|
return ret;
|
|
1801
1717
|
}
|
|
1802
1718
|
/**
|
|
1719
|
+
* @param {number} arg0
|
|
1803
1720
|
*/
|
|
1804
1721
|
set shelling_accuracy(arg0) {
|
|
1805
1722
|
wasm.__wbg_set_ibonuses_shelling_accuracy(this.ptr, arg0);
|
|
1806
1723
|
}
|
|
1807
1724
|
/**
|
|
1725
|
+
* @returns {number}
|
|
1808
1726
|
*/
|
|
1809
1727
|
get torpedo_power() {
|
|
1810
1728
|
const ret = wasm.__wbg_get_ibonuses_torpedo_power(this.ptr);
|
|
1811
1729
|
return ret;
|
|
1812
1730
|
}
|
|
1813
1731
|
/**
|
|
1732
|
+
* @param {number} arg0
|
|
1814
1733
|
*/
|
|
1815
1734
|
set torpedo_power(arg0) {
|
|
1816
1735
|
wasm.__wbg_set_ibonuses_torpedo_power(this.ptr, arg0);
|
|
1817
1736
|
}
|
|
1818
1737
|
/**
|
|
1738
|
+
* @returns {number}
|
|
1819
1739
|
*/
|
|
1820
1740
|
get torpedo_accuracy() {
|
|
1821
1741
|
const ret = wasm.__wbg_get_ibonuses_torpedo_accuracy(this.ptr);
|
|
1822
1742
|
return ret;
|
|
1823
1743
|
}
|
|
1824
1744
|
/**
|
|
1745
|
+
* @param {number} arg0
|
|
1825
1746
|
*/
|
|
1826
1747
|
set torpedo_accuracy(arg0) {
|
|
1827
1748
|
wasm.__wbg_set_ibonuses_torpedo_accuracy(this.ptr, arg0);
|
|
1828
1749
|
}
|
|
1829
1750
|
/**
|
|
1751
|
+
* @returns {number}
|
|
1830
1752
|
*/
|
|
1831
1753
|
get torpedo_evasion() {
|
|
1832
1754
|
const ret = wasm.__wbg_get_ibonuses_torpedo_evasion(this.ptr);
|
|
1833
1755
|
return ret;
|
|
1834
1756
|
}
|
|
1835
1757
|
/**
|
|
1758
|
+
* @param {number} arg0
|
|
1836
1759
|
*/
|
|
1837
1760
|
set torpedo_evasion(arg0) {
|
|
1838
1761
|
wasm.__wbg_set_ibonuses_torpedo_evasion(this.ptr, arg0);
|
|
1839
1762
|
}
|
|
1840
1763
|
/**
|
|
1764
|
+
* @returns {number}
|
|
1841
1765
|
*/
|
|
1842
1766
|
get asw_power() {
|
|
1843
1767
|
const ret = wasm.__wbg_get_ibonuses_asw_power(this.ptr);
|
|
1844
1768
|
return ret;
|
|
1845
1769
|
}
|
|
1846
1770
|
/**
|
|
1771
|
+
* @param {number} arg0
|
|
1847
1772
|
*/
|
|
1848
1773
|
set asw_power(arg0) {
|
|
1849
1774
|
wasm.__wbg_set_ibonuses_asw_power(this.ptr, arg0);
|
|
1850
1775
|
}
|
|
1851
1776
|
/**
|
|
1777
|
+
* @returns {number}
|
|
1852
1778
|
*/
|
|
1853
1779
|
get asw_accuracy() {
|
|
1854
1780
|
const ret = wasm.__wbg_get_ibonuses_asw_accuracy(this.ptr);
|
|
1855
1781
|
return ret;
|
|
1856
1782
|
}
|
|
1857
1783
|
/**
|
|
1784
|
+
* @param {number} arg0
|
|
1858
1785
|
*/
|
|
1859
1786
|
set asw_accuracy(arg0) {
|
|
1860
1787
|
wasm.__wbg_set_ibonuses_asw_accuracy(this.ptr, arg0);
|
|
1861
1788
|
}
|
|
1862
1789
|
/**
|
|
1790
|
+
* @returns {number}
|
|
1863
1791
|
*/
|
|
1864
1792
|
get night_power() {
|
|
1865
1793
|
const ret = wasm.__wbg_get_ibonuses_night_power(this.ptr);
|
|
1866
1794
|
return ret;
|
|
1867
1795
|
}
|
|
1868
1796
|
/**
|
|
1797
|
+
* @param {number} arg0
|
|
1869
1798
|
*/
|
|
1870
1799
|
set night_power(arg0) {
|
|
1871
1800
|
wasm.__wbg_set_ibonuses_night_power(this.ptr, arg0);
|
|
1872
1801
|
}
|
|
1873
1802
|
/**
|
|
1803
|
+
* @returns {number}
|
|
1874
1804
|
*/
|
|
1875
1805
|
get night_accuracy() {
|
|
1876
1806
|
const ret = wasm.__wbg_get_ibonuses_night_accuracy(this.ptr);
|
|
1877
1807
|
return ret;
|
|
1878
1808
|
}
|
|
1879
1809
|
/**
|
|
1810
|
+
* @param {number} arg0
|
|
1880
1811
|
*/
|
|
1881
1812
|
set night_accuracy(arg0) {
|
|
1882
1813
|
wasm.__wbg_set_ibonuses_night_accuracy(this.ptr, arg0);
|
|
1883
1814
|
}
|
|
1884
1815
|
/**
|
|
1816
|
+
* @returns {number}
|
|
1885
1817
|
*/
|
|
1886
1818
|
get defense_power() {
|
|
1887
1819
|
const ret = wasm.__wbg_get_ibonuses_defense_power(this.ptr);
|
|
1888
1820
|
return ret;
|
|
1889
1821
|
}
|
|
1890
1822
|
/**
|
|
1823
|
+
* @param {number} arg0
|
|
1891
1824
|
*/
|
|
1892
1825
|
set defense_power(arg0) {
|
|
1893
1826
|
wasm.__wbg_set_ibonuses_defense_power(this.ptr, arg0);
|
|
1894
1827
|
}
|
|
1895
1828
|
/**
|
|
1829
|
+
* @returns {number}
|
|
1896
1830
|
*/
|
|
1897
1831
|
get contact_selection() {
|
|
1898
1832
|
const ret = wasm.__wbg_get_ibonuses_contact_selection(this.ptr);
|
|
1899
1833
|
return ret;
|
|
1900
1834
|
}
|
|
1901
1835
|
/**
|
|
1836
|
+
* @param {number} arg0
|
|
1902
1837
|
*/
|
|
1903
1838
|
set contact_selection(arg0) {
|
|
1904
1839
|
wasm.__wbg_set_ibonuses_contact_selection(this.ptr, arg0);
|
|
1905
1840
|
}
|
|
1906
1841
|
/**
|
|
1842
|
+
* @returns {number}
|
|
1907
1843
|
*/
|
|
1908
1844
|
get fighter_power() {
|
|
1909
1845
|
const ret = wasm.__wbg_get_ibonuses_fighter_power(this.ptr);
|
|
1910
1846
|
return ret;
|
|
1911
1847
|
}
|
|
1912
1848
|
/**
|
|
1849
|
+
* @param {number} arg0
|
|
1913
1850
|
*/
|
|
1914
1851
|
set fighter_power(arg0) {
|
|
1915
1852
|
wasm.__wbg_set_ibonuses_fighter_power(this.ptr, arg0);
|
|
1916
1853
|
}
|
|
1917
1854
|
/**
|
|
1855
|
+
* @returns {number}
|
|
1918
1856
|
*/
|
|
1919
1857
|
get ship_anti_air() {
|
|
1920
1858
|
const ret = wasm.__wbg_get_ibonuses_ship_anti_air(this.ptr);
|
|
1921
1859
|
return ret;
|
|
1922
1860
|
}
|
|
1923
1861
|
/**
|
|
1862
|
+
* @param {number} arg0
|
|
1924
1863
|
*/
|
|
1925
1864
|
set ship_anti_air(arg0) {
|
|
1926
1865
|
wasm.__wbg_set_ibonuses_ship_anti_air(this.ptr, arg0);
|
|
1927
1866
|
}
|
|
1928
1867
|
/**
|
|
1868
|
+
* @returns {number}
|
|
1929
1869
|
*/
|
|
1930
1870
|
get fleet_anti_air() {
|
|
1931
1871
|
const ret = wasm.__wbg_get_ibonuses_fleet_anti_air(this.ptr);
|
|
1932
1872
|
return ret;
|
|
1933
1873
|
}
|
|
1934
1874
|
/**
|
|
1875
|
+
* @param {number} arg0
|
|
1935
1876
|
*/
|
|
1936
1877
|
set fleet_anti_air(arg0) {
|
|
1937
1878
|
wasm.__wbg_set_ibonuses_fleet_anti_air(this.ptr, arg0);
|
|
1938
1879
|
}
|
|
1939
1880
|
/**
|
|
1881
|
+
* @returns {number}
|
|
1940
1882
|
*/
|
|
1941
1883
|
get elos() {
|
|
1942
1884
|
const ret = wasm.__wbg_get_ibonuses_elos(this.ptr);
|
|
1943
1885
|
return ret;
|
|
1944
1886
|
}
|
|
1945
1887
|
/**
|
|
1888
|
+
* @param {number} arg0
|
|
1946
1889
|
*/
|
|
1947
1890
|
set elos(arg0) {
|
|
1948
1891
|
wasm.__wbg_set_ibonuses_elos(this.ptr, arg0);
|
|
@@ -1974,6 +1917,7 @@ class Org {
|
|
|
1974
1917
|
wasm.__wbg_org_free(ptr);
|
|
1975
1918
|
}
|
|
1976
1919
|
/**
|
|
1920
|
+
* @returns {string}
|
|
1977
1921
|
*/
|
|
1978
1922
|
get id() {
|
|
1979
1923
|
try {
|
|
@@ -1988,6 +1932,7 @@ class Org {
|
|
|
1988
1932
|
}
|
|
1989
1933
|
}
|
|
1990
1934
|
/**
|
|
1935
|
+
* @param {string} arg0
|
|
1991
1936
|
*/
|
|
1992
1937
|
set id(arg0) {
|
|
1993
1938
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1995,11 +1940,12 @@ class Org {
|
|
|
1995
1940
|
wasm.__wbg_set_org_id(this.ptr, ptr0, len0);
|
|
1996
1941
|
}
|
|
1997
1942
|
/**
|
|
1943
|
+
* @returns {bigint}
|
|
1998
1944
|
*/
|
|
1999
|
-
get
|
|
1945
|
+
get hash() {
|
|
2000
1946
|
try {
|
|
2001
1947
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
2002
|
-
wasm.
|
|
1948
|
+
wasm.__wbg_get_org_hash(retptr, this.ptr);
|
|
2003
1949
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
2004
1950
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
2005
1951
|
u32CvtShim[0] = r0;
|
|
@@ -2011,36 +1957,21 @@ class Org {
|
|
|
2011
1957
|
}
|
|
2012
1958
|
}
|
|
2013
1959
|
/**
|
|
2014
|
-
|
|
2015
|
-
set xxh3(arg0) {
|
|
2016
|
-
uint64CvtShim[0] = arg0;
|
|
2017
|
-
const low0 = u32CvtShim[0];
|
|
2018
|
-
const high0 = u32CvtShim[1];
|
|
2019
|
-
wasm.__wbg_set_org_xxh3(this.ptr, low0, high0);
|
|
2020
|
-
}
|
|
2021
|
-
/**
|
|
1960
|
+
* @returns {number}
|
|
2022
1961
|
*/
|
|
2023
1962
|
get hq_level() {
|
|
2024
1963
|
const ret = wasm.__wbg_get_org_hq_level(this.ptr);
|
|
2025
1964
|
return ret;
|
|
2026
1965
|
}
|
|
2027
1966
|
/**
|
|
2028
|
-
|
|
2029
|
-
set hq_level(arg0) {
|
|
2030
|
-
wasm.__wbg_set_org_hq_level(this.ptr, arg0);
|
|
2031
|
-
}
|
|
2032
|
-
/**
|
|
1967
|
+
* @returns {OrgType}
|
|
2033
1968
|
*/
|
|
2034
1969
|
get org_type() {
|
|
2035
1970
|
const ret = wasm.__wbg_get_org_org_type(this.ptr);
|
|
2036
1971
|
return takeObject(ret);
|
|
2037
1972
|
}
|
|
2038
1973
|
/**
|
|
2039
|
-
|
|
2040
|
-
set org_type(arg0) {
|
|
2041
|
-
wasm.__wbg_set_org_org_type(this.ptr, addHeapObject(arg0));
|
|
2042
|
-
}
|
|
2043
|
-
/**
|
|
1974
|
+
* @returns {string}
|
|
2044
1975
|
*/
|
|
2045
1976
|
get sortie() {
|
|
2046
1977
|
try {
|
|
@@ -2055,6 +1986,7 @@ class Org {
|
|
|
2055
1986
|
}
|
|
2056
1987
|
}
|
|
2057
1988
|
/**
|
|
1989
|
+
* @param {string} arg0
|
|
2058
1990
|
*/
|
|
2059
1991
|
set sortie(arg0) {
|
|
2060
1992
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -2062,6 +1994,7 @@ class Org {
|
|
|
2062
1994
|
wasm.__wbg_set_org_sortie(this.ptr, ptr0, len0);
|
|
2063
1995
|
}
|
|
2064
1996
|
/**
|
|
1997
|
+
* @returns {string | undefined}
|
|
2065
1998
|
*/
|
|
2066
1999
|
get route_sup() {
|
|
2067
2000
|
try {
|
|
@@ -2080,6 +2013,7 @@ class Org {
|
|
|
2080
2013
|
}
|
|
2081
2014
|
}
|
|
2082
2015
|
/**
|
|
2016
|
+
* @param {string | undefined} arg0
|
|
2083
2017
|
*/
|
|
2084
2018
|
set route_sup(arg0) {
|
|
2085
2019
|
var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -2087,6 +2021,7 @@ class Org {
|
|
|
2087
2021
|
wasm.__wbg_set_org_route_sup(this.ptr, ptr0, len0);
|
|
2088
2022
|
}
|
|
2089
2023
|
/**
|
|
2024
|
+
* @returns {string | undefined}
|
|
2090
2025
|
*/
|
|
2091
2026
|
get boss_sup() {
|
|
2092
2027
|
try {
|
|
@@ -2105,6 +2040,7 @@ class Org {
|
|
|
2105
2040
|
}
|
|
2106
2041
|
}
|
|
2107
2042
|
/**
|
|
2043
|
+
* @param {string | undefined} arg0
|
|
2108
2044
|
*/
|
|
2109
2045
|
set boss_sup(arg0) {
|
|
2110
2046
|
var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -2407,6 +2343,7 @@ class Ship {
|
|
|
2407
2343
|
wasm.__wbg_ship_free(ptr);
|
|
2408
2344
|
}
|
|
2409
2345
|
/**
|
|
2346
|
+
* @returns {string}
|
|
2410
2347
|
*/
|
|
2411
2348
|
get id() {
|
|
2412
2349
|
try {
|
|
@@ -2421,6 +2358,7 @@ class Ship {
|
|
|
2421
2358
|
}
|
|
2422
2359
|
}
|
|
2423
2360
|
/**
|
|
2361
|
+
* @param {string} arg0
|
|
2424
2362
|
*/
|
|
2425
2363
|
set id(arg0) {
|
|
2426
2364
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -2428,11 +2366,12 @@ class Ship {
|
|
|
2428
2366
|
wasm.__wbg_set_ship_id(this.ptr, ptr0, len0);
|
|
2429
2367
|
}
|
|
2430
2368
|
/**
|
|
2369
|
+
* @returns {bigint}
|
|
2431
2370
|
*/
|
|
2432
|
-
get
|
|
2371
|
+
get hash() {
|
|
2433
2372
|
try {
|
|
2434
2373
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
2435
|
-
wasm.
|
|
2374
|
+
wasm.__wbg_get_ship_hash(retptr, this.ptr);
|
|
2436
2375
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
2437
2376
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
2438
2377
|
u32CvtShim[0] = r0;
|
|
@@ -2444,191 +2383,167 @@ class Ship {
|
|
|
2444
2383
|
}
|
|
2445
2384
|
}
|
|
2446
2385
|
/**
|
|
2447
|
-
|
|
2448
|
-
set xxh3(arg0) {
|
|
2449
|
-
uint64CvtShim[0] = arg0;
|
|
2450
|
-
const low0 = u32CvtShim[0];
|
|
2451
|
-
const high0 = u32CvtShim[1];
|
|
2452
|
-
wasm.__wbg_set_ship_xxh3(this.ptr, low0, high0);
|
|
2453
|
-
}
|
|
2454
|
-
/**
|
|
2386
|
+
* @returns {number}
|
|
2455
2387
|
*/
|
|
2456
2388
|
get ship_id() {
|
|
2457
2389
|
const ret = wasm.__wbg_get_ship_ship_id(this.ptr);
|
|
2458
2390
|
return ret;
|
|
2459
2391
|
}
|
|
2460
2392
|
/**
|
|
2461
|
-
|
|
2462
|
-
set ship_id(arg0) {
|
|
2463
|
-
wasm.__wbg_set_ship_ship_id(this.ptr, arg0);
|
|
2464
|
-
}
|
|
2465
|
-
/**
|
|
2393
|
+
* @returns {number}
|
|
2466
2394
|
*/
|
|
2467
2395
|
get level() {
|
|
2468
2396
|
const ret = wasm.__wbg_get_ship_level(this.ptr);
|
|
2469
2397
|
return ret;
|
|
2470
2398
|
}
|
|
2471
2399
|
/**
|
|
2472
|
-
|
|
2473
|
-
set level(arg0) {
|
|
2474
|
-
wasm.__wbg_set_ship_level(this.ptr, arg0);
|
|
2475
|
-
}
|
|
2476
|
-
/**
|
|
2400
|
+
* @returns {number}
|
|
2477
2401
|
*/
|
|
2478
2402
|
get current_hp() {
|
|
2479
2403
|
const ret = wasm.__wbg_get_ship_current_hp(this.ptr);
|
|
2480
2404
|
return ret;
|
|
2481
2405
|
}
|
|
2482
2406
|
/**
|
|
2483
|
-
|
|
2484
|
-
set current_hp(arg0) {
|
|
2485
|
-
wasm.__wbg_set_ship_current_hp(this.ptr, arg0);
|
|
2486
|
-
}
|
|
2487
|
-
/**
|
|
2407
|
+
* @returns {number}
|
|
2488
2408
|
*/
|
|
2489
2409
|
get morale() {
|
|
2490
2410
|
const ret = wasm.__wbg_get_ship_morale(this.ptr);
|
|
2491
2411
|
return ret;
|
|
2492
2412
|
}
|
|
2493
2413
|
/**
|
|
2494
|
-
|
|
2495
|
-
set morale(arg0) {
|
|
2496
|
-
wasm.__wbg_set_ship_morale(this.ptr, arg0);
|
|
2497
|
-
}
|
|
2498
|
-
/**
|
|
2414
|
+
* @returns {number}
|
|
2499
2415
|
*/
|
|
2500
2416
|
get ammo() {
|
|
2501
2417
|
const ret = wasm.__wbg_get_ship_ammo(this.ptr);
|
|
2502
2418
|
return ret;
|
|
2503
2419
|
}
|
|
2504
2420
|
/**
|
|
2505
|
-
|
|
2506
|
-
set ammo(arg0) {
|
|
2507
|
-
wasm.__wbg_set_ship_ammo(this.ptr, arg0);
|
|
2508
|
-
}
|
|
2509
|
-
/**
|
|
2421
|
+
* @returns {number}
|
|
2510
2422
|
*/
|
|
2511
2423
|
get fuel() {
|
|
2512
2424
|
const ret = wasm.__wbg_get_ship_fuel(this.ptr);
|
|
2513
2425
|
return ret;
|
|
2514
2426
|
}
|
|
2515
2427
|
/**
|
|
2516
|
-
|
|
2517
|
-
set fuel(arg0) {
|
|
2518
|
-
wasm.__wbg_set_ship_fuel(this.ptr, arg0);
|
|
2519
|
-
}
|
|
2520
|
-
/**
|
|
2428
|
+
* @returns {ShipType}
|
|
2521
2429
|
*/
|
|
2522
2430
|
get ship_type() {
|
|
2523
2431
|
const ret = wasm.__wbg_get_ship_ship_type(this.ptr);
|
|
2524
2432
|
return takeObject(ret);
|
|
2525
2433
|
}
|
|
2526
2434
|
/**
|
|
2527
|
-
|
|
2528
|
-
set ship_type(arg0) {
|
|
2529
|
-
wasm.__wbg_set_ship_ship_type(this.ptr, addHeapObject(arg0));
|
|
2530
|
-
}
|
|
2531
|
-
/**
|
|
2435
|
+
* @returns {number}
|
|
2532
2436
|
*/
|
|
2533
2437
|
get ctype() {
|
|
2534
2438
|
const ret = wasm.__wbg_get_ship_ctype(this.ptr);
|
|
2535
2439
|
return ret;
|
|
2536
2440
|
}
|
|
2537
2441
|
/**
|
|
2538
|
-
|
|
2539
|
-
set ctype(arg0) {
|
|
2540
|
-
wasm.__wbg_set_ship_ctype(this.ptr, arg0);
|
|
2541
|
-
}
|
|
2542
|
-
/**
|
|
2442
|
+
* @returns {SlotSizeVec}
|
|
2543
2443
|
*/
|
|
2544
2444
|
get slots() {
|
|
2545
2445
|
const ret = wasm.__wbg_get_ship_slots(this.ptr);
|
|
2546
2446
|
return takeObject(ret);
|
|
2547
2447
|
}
|
|
2548
2448
|
/**
|
|
2449
|
+
* @param {SlotSizeVec} arg0
|
|
2549
2450
|
*/
|
|
2550
2451
|
set slots(arg0) {
|
|
2551
2452
|
wasm.__wbg_set_ship_slots(this.ptr, addHeapObject(arg0));
|
|
2552
2453
|
}
|
|
2553
2454
|
/**
|
|
2455
|
+
* @returns {number | undefined}
|
|
2554
2456
|
*/
|
|
2555
2457
|
get naked_firepower() {
|
|
2556
2458
|
const ret = wasm.ship_naked_firepower(this.ptr);
|
|
2557
2459
|
return ret === 0xFFFFFF ? undefined : ret;
|
|
2558
2460
|
}
|
|
2559
2461
|
/**
|
|
2462
|
+
* @returns {number | undefined}
|
|
2560
2463
|
*/
|
|
2561
2464
|
get naked_torpedo() {
|
|
2562
2465
|
const ret = wasm.ship_naked_torpedo(this.ptr);
|
|
2563
2466
|
return ret === 0xFFFFFF ? undefined : ret;
|
|
2564
2467
|
}
|
|
2565
2468
|
/**
|
|
2469
|
+
* @returns {number | undefined}
|
|
2566
2470
|
*/
|
|
2567
2471
|
get naked_armor() {
|
|
2568
2472
|
const ret = wasm.ship_naked_armor(this.ptr);
|
|
2569
2473
|
return ret === 0xFFFFFF ? undefined : ret;
|
|
2570
2474
|
}
|
|
2571
2475
|
/**
|
|
2476
|
+
* @returns {number | undefined}
|
|
2572
2477
|
*/
|
|
2573
2478
|
get naked_anti_air() {
|
|
2574
2479
|
const ret = wasm.ship_naked_anti_air(this.ptr);
|
|
2575
2480
|
return ret === 0xFFFFFF ? undefined : ret;
|
|
2576
2481
|
}
|
|
2577
2482
|
/**
|
|
2483
|
+
* @returns {number | undefined}
|
|
2578
2484
|
*/
|
|
2579
2485
|
get naked_evasion() {
|
|
2580
2486
|
const ret = wasm.ship_naked_evasion(this.ptr);
|
|
2581
2487
|
return ret === 0xFFFFFF ? undefined : ret;
|
|
2582
2488
|
}
|
|
2583
2489
|
/**
|
|
2490
|
+
* @returns {number | undefined}
|
|
2584
2491
|
*/
|
|
2585
2492
|
get naked_asw() {
|
|
2586
2493
|
const ret = wasm.ship_naked_asw(this.ptr);
|
|
2587
2494
|
return ret === 0xFFFFFF ? undefined : ret;
|
|
2588
2495
|
}
|
|
2589
2496
|
/**
|
|
2497
|
+
* @returns {number | undefined}
|
|
2590
2498
|
*/
|
|
2591
2499
|
get naked_los() {
|
|
2592
2500
|
const ret = wasm.ship_naked_los(this.ptr);
|
|
2593
2501
|
return ret === 0xFFFFFF ? undefined : ret;
|
|
2594
2502
|
}
|
|
2595
2503
|
/**
|
|
2504
|
+
* @returns {number | undefined}
|
|
2596
2505
|
*/
|
|
2597
2506
|
get firepower() {
|
|
2598
2507
|
const ret = wasm.ship_firepower(this.ptr);
|
|
2599
2508
|
return ret === 0xFFFFFF ? undefined : ret;
|
|
2600
2509
|
}
|
|
2601
2510
|
/**
|
|
2511
|
+
* @returns {number | undefined}
|
|
2602
2512
|
*/
|
|
2603
2513
|
get torpedo() {
|
|
2604
2514
|
const ret = wasm.ship_torpedo(this.ptr);
|
|
2605
2515
|
return ret === 0xFFFFFF ? undefined : ret;
|
|
2606
2516
|
}
|
|
2607
2517
|
/**
|
|
2518
|
+
* @returns {number | undefined}
|
|
2608
2519
|
*/
|
|
2609
2520
|
get armor() {
|
|
2610
2521
|
const ret = wasm.ship_armor(this.ptr);
|
|
2611
2522
|
return ret === 0xFFFFFF ? undefined : ret;
|
|
2612
2523
|
}
|
|
2613
2524
|
/**
|
|
2525
|
+
* @returns {number | undefined}
|
|
2614
2526
|
*/
|
|
2615
2527
|
get anti_air() {
|
|
2616
2528
|
const ret = wasm.ship_anti_air(this.ptr);
|
|
2617
2529
|
return ret === 0xFFFFFF ? undefined : ret;
|
|
2618
2530
|
}
|
|
2619
2531
|
/**
|
|
2532
|
+
* @returns {number | undefined}
|
|
2620
2533
|
*/
|
|
2621
2534
|
get evasion() {
|
|
2622
2535
|
const ret = wasm.ship_evasion(this.ptr);
|
|
2623
2536
|
return ret === 0xFFFFFF ? undefined : ret;
|
|
2624
2537
|
}
|
|
2625
2538
|
/**
|
|
2539
|
+
* @returns {number | undefined}
|
|
2626
2540
|
*/
|
|
2627
2541
|
get asw() {
|
|
2628
2542
|
const ret = wasm.ship_asw(this.ptr);
|
|
2629
2543
|
return ret === 0xFFFFFF ? undefined : ret;
|
|
2630
2544
|
}
|
|
2631
2545
|
/**
|
|
2546
|
+
* @returns {number | undefined}
|
|
2632
2547
|
*/
|
|
2633
2548
|
get los() {
|
|
2634
2549
|
const ret = wasm.ship_los(this.ptr);
|
|
@@ -2673,6 +2588,7 @@ class Ship {
|
|
|
2673
2588
|
return takeObject(ret);
|
|
2674
2589
|
}
|
|
2675
2590
|
/**
|
|
2591
|
+
* @returns {string}
|
|
2676
2592
|
*/
|
|
2677
2593
|
get name() {
|
|
2678
2594
|
try {
|
|
@@ -2687,6 +2603,7 @@ class Ship {
|
|
|
2687
2603
|
}
|
|
2688
2604
|
}
|
|
2689
2605
|
/**
|
|
2606
|
+
* @returns {string}
|
|
2690
2607
|
*/
|
|
2691
2608
|
get yomi() {
|
|
2692
2609
|
try {
|
|
@@ -2701,12 +2618,14 @@ class Ship {
|
|
|
2701
2618
|
}
|
|
2702
2619
|
}
|
|
2703
2620
|
/**
|
|
2621
|
+
* @returns {number}
|
|
2704
2622
|
*/
|
|
2705
2623
|
get stype() {
|
|
2706
2624
|
const ret = wasm.ship_stype(this.ptr);
|
|
2707
2625
|
return ret;
|
|
2708
2626
|
}
|
|
2709
2627
|
/**
|
|
2628
|
+
* @returns {number}
|
|
2710
2629
|
*/
|
|
2711
2630
|
get sort_id() {
|
|
2712
2631
|
const ret = wasm.ship_sort_id(this.ptr);
|
|
@@ -2720,18 +2639,21 @@ class Ship {
|
|
|
2720
2639
|
return ret;
|
|
2721
2640
|
}
|
|
2722
2641
|
/**
|
|
2642
|
+
* @returns {number}
|
|
2723
2643
|
*/
|
|
2724
2644
|
get slotnum() {
|
|
2725
2645
|
const ret = wasm.ship_slotnum(this.ptr);
|
|
2726
2646
|
return ret >>> 0;
|
|
2727
2647
|
}
|
|
2728
2648
|
/**
|
|
2649
|
+
* @returns {number}
|
|
2729
2650
|
*/
|
|
2730
2651
|
get next_id() {
|
|
2731
2652
|
const ret = wasm.ship_next_id(this.ptr);
|
|
2732
2653
|
return ret;
|
|
2733
2654
|
}
|
|
2734
2655
|
/**
|
|
2656
|
+
* @returns {boolean}
|
|
2735
2657
|
*/
|
|
2736
2658
|
get useful() {
|
|
2737
2659
|
const ret = wasm.ship_useful(this.ptr);
|
|
@@ -2906,60 +2828,70 @@ class Ship {
|
|
|
2906
2828
|
return ret !== 0;
|
|
2907
2829
|
}
|
|
2908
2830
|
/**
|
|
2831
|
+
* @returns {number | undefined}
|
|
2909
2832
|
*/
|
|
2910
2833
|
get max_hp() {
|
|
2911
2834
|
const ret = wasm.ship_max_hp(this.ptr);
|
|
2912
2835
|
return ret === 0xFFFFFF ? undefined : ret;
|
|
2913
2836
|
}
|
|
2914
2837
|
/**
|
|
2838
|
+
* @returns {number}
|
|
2915
2839
|
*/
|
|
2916
2840
|
get max_ammo() {
|
|
2917
2841
|
const ret = wasm.ship_max_ammo(this.ptr);
|
|
2918
2842
|
return ret;
|
|
2919
2843
|
}
|
|
2920
2844
|
/**
|
|
2845
|
+
* @returns {number}
|
|
2921
2846
|
*/
|
|
2922
2847
|
get max_fuel() {
|
|
2923
2848
|
const ret = wasm.ship_max_fuel(this.ptr);
|
|
2924
2849
|
return ret;
|
|
2925
2850
|
}
|
|
2926
2851
|
/**
|
|
2852
|
+
* @returns {number | undefined}
|
|
2927
2853
|
*/
|
|
2928
2854
|
get naked_range() {
|
|
2929
2855
|
const ret = wasm.ship_naked_range(this.ptr);
|
|
2930
2856
|
return ret === 0xFFFFFF ? undefined : ret;
|
|
2931
2857
|
}
|
|
2932
2858
|
/**
|
|
2859
|
+
* @returns {number}
|
|
2933
2860
|
*/
|
|
2934
2861
|
get naked_speed() {
|
|
2935
2862
|
const ret = wasm.ship_naked_speed(this.ptr);
|
|
2936
2863
|
return ret;
|
|
2937
2864
|
}
|
|
2938
2865
|
/**
|
|
2866
|
+
* @returns {number | undefined}
|
|
2939
2867
|
*/
|
|
2940
2868
|
get luck() {
|
|
2941
2869
|
const ret = wasm.ship_luck(this.ptr);
|
|
2942
2870
|
return ret === 0xFFFFFF ? undefined : ret;
|
|
2943
2871
|
}
|
|
2944
2872
|
/**
|
|
2873
|
+
* @returns {number | undefined}
|
|
2945
2874
|
*/
|
|
2946
2875
|
get range() {
|
|
2947
2876
|
const ret = wasm.ship_range(this.ptr);
|
|
2948
2877
|
return ret === 0xFFFFFF ? undefined : ret;
|
|
2949
2878
|
}
|
|
2950
2879
|
/**
|
|
2880
|
+
* @returns {number}
|
|
2951
2881
|
*/
|
|
2952
2882
|
get speed() {
|
|
2953
2883
|
const ret = wasm.ship_speed(this.ptr);
|
|
2954
2884
|
return ret;
|
|
2955
2885
|
}
|
|
2956
2886
|
/**
|
|
2887
|
+
* @returns {number}
|
|
2957
2888
|
*/
|
|
2958
2889
|
get accuracy() {
|
|
2959
2890
|
const ret = wasm.ship_accuracy(this.ptr);
|
|
2960
2891
|
return ret;
|
|
2961
2892
|
}
|
|
2962
2893
|
/**
|
|
2894
|
+
* @returns {number}
|
|
2963
2895
|
*/
|
|
2964
2896
|
get innate_torpedo_accuracy() {
|
|
2965
2897
|
const ret = wasm.ship_innate_torpedo_accuracy(this.ptr);
|
|
@@ -3032,6 +2964,23 @@ class Ship {
|
|
|
3032
2964
|
}
|
|
3033
2965
|
}
|
|
3034
2966
|
/**
|
|
2967
|
+
* 加重対空
|
|
2968
|
+
* @param {Side} side
|
|
2969
|
+
* @returns {number | undefined}
|
|
2970
|
+
*/
|
|
2971
|
+
ship_adjusted_anti_air(side) {
|
|
2972
|
+
try {
|
|
2973
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
2974
|
+
wasm.ship_ship_adjusted_anti_air(retptr, this.ptr, addHeapObject(side));
|
|
2975
|
+
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
2976
|
+
var r2 = getFloat64Memory0()[retptr / 8 + 1];
|
|
2977
|
+
return r0 === 0 ? undefined : r2;
|
|
2978
|
+
} finally {
|
|
2979
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
2980
|
+
}
|
|
2981
|
+
}
|
|
2982
|
+
/**
|
|
2983
|
+
* 艦隊対空補正
|
|
3035
2984
|
* @returns {number}
|
|
3036
2985
|
*/
|
|
3037
2986
|
fleet_anti_air_mod() {
|
|
@@ -3143,12 +3092,6 @@ class Ship {
|
|
|
3143
3092
|
}
|
|
3144
3093
|
}
|
|
3145
3094
|
/**
|
|
3146
|
-
* @param {number} value
|
|
3147
|
-
*/
|
|
3148
|
-
take_damage(value) {
|
|
3149
|
-
wasm.ship_take_damage(this.ptr, value);
|
|
3150
|
-
}
|
|
3151
|
-
/**
|
|
3152
3095
|
* @returns {number | undefined}
|
|
3153
3096
|
*/
|
|
3154
3097
|
state_day_gunfit_accuracy() {
|
|
@@ -3188,15 +3131,6 @@ class Ship {
|
|
|
3188
3131
|
}
|
|
3189
3132
|
module.exports.Ship = Ship;
|
|
3190
3133
|
|
|
3191
|
-
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
3192
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
3193
|
-
return addHeapObject(ret);
|
|
3194
|
-
};
|
|
3195
|
-
|
|
3196
|
-
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
3197
|
-
takeObject(arg0);
|
|
3198
|
-
};
|
|
3199
|
-
|
|
3200
3134
|
module.exports.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
3201
3135
|
const obj = getObject(arg1);
|
|
3202
3136
|
const ret = JSON.stringify(obj === undefined ? null : obj);
|
|
@@ -3206,13 +3140,17 @@ module.exports.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
|
3206
3140
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
3207
3141
|
};
|
|
3208
3142
|
|
|
3209
|
-
module.exports.
|
|
3210
|
-
|
|
3143
|
+
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
3144
|
+
takeObject(arg0);
|
|
3145
|
+
};
|
|
3146
|
+
|
|
3147
|
+
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
3148
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
3211
3149
|
return addHeapObject(ret);
|
|
3212
3150
|
};
|
|
3213
3151
|
|
|
3214
|
-
module.exports.
|
|
3215
|
-
const ret =
|
|
3152
|
+
module.exports.__wbg_createEquipmentBonuses_9882e093ee6c42fa = function(arg0, arg1) {
|
|
3153
|
+
const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
|
|
3216
3154
|
return addHeapObject(ret);
|
|
3217
3155
|
};
|
|
3218
3156
|
|
|
@@ -3221,6 +3159,11 @@ module.exports.__wbg_ship_new = function(arg0) {
|
|
|
3221
3159
|
return addHeapObject(ret);
|
|
3222
3160
|
};
|
|
3223
3161
|
|
|
3162
|
+
module.exports.__wbindgen_json_parse = function(arg0, arg1) {
|
|
3163
|
+
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
3164
|
+
return addHeapObject(ret);
|
|
3165
|
+
};
|
|
3166
|
+
|
|
3224
3167
|
module.exports.__wbg_new_693216e109162396 = function() {
|
|
3225
3168
|
const ret = new Error();
|
|
3226
3169
|
return addHeapObject(ret);
|
|
@@ -3296,17 +3239,17 @@ module.exports.__wbg_msCrypto_5a86d77a66230f81 = function(arg0) {
|
|
|
3296
3239
|
return addHeapObject(ret);
|
|
3297
3240
|
};
|
|
3298
3241
|
|
|
3299
|
-
module.exports.
|
|
3242
|
+
module.exports.__wbg_new_ee1a3da85465d621 = function() {
|
|
3300
3243
|
const ret = new Array();
|
|
3301
3244
|
return addHeapObject(ret);
|
|
3302
3245
|
};
|
|
3303
3246
|
|
|
3304
|
-
module.exports.
|
|
3247
|
+
module.exports.__wbg_newnoargs_971e9a5abe185139 = function(arg0, arg1) {
|
|
3305
3248
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
3306
3249
|
return addHeapObject(ret);
|
|
3307
3250
|
};
|
|
3308
3251
|
|
|
3309
|
-
module.exports.
|
|
3252
|
+
module.exports.__wbg_call_33d7bcddbbfa394a = function() { return handleError(function (arg0, arg1) {
|
|
3310
3253
|
const ret = getObject(arg0).call(getObject(arg1));
|
|
3311
3254
|
return addHeapObject(ret);
|
|
3312
3255
|
}, arguments) };
|
|
@@ -3316,22 +3259,22 @@ module.exports.__wbindgen_object_clone_ref = function(arg0) {
|
|
|
3316
3259
|
return addHeapObject(ret);
|
|
3317
3260
|
};
|
|
3318
3261
|
|
|
3319
|
-
module.exports.
|
|
3262
|
+
module.exports.__wbg_self_fd00a1ef86d1b2ed = function() { return handleError(function () {
|
|
3320
3263
|
const ret = self.self;
|
|
3321
3264
|
return addHeapObject(ret);
|
|
3322
3265
|
}, arguments) };
|
|
3323
3266
|
|
|
3324
|
-
module.exports.
|
|
3267
|
+
module.exports.__wbg_window_6f6e346d8bbd61d7 = function() { return handleError(function () {
|
|
3325
3268
|
const ret = window.window;
|
|
3326
3269
|
return addHeapObject(ret);
|
|
3327
3270
|
}, arguments) };
|
|
3328
3271
|
|
|
3329
|
-
module.exports.
|
|
3272
|
+
module.exports.__wbg_globalThis_3348936ac49df00a = function() { return handleError(function () {
|
|
3330
3273
|
const ret = globalThis.globalThis;
|
|
3331
3274
|
return addHeapObject(ret);
|
|
3332
3275
|
}, arguments) };
|
|
3333
3276
|
|
|
3334
|
-
module.exports.
|
|
3277
|
+
module.exports.__wbg_global_67175caf56f55ca9 = function() { return handleError(function () {
|
|
3335
3278
|
const ret = global.global;
|
|
3336
3279
|
return addHeapObject(ret);
|
|
3337
3280
|
}, arguments) };
|
|
@@ -3341,36 +3284,36 @@ module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
|
3341
3284
|
return ret;
|
|
3342
3285
|
};
|
|
3343
3286
|
|
|
3344
|
-
module.exports.
|
|
3287
|
+
module.exports.__wbg_push_0bc7fce4a139a883 = function(arg0, arg1) {
|
|
3345
3288
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
3346
3289
|
return ret;
|
|
3347
3290
|
};
|
|
3348
3291
|
|
|
3349
|
-
module.exports.
|
|
3292
|
+
module.exports.__wbg_buffer_34f5ec9f8a838ba0 = function(arg0) {
|
|
3350
3293
|
const ret = getObject(arg0).buffer;
|
|
3351
3294
|
return addHeapObject(ret);
|
|
3352
3295
|
};
|
|
3353
3296
|
|
|
3354
|
-
module.exports.
|
|
3297
|
+
module.exports.__wbg_new_cda198d9dbc6d7ea = function(arg0) {
|
|
3355
3298
|
const ret = new Uint8Array(getObject(arg0));
|
|
3356
3299
|
return addHeapObject(ret);
|
|
3357
3300
|
};
|
|
3358
3301
|
|
|
3359
|
-
module.exports.
|
|
3302
|
+
module.exports.__wbg_set_1a930cfcda1a8067 = function(arg0, arg1, arg2) {
|
|
3360
3303
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
3361
3304
|
};
|
|
3362
3305
|
|
|
3363
|
-
module.exports.
|
|
3306
|
+
module.exports.__wbg_length_51f19f73d6d9eff3 = function(arg0) {
|
|
3364
3307
|
const ret = getObject(arg0).length;
|
|
3365
3308
|
return ret;
|
|
3366
3309
|
};
|
|
3367
3310
|
|
|
3368
|
-
module.exports.
|
|
3311
|
+
module.exports.__wbg_newwithlength_66e5530e7079ea1b = function(arg0) {
|
|
3369
3312
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
3370
3313
|
return addHeapObject(ret);
|
|
3371
3314
|
};
|
|
3372
3315
|
|
|
3373
|
-
module.exports.
|
|
3316
|
+
module.exports.__wbg_subarray_270ff8dd5582c1ac = function(arg0, arg1, arg2) {
|
|
3374
3317
|
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
3375
3318
|
return addHeapObject(ret);
|
|
3376
3319
|
};
|
|
@@ -3392,9 +3335,3 @@ const wasmInstance = new WebAssembly.Instance(wasmModule, imports);
|
|
|
3392
3335
|
wasm = wasmInstance.exports;
|
|
3393
3336
|
module.exports.__wasm = wasm;
|
|
3394
3337
|
|
|
3395
|
-
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
3396
|
-
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
3397
|
-
cachedUint16Memory0 = new Uint16Array(wasm.memory.buffer);
|
|
3398
|
-
cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
|
|
3399
|
-
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
|
|
3400
|
-
|