@webgal/language-server 0.0.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3287 @@
1
+ let _webgal_language_core = require("@webgal/language-core");
2
+ let _volar_language_server = require("@volar/language-server");
3
+
4
+ //#region src/warnings.ts
5
+ function remove_space(_text) {
6
+ _text = _text.replace(/^([\n\r\t]+)/, function(input, match) {
7
+ return input.slice(match.length);
8
+ });
9
+ return _text;
10
+ }
11
+ const warningConfig = {
12
+ "0001": {
13
+ id: "0001",
14
+ message: (...args) => {
15
+ return `${args[0]} 前面包含一个以上的空格或换行`;
16
+ },
17
+ DiagnosticInformation: "指令格式不规范(%id%)",
18
+ pattern: /(\s{2,}-[A-Za-z]+)\b/g,
19
+ is_line: false
20
+ },
21
+ "0002": {
22
+ id: "0002",
23
+ message: (...args) => {
24
+ return `${args[0]} 变量名开头为数字`;
25
+ },
26
+ DiagnosticInformation: "变量命名不规范(%id%)",
27
+ pattern: /^setVar:([0-9]+\S+);/g,
28
+ is_line: true,
29
+ customCheck: function(textDocument, _text, _base_offset, _newarr) {
30
+ const _ori_text = _text;
31
+ _text = remove_space(_text);
32
+ let _offset = 0;
33
+ for (let i = 0; i < _newarr.length; i++) {
34
+ const _data = _newarr[i];
35
+ if (/(\r\n)/.test(_data) || _data == "\\r\\n") _offset += 2;
36
+ else _offset += _data.length;
37
+ }
38
+ if (this.pattern.exec(_text)) {
39
+ const diagnostic = {
40
+ severity: _volar_language_server.DiagnosticSeverity.Warning,
41
+ range: {
42
+ start: textDocument.positionAt(_offset),
43
+ end: textDocument.positionAt(_offset + _text.length)
44
+ },
45
+ message: message(this.id, _ori_text.trim()),
46
+ source: _webgal_language_core.source
47
+ };
48
+ diagnostic.relatedInformation = [{
49
+ location: {
50
+ uri: textDocument.uri,
51
+ range: Object.assign({}, diagnostic.range)
52
+ },
53
+ message: getDiagnosticInformation(this.id)
54
+ }];
55
+ return diagnostic;
56
+ }
57
+ return null;
58
+ }
59
+ },
60
+ "0003": {
61
+ id: "0003",
62
+ message: (...args) => {
63
+ return `${args[0]} 冒号后面需要添加一个空格`;
64
+ },
65
+ DiagnosticInformation: "指令不规范(%id%)",
66
+ pattern: /^([^\s]+):[^\s](.+)/g,
67
+ is_line: true
68
+ },
69
+ "0004": {
70
+ id: "0004",
71
+ message: (...args) => {
72
+ return `${args[0]} 插值变量周围存在空格`;
73
+ },
74
+ DiagnosticInformation: "变量插值不规范(%id%)",
75
+ pattern: /{(\S+\s{1,}|\s{1,}\S+|\s{1,}\S+\s{1,})}/g,
76
+ is_line: false
77
+ },
78
+ "0005": {
79
+ id: "0005",
80
+ message: (...args) => {
81
+ return `${args[0]} 语句缺少结束标识`;
82
+ },
83
+ DiagnosticInformation: "语句不规范(%id%)",
84
+ pattern: /none/g,
85
+ customCheck: function(textDocument, _text, _base_offset, _newarr) {
86
+ _text = remove_space(_text);
87
+ let _offset = 0;
88
+ for (let i = 0; i < _newarr.length; i++) {
89
+ const _data = _newarr[i];
90
+ if (/(\r\n)/.test(_data) || _data == "\\r\\n") _offset += 2;
91
+ else _offset += _data.length;
92
+ }
93
+ const _res_match_start = _text.endsWith(";") ? true : false;
94
+ const _res = _text.startsWith(";") || _res_match_start ? true : false;
95
+ if (!_text.includes(";") && !_res && _text.length > 0) {
96
+ const diagnostic = {
97
+ severity: _volar_language_server.DiagnosticSeverity.Warning,
98
+ range: {
99
+ start: textDocument.positionAt(_offset),
100
+ end: textDocument.positionAt(_offset + _text.trim().length)
101
+ },
102
+ message: message(this.id, _text.trim()),
103
+ source: _webgal_language_core.source
104
+ };
105
+ diagnostic.relatedInformation = [{
106
+ location: {
107
+ uri: textDocument.uri,
108
+ range: Object.assign({}, diagnostic.range)
109
+ },
110
+ message: getDiagnosticInformation(this.id)
111
+ }];
112
+ return diagnostic;
113
+ }
114
+ return null;
115
+ },
116
+ is_line: true
117
+ }
118
+ };
119
+ /**
120
+ * @description: 获取诊断结果
121
+ * @param {string} id
122
+ * @param {array} args
123
+ * @return {*}
124
+ */
125
+ function message(id, ...args) {
126
+ const _data = warningConfig[id];
127
+ if (!_data) return false;
128
+ return _data.message(...args);
129
+ }
130
+ /**
131
+ * @description: 获取诊断类型信息
132
+ * @param {string} id
133
+ * @return {*}
134
+ */
135
+ function getDiagnosticInformation(id) {
136
+ const _data = warningConfig[id];
137
+ if (!_data) return "未知错误类型";
138
+ return _data.DiagnosticInformation.replace(/%(\w+)%/g, function() {
139
+ return id;
140
+ });
141
+ }
142
+
143
+ //#endregion
144
+ //#region src/utils/definedMap.ts
145
+ /** This is Automatically generated, do not modify */
146
+ var definedMap_default = {
147
+ ISceneEntry: {
148
+ sceneName: {
149
+ key: "sceneName",
150
+ description: "场景名称",
151
+ type: {
152
+ key: "string",
153
+ description: "场景名称"
154
+ },
155
+ value: "string"
156
+ },
157
+ sceneUrl: {
158
+ key: "sceneUrl",
159
+ description: "场景url",
160
+ type: {
161
+ key: "string",
162
+ description: "场景url"
163
+ },
164
+ value: "string"
165
+ },
166
+ continueLine: {
167
+ key: "continueLine",
168
+ description: "继续原场景的行号",
169
+ type: {
170
+ key: "number",
171
+ description: "继续原场景的行号"
172
+ },
173
+ value: "number"
174
+ }
175
+ },
176
+ arg: {
177
+ key: {
178
+ key: "key",
179
+ description: "参数键",
180
+ type: {
181
+ key: "string",
182
+ description: "参数键"
183
+ },
184
+ value: "string"
185
+ },
186
+ value: {
187
+ key: "value",
188
+ description: "参数值",
189
+ type: {
190
+ key: "string | boolean | number",
191
+ description: "参数值"
192
+ },
193
+ value: "@U:string | boolean | number"
194
+ },
195
+ __WG$key: "arg",
196
+ __WG$description: "\n单个参数接口\n@interface arg\n/"
197
+ },
198
+ IAsset: {
199
+ name: {
200
+ key: "name",
201
+ description: "资源名称",
202
+ type: {
203
+ key: "string",
204
+ description: "资源名称"
205
+ },
206
+ value: "string"
207
+ },
208
+ type: {
209
+ key: "type",
210
+ description: "资源类型",
211
+ type: {
212
+ key: "fileType",
213
+ description: "资源类型"
214
+ },
215
+ value: "fileType"
216
+ },
217
+ url: {
218
+ key: "url",
219
+ description: "资源url",
220
+ type: {
221
+ key: "string",
222
+ description: "资源url"
223
+ },
224
+ value: "string"
225
+ },
226
+ lineNumber: {
227
+ key: "lineNumber",
228
+ description: "触发资源语句的行号",
229
+ type: {
230
+ key: "number",
231
+ description: "触发资源语句的行号"
232
+ },
233
+ value: "number"
234
+ },
235
+ __WG$key: "IAsset",
236
+ __WG$description: "\n资源接口\n@interface IAsset\n/"
237
+ },
238
+ ISentence: {
239
+ command: {
240
+ key: "command",
241
+ description: "语句类型",
242
+ type: {
243
+ key: "commandType",
244
+ description: "语句类型"
245
+ },
246
+ value: "commandType"
247
+ },
248
+ commandRaw: {
249
+ key: "commandRaw",
250
+ description: "命令的原始内容,方便调试",
251
+ type: {
252
+ key: "string",
253
+ description: "命令的原始内容,方便调试"
254
+ },
255
+ value: "string"
256
+ },
257
+ content: {
258
+ key: "content",
259
+ description: "语句内容",
260
+ type: {
261
+ key: "string",
262
+ description: "语句内容"
263
+ },
264
+ value: "string"
265
+ },
266
+ args: {
267
+ key: "args",
268
+ description: "参数列表",
269
+ type: {
270
+ key: "Array<arg>",
271
+ description: "参数列表"
272
+ },
273
+ value: "Array<arg>"
274
+ },
275
+ sentenceAssets: {
276
+ key: "sentenceAssets",
277
+ description: "语句携带的资源列表",
278
+ type: {
279
+ key: "Array<IAsset>",
280
+ description: "语句携带的资源列表"
281
+ },
282
+ value: "Array<IAsset>"
283
+ },
284
+ subScene: {
285
+ key: "subScene",
286
+ description: "语句包含子场景列表",
287
+ type: {
288
+ key: "Array<string>",
289
+ description: "语句包含子场景列表"
290
+ },
291
+ value: "Array<string>"
292
+ },
293
+ inlineComment: {
294
+ key: "inlineComment",
295
+ description: "行内注释",
296
+ type: {
297
+ key: "string",
298
+ description: "行内注释"
299
+ },
300
+ value: "string"
301
+ },
302
+ __WG$key: "ISentence",
303
+ __WG$description: "\n单条语句接口\n@interface ISentence\n/"
304
+ },
305
+ IScene: {
306
+ sceneName: {
307
+ key: "sceneName",
308
+ description: "场景名称",
309
+ type: {
310
+ key: "string",
311
+ description: "场景名称"
312
+ },
313
+ value: "string"
314
+ },
315
+ sceneUrl: {
316
+ key: "sceneUrl",
317
+ description: "场景url",
318
+ type: {
319
+ key: "string",
320
+ description: "场景url"
321
+ },
322
+ value: "string"
323
+ },
324
+ sentenceList: {
325
+ key: "sentenceList",
326
+ description: "语句列表",
327
+ type: {
328
+ key: "Array<ISentence>",
329
+ description: "语句列表"
330
+ },
331
+ value: "Array<ISentence>"
332
+ },
333
+ assetsList: {
334
+ key: "assetsList",
335
+ description: "资源列表",
336
+ type: {
337
+ key: "Array<IAsset>",
338
+ description: "资源列表"
339
+ },
340
+ value: "Array<IAsset>"
341
+ },
342
+ subSceneList: {
343
+ key: "subSceneList",
344
+ description: "子场景的url列表",
345
+ type: {
346
+ key: "Array<string>",
347
+ description: "子场景的url列表"
348
+ },
349
+ value: "Array<string>"
350
+ },
351
+ __WG$key: "IScene",
352
+ __WG$description: "\n场景接口\n@interface IScene\n/"
353
+ },
354
+ ISceneData: {
355
+ currentSentenceId: {
356
+ key: "currentSentenceId",
357
+ description: "当前语句ID",
358
+ type: {
359
+ key: "number",
360
+ description: "当前语句ID"
361
+ },
362
+ value: "number"
363
+ },
364
+ sceneStack: {
365
+ key: "sceneStack",
366
+ description: "场景栈",
367
+ type: {
368
+ key: "Array<ISceneEntry>",
369
+ description: "场景栈"
370
+ },
371
+ value: "Array<ISceneEntry>"
372
+ },
373
+ currentScene: {
374
+ key: "currentScene",
375
+ description: "当前场景数据",
376
+ type: {
377
+ key: "IScene",
378
+ description: "当前场景数据"
379
+ },
380
+ value: {
381
+ sceneName: {
382
+ key: "sceneName",
383
+ description: "场景名称",
384
+ type: {
385
+ key: "string",
386
+ description: "场景名称"
387
+ },
388
+ value: "string"
389
+ },
390
+ sceneUrl: {
391
+ key: "sceneUrl",
392
+ description: "场景url",
393
+ type: {
394
+ key: "string",
395
+ description: "场景url"
396
+ },
397
+ value: "string"
398
+ },
399
+ sentenceList: {
400
+ key: "sentenceList",
401
+ description: "语句列表",
402
+ type: {
403
+ key: "Array<ISentence>",
404
+ description: "语句列表"
405
+ },
406
+ value: "Array<ISentence>"
407
+ },
408
+ assetsList: {
409
+ key: "assetsList",
410
+ description: "资源列表",
411
+ type: {
412
+ key: "Array<IAsset>",
413
+ description: "资源列表"
414
+ },
415
+ value: "Array<IAsset>"
416
+ },
417
+ subSceneList: {
418
+ key: "subSceneList",
419
+ description: "子场景的url列表",
420
+ type: {
421
+ key: "Array<string>",
422
+ description: "子场景的url列表"
423
+ },
424
+ value: "Array<string>"
425
+ }
426
+ }
427
+ },
428
+ __WG$key: "ISceneData",
429
+ __WG$description: "\n当前的场景数据\n@interface ISceneData\n/"
430
+ },
431
+ parsedCommand: {
432
+ type: {
433
+ key: "type",
434
+ description: "",
435
+ type: {
436
+ key: "commandType",
437
+ description: ""
438
+ },
439
+ value: "commandType"
440
+ },
441
+ additionalArgs: {
442
+ key: "additionalArgs",
443
+ description: "",
444
+ type: {
445
+ key: "Array<arg>",
446
+ description: ""
447
+ },
448
+ value: "Array<arg>"
449
+ },
450
+ __WG$key: "parsedCommand",
451
+ __WG$description: "\n处理后的命令接口\n@interface parsedCommand\n/"
452
+ },
453
+ IGameVar: {
454
+ __WG$key: "IGameVar",
455
+ __WG$description: "\n游戏内变量\n@interface IGameVar\n/"
456
+ },
457
+ ISetGameVar: {
458
+ key: {
459
+ key: "key",
460
+ description: "",
461
+ type: {
462
+ key: "string",
463
+ description: ""
464
+ },
465
+ value: "string"
466
+ },
467
+ value: {
468
+ key: "value",
469
+ description: "",
470
+ type: {
471
+ key: "string | boolean | number",
472
+ description: ""
473
+ },
474
+ value: "@U:string | boolean | number"
475
+ }
476
+ },
477
+ IChooseItem: {
478
+ key: {
479
+ key: "key",
480
+ description: "选项名称",
481
+ type: {
482
+ key: "string",
483
+ description: "选项名称"
484
+ },
485
+ value: "string"
486
+ },
487
+ targetScene: {
488
+ key: "targetScene",
489
+ description: "选项target",
490
+ type: {
491
+ key: "string",
492
+ description: "选项target"
493
+ },
494
+ value: "string"
495
+ },
496
+ isSubScene: {
497
+ key: "isSubScene",
498
+ description: "是否是子场景调用",
499
+ type: {
500
+ key: "boolean",
501
+ description: "是否是子场景调用"
502
+ },
503
+ value: "boolean"
504
+ },
505
+ __WG$key: "IChooseItem",
506
+ __WG$description: "\n单个选项\n@interface IChooseItem\n/"
507
+ },
508
+ ITransform: {
509
+ alpha: {
510
+ key: "alpha",
511
+ description: "",
512
+ type: {
513
+ key: "number",
514
+ description: ""
515
+ },
516
+ value: "number"
517
+ },
518
+ scale: {
519
+ key: "scale",
520
+ description: "",
521
+ type: {
522
+ key: "{\r\n x: number;\r\n y: number;\r\n }",
523
+ description: ""
524
+ },
525
+ value: {
526
+ x: {
527
+ key: "x",
528
+ description: "",
529
+ type: {
530
+ key: "number",
531
+ description: ""
532
+ },
533
+ value: "number"
534
+ },
535
+ y: {
536
+ key: "y",
537
+ description: "",
538
+ type: {
539
+ key: "number",
540
+ description: ""
541
+ },
542
+ value: "number"
543
+ }
544
+ }
545
+ },
546
+ position: {
547
+ key: "position",
548
+ description: "",
549
+ type: {
550
+ key: "{\r\n x: number;\r\n y: number;\r\n }",
551
+ description: ""
552
+ },
553
+ value: {
554
+ x: {
555
+ key: "x",
556
+ description: "",
557
+ type: {
558
+ key: "number",
559
+ description: ""
560
+ },
561
+ value: "number"
562
+ },
563
+ y: {
564
+ key: "y",
565
+ description: "",
566
+ type: {
567
+ key: "number",
568
+ description: ""
569
+ },
570
+ value: "number"
571
+ }
572
+ }
573
+ },
574
+ rotation: {
575
+ key: "rotation",
576
+ description: "",
577
+ type: {
578
+ key: "number",
579
+ description: ""
580
+ },
581
+ value: "number"
582
+ },
583
+ blur: {
584
+ key: "blur",
585
+ description: "",
586
+ type: {
587
+ key: "number",
588
+ description: ""
589
+ },
590
+ value: "number"
591
+ },
592
+ brightness: {
593
+ key: "brightness",
594
+ description: "",
595
+ type: {
596
+ key: "number",
597
+ description: ""
598
+ },
599
+ value: "number"
600
+ },
601
+ contrast: {
602
+ key: "contrast",
603
+ description: "",
604
+ type: {
605
+ key: "number",
606
+ description: ""
607
+ },
608
+ value: "number"
609
+ },
610
+ saturation: {
611
+ key: "saturation",
612
+ description: "",
613
+ type: {
614
+ key: "number",
615
+ description: ""
616
+ },
617
+ value: "number"
618
+ },
619
+ gamma: {
620
+ key: "gamma",
621
+ description: "",
622
+ type: {
623
+ key: "number",
624
+ description: ""
625
+ },
626
+ value: "number"
627
+ },
628
+ colorRed: {
629
+ key: "colorRed",
630
+ description: "",
631
+ type: {
632
+ key: "number",
633
+ description: ""
634
+ },
635
+ value: "number"
636
+ },
637
+ colorGreen: {
638
+ key: "colorGreen",
639
+ description: "",
640
+ type: {
641
+ key: "number",
642
+ description: ""
643
+ },
644
+ value: "number"
645
+ },
646
+ colorBlue: {
647
+ key: "colorBlue",
648
+ description: "",
649
+ type: {
650
+ key: "number",
651
+ description: ""
652
+ },
653
+ value: "number"
654
+ },
655
+ bevel: {
656
+ key: "bevel",
657
+ description: "",
658
+ type: {
659
+ key: "number",
660
+ description: ""
661
+ },
662
+ value: "number"
663
+ },
664
+ bevelThickness: {
665
+ key: "bevelThickness",
666
+ description: "",
667
+ type: {
668
+ key: "number",
669
+ description: ""
670
+ },
671
+ value: "number"
672
+ },
673
+ bevelRotation: {
674
+ key: "bevelRotation",
675
+ description: "",
676
+ type: {
677
+ key: "number",
678
+ description: ""
679
+ },
680
+ value: "number"
681
+ },
682
+ bevelSoftness: {
683
+ key: "bevelSoftness",
684
+ description: "",
685
+ type: {
686
+ key: "number",
687
+ description: ""
688
+ },
689
+ value: "number"
690
+ },
691
+ bevelRed: {
692
+ key: "bevelRed",
693
+ description: "",
694
+ type: {
695
+ key: "number",
696
+ description: ""
697
+ },
698
+ value: "number"
699
+ },
700
+ bevelGreen: {
701
+ key: "bevelGreen",
702
+ description: "",
703
+ type: {
704
+ key: "number",
705
+ description: ""
706
+ },
707
+ value: "number"
708
+ },
709
+ bevelBlue: {
710
+ key: "bevelBlue",
711
+ description: "",
712
+ type: {
713
+ key: "number",
714
+ description: ""
715
+ },
716
+ value: "number"
717
+ },
718
+ bloom: {
719
+ key: "bloom",
720
+ description: "",
721
+ type: {
722
+ key: "number",
723
+ description: ""
724
+ },
725
+ value: "number"
726
+ },
727
+ bloomBrightness: {
728
+ key: "bloomBrightness",
729
+ description: "",
730
+ type: {
731
+ key: "number",
732
+ description: ""
733
+ },
734
+ value: "number"
735
+ },
736
+ bloomBlur: {
737
+ key: "bloomBlur",
738
+ description: "",
739
+ type: {
740
+ key: "number",
741
+ description: ""
742
+ },
743
+ value: "number"
744
+ },
745
+ bloomThreshold: {
746
+ key: "bloomThreshold",
747
+ description: "",
748
+ type: {
749
+ key: "number",
750
+ description: ""
751
+ },
752
+ value: "number"
753
+ },
754
+ shockwaveFilter: {
755
+ key: "shockwaveFilter",
756
+ description: "",
757
+ type: {
758
+ key: "number",
759
+ description: ""
760
+ },
761
+ value: "number"
762
+ },
763
+ radiusAlphaFilter: {
764
+ key: "radiusAlphaFilter",
765
+ description: "",
766
+ type: {
767
+ key: "number",
768
+ description: ""
769
+ },
770
+ value: "number"
771
+ }
772
+ },
773
+ IEffect: {
774
+ target: {
775
+ key: "target",
776
+ description: "作用目标",
777
+ type: {
778
+ key: "string",
779
+ description: "作用目标"
780
+ },
781
+ value: "string"
782
+ },
783
+ transform: {
784
+ key: "transform",
785
+ description: "变换",
786
+ type: {
787
+ key: "ITransform",
788
+ description: "变换"
789
+ },
790
+ value: {
791
+ alpha: {
792
+ key: "alpha",
793
+ description: "",
794
+ type: {
795
+ key: "number",
796
+ description: ""
797
+ },
798
+ value: "number"
799
+ },
800
+ scale: {
801
+ key: "scale",
802
+ description: "",
803
+ type: {
804
+ key: "{\r\n x: number;\r\n y: number;\r\n }",
805
+ description: ""
806
+ },
807
+ value: {
808
+ x: {
809
+ key: "x",
810
+ description: "",
811
+ type: {
812
+ key: "number",
813
+ description: ""
814
+ },
815
+ value: "number"
816
+ },
817
+ y: {
818
+ key: "y",
819
+ description: "",
820
+ type: {
821
+ key: "number",
822
+ description: ""
823
+ },
824
+ value: "number"
825
+ }
826
+ }
827
+ },
828
+ position: {
829
+ key: "position",
830
+ description: "",
831
+ type: {
832
+ key: "{\r\n x: number;\r\n y: number;\r\n }",
833
+ description: ""
834
+ },
835
+ value: {
836
+ x: {
837
+ key: "x",
838
+ description: "",
839
+ type: {
840
+ key: "number",
841
+ description: ""
842
+ },
843
+ value: "number"
844
+ },
845
+ y: {
846
+ key: "y",
847
+ description: "",
848
+ type: {
849
+ key: "number",
850
+ description: ""
851
+ },
852
+ value: "number"
853
+ }
854
+ }
855
+ },
856
+ rotation: {
857
+ key: "rotation",
858
+ description: "",
859
+ type: {
860
+ key: "number",
861
+ description: ""
862
+ },
863
+ value: "number"
864
+ },
865
+ blur: {
866
+ key: "blur",
867
+ description: "",
868
+ type: {
869
+ key: "number",
870
+ description: ""
871
+ },
872
+ value: "number"
873
+ },
874
+ brightness: {
875
+ key: "brightness",
876
+ description: "",
877
+ type: {
878
+ key: "number",
879
+ description: ""
880
+ },
881
+ value: "number"
882
+ },
883
+ contrast: {
884
+ key: "contrast",
885
+ description: "",
886
+ type: {
887
+ key: "number",
888
+ description: ""
889
+ },
890
+ value: "number"
891
+ },
892
+ saturation: {
893
+ key: "saturation",
894
+ description: "",
895
+ type: {
896
+ key: "number",
897
+ description: ""
898
+ },
899
+ value: "number"
900
+ },
901
+ gamma: {
902
+ key: "gamma",
903
+ description: "",
904
+ type: {
905
+ key: "number",
906
+ description: ""
907
+ },
908
+ value: "number"
909
+ },
910
+ colorRed: {
911
+ key: "colorRed",
912
+ description: "",
913
+ type: {
914
+ key: "number",
915
+ description: ""
916
+ },
917
+ value: "number"
918
+ },
919
+ colorGreen: {
920
+ key: "colorGreen",
921
+ description: "",
922
+ type: {
923
+ key: "number",
924
+ description: ""
925
+ },
926
+ value: "number"
927
+ },
928
+ colorBlue: {
929
+ key: "colorBlue",
930
+ description: "",
931
+ type: {
932
+ key: "number",
933
+ description: ""
934
+ },
935
+ value: "number"
936
+ },
937
+ bevel: {
938
+ key: "bevel",
939
+ description: "",
940
+ type: {
941
+ key: "number",
942
+ description: ""
943
+ },
944
+ value: "number"
945
+ },
946
+ bevelThickness: {
947
+ key: "bevelThickness",
948
+ description: "",
949
+ type: {
950
+ key: "number",
951
+ description: ""
952
+ },
953
+ value: "number"
954
+ },
955
+ bevelRotation: {
956
+ key: "bevelRotation",
957
+ description: "",
958
+ type: {
959
+ key: "number",
960
+ description: ""
961
+ },
962
+ value: "number"
963
+ },
964
+ bevelSoftness: {
965
+ key: "bevelSoftness",
966
+ description: "",
967
+ type: {
968
+ key: "number",
969
+ description: ""
970
+ },
971
+ value: "number"
972
+ },
973
+ bevelRed: {
974
+ key: "bevelRed",
975
+ description: "",
976
+ type: {
977
+ key: "number",
978
+ description: ""
979
+ },
980
+ value: "number"
981
+ },
982
+ bevelGreen: {
983
+ key: "bevelGreen",
984
+ description: "",
985
+ type: {
986
+ key: "number",
987
+ description: ""
988
+ },
989
+ value: "number"
990
+ },
991
+ bevelBlue: {
992
+ key: "bevelBlue",
993
+ description: "",
994
+ type: {
995
+ key: "number",
996
+ description: ""
997
+ },
998
+ value: "number"
999
+ },
1000
+ bloom: {
1001
+ key: "bloom",
1002
+ description: "",
1003
+ type: {
1004
+ key: "number",
1005
+ description: ""
1006
+ },
1007
+ value: "number"
1008
+ },
1009
+ bloomBrightness: {
1010
+ key: "bloomBrightness",
1011
+ description: "",
1012
+ type: {
1013
+ key: "number",
1014
+ description: ""
1015
+ },
1016
+ value: "number"
1017
+ },
1018
+ bloomBlur: {
1019
+ key: "bloomBlur",
1020
+ description: "",
1021
+ type: {
1022
+ key: "number",
1023
+ description: ""
1024
+ },
1025
+ value: "number"
1026
+ },
1027
+ bloomThreshold: {
1028
+ key: "bloomThreshold",
1029
+ description: "",
1030
+ type: {
1031
+ key: "number",
1032
+ description: ""
1033
+ },
1034
+ value: "number"
1035
+ },
1036
+ shockwaveFilter: {
1037
+ key: "shockwaveFilter",
1038
+ description: "",
1039
+ type: {
1040
+ key: "number",
1041
+ description: ""
1042
+ },
1043
+ value: "number"
1044
+ },
1045
+ radiusAlphaFilter: {
1046
+ key: "radiusAlphaFilter",
1047
+ description: "",
1048
+ type: {
1049
+ key: "number",
1050
+ description: ""
1051
+ },
1052
+ value: "number"
1053
+ }
1054
+ }
1055
+ },
1056
+ __WG$key: "IEffect",
1057
+ __WG$description: "\n基本效果接口\n@interface IEffect\n/"
1058
+ },
1059
+ IStageAnimationSetting: {
1060
+ target: {
1061
+ key: "target",
1062
+ description: "",
1063
+ type: {
1064
+ key: "string",
1065
+ description: ""
1066
+ },
1067
+ value: "string"
1068
+ },
1069
+ enterAnimationName: {
1070
+ key: "enterAnimationName",
1071
+ description: "",
1072
+ type: {
1073
+ key: "string",
1074
+ description: ""
1075
+ },
1076
+ value: "string"
1077
+ },
1078
+ exitAnimationName: {
1079
+ key: "exitAnimationName",
1080
+ description: "",
1081
+ type: {
1082
+ key: "string",
1083
+ description: ""
1084
+ },
1085
+ value: "string"
1086
+ },
1087
+ enterDuration: {
1088
+ key: "enterDuration",
1089
+ description: "",
1090
+ type: {
1091
+ key: "number",
1092
+ description: ""
1093
+ },
1094
+ value: "number"
1095
+ },
1096
+ exitDuration: {
1097
+ key: "exitDuration",
1098
+ description: "",
1099
+ type: {
1100
+ key: "number",
1101
+ description: ""
1102
+ },
1103
+ value: "number"
1104
+ }
1105
+ },
1106
+ IUpdateAnimationSettingPayload: {
1107
+ target: {
1108
+ key: "target",
1109
+ description: "",
1110
+ type: {
1111
+ key: "string",
1112
+ description: ""
1113
+ },
1114
+ value: "string"
1115
+ },
1116
+ key: {
1117
+ key: "key",
1118
+ description: "",
1119
+ type: {
1120
+ key: "StageAnimationSettingUpdatableKey",
1121
+ description: ""
1122
+ },
1123
+ value: "@N"
1124
+ },
1125
+ value: {
1126
+ key: "value",
1127
+ description: "",
1128
+ type: {
1129
+ key: "IStageAnimationSetting[StageAnimationSettingUpdatableKey]",
1130
+ description: ""
1131
+ },
1132
+ value: "IStageAnimationSetting[StageAnimationSettingUpdatableKey]"
1133
+ }
1134
+ },
1135
+ IFreeFigure: {
1136
+ basePosition: {
1137
+ key: "basePosition",
1138
+ description: "",
1139
+ type: {
1140
+ key: "\"left\" | \"center\" | \"right\"",
1141
+ description: ""
1142
+ },
1143
+ value: "@U:\"left\" | \"center\" | \"right\""
1144
+ },
1145
+ name: {
1146
+ key: "name",
1147
+ description: "",
1148
+ type: {
1149
+ key: "string",
1150
+ description: ""
1151
+ },
1152
+ value: "string"
1153
+ },
1154
+ key: {
1155
+ key: "key",
1156
+ description: "",
1157
+ type: {
1158
+ key: "string",
1159
+ description: ""
1160
+ },
1161
+ value: "string"
1162
+ }
1163
+ },
1164
+ IFigureAssociatedAnimation: {
1165
+ mouthAnimation: {
1166
+ key: "mouthAnimation",
1167
+ description: "",
1168
+ type: {
1169
+ key: "IMouthAnimationFile",
1170
+ description: ""
1171
+ },
1172
+ value: {
1173
+ open: {
1174
+ key: "open",
1175
+ description: "",
1176
+ type: {
1177
+ key: "string",
1178
+ description: ""
1179
+ },
1180
+ value: "string"
1181
+ },
1182
+ close: {
1183
+ key: "close",
1184
+ description: "",
1185
+ type: {
1186
+ key: "string",
1187
+ description: ""
1188
+ },
1189
+ value: "string"
1190
+ },
1191
+ halfOpen: {
1192
+ key: "halfOpen",
1193
+ description: "",
1194
+ type: {
1195
+ key: "string",
1196
+ description: ""
1197
+ },
1198
+ value: "string"
1199
+ }
1200
+ }
1201
+ },
1202
+ blinkAnimation: {
1203
+ key: "blinkAnimation",
1204
+ description: "",
1205
+ type: {
1206
+ key: "IEyesAnimationFile",
1207
+ description: ""
1208
+ },
1209
+ value: {
1210
+ open: {
1211
+ key: "open",
1212
+ description: "",
1213
+ type: {
1214
+ key: "string",
1215
+ description: ""
1216
+ },
1217
+ value: "string"
1218
+ },
1219
+ close: {
1220
+ key: "close",
1221
+ description: "",
1222
+ type: {
1223
+ key: "string",
1224
+ description: ""
1225
+ },
1226
+ value: "string"
1227
+ }
1228
+ }
1229
+ },
1230
+ targetId: {
1231
+ key: "targetId",
1232
+ description: "",
1233
+ type: {
1234
+ key: "string",
1235
+ description: ""
1236
+ },
1237
+ value: "string"
1238
+ },
1239
+ animationFlag: {
1240
+ key: "animationFlag",
1241
+ description: "",
1242
+ type: {
1243
+ key: "string",
1244
+ description: ""
1245
+ },
1246
+ value: "string"
1247
+ }
1248
+ },
1249
+ IMouthAnimationFile: {
1250
+ open: {
1251
+ key: "open",
1252
+ description: "",
1253
+ type: {
1254
+ key: "string",
1255
+ description: ""
1256
+ },
1257
+ value: "string"
1258
+ },
1259
+ close: {
1260
+ key: "close",
1261
+ description: "",
1262
+ type: {
1263
+ key: "string",
1264
+ description: ""
1265
+ },
1266
+ value: "string"
1267
+ },
1268
+ halfOpen: {
1269
+ key: "halfOpen",
1270
+ description: "",
1271
+ type: {
1272
+ key: "string",
1273
+ description: ""
1274
+ },
1275
+ value: "string"
1276
+ }
1277
+ },
1278
+ IEyesAnimationFile: {
1279
+ open: {
1280
+ key: "open",
1281
+ description: "",
1282
+ type: {
1283
+ key: "string",
1284
+ description: ""
1285
+ },
1286
+ value: "string"
1287
+ },
1288
+ close: {
1289
+ key: "close",
1290
+ description: "",
1291
+ type: {
1292
+ key: "string",
1293
+ description: ""
1294
+ },
1295
+ value: "string"
1296
+ }
1297
+ },
1298
+ IRunPerform: {
1299
+ id: {
1300
+ key: "id",
1301
+ description: "",
1302
+ type: {
1303
+ key: "string",
1304
+ description: ""
1305
+ },
1306
+ value: "string"
1307
+ },
1308
+ isHoldOn: {
1309
+ key: "isHoldOn",
1310
+ description: "演出类型",
1311
+ type: {
1312
+ key: "boolean",
1313
+ description: "演出类型"
1314
+ },
1315
+ value: "boolean"
1316
+ },
1317
+ script: {
1318
+ key: "script",
1319
+ description: "演出脚本",
1320
+ type: {
1321
+ key: "ISentence",
1322
+ description: "演出脚本"
1323
+ },
1324
+ value: {
1325
+ command: {
1326
+ key: "command",
1327
+ description: "语句类型",
1328
+ type: {
1329
+ key: "commandType",
1330
+ description: "语句类型"
1331
+ },
1332
+ value: "commandType"
1333
+ },
1334
+ commandRaw: {
1335
+ key: "commandRaw",
1336
+ description: "命令的原始内容,方便调试",
1337
+ type: {
1338
+ key: "string",
1339
+ description: "命令的原始内容,方便调试"
1340
+ },
1341
+ value: "string"
1342
+ },
1343
+ content: {
1344
+ key: "content",
1345
+ description: "语句内容",
1346
+ type: {
1347
+ key: "string",
1348
+ description: "语句内容"
1349
+ },
1350
+ value: "string"
1351
+ },
1352
+ args: {
1353
+ key: "args",
1354
+ description: "参数列表",
1355
+ type: {
1356
+ key: "Array<arg>",
1357
+ description: "参数列表"
1358
+ },
1359
+ value: "Array<arg>"
1360
+ },
1361
+ sentenceAssets: {
1362
+ key: "sentenceAssets",
1363
+ description: "语句携带的资源列表",
1364
+ type: {
1365
+ key: "Array<IAsset>",
1366
+ description: "语句携带的资源列表"
1367
+ },
1368
+ value: "Array<IAsset>"
1369
+ },
1370
+ subScene: {
1371
+ key: "subScene",
1372
+ description: "语句包含子场景列表",
1373
+ type: {
1374
+ key: "Array<string>",
1375
+ description: "语句包含子场景列表"
1376
+ },
1377
+ value: "Array<string>"
1378
+ },
1379
+ inlineComment: {
1380
+ key: "inlineComment",
1381
+ description: "行内注释",
1382
+ type: {
1383
+ key: "string",
1384
+ description: "行内注释"
1385
+ },
1386
+ value: "string"
1387
+ }
1388
+ }
1389
+ },
1390
+ __WG$key: "IRunPerform",
1391
+ __WG$description: "\n启动演出接口\n@interface IRunPerform\n/"
1392
+ },
1393
+ ILive2DMotion: {
1394
+ target: {
1395
+ key: "target",
1396
+ description: "",
1397
+ type: {
1398
+ key: "string",
1399
+ description: ""
1400
+ },
1401
+ value: "string"
1402
+ },
1403
+ motion: {
1404
+ key: "motion",
1405
+ description: "",
1406
+ type: {
1407
+ key: "string",
1408
+ description: ""
1409
+ },
1410
+ value: "string"
1411
+ },
1412
+ overrideBounds: {
1413
+ key: "overrideBounds",
1414
+ description: "",
1415
+ type: {
1416
+ key: "[number, number, number, number]",
1417
+ description: ""
1418
+ },
1419
+ value: "[number, number, number, number]"
1420
+ }
1421
+ },
1422
+ ILive2DExpression: {
1423
+ target: {
1424
+ key: "target",
1425
+ description: "",
1426
+ type: {
1427
+ key: "string",
1428
+ description: ""
1429
+ },
1430
+ value: "string"
1431
+ },
1432
+ expression: {
1433
+ key: "expression",
1434
+ description: "",
1435
+ type: {
1436
+ key: "string",
1437
+ description: ""
1438
+ },
1439
+ value: "string"
1440
+ }
1441
+ },
1442
+ FocusParam: {
1443
+ x: {
1444
+ key: "x",
1445
+ description: "焦点X位置",
1446
+ type: {
1447
+ key: "number",
1448
+ description: "焦点X位置"
1449
+ },
1450
+ value: "number"
1451
+ },
1452
+ y: {
1453
+ key: "y",
1454
+ description: "焦点Y位置",
1455
+ type: {
1456
+ key: "number",
1457
+ description: "焦点Y位置"
1458
+ },
1459
+ value: "number"
1460
+ },
1461
+ instant: {
1462
+ key: "instant",
1463
+ description: "是否瞬间切换焦点",
1464
+ type: {
1465
+ key: "boolean",
1466
+ description: "是否瞬间切换焦点"
1467
+ },
1468
+ value: "boolean"
1469
+ }
1470
+ },
1471
+ BlinkParam: {
1472
+ blinkInterval: {
1473
+ key: "blinkInterval",
1474
+ description: "眨眼间隔",
1475
+ type: {
1476
+ key: "number",
1477
+ description: "眨眼间隔"
1478
+ },
1479
+ value: "number"
1480
+ },
1481
+ blinkIntervalRandom: {
1482
+ key: "blinkIntervalRandom",
1483
+ description: "眨眼间隔随机范围",
1484
+ type: {
1485
+ key: "number",
1486
+ description: "眨眼间隔随机范围"
1487
+ },
1488
+ value: "number"
1489
+ },
1490
+ closingDuration: {
1491
+ key: "closingDuration",
1492
+ description: "闭眼",
1493
+ type: {
1494
+ key: "number",
1495
+ description: "闭眼"
1496
+ },
1497
+ value: "number"
1498
+ },
1499
+ closedDuration: {
1500
+ key: "closedDuration",
1501
+ description: "保持闭眼",
1502
+ type: {
1503
+ key: "number",
1504
+ description: "保持闭眼"
1505
+ },
1506
+ value: "number"
1507
+ },
1508
+ openingDuration: {
1509
+ key: "openingDuration",
1510
+ description: "睁眼",
1511
+ type: {
1512
+ key: "number",
1513
+ description: "睁眼"
1514
+ },
1515
+ value: "number"
1516
+ }
1517
+ },
1518
+ ILive2DBlink: {
1519
+ target: {
1520
+ key: "target",
1521
+ description: "",
1522
+ type: {
1523
+ key: "string",
1524
+ description: ""
1525
+ },
1526
+ value: "string"
1527
+ },
1528
+ blink: {
1529
+ key: "blink",
1530
+ description: "",
1531
+ type: {
1532
+ key: "BlinkParam",
1533
+ description: ""
1534
+ },
1535
+ value: {
1536
+ blinkInterval: {
1537
+ key: "blinkInterval",
1538
+ description: "眨眼间隔",
1539
+ type: {
1540
+ key: "number",
1541
+ description: "眨眼间隔"
1542
+ },
1543
+ value: "number"
1544
+ },
1545
+ blinkIntervalRandom: {
1546
+ key: "blinkIntervalRandom",
1547
+ description: "眨眼间隔随机范围",
1548
+ type: {
1549
+ key: "number",
1550
+ description: "眨眼间隔随机范围"
1551
+ },
1552
+ value: "number"
1553
+ },
1554
+ closingDuration: {
1555
+ key: "closingDuration",
1556
+ description: "闭眼",
1557
+ type: {
1558
+ key: "number",
1559
+ description: "闭眼"
1560
+ },
1561
+ value: "number"
1562
+ },
1563
+ closedDuration: {
1564
+ key: "closedDuration",
1565
+ description: "保持闭眼",
1566
+ type: {
1567
+ key: "number",
1568
+ description: "保持闭眼"
1569
+ },
1570
+ value: "number"
1571
+ },
1572
+ openingDuration: {
1573
+ key: "openingDuration",
1574
+ description: "睁眼",
1575
+ type: {
1576
+ key: "number",
1577
+ description: "睁眼"
1578
+ },
1579
+ value: "number"
1580
+ }
1581
+ }
1582
+ }
1583
+ },
1584
+ ILive2DFocus: {
1585
+ target: {
1586
+ key: "target",
1587
+ description: "",
1588
+ type: {
1589
+ key: "string",
1590
+ description: ""
1591
+ },
1592
+ value: "string"
1593
+ },
1594
+ focus: {
1595
+ key: "focus",
1596
+ description: "",
1597
+ type: {
1598
+ key: "FocusParam",
1599
+ description: ""
1600
+ },
1601
+ value: {
1602
+ x: {
1603
+ key: "x",
1604
+ description: "焦点X位置",
1605
+ type: {
1606
+ key: "number",
1607
+ description: "焦点X位置"
1608
+ },
1609
+ value: "number"
1610
+ },
1611
+ y: {
1612
+ key: "y",
1613
+ description: "焦点Y位置",
1614
+ type: {
1615
+ key: "number",
1616
+ description: "焦点Y位置"
1617
+ },
1618
+ value: "number"
1619
+ },
1620
+ instant: {
1621
+ key: "instant",
1622
+ description: "是否瞬间切换焦点",
1623
+ type: {
1624
+ key: "boolean",
1625
+ description: "是否瞬间切换焦点"
1626
+ },
1627
+ value: "boolean"
1628
+ }
1629
+ }
1630
+ }
1631
+ },
1632
+ IFigureMetadata: {
1633
+ zIndex: {
1634
+ key: "zIndex",
1635
+ description: "",
1636
+ type: {
1637
+ key: "number",
1638
+ description: ""
1639
+ },
1640
+ value: "number"
1641
+ },
1642
+ blendMode: {
1643
+ key: "blendMode",
1644
+ description: "",
1645
+ type: {
1646
+ key: "string",
1647
+ description: ""
1648
+ },
1649
+ value: "string"
1650
+ }
1651
+ },
1652
+ ISetStagePayload: {
1653
+ key: {
1654
+ key: "key",
1655
+ description: "",
1656
+ type: {
1657
+ key: "keyof IStageState",
1658
+ description: ""
1659
+ },
1660
+ value: "keyof IStageState"
1661
+ },
1662
+ value: {
1663
+ key: "value",
1664
+ description: "",
1665
+ type: {
1666
+ key: "any",
1667
+ description: ""
1668
+ },
1669
+ value: "any"
1670
+ },
1671
+ __WG$key: "ISetStagePayload",
1672
+ __WG$description: "\n@interface ISetStagePayload 设置舞台状态的Action的Payload的数据接口\n/"
1673
+ },
1674
+ playSpeed: {
1675
+ __WG$key: "playSpeed",
1676
+ __WG$description: "\n播放速度的枚举类型\n/"
1677
+ },
1678
+ IOptionData: {
1679
+ volumeMain: {
1680
+ key: "volumeMain",
1681
+ description: "主音量",
1682
+ type: {
1683
+ key: "number",
1684
+ description: "主音量"
1685
+ },
1686
+ value: "number"
1687
+ },
1688
+ textSpeed: {
1689
+ key: "textSpeed",
1690
+ description: "文字速度",
1691
+ type: {
1692
+ key: "number",
1693
+ description: "文字速度"
1694
+ },
1695
+ value: "number"
1696
+ },
1697
+ autoSpeed: {
1698
+ key: "autoSpeed",
1699
+ description: "自动播放速度",
1700
+ type: {
1701
+ key: "number",
1702
+ description: "自动播放速度"
1703
+ },
1704
+ value: "number"
1705
+ },
1706
+ textSize: {
1707
+ key: "textSize",
1708
+ description: "",
1709
+ type: {
1710
+ key: "textSize",
1711
+ description: ""
1712
+ },
1713
+ value: "textSize"
1714
+ },
1715
+ vocalVolume: {
1716
+ key: "vocalVolume",
1717
+ description: "语音音量",
1718
+ type: {
1719
+ key: "number",
1720
+ description: "语音音量"
1721
+ },
1722
+ value: "number"
1723
+ },
1724
+ bgmVolume: {
1725
+ key: "bgmVolume",
1726
+ description: "背景音乐音量",
1727
+ type: {
1728
+ key: "number",
1729
+ description: "背景音乐音量"
1730
+ },
1731
+ value: "number"
1732
+ },
1733
+ seVolume: {
1734
+ key: "seVolume",
1735
+ description: "音效音量",
1736
+ type: {
1737
+ key: "number",
1738
+ description: "音效音量"
1739
+ },
1740
+ value: "number"
1741
+ },
1742
+ uiSeVolume: {
1743
+ key: "uiSeVolume",
1744
+ description: "用户界面音效音量",
1745
+ type: {
1746
+ key: "number",
1747
+ description: "用户界面音效音量"
1748
+ },
1749
+ value: "number"
1750
+ },
1751
+ slPage: {
1752
+ key: "slPage",
1753
+ description: "存读档界面所在页面",
1754
+ type: {
1755
+ key: "number",
1756
+ description: "存读档界面所在页面"
1757
+ },
1758
+ value: "number"
1759
+ },
1760
+ textboxFont: {
1761
+ key: "textboxFont",
1762
+ description: "",
1763
+ type: {
1764
+ key: "number",
1765
+ description: ""
1766
+ },
1767
+ value: "number"
1768
+ },
1769
+ textboxOpacity: {
1770
+ key: "textboxOpacity",
1771
+ description: "",
1772
+ type: {
1773
+ key: "number",
1774
+ description: ""
1775
+ },
1776
+ value: "number"
1777
+ },
1778
+ language: {
1779
+ key: "language",
1780
+ description: "",
1781
+ type: {
1782
+ key: "language",
1783
+ description: ""
1784
+ },
1785
+ value: "language"
1786
+ },
1787
+ voiceInterruption: {
1788
+ key: "voiceInterruption",
1789
+ description: "是否中断语音",
1790
+ type: {
1791
+ key: "voiceOption",
1792
+ description: "是否中断语音"
1793
+ },
1794
+ value: "voiceOption"
1795
+ },
1796
+ fullScreen: {
1797
+ key: "fullScreen",
1798
+ description: "",
1799
+ type: {
1800
+ key: "fullScreenOption",
1801
+ description: ""
1802
+ },
1803
+ value: "fullScreenOption"
1804
+ },
1805
+ __WG$key: "IOptionData",
1806
+ __WG$description: "\n@interface IOptionData 用户设置数据接口\n/"
1807
+ },
1808
+ ISaveScene: {
1809
+ currentSentenceId: {
1810
+ key: "currentSentenceId",
1811
+ description: "当前语句ID",
1812
+ type: {
1813
+ key: "number",
1814
+ description: "当前语句ID"
1815
+ },
1816
+ value: "number"
1817
+ },
1818
+ sceneStack: {
1819
+ key: "sceneStack",
1820
+ description: "场景栈",
1821
+ type: {
1822
+ key: "Array<ISceneEntry>",
1823
+ description: "场景栈"
1824
+ },
1825
+ value: "Array<ISceneEntry>"
1826
+ },
1827
+ sceneName: {
1828
+ key: "sceneName",
1829
+ description: "场景名称",
1830
+ type: {
1831
+ key: "string",
1832
+ description: "场景名称"
1833
+ },
1834
+ value: "string"
1835
+ },
1836
+ sceneUrl: {
1837
+ key: "sceneUrl",
1838
+ description: "场景url",
1839
+ type: {
1840
+ key: "string",
1841
+ description: "场景url"
1842
+ },
1843
+ value: "string"
1844
+ },
1845
+ __WG$key: "ISaveScene",
1846
+ __WG$description: "\n场景存档接口\n@interface ISaveScene\n/"
1847
+ },
1848
+ IBacklogItem: {
1849
+ currentStageState: {
1850
+ key: "currentStageState",
1851
+ description: "",
1852
+ type: {
1853
+ key: "IStageState",
1854
+ description: ""
1855
+ },
1856
+ value: {
1857
+ oldBgName: {
1858
+ key: "oldBgName",
1859
+ description: "旧背景的文件路径",
1860
+ type: {
1861
+ key: "string",
1862
+ description: "旧背景的文件路径"
1863
+ },
1864
+ value: "string"
1865
+ },
1866
+ bgName: {
1867
+ key: "bgName",
1868
+ description: "背景文件地址(相对或绝对)",
1869
+ type: {
1870
+ key: "string",
1871
+ description: "背景文件地址(相对或绝对)"
1872
+ },
1873
+ value: "string"
1874
+ },
1875
+ figName: {
1876
+ key: "figName",
1877
+ description: "立绘_中 文件地址(相对或绝对)",
1878
+ type: {
1879
+ key: "string",
1880
+ description: "立绘_中 文件地址(相对或绝对)"
1881
+ },
1882
+ value: "string"
1883
+ },
1884
+ figNameLeft: {
1885
+ key: "figNameLeft",
1886
+ description: "立绘_左 文件地址(相对或绝对)",
1887
+ type: {
1888
+ key: "string",
1889
+ description: "立绘_左 文件地址(相对或绝对)"
1890
+ },
1891
+ value: "string"
1892
+ },
1893
+ figNameRight: {
1894
+ key: "figNameRight",
1895
+ description: "立绘_右 文件地址(相对或绝对)",
1896
+ type: {
1897
+ key: "string",
1898
+ description: "立绘_右 文件地址(相对或绝对)"
1899
+ },
1900
+ value: "string"
1901
+ },
1902
+ freeFigure: {
1903
+ key: "freeFigure",
1904
+ description: "",
1905
+ type: {
1906
+ key: "Array<IFreeFigure>",
1907
+ description: ""
1908
+ },
1909
+ value: "Array<IFreeFigure>"
1910
+ },
1911
+ figureAssociatedAnimation: {
1912
+ key: "figureAssociatedAnimation",
1913
+ description: "",
1914
+ type: {
1915
+ key: "Array<IFigureAssociatedAnimation>",
1916
+ description: ""
1917
+ },
1918
+ value: "Array<IFigureAssociatedAnimation>"
1919
+ },
1920
+ showText: {
1921
+ key: "showText",
1922
+ description: "文字",
1923
+ type: {
1924
+ key: "string",
1925
+ description: "文字"
1926
+ },
1927
+ value: "string"
1928
+ },
1929
+ showTextSize: {
1930
+ key: "showTextSize",
1931
+ description: "文字",
1932
+ type: {
1933
+ key: "number",
1934
+ description: "文字"
1935
+ },
1936
+ value: "number"
1937
+ },
1938
+ showName: {
1939
+ key: "showName",
1940
+ description: "人物名",
1941
+ type: {
1942
+ key: "string",
1943
+ description: "人物名"
1944
+ },
1945
+ value: "string"
1946
+ },
1947
+ command: {
1948
+ key: "command",
1949
+ description: "语句指令",
1950
+ type: {
1951
+ key: "string",
1952
+ description: "语句指令"
1953
+ },
1954
+ value: "string"
1955
+ },
1956
+ choose: {
1957
+ key: "choose",
1958
+ description: "选项列表",
1959
+ type: {
1960
+ key: "Array<IChooseItem>",
1961
+ description: "选项列表"
1962
+ },
1963
+ value: "Array<IChooseItem>"
1964
+ },
1965
+ vocal: {
1966
+ key: "vocal",
1967
+ description: "语音 文件地址(相对或绝对)",
1968
+ type: {
1969
+ key: "string",
1970
+ description: "语音 文件地址(相对或绝对)"
1971
+ },
1972
+ value: "string"
1973
+ },
1974
+ playVocal: {
1975
+ key: "playVocal",
1976
+ description: "真实播放语音",
1977
+ type: {
1978
+ key: "string",
1979
+ description: "真实播放语音"
1980
+ },
1981
+ value: "string"
1982
+ },
1983
+ vocalVolume: {
1984
+ key: "vocalVolume",
1985
+ description: "语音 音量调整(0 - 100)",
1986
+ type: {
1987
+ key: "number",
1988
+ description: "语音 音量调整(0 - 100)"
1989
+ },
1990
+ value: "number"
1991
+ },
1992
+ bgm: {
1993
+ key: "bgm",
1994
+ description: "",
1995
+ type: {
1996
+ key: "{\r\n // 背景音乐\r\n src: string; // 背景音乐 文件地址(相对或绝对)\r\n enter: number; // 背景音乐 淡入或淡出的毫秒数\r\n volume: number; // 背景音乐 音量调整(0 - 100)\r\n }",
1997
+ description: ""
1998
+ },
1999
+ value: {
2000
+ src: {
2001
+ key: "src",
2002
+ description: "背景音乐 文件地址(相对或绝对)",
2003
+ type: {
2004
+ key: "string",
2005
+ description: "背景音乐 文件地址(相对或绝对)"
2006
+ },
2007
+ value: "string"
2008
+ },
2009
+ enter: {
2010
+ key: "enter",
2011
+ description: "背景音乐 淡入或淡出的毫秒数",
2012
+ type: {
2013
+ key: "number",
2014
+ description: "背景音乐 淡入或淡出的毫秒数"
2015
+ },
2016
+ value: "number"
2017
+ },
2018
+ volume: {
2019
+ key: "volume",
2020
+ description: "背景音乐 音量调整(0 - 100)",
2021
+ type: {
2022
+ key: "number",
2023
+ description: "背景音乐 音量调整(0 - 100)"
2024
+ },
2025
+ value: "number"
2026
+ }
2027
+ }
2028
+ },
2029
+ uiSe: {
2030
+ key: "uiSe",
2031
+ description: "用户界面音效 文件地址(相对或绝对)",
2032
+ type: {
2033
+ key: "string",
2034
+ description: "用户界面音效 文件地址(相对或绝对)"
2035
+ },
2036
+ value: "string"
2037
+ },
2038
+ miniAvatar: {
2039
+ key: "miniAvatar",
2040
+ description: "小头像 文件地址(相对或绝对)",
2041
+ type: {
2042
+ key: "string",
2043
+ description: "小头像 文件地址(相对或绝对)"
2044
+ },
2045
+ value: "string"
2046
+ },
2047
+ GameVar: {
2048
+ key: "GameVar",
2049
+ description: "游戏内变量",
2050
+ type: {
2051
+ key: "IGameVar",
2052
+ description: "游戏内变量"
2053
+ },
2054
+ value: {}
2055
+ },
2056
+ effects: {
2057
+ key: "effects",
2058
+ description: "应用的变换",
2059
+ type: {
2060
+ key: "Array<IEffect>",
2061
+ description: "应用的变换"
2062
+ },
2063
+ value: "Array<IEffect>"
2064
+ },
2065
+ animationSettings: {
2066
+ key: "animationSettings",
2067
+ description: "",
2068
+ type: {
2069
+ key: "Array<IStageAnimationSetting>",
2070
+ description: ""
2071
+ },
2072
+ value: "Array<IStageAnimationSetting>"
2073
+ },
2074
+ bgTransform: {
2075
+ key: "bgTransform",
2076
+ description: "",
2077
+ type: {
2078
+ key: "string",
2079
+ description: ""
2080
+ },
2081
+ value: "string"
2082
+ },
2083
+ bgFilter: {
2084
+ key: "bgFilter",
2085
+ description: "",
2086
+ type: {
2087
+ key: "string",
2088
+ description: ""
2089
+ },
2090
+ value: "string"
2091
+ },
2092
+ PerformList: {
2093
+ key: "PerformList",
2094
+ description: "要启动的演出列表",
2095
+ type: {
2096
+ key: "Array<IRunPerform>",
2097
+ description: "要启动的演出列表"
2098
+ },
2099
+ value: "Array<IRunPerform>"
2100
+ },
2101
+ currentDialogKey: {
2102
+ key: "currentDialogKey",
2103
+ description: "当前对话的key",
2104
+ type: {
2105
+ key: "string",
2106
+ description: "当前对话的key"
2107
+ },
2108
+ value: "string"
2109
+ },
2110
+ live2dMotion: {
2111
+ key: "live2dMotion",
2112
+ description: "",
2113
+ type: {
2114
+ key: "ILive2DMotion[]",
2115
+ description: ""
2116
+ },
2117
+ value: "@T:ILive2DMotion[]"
2118
+ },
2119
+ live2dExpression: {
2120
+ key: "live2dExpression",
2121
+ description: "",
2122
+ type: {
2123
+ key: "ILive2DExpression[]",
2124
+ description: ""
2125
+ },
2126
+ value: "@T:ILive2DExpression[]"
2127
+ },
2128
+ live2dBlink: {
2129
+ key: "live2dBlink",
2130
+ description: "",
2131
+ type: {
2132
+ key: "ILive2DBlink[]",
2133
+ description: ""
2134
+ },
2135
+ value: "@T:ILive2DBlink[]"
2136
+ },
2137
+ live2dFocus: {
2138
+ key: "live2dFocus",
2139
+ description: "",
2140
+ type: {
2141
+ key: "ILive2DFocus[]",
2142
+ description: ""
2143
+ },
2144
+ value: "@T:ILive2DFocus[]"
2145
+ },
2146
+ currentConcatDialogPrev: {
2147
+ key: "currentConcatDialogPrev",
2148
+ description: "",
2149
+ type: {
2150
+ key: "string",
2151
+ description: ""
2152
+ },
2153
+ value: "string"
2154
+ },
2155
+ enableFilm: {
2156
+ key: "enableFilm",
2157
+ description: "",
2158
+ type: {
2159
+ key: "string",
2160
+ description: ""
2161
+ },
2162
+ value: "string"
2163
+ },
2164
+ isDisableTextbox: {
2165
+ key: "isDisableTextbox",
2166
+ description: "",
2167
+ type: {
2168
+ key: "boolean",
2169
+ description: ""
2170
+ },
2171
+ value: "boolean"
2172
+ },
2173
+ replacedUIlable: {
2174
+ key: "replacedUIlable",
2175
+ description: "",
2176
+ type: {
2177
+ key: "Record<string, string>",
2178
+ description: ""
2179
+ },
2180
+ value: "Record<string, string>"
2181
+ },
2182
+ figureMetaData: {
2183
+ key: "figureMetaData",
2184
+ description: "",
2185
+ type: {
2186
+ key: "figureMetaData",
2187
+ description: ""
2188
+ },
2189
+ value: "@N"
2190
+ }
2191
+ }
2192
+ },
2193
+ saveScene: {
2194
+ key: "saveScene",
2195
+ description: "",
2196
+ type: {
2197
+ key: "ISaveScene",
2198
+ description: ""
2199
+ },
2200
+ value: {
2201
+ currentSentenceId: {
2202
+ key: "currentSentenceId",
2203
+ description: "当前语句ID",
2204
+ type: {
2205
+ key: "number",
2206
+ description: "当前语句ID"
2207
+ },
2208
+ value: "number"
2209
+ },
2210
+ sceneStack: {
2211
+ key: "sceneStack",
2212
+ description: "场景栈",
2213
+ type: {
2214
+ key: "Array<ISceneEntry>",
2215
+ description: "场景栈"
2216
+ },
2217
+ value: "Array<ISceneEntry>"
2218
+ },
2219
+ sceneName: {
2220
+ key: "sceneName",
2221
+ description: "场景名称",
2222
+ type: {
2223
+ key: "string",
2224
+ description: "场景名称"
2225
+ },
2226
+ value: "string"
2227
+ },
2228
+ sceneUrl: {
2229
+ key: "sceneUrl",
2230
+ description: "场景url",
2231
+ type: {
2232
+ key: "string",
2233
+ description: "场景url"
2234
+ },
2235
+ value: "string"
2236
+ }
2237
+ }
2238
+ }
2239
+ },
2240
+ ISaveData: {
2241
+ nowStageState: {
2242
+ key: "nowStageState",
2243
+ description: "",
2244
+ type: {
2245
+ key: "IStageState",
2246
+ description: ""
2247
+ },
2248
+ value: {
2249
+ oldBgName: {
2250
+ key: "oldBgName",
2251
+ description: "旧背景的文件路径",
2252
+ type: {
2253
+ key: "string",
2254
+ description: "旧背景的文件路径"
2255
+ },
2256
+ value: "string"
2257
+ },
2258
+ bgName: {
2259
+ key: "bgName",
2260
+ description: "背景文件地址(相对或绝对)",
2261
+ type: {
2262
+ key: "string",
2263
+ description: "背景文件地址(相对或绝对)"
2264
+ },
2265
+ value: "string"
2266
+ },
2267
+ figName: {
2268
+ key: "figName",
2269
+ description: "立绘_中 文件地址(相对或绝对)",
2270
+ type: {
2271
+ key: "string",
2272
+ description: "立绘_中 文件地址(相对或绝对)"
2273
+ },
2274
+ value: "string"
2275
+ },
2276
+ figNameLeft: {
2277
+ key: "figNameLeft",
2278
+ description: "立绘_左 文件地址(相对或绝对)",
2279
+ type: {
2280
+ key: "string",
2281
+ description: "立绘_左 文件地址(相对或绝对)"
2282
+ },
2283
+ value: "string"
2284
+ },
2285
+ figNameRight: {
2286
+ key: "figNameRight",
2287
+ description: "立绘_右 文件地址(相对或绝对)",
2288
+ type: {
2289
+ key: "string",
2290
+ description: "立绘_右 文件地址(相对或绝对)"
2291
+ },
2292
+ value: "string"
2293
+ },
2294
+ freeFigure: {
2295
+ key: "freeFigure",
2296
+ description: "",
2297
+ type: {
2298
+ key: "Array<IFreeFigure>",
2299
+ description: ""
2300
+ },
2301
+ value: "Array<IFreeFigure>"
2302
+ },
2303
+ figureAssociatedAnimation: {
2304
+ key: "figureAssociatedAnimation",
2305
+ description: "",
2306
+ type: {
2307
+ key: "Array<IFigureAssociatedAnimation>",
2308
+ description: ""
2309
+ },
2310
+ value: "Array<IFigureAssociatedAnimation>"
2311
+ },
2312
+ showText: {
2313
+ key: "showText",
2314
+ description: "文字",
2315
+ type: {
2316
+ key: "string",
2317
+ description: "文字"
2318
+ },
2319
+ value: "string"
2320
+ },
2321
+ showTextSize: {
2322
+ key: "showTextSize",
2323
+ description: "文字",
2324
+ type: {
2325
+ key: "number",
2326
+ description: "文字"
2327
+ },
2328
+ value: "number"
2329
+ },
2330
+ showName: {
2331
+ key: "showName",
2332
+ description: "人物名",
2333
+ type: {
2334
+ key: "string",
2335
+ description: "人物名"
2336
+ },
2337
+ value: "string"
2338
+ },
2339
+ command: {
2340
+ key: "command",
2341
+ description: "语句指令",
2342
+ type: {
2343
+ key: "string",
2344
+ description: "语句指令"
2345
+ },
2346
+ value: "string"
2347
+ },
2348
+ choose: {
2349
+ key: "choose",
2350
+ description: "选项列表",
2351
+ type: {
2352
+ key: "Array<IChooseItem>",
2353
+ description: "选项列表"
2354
+ },
2355
+ value: "Array<IChooseItem>"
2356
+ },
2357
+ vocal: {
2358
+ key: "vocal",
2359
+ description: "语音 文件地址(相对或绝对)",
2360
+ type: {
2361
+ key: "string",
2362
+ description: "语音 文件地址(相对或绝对)"
2363
+ },
2364
+ value: "string"
2365
+ },
2366
+ playVocal: {
2367
+ key: "playVocal",
2368
+ description: "真实播放语音",
2369
+ type: {
2370
+ key: "string",
2371
+ description: "真实播放语音"
2372
+ },
2373
+ value: "string"
2374
+ },
2375
+ vocalVolume: {
2376
+ key: "vocalVolume",
2377
+ description: "语音 音量调整(0 - 100)",
2378
+ type: {
2379
+ key: "number",
2380
+ description: "语音 音量调整(0 - 100)"
2381
+ },
2382
+ value: "number"
2383
+ },
2384
+ bgm: {
2385
+ key: "bgm",
2386
+ description: "",
2387
+ type: {
2388
+ key: "{\r\n // 背景音乐\r\n src: string; // 背景音乐 文件地址(相对或绝对)\r\n enter: number; // 背景音乐 淡入或淡出的毫秒数\r\n volume: number; // 背景音乐 音量调整(0 - 100)\r\n }",
2389
+ description: ""
2390
+ },
2391
+ value: {
2392
+ src: {
2393
+ key: "src",
2394
+ description: "背景音乐 文件地址(相对或绝对)",
2395
+ type: {
2396
+ key: "string",
2397
+ description: "背景音乐 文件地址(相对或绝对)"
2398
+ },
2399
+ value: "string"
2400
+ },
2401
+ enter: {
2402
+ key: "enter",
2403
+ description: "背景音乐 淡入或淡出的毫秒数",
2404
+ type: {
2405
+ key: "number",
2406
+ description: "背景音乐 淡入或淡出的毫秒数"
2407
+ },
2408
+ value: "number"
2409
+ },
2410
+ volume: {
2411
+ key: "volume",
2412
+ description: "背景音乐 音量调整(0 - 100)",
2413
+ type: {
2414
+ key: "number",
2415
+ description: "背景音乐 音量调整(0 - 100)"
2416
+ },
2417
+ value: "number"
2418
+ }
2419
+ }
2420
+ },
2421
+ uiSe: {
2422
+ key: "uiSe",
2423
+ description: "用户界面音效 文件地址(相对或绝对)",
2424
+ type: {
2425
+ key: "string",
2426
+ description: "用户界面音效 文件地址(相对或绝对)"
2427
+ },
2428
+ value: "string"
2429
+ },
2430
+ miniAvatar: {
2431
+ key: "miniAvatar",
2432
+ description: "小头像 文件地址(相对或绝对)",
2433
+ type: {
2434
+ key: "string",
2435
+ description: "小头像 文件地址(相对或绝对)"
2436
+ },
2437
+ value: "string"
2438
+ },
2439
+ GameVar: {
2440
+ key: "GameVar",
2441
+ description: "游戏内变量",
2442
+ type: {
2443
+ key: "IGameVar",
2444
+ description: "游戏内变量"
2445
+ },
2446
+ value: {}
2447
+ },
2448
+ effects: {
2449
+ key: "effects",
2450
+ description: "应用的变换",
2451
+ type: {
2452
+ key: "Array<IEffect>",
2453
+ description: "应用的变换"
2454
+ },
2455
+ value: "Array<IEffect>"
2456
+ },
2457
+ animationSettings: {
2458
+ key: "animationSettings",
2459
+ description: "",
2460
+ type: {
2461
+ key: "Array<IStageAnimationSetting>",
2462
+ description: ""
2463
+ },
2464
+ value: "Array<IStageAnimationSetting>"
2465
+ },
2466
+ bgTransform: {
2467
+ key: "bgTransform",
2468
+ description: "",
2469
+ type: {
2470
+ key: "string",
2471
+ description: ""
2472
+ },
2473
+ value: "string"
2474
+ },
2475
+ bgFilter: {
2476
+ key: "bgFilter",
2477
+ description: "",
2478
+ type: {
2479
+ key: "string",
2480
+ description: ""
2481
+ },
2482
+ value: "string"
2483
+ },
2484
+ PerformList: {
2485
+ key: "PerformList",
2486
+ description: "要启动的演出列表",
2487
+ type: {
2488
+ key: "Array<IRunPerform>",
2489
+ description: "要启动的演出列表"
2490
+ },
2491
+ value: "Array<IRunPerform>"
2492
+ },
2493
+ currentDialogKey: {
2494
+ key: "currentDialogKey",
2495
+ description: "当前对话的key",
2496
+ type: {
2497
+ key: "string",
2498
+ description: "当前对话的key"
2499
+ },
2500
+ value: "string"
2501
+ },
2502
+ live2dMotion: {
2503
+ key: "live2dMotion",
2504
+ description: "",
2505
+ type: {
2506
+ key: "ILive2DMotion[]",
2507
+ description: ""
2508
+ },
2509
+ value: "@T:ILive2DMotion[]"
2510
+ },
2511
+ live2dExpression: {
2512
+ key: "live2dExpression",
2513
+ description: "",
2514
+ type: {
2515
+ key: "ILive2DExpression[]",
2516
+ description: ""
2517
+ },
2518
+ value: "@T:ILive2DExpression[]"
2519
+ },
2520
+ live2dBlink: {
2521
+ key: "live2dBlink",
2522
+ description: "",
2523
+ type: {
2524
+ key: "ILive2DBlink[]",
2525
+ description: ""
2526
+ },
2527
+ value: "@T:ILive2DBlink[]"
2528
+ },
2529
+ live2dFocus: {
2530
+ key: "live2dFocus",
2531
+ description: "",
2532
+ type: {
2533
+ key: "ILive2DFocus[]",
2534
+ description: ""
2535
+ },
2536
+ value: "@T:ILive2DFocus[]"
2537
+ },
2538
+ currentConcatDialogPrev: {
2539
+ key: "currentConcatDialogPrev",
2540
+ description: "",
2541
+ type: {
2542
+ key: "string",
2543
+ description: ""
2544
+ },
2545
+ value: "string"
2546
+ },
2547
+ enableFilm: {
2548
+ key: "enableFilm",
2549
+ description: "",
2550
+ type: {
2551
+ key: "string",
2552
+ description: ""
2553
+ },
2554
+ value: "string"
2555
+ },
2556
+ isDisableTextbox: {
2557
+ key: "isDisableTextbox",
2558
+ description: "",
2559
+ type: {
2560
+ key: "boolean",
2561
+ description: ""
2562
+ },
2563
+ value: "boolean"
2564
+ },
2565
+ replacedUIlable: {
2566
+ key: "replacedUIlable",
2567
+ description: "",
2568
+ type: {
2569
+ key: "Record<string, string>",
2570
+ description: ""
2571
+ },
2572
+ value: "Record<string, string>"
2573
+ },
2574
+ figureMetaData: {
2575
+ key: "figureMetaData",
2576
+ description: "",
2577
+ type: {
2578
+ key: "figureMetaData",
2579
+ description: ""
2580
+ },
2581
+ value: "@N"
2582
+ }
2583
+ }
2584
+ },
2585
+ backlog: {
2586
+ key: "backlog",
2587
+ description: "舞台数据",
2588
+ type: {
2589
+ key: "Array<IBacklogItem>",
2590
+ description: "舞台数据"
2591
+ },
2592
+ value: "Array<IBacklogItem>"
2593
+ },
2594
+ index: {
2595
+ key: "index",
2596
+ description: "存档的序号",
2597
+ type: {
2598
+ key: "number",
2599
+ description: "存档的序号"
2600
+ },
2601
+ value: "number"
2602
+ },
2603
+ saveTime: {
2604
+ key: "saveTime",
2605
+ description: "保存时间",
2606
+ type: {
2607
+ key: "string",
2608
+ description: "保存时间"
2609
+ },
2610
+ value: "string"
2611
+ },
2612
+ sceneData: {
2613
+ key: "sceneData",
2614
+ description: "场景数据",
2615
+ type: {
2616
+ key: "ISaveScene",
2617
+ description: "场景数据"
2618
+ },
2619
+ value: {
2620
+ currentSentenceId: {
2621
+ key: "currentSentenceId",
2622
+ description: "当前语句ID",
2623
+ type: {
2624
+ key: "number",
2625
+ description: "当前语句ID"
2626
+ },
2627
+ value: "number"
2628
+ },
2629
+ sceneStack: {
2630
+ key: "sceneStack",
2631
+ description: "场景栈",
2632
+ type: {
2633
+ key: "Array<ISceneEntry>",
2634
+ description: "场景栈"
2635
+ },
2636
+ value: "Array<ISceneEntry>"
2637
+ },
2638
+ sceneName: {
2639
+ key: "sceneName",
2640
+ description: "场景名称",
2641
+ type: {
2642
+ key: "string",
2643
+ description: "场景名称"
2644
+ },
2645
+ value: "string"
2646
+ },
2647
+ sceneUrl: {
2648
+ key: "sceneUrl",
2649
+ description: "场景url",
2650
+ type: {
2651
+ key: "string",
2652
+ description: "场景url"
2653
+ },
2654
+ value: "string"
2655
+ }
2656
+ }
2657
+ },
2658
+ previewImage: {
2659
+ key: "previewImage",
2660
+ description: "",
2661
+ type: {
2662
+ key: "string",
2663
+ description: ""
2664
+ },
2665
+ value: "string"
2666
+ },
2667
+ __WG$key: "ISaveData",
2668
+ __WG$description: "\n@interface ISaveData 存档文件接口\n/"
2669
+ },
2670
+ IAppreciationAsset: {
2671
+ name: {
2672
+ key: "name",
2673
+ description: "",
2674
+ type: {
2675
+ key: "string",
2676
+ description: ""
2677
+ },
2678
+ value: "string"
2679
+ },
2680
+ url: {
2681
+ key: "url",
2682
+ description: "",
2683
+ type: {
2684
+ key: "string",
2685
+ description: ""
2686
+ },
2687
+ value: "string"
2688
+ },
2689
+ series: {
2690
+ key: "series",
2691
+ description: "",
2692
+ type: {
2693
+ key: "string",
2694
+ description: ""
2695
+ },
2696
+ value: "string"
2697
+ }
2698
+ },
2699
+ IAppreciation: {
2700
+ bgm: {
2701
+ key: "bgm",
2702
+ description: "",
2703
+ type: {
2704
+ key: "Array<IAppreciationAsset>",
2705
+ description: ""
2706
+ },
2707
+ value: "Array<IAppreciationAsset>"
2708
+ },
2709
+ cg: {
2710
+ key: "cg",
2711
+ description: "",
2712
+ type: {
2713
+ key: "Array<IAppreciationAsset>",
2714
+ description: ""
2715
+ },
2716
+ value: "Array<IAppreciationAsset>"
2717
+ }
2718
+ },
2719
+ stage: {
2720
+ oldBgName: {
2721
+ key: "oldBgName",
2722
+ description: "旧背景的文件路径",
2723
+ type: {
2724
+ key: "string",
2725
+ description: "旧背景的文件路径"
2726
+ },
2727
+ value: "string"
2728
+ },
2729
+ bgName: {
2730
+ key: "bgName",
2731
+ description: "背景文件地址(相对或绝对)",
2732
+ type: {
2733
+ key: "string",
2734
+ description: "背景文件地址(相对或绝对)"
2735
+ },
2736
+ value: "string"
2737
+ },
2738
+ figName: {
2739
+ key: "figName",
2740
+ description: "立绘_中 文件地址(相对或绝对)",
2741
+ type: {
2742
+ key: "string",
2743
+ description: "立绘_中 文件地址(相对或绝对)"
2744
+ },
2745
+ value: "string"
2746
+ },
2747
+ figNameLeft: {
2748
+ key: "figNameLeft",
2749
+ description: "立绘_左 文件地址(相对或绝对)",
2750
+ type: {
2751
+ key: "string",
2752
+ description: "立绘_左 文件地址(相对或绝对)"
2753
+ },
2754
+ value: "string"
2755
+ },
2756
+ figNameRight: {
2757
+ key: "figNameRight",
2758
+ description: "立绘_右 文件地址(相对或绝对)",
2759
+ type: {
2760
+ key: "string",
2761
+ description: "立绘_右 文件地址(相对或绝对)"
2762
+ },
2763
+ value: "string"
2764
+ },
2765
+ freeFigure: {
2766
+ key: "freeFigure",
2767
+ description: "",
2768
+ type: {
2769
+ key: "Array<IFreeFigure>",
2770
+ description: ""
2771
+ },
2772
+ value: "Array<IFreeFigure>"
2773
+ },
2774
+ figureAssociatedAnimation: {
2775
+ key: "figureAssociatedAnimation",
2776
+ description: "",
2777
+ type: {
2778
+ key: "Array<IFigureAssociatedAnimation>",
2779
+ description: ""
2780
+ },
2781
+ value: "Array<IFigureAssociatedAnimation>"
2782
+ },
2783
+ showText: {
2784
+ key: "showText",
2785
+ description: "文字",
2786
+ type: {
2787
+ key: "string",
2788
+ description: "文字"
2789
+ },
2790
+ value: "string"
2791
+ },
2792
+ showTextSize: {
2793
+ key: "showTextSize",
2794
+ description: "文字",
2795
+ type: {
2796
+ key: "number",
2797
+ description: "文字"
2798
+ },
2799
+ value: "number"
2800
+ },
2801
+ showName: {
2802
+ key: "showName",
2803
+ description: "人物名",
2804
+ type: {
2805
+ key: "string",
2806
+ description: "人物名"
2807
+ },
2808
+ value: "string"
2809
+ },
2810
+ command: {
2811
+ key: "command",
2812
+ description: "语句指令",
2813
+ type: {
2814
+ key: "string",
2815
+ description: "语句指令"
2816
+ },
2817
+ value: "string"
2818
+ },
2819
+ choose: {
2820
+ key: "choose",
2821
+ description: "选项列表",
2822
+ type: {
2823
+ key: "Array<IChooseItem>",
2824
+ description: "选项列表"
2825
+ },
2826
+ value: "Array<IChooseItem>"
2827
+ },
2828
+ vocal: {
2829
+ key: "vocal",
2830
+ description: "语音 文件地址(相对或绝对)",
2831
+ type: {
2832
+ key: "string",
2833
+ description: "语音 文件地址(相对或绝对)"
2834
+ },
2835
+ value: "string"
2836
+ },
2837
+ playVocal: {
2838
+ key: "playVocal",
2839
+ description: "真实播放语音",
2840
+ type: {
2841
+ key: "string",
2842
+ description: "真实播放语音"
2843
+ },
2844
+ value: "string"
2845
+ },
2846
+ vocalVolume: {
2847
+ key: "vocalVolume",
2848
+ description: "语音 音量调整(0 - 100)",
2849
+ type: {
2850
+ key: "number",
2851
+ description: "语音 音量调整(0 - 100)"
2852
+ },
2853
+ value: "number"
2854
+ },
2855
+ bgm: {
2856
+ key: "bgm",
2857
+ description: "",
2858
+ type: {
2859
+ key: "{\r\n // 背景音乐\r\n src: string; // 背景音乐 文件地址(相对或绝对)\r\n enter: number; // 背景音乐 淡入或淡出的毫秒数\r\n volume: number; // 背景音乐 音量调整(0 - 100)\r\n }",
2860
+ description: ""
2861
+ },
2862
+ value: {
2863
+ src: {
2864
+ key: "src",
2865
+ description: "背景音乐 文件地址(相对或绝对)",
2866
+ type: {
2867
+ key: "string",
2868
+ description: "背景音乐 文件地址(相对或绝对)"
2869
+ },
2870
+ value: "string"
2871
+ },
2872
+ enter: {
2873
+ key: "enter",
2874
+ description: "背景音乐 淡入或淡出的毫秒数",
2875
+ type: {
2876
+ key: "number",
2877
+ description: "背景音乐 淡入或淡出的毫秒数"
2878
+ },
2879
+ value: "number"
2880
+ },
2881
+ volume: {
2882
+ key: "volume",
2883
+ description: "背景音乐 音量调整(0 - 100)",
2884
+ type: {
2885
+ key: "number",
2886
+ description: "背景音乐 音量调整(0 - 100)"
2887
+ },
2888
+ value: "number"
2889
+ }
2890
+ }
2891
+ },
2892
+ uiSe: {
2893
+ key: "uiSe",
2894
+ description: "用户界面音效 文件地址(相对或绝对)",
2895
+ type: {
2896
+ key: "string",
2897
+ description: "用户界面音效 文件地址(相对或绝对)"
2898
+ },
2899
+ value: "string"
2900
+ },
2901
+ miniAvatar: {
2902
+ key: "miniAvatar",
2903
+ description: "小头像 文件地址(相对或绝对)",
2904
+ type: {
2905
+ key: "string",
2906
+ description: "小头像 文件地址(相对或绝对)"
2907
+ },
2908
+ value: "string"
2909
+ },
2910
+ GameVar: {
2911
+ key: "GameVar",
2912
+ description: "游戏内变量",
2913
+ type: {
2914
+ key: "IGameVar",
2915
+ description: "游戏内变量"
2916
+ },
2917
+ value: {}
2918
+ },
2919
+ effects: {
2920
+ key: "effects",
2921
+ description: "应用的变换",
2922
+ type: {
2923
+ key: "Array<IEffect>",
2924
+ description: "应用的变换"
2925
+ },
2926
+ value: "Array<IEffect>"
2927
+ },
2928
+ animationSettings: {
2929
+ key: "animationSettings",
2930
+ description: "",
2931
+ type: {
2932
+ key: "Array<IStageAnimationSetting>",
2933
+ description: ""
2934
+ },
2935
+ value: "Array<IStageAnimationSetting>"
2936
+ },
2937
+ bgTransform: {
2938
+ key: "bgTransform",
2939
+ description: "",
2940
+ type: {
2941
+ key: "string",
2942
+ description: ""
2943
+ },
2944
+ value: "string"
2945
+ },
2946
+ bgFilter: {
2947
+ key: "bgFilter",
2948
+ description: "",
2949
+ type: {
2950
+ key: "string",
2951
+ description: ""
2952
+ },
2953
+ value: "string"
2954
+ },
2955
+ PerformList: {
2956
+ key: "PerformList",
2957
+ description: "要启动的演出列表",
2958
+ type: {
2959
+ key: "Array<IRunPerform>",
2960
+ description: "要启动的演出列表"
2961
+ },
2962
+ value: "Array<IRunPerform>"
2963
+ },
2964
+ currentDialogKey: {
2965
+ key: "currentDialogKey",
2966
+ description: "当前对话的key",
2967
+ type: {
2968
+ key: "string",
2969
+ description: "当前对话的key"
2970
+ },
2971
+ value: "string"
2972
+ },
2973
+ live2dMotion: {
2974
+ key: "live2dMotion",
2975
+ description: "",
2976
+ type: {
2977
+ key: "ILive2DMotion[]",
2978
+ description: ""
2979
+ },
2980
+ value: "@T:ILive2DMotion[]"
2981
+ },
2982
+ live2dExpression: {
2983
+ key: "live2dExpression",
2984
+ description: "",
2985
+ type: {
2986
+ key: "ILive2DExpression[]",
2987
+ description: ""
2988
+ },
2989
+ value: "@T:ILive2DExpression[]"
2990
+ },
2991
+ live2dBlink: {
2992
+ key: "live2dBlink",
2993
+ description: "",
2994
+ type: {
2995
+ key: "ILive2DBlink[]",
2996
+ description: ""
2997
+ },
2998
+ value: "@T:ILive2DBlink[]"
2999
+ },
3000
+ live2dFocus: {
3001
+ key: "live2dFocus",
3002
+ description: "",
3003
+ type: {
3004
+ key: "ILive2DFocus[]",
3005
+ description: ""
3006
+ },
3007
+ value: "@T:ILive2DFocus[]"
3008
+ },
3009
+ currentConcatDialogPrev: {
3010
+ key: "currentConcatDialogPrev",
3011
+ description: "",
3012
+ type: {
3013
+ key: "string",
3014
+ description: ""
3015
+ },
3016
+ value: "string"
3017
+ },
3018
+ enableFilm: {
3019
+ key: "enableFilm",
3020
+ description: "",
3021
+ type: {
3022
+ key: "string",
3023
+ description: ""
3024
+ },
3025
+ value: "string"
3026
+ },
3027
+ isDisableTextbox: {
3028
+ key: "isDisableTextbox",
3029
+ description: "",
3030
+ type: {
3031
+ key: "boolean",
3032
+ description: ""
3033
+ },
3034
+ value: "boolean"
3035
+ },
3036
+ replacedUIlable: {
3037
+ key: "replacedUIlable",
3038
+ description: "",
3039
+ type: {
3040
+ key: "Record<string, string>",
3041
+ description: ""
3042
+ },
3043
+ value: "Record<string, string>"
3044
+ },
3045
+ figureMetaData: {
3046
+ key: "figureMetaData",
3047
+ description: "",
3048
+ type: {
3049
+ key: "figureMetaData",
3050
+ description: ""
3051
+ },
3052
+ value: "@N"
3053
+ },
3054
+ __WG$key: "IStageState",
3055
+ __WG$description: "\n@interface IStageState 游戏舞台数据接口\n/"
3056
+ },
3057
+ userData: {
3058
+ scriptManagedGlobalVar: {
3059
+ key: "scriptManagedGlobalVar",
3060
+ description: "",
3061
+ type: {
3062
+ key: "string[]",
3063
+ description: ""
3064
+ },
3065
+ value: "@T:string[]"
3066
+ },
3067
+ globalGameVar: {
3068
+ key: "globalGameVar",
3069
+ description: "不跟随存档的全局变量",
3070
+ type: {
3071
+ key: "IGameVar",
3072
+ description: "不跟随存档的全局变量"
3073
+ },
3074
+ value: {}
3075
+ },
3076
+ optionData: {
3077
+ key: "optionData",
3078
+ description: "用户设置选项数据",
3079
+ type: {
3080
+ key: "IOptionData",
3081
+ description: "用户设置选项数据"
3082
+ },
3083
+ value: {
3084
+ volumeMain: {
3085
+ key: "volumeMain",
3086
+ description: "主音量",
3087
+ type: {
3088
+ key: "number",
3089
+ description: "主音量"
3090
+ },
3091
+ value: "number"
3092
+ },
3093
+ textSpeed: {
3094
+ key: "textSpeed",
3095
+ description: "文字速度",
3096
+ type: {
3097
+ key: "number",
3098
+ description: "文字速度"
3099
+ },
3100
+ value: "number"
3101
+ },
3102
+ autoSpeed: {
3103
+ key: "autoSpeed",
3104
+ description: "自动播放速度",
3105
+ type: {
3106
+ key: "number",
3107
+ description: "自动播放速度"
3108
+ },
3109
+ value: "number"
3110
+ },
3111
+ textSize: {
3112
+ key: "textSize",
3113
+ description: "",
3114
+ type: {
3115
+ key: "textSize",
3116
+ description: ""
3117
+ },
3118
+ value: "textSize"
3119
+ },
3120
+ vocalVolume: {
3121
+ key: "vocalVolume",
3122
+ description: "语音音量",
3123
+ type: {
3124
+ key: "number",
3125
+ description: "语音音量"
3126
+ },
3127
+ value: "number"
3128
+ },
3129
+ bgmVolume: {
3130
+ key: "bgmVolume",
3131
+ description: "背景音乐音量",
3132
+ type: {
3133
+ key: "number",
3134
+ description: "背景音乐音量"
3135
+ },
3136
+ value: "number"
3137
+ },
3138
+ seVolume: {
3139
+ key: "seVolume",
3140
+ description: "音效音量",
3141
+ type: {
3142
+ key: "number",
3143
+ description: "音效音量"
3144
+ },
3145
+ value: "number"
3146
+ },
3147
+ uiSeVolume: {
3148
+ key: "uiSeVolume",
3149
+ description: "用户界面音效音量",
3150
+ type: {
3151
+ key: "number",
3152
+ description: "用户界面音效音量"
3153
+ },
3154
+ value: "number"
3155
+ },
3156
+ slPage: {
3157
+ key: "slPage",
3158
+ description: "存读档界面所在页面",
3159
+ type: {
3160
+ key: "number",
3161
+ description: "存读档界面所在页面"
3162
+ },
3163
+ value: "number"
3164
+ },
3165
+ textboxFont: {
3166
+ key: "textboxFont",
3167
+ description: "",
3168
+ type: {
3169
+ key: "number",
3170
+ description: ""
3171
+ },
3172
+ value: "number"
3173
+ },
3174
+ textboxOpacity: {
3175
+ key: "textboxOpacity",
3176
+ description: "",
3177
+ type: {
3178
+ key: "number",
3179
+ description: ""
3180
+ },
3181
+ value: "number"
3182
+ },
3183
+ language: {
3184
+ key: "language",
3185
+ description: "",
3186
+ type: {
3187
+ key: "language",
3188
+ description: ""
3189
+ },
3190
+ value: "language"
3191
+ },
3192
+ voiceInterruption: {
3193
+ key: "voiceInterruption",
3194
+ description: "是否中断语音",
3195
+ type: {
3196
+ key: "voiceOption",
3197
+ description: "是否中断语音"
3198
+ },
3199
+ value: "voiceOption"
3200
+ },
3201
+ fullScreen: {
3202
+ key: "fullScreen",
3203
+ description: "",
3204
+ type: {
3205
+ key: "fullScreenOption",
3206
+ description: ""
3207
+ },
3208
+ value: "fullScreenOption"
3209
+ }
3210
+ }
3211
+ },
3212
+ appreciationData: {
3213
+ key: "appreciationData",
3214
+ description: "",
3215
+ type: {
3216
+ key: "IAppreciation",
3217
+ description: ""
3218
+ },
3219
+ value: {
3220
+ bgm: {
3221
+ key: "bgm",
3222
+ description: "",
3223
+ type: {
3224
+ key: "Array<IAppreciationAsset>",
3225
+ description: ""
3226
+ },
3227
+ value: "Array<IAppreciationAsset>"
3228
+ },
3229
+ cg: {
3230
+ key: "cg",
3231
+ description: "",
3232
+ type: {
3233
+ key: "Array<IAppreciationAsset>",
3234
+ description: ""
3235
+ },
3236
+ value: "Array<IAppreciationAsset>"
3237
+ }
3238
+ }
3239
+ },
3240
+ gameConfigInit: {
3241
+ key: "gameConfigInit",
3242
+ description: "",
3243
+ type: {
3244
+ key: "IGameVar",
3245
+ description: ""
3246
+ },
3247
+ value: {}
3248
+ },
3249
+ __WG$key: "IUserData",
3250
+ __WG$description: "\n@interface IUserData 用户数据接口\n/"
3251
+ }
3252
+ };
3253
+
3254
+ //#endregion
3255
+ //#region src/utils/providerState.ts
3256
+ let index = 0;
3257
+ const getState = (propertiesArray, prev = definedMap_default) => {
3258
+ if (!propertiesArray || propertiesArray.length === 0) return;
3259
+ for (const curr of propertiesArray) {
3260
+ const result = prev[curr];
3261
+ if (result) if ("value" in result && result.value && typeof result?.value === "object" && Object.keys(result?.value).length > 0) prev = result.value;
3262
+ else prev = result;
3263
+ else return;
3264
+ index++;
3265
+ }
3266
+ return prev;
3267
+ };
3268
+
3269
+ //#endregion
3270
+ Object.defineProperty(exports, 'getDiagnosticInformation', {
3271
+ enumerable: true,
3272
+ get: function () {
3273
+ return getDiagnosticInformation;
3274
+ }
3275
+ });
3276
+ Object.defineProperty(exports, 'getState', {
3277
+ enumerable: true,
3278
+ get: function () {
3279
+ return getState;
3280
+ }
3281
+ });
3282
+ Object.defineProperty(exports, 'warningConfig', {
3283
+ enumerable: true,
3284
+ get: function () {
3285
+ return warningConfig;
3286
+ }
3287
+ });