ms-toollib 1.5.12 → 1.5.13-alpha
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/ms_toollib.d.ts +10 -0
- package/ms_toollib.js +4099 -6
- package/ms_toollib_bg.wasm +0 -0
- package/package.json +2 -8
- package/ms_toollib_bg.js +0 -3959
package/ms_toollib.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export class AvfVideo {
|
|
|
13
13
|
free(): void;
|
|
14
14
|
[Symbol.dispose](): void;
|
|
15
15
|
analyse(): void;
|
|
16
|
+
analyse_for_features(f: string[]): void;
|
|
16
17
|
is_valid(): number;
|
|
17
18
|
constructor(data: Uint8Array, file_name: string);
|
|
18
19
|
parse(): void;
|
|
@@ -69,6 +70,7 @@ export class AvfVideo {
|
|
|
69
70
|
readonly path: number;
|
|
70
71
|
readonly pix_size: number;
|
|
71
72
|
readonly player_identifier: string;
|
|
73
|
+
readonly pluck: number;
|
|
72
74
|
readonly race_identifier: string;
|
|
73
75
|
readonly raw_data: Uint8Array;
|
|
74
76
|
readonly rce: number;
|
|
@@ -154,6 +156,7 @@ export class EvfVideo {
|
|
|
154
156
|
free(): void;
|
|
155
157
|
[Symbol.dispose](): void;
|
|
156
158
|
analyse(): void;
|
|
159
|
+
analyse_for_features(f: string[]): void;
|
|
157
160
|
is_valid(): number;
|
|
158
161
|
constructor(data: Uint8Array, file_name: string);
|
|
159
162
|
parse(): void;
|
|
@@ -210,6 +213,7 @@ export class EvfVideo {
|
|
|
210
213
|
readonly path: number;
|
|
211
214
|
readonly pix_size: number;
|
|
212
215
|
readonly player_identifier: string;
|
|
216
|
+
readonly pluck: number;
|
|
213
217
|
readonly race_identifier: string;
|
|
214
218
|
readonly raw_data: Uint8Array;
|
|
215
219
|
readonly rce: number;
|
|
@@ -321,6 +325,7 @@ export class MvfVideo {
|
|
|
321
325
|
free(): void;
|
|
322
326
|
[Symbol.dispose](): void;
|
|
323
327
|
analyse(): void;
|
|
328
|
+
analyse_for_features(f: string[]): void;
|
|
324
329
|
is_valid(): number;
|
|
325
330
|
constructor(data: Uint8Array, file_name: string);
|
|
326
331
|
parse(): void;
|
|
@@ -377,6 +382,7 @@ export class MvfVideo {
|
|
|
377
382
|
readonly path: number;
|
|
378
383
|
readonly pix_size: number;
|
|
379
384
|
readonly player_identifier: string;
|
|
385
|
+
readonly pluck: number;
|
|
380
386
|
readonly race_identifier: string;
|
|
381
387
|
readonly raw_data: Uint8Array;
|
|
382
388
|
readonly rce: number;
|
|
@@ -413,6 +419,7 @@ export class RmvVideo {
|
|
|
413
419
|
free(): void;
|
|
414
420
|
[Symbol.dispose](): void;
|
|
415
421
|
analyse(): void;
|
|
422
|
+
analyse_for_features(f: string[]): void;
|
|
416
423
|
is_valid(): number;
|
|
417
424
|
constructor(data: Uint8Array, file_name: string);
|
|
418
425
|
parse(): void;
|
|
@@ -469,6 +476,7 @@ export class RmvVideo {
|
|
|
469
476
|
readonly path: number;
|
|
470
477
|
readonly pix_size: number;
|
|
471
478
|
readonly player_identifier: string;
|
|
479
|
+
readonly pluck: number;
|
|
472
480
|
readonly race_identifier: string;
|
|
473
481
|
readonly raw_data: Uint8Array;
|
|
474
482
|
readonly rce: number;
|
|
@@ -522,6 +530,8 @@ export function cal_op(js_board: any): number;
|
|
|
522
530
|
|
|
523
531
|
export function cal_probability_onboard(js_board: any, mine_num: number): any;
|
|
524
532
|
|
|
533
|
+
export function init(): void;
|
|
534
|
+
|
|
525
535
|
export function is_solvable(js_board: any, x0: number, y0: number): boolean;
|
|
526
536
|
|
|
527
537
|
export function laymine(row: number, column: number, mine_num: number, x0: number, y0: number): any;
|