xray16 1.3.2 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +112 -106
- package/package.json +45 -42
- package/plugins/built_at_info.d.ts +1 -1
- package/plugins/from_cast_utils.d.ts +1 -1
- package/plugins/global_declarations_transform.d.ts +1 -1
- package/plugins/inject_file_meta.d.ts +1 -1
- package/plugins/inject_tracy_zones.d.ts +1 -1
- package/plugins/inject_tracy_zones.js +4 -4
- package/plugins/strip_lua_logger.d.ts +1 -1
- package/plugins/strip_lua_logger.js +1 -1
- package/plugins/transform_luabind_class/plugin.d.ts +1 -1
- package/plugins/transform_luabind_class/transformation/class_declaration.d.ts +3 -3
- package/plugins/transform_luabind_class/transformation/decorators.d.ts +5 -2
- package/plugins/transform_luabind_class/transformation/decorators.js +3 -0
- package/plugins/transform_luabind_class/transformation/members/accessors.d.ts +1 -1
- package/plugins/transform_luabind_class/transformation/members/constructor.d.ts +2 -2
- package/plugins/transform_luabind_class/transformation/members/constructor.js +2 -2
- package/plugins/transform_luabind_class/transformation/members/fields.d.ts +5 -2
- package/plugins/transform_luabind_class/transformation/members/fields.js +5 -2
- package/plugins/transform_luabind_class/transformation/members/method.d.ts +6 -3
- package/plugins/transform_luabind_class/transformation/members/method.js +4 -1
- package/plugins/transform_luabind_class/transformation/new.d.ts +7 -3
- package/plugins/transform_luabind_class/transformation/new.js +5 -1
- package/plugins/transform_luabind_class/transformation/setup.d.ts +9 -3
- package/plugins/transform_luabind_class/transformation/setup.js +22 -6
- package/plugins/transform_luabind_class/transformation/super.d.ts +19 -3
- package/plugins/transform_luabind_class/transformation/super.js +17 -1
- package/plugins/transform_luabind_class/transformation/utils.d.ts +27 -4
- package/plugins/transform_luabind_class/transformation/utils.js +25 -2
- package/plugins/utils/ast.d.ts +1 -1
- package/plugins/utils/diagnostics.d.ts +9 -5
- package/plugins/utils/diagnostics.js +5 -1
- package/plugins/utils/tracy.d.ts +2 -2
- package/plugins/utils/tracy.js +2 -5
- package/types/index.d.ts +55 -55
- package/types/xr_ai/xr_action.d.ts +510 -510
- package/types/xr_ai/xr_alife.d.ts +566 -566
- package/types/xr_ai/xr_enemy_evaluation.d.ts +41 -41
- package/types/xr_ai/xr_goap.d.ts +669 -668
- package/types/xr_ai/xr_graph.d.ts +47 -47
- package/types/xr_ai/xr_memory.d.ts +148 -148
- package/types/xr_lib/xr_animation.d.ts +81 -81
- package/types/xr_lib/xr_bitwise.d.ts +32 -21
- package/types/xr_lib/xr_color.d.ts +45 -40
- package/types/xr_lib/xr_debug.d.ts +83 -77
- package/types/xr_lib/xr_dialog.d.ts +40 -40
- package/types/xr_lib/xr_flags.d.ts +529 -148
- package/types/xr_lib/xr_fs.d.ts +149 -148
- package/types/xr_lib/xr_game.d.ts +261 -158
- package/types/xr_lib/xr_hit.d.ts +41 -41
- package/types/xr_lib/xr_ini.d.ts +415 -188
- package/types/xr_lib/xr_level.d.ts +652 -225
- package/types/xr_lib/xr_luabind.d.ts +64 -59
- package/types/xr_lib/xr_map.d.ts +61 -61
- package/types/xr_lib/xr_math.d.ts +815 -233
- package/types/xr_lib/xr_multiplayer.d.ts +351 -351
- package/types/xr_lib/xr_profile.d.ts +192 -160
- package/types/xr_lib/xr_properties.d.ts +455 -166
- package/types/xr_lib/xr_relation.d.ts +84 -84
- package/types/xr_lib/xr_render.d.ts +71 -69
- package/types/xr_lib/xr_save.d.ts +727 -223
- package/types/xr_lib/xr_sound.d.ts +151 -151
- package/types/xr_lib/xr_stats.ts +20 -20
- package/types/xr_lib/xr_task.d.ts +111 -111
- package/types/xr_lib/xr_time.d.ts +166 -61
- package/types/xr_lib/xr_type.d.ts +75 -75
- package/types/xr_object/client/xr_anomaly.d.ts +50 -50
- package/types/xr_object/client/xr_artefact.d.ts +98 -98
- package/types/xr_object/client/xr_client_object.d.ts +76 -76
- package/types/xr_object/client/xr_creature.d.ts +164 -164
- package/types/xr_object/client/xr_item.d.ts +264 -264
- package/types/xr_object/client/xr_level.d.ts +285 -285
- package/types/xr_object/client/xr_physic.d.ts +214 -214
- package/types/xr_object/client/xr_zone.d.ts +47 -47
- package/types/xr_object/script/xr_script_interface.d.ts +584 -584
- package/types/xr_object/script/xr_script_object.d.ts +2408 -1390
- package/types/xr_object/script/xr_script_trade.d.ts +41 -26
- package/types/xr_object/server/xr_server_object.d.ts +794 -792
- package/types/xr_ui/xr_ui_asset.d.ts +129 -123
- package/types/xr_ui/xr_ui_core.d.ts +106 -97
- package/types/xr_ui/xr_ui_event.d.ts +383 -381
- package/types/xr_ui/xr_ui_interface.d.ts +901 -903
- package/types/xr_ui/xr_ui_menu.d.ts +142 -142
- package/types/xrf_plugin.d.ts +59 -51
|
@@ -1,903 +1,901 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* @
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
public
|
|
11
|
-
|
|
12
|
-
public
|
|
13
|
-
|
|
14
|
-
public
|
|
15
|
-
|
|
16
|
-
public
|
|
17
|
-
|
|
18
|
-
public
|
|
19
|
-
|
|
20
|
-
public
|
|
21
|
-
|
|
22
|
-
public
|
|
23
|
-
|
|
24
|
-
public
|
|
25
|
-
|
|
26
|
-
public
|
|
27
|
-
|
|
28
|
-
public
|
|
29
|
-
|
|
30
|
-
public
|
|
31
|
-
|
|
32
|
-
public SetWndSize(
|
|
33
|
-
|
|
34
|
-
public
|
|
35
|
-
|
|
36
|
-
public
|
|
37
|
-
|
|
38
|
-
public SetWndPos(
|
|
39
|
-
|
|
40
|
-
public
|
|
41
|
-
|
|
42
|
-
public
|
|
43
|
-
|
|
44
|
-
public
|
|
45
|
-
|
|
46
|
-
public
|
|
47
|
-
|
|
48
|
-
public
|
|
49
|
-
|
|
50
|
-
public SetWndRect(
|
|
51
|
-
|
|
52
|
-
public
|
|
53
|
-
|
|
54
|
-
public
|
|
55
|
-
|
|
56
|
-
public Init(
|
|
57
|
-
|
|
58
|
-
public
|
|
59
|
-
|
|
60
|
-
public
|
|
61
|
-
|
|
62
|
-
public
|
|
63
|
-
|
|
64
|
-
public
|
|
65
|
-
|
|
66
|
-
public
|
|
67
|
-
|
|
68
|
-
public
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
* @
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
public
|
|
81
|
-
|
|
82
|
-
public
|
|
83
|
-
|
|
84
|
-
public
|
|
85
|
-
|
|
86
|
-
public
|
|
87
|
-
|
|
88
|
-
public
|
|
89
|
-
|
|
90
|
-
public
|
|
91
|
-
|
|
92
|
-
public
|
|
93
|
-
|
|
94
|
-
public
|
|
95
|
-
|
|
96
|
-
public
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
* @
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
* @
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
* @
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
public
|
|
122
|
-
|
|
123
|
-
public
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
* @
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
public
|
|
135
|
-
|
|
136
|
-
public
|
|
137
|
-
|
|
138
|
-
public
|
|
139
|
-
|
|
140
|
-
public
|
|
141
|
-
|
|
142
|
-
public
|
|
143
|
-
|
|
144
|
-
public
|
|
145
|
-
|
|
146
|
-
public
|
|
147
|
-
|
|
148
|
-
public
|
|
149
|
-
|
|
150
|
-
public
|
|
151
|
-
|
|
152
|
-
public
|
|
153
|
-
|
|
154
|
-
public
|
|
155
|
-
|
|
156
|
-
public
|
|
157
|
-
|
|
158
|
-
public
|
|
159
|
-
|
|
160
|
-
public
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
* @
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
public
|
|
172
|
-
|
|
173
|
-
public
|
|
174
|
-
|
|
175
|
-
public
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
* @
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
* @
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
public
|
|
197
|
-
|
|
198
|
-
public
|
|
199
|
-
|
|
200
|
-
public
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
* @
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
public
|
|
212
|
-
|
|
213
|
-
public
|
|
214
|
-
|
|
215
|
-
public
|
|
216
|
-
|
|
217
|
-
public
|
|
218
|
-
|
|
219
|
-
public
|
|
220
|
-
|
|
221
|
-
public
|
|
222
|
-
|
|
223
|
-
public
|
|
224
|
-
|
|
225
|
-
public
|
|
226
|
-
|
|
227
|
-
public
|
|
228
|
-
|
|
229
|
-
public
|
|
230
|
-
|
|
231
|
-
public
|
|
232
|
-
|
|
233
|
-
public
|
|
234
|
-
|
|
235
|
-
public
|
|
236
|
-
|
|
237
|
-
public
|
|
238
|
-
|
|
239
|
-
public
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
* @
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
* @
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
* @
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
* @
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
* @
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
public
|
|
287
|
-
|
|
288
|
-
public
|
|
289
|
-
|
|
290
|
-
public
|
|
291
|
-
|
|
292
|
-
public
|
|
293
|
-
|
|
294
|
-
public
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
* @
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
public
|
|
306
|
-
|
|
307
|
-
public
|
|
308
|
-
|
|
309
|
-
public
|
|
310
|
-
|
|
311
|
-
public
|
|
312
|
-
|
|
313
|
-
public
|
|
314
|
-
|
|
315
|
-
public
|
|
316
|
-
|
|
317
|
-
public
|
|
318
|
-
|
|
319
|
-
public
|
|
320
|
-
|
|
321
|
-
public
|
|
322
|
-
|
|
323
|
-
public
|
|
324
|
-
|
|
325
|
-
public
|
|
326
|
-
|
|
327
|
-
public
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
* @
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
public constructor(height: f32);
|
|
339
|
-
|
|
340
|
-
public
|
|
341
|
-
|
|
342
|
-
public
|
|
343
|
-
|
|
344
|
-
public
|
|
345
|
-
|
|
346
|
-
public
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
* @
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
* @
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
public static readonly
|
|
365
|
-
|
|
366
|
-
public
|
|
367
|
-
|
|
368
|
-
public
|
|
369
|
-
|
|
370
|
-
public
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
* @
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
* @
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
public
|
|
396
|
-
|
|
397
|
-
public
|
|
398
|
-
|
|
399
|
-
public
|
|
400
|
-
|
|
401
|
-
public
|
|
402
|
-
|
|
403
|
-
public
|
|
404
|
-
|
|
405
|
-
public
|
|
406
|
-
|
|
407
|
-
public
|
|
408
|
-
|
|
409
|
-
public
|
|
410
|
-
|
|
411
|
-
public
|
|
412
|
-
|
|
413
|
-
public
|
|
414
|
-
|
|
415
|
-
public
|
|
416
|
-
|
|
417
|
-
public
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
* @
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
public
|
|
429
|
-
|
|
430
|
-
public
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
* @
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
public
|
|
442
|
-
|
|
443
|
-
public
|
|
444
|
-
|
|
445
|
-
public
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
* @
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
public
|
|
457
|
-
|
|
458
|
-
public
|
|
459
|
-
|
|
460
|
-
public
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
* @
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
public
|
|
472
|
-
public
|
|
473
|
-
public
|
|
474
|
-
|
|
475
|
-
public
|
|
476
|
-
|
|
477
|
-
public Show(
|
|
478
|
-
|
|
479
|
-
public
|
|
480
|
-
|
|
481
|
-
public
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
* @
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
public
|
|
493
|
-
|
|
494
|
-
public
|
|
495
|
-
|
|
496
|
-
public
|
|
497
|
-
|
|
498
|
-
public
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
* @
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
public
|
|
510
|
-
|
|
511
|
-
public
|
|
512
|
-
|
|
513
|
-
public
|
|
514
|
-
|
|
515
|
-
public
|
|
516
|
-
|
|
517
|
-
public
|
|
518
|
-
|
|
519
|
-
public
|
|
520
|
-
|
|
521
|
-
public
|
|
522
|
-
|
|
523
|
-
public
|
|
524
|
-
|
|
525
|
-
public
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
* @
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
* @
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
* @
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
* @
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
* @
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
public
|
|
565
|
-
|
|
566
|
-
public
|
|
567
|
-
|
|
568
|
-
public
|
|
569
|
-
|
|
570
|
-
public
|
|
571
|
-
|
|
572
|
-
public
|
|
573
|
-
|
|
574
|
-
public
|
|
575
|
-
|
|
576
|
-
public
|
|
577
|
-
|
|
578
|
-
public
|
|
579
|
-
|
|
580
|
-
public
|
|
581
|
-
|
|
582
|
-
public
|
|
583
|
-
|
|
584
|
-
public
|
|
585
|
-
|
|
586
|
-
public
|
|
587
|
-
|
|
588
|
-
public
|
|
589
|
-
|
|
590
|
-
public
|
|
591
|
-
|
|
592
|
-
public
|
|
593
|
-
|
|
594
|
-
public
|
|
595
|
-
|
|
596
|
-
public
|
|
597
|
-
|
|
598
|
-
public
|
|
599
|
-
|
|
600
|
-
public
|
|
601
|
-
|
|
602
|
-
public
|
|
603
|
-
|
|
604
|
-
public
|
|
605
|
-
|
|
606
|
-
public
|
|
607
|
-
|
|
608
|
-
public
|
|
609
|
-
|
|
610
|
-
public
|
|
611
|
-
|
|
612
|
-
public
|
|
613
|
-
|
|
614
|
-
public
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
* @
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
* @
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
public
|
|
633
|
-
|
|
634
|
-
public SetActiveTab(id:
|
|
635
|
-
|
|
636
|
-
public
|
|
637
|
-
|
|
638
|
-
public
|
|
639
|
-
|
|
640
|
-
public
|
|
641
|
-
|
|
642
|
-
public
|
|
643
|
-
|
|
644
|
-
public AddItem(
|
|
645
|
-
|
|
646
|
-
public
|
|
647
|
-
|
|
648
|
-
public
|
|
649
|
-
|
|
650
|
-
public
|
|
651
|
-
|
|
652
|
-
public
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
* @
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
public
|
|
664
|
-
|
|
665
|
-
public
|
|
666
|
-
|
|
667
|
-
public
|
|
668
|
-
|
|
669
|
-
public
|
|
670
|
-
|
|
671
|
-
public
|
|
672
|
-
|
|
673
|
-
public
|
|
674
|
-
|
|
675
|
-
public
|
|
676
|
-
|
|
677
|
-
public
|
|
678
|
-
|
|
679
|
-
public
|
|
680
|
-
|
|
681
|
-
public
|
|
682
|
-
|
|
683
|
-
public
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
* @
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
public
|
|
695
|
-
|
|
696
|
-
public SetCurrentValue(): void;
|
|
697
|
-
|
|
698
|
-
public SetCurrentValue(value:
|
|
699
|
-
|
|
700
|
-
public
|
|
701
|
-
|
|
702
|
-
public
|
|
703
|
-
|
|
704
|
-
public
|
|
705
|
-
|
|
706
|
-
public
|
|
707
|
-
|
|
708
|
-
public
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
* @
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
public
|
|
720
|
-
|
|
721
|
-
public
|
|
722
|
-
|
|
723
|
-
public
|
|
724
|
-
|
|
725
|
-
public
|
|
726
|
-
|
|
727
|
-
public
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
* @
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
public
|
|
743
|
-
|
|
744
|
-
public
|
|
745
|
-
|
|
746
|
-
public
|
|
747
|
-
|
|
748
|
-
public
|
|
749
|
-
|
|
750
|
-
public
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
* @
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
public
|
|
762
|
-
|
|
763
|
-
public
|
|
764
|
-
|
|
765
|
-
public
|
|
766
|
-
|
|
767
|
-
public
|
|
768
|
-
|
|
769
|
-
public
|
|
770
|
-
|
|
771
|
-
public
|
|
772
|
-
|
|
773
|
-
public
|
|
774
|
-
|
|
775
|
-
public
|
|
776
|
-
|
|
777
|
-
public
|
|
778
|
-
|
|
779
|
-
public
|
|
780
|
-
|
|
781
|
-
public
|
|
782
|
-
|
|
783
|
-
public
|
|
784
|
-
|
|
785
|
-
public
|
|
786
|
-
|
|
787
|
-
public
|
|
788
|
-
|
|
789
|
-
public
|
|
790
|
-
|
|
791
|
-
public
|
|
792
|
-
|
|
793
|
-
public
|
|
794
|
-
|
|
795
|
-
public
|
|
796
|
-
|
|
797
|
-
public
|
|
798
|
-
|
|
799
|
-
public
|
|
800
|
-
|
|
801
|
-
public
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
* @
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
* @
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
* @
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
public
|
|
829
|
-
|
|
830
|
-
public
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
* @
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
public
|
|
842
|
-
|
|
843
|
-
public
|
|
844
|
-
|
|
845
|
-
public
|
|
846
|
-
|
|
847
|
-
public
|
|
848
|
-
|
|
849
|
-
public
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
* @
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
public
|
|
861
|
-
|
|
862
|
-
public
|
|
863
|
-
|
|
864
|
-
public
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
): void;
|
|
871
|
-
|
|
872
|
-
public
|
|
873
|
-
|
|
874
|
-
public
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
* @
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
public static readonly
|
|
886
|
-
public static readonly
|
|
887
|
-
public static readonly
|
|
888
|
-
public static readonly
|
|
889
|
-
public static readonly
|
|
890
|
-
public static readonly
|
|
891
|
-
public static readonly
|
|
892
|
-
public static readonly
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
export type TXR_EDDListType = EnumeratedStaticsValues<typeof EDDListType>;
|
|
903
|
-
}
|
|
1
|
+
declare module "xray16" {
|
|
2
|
+
/**
|
|
3
|
+
* @source C++ class CUIWindow
|
|
4
|
+
* @customConstructor CUIWindow
|
|
5
|
+
* @group xr_ui_interface
|
|
6
|
+
*/
|
|
7
|
+
export class CUIWindow extends EngineBinding {
|
|
8
|
+
public constructor();
|
|
9
|
+
|
|
10
|
+
public IsShown(): boolean;
|
|
11
|
+
|
|
12
|
+
public IsEnabled(): boolean;
|
|
13
|
+
|
|
14
|
+
public IsAutoDelete(): boolean;
|
|
15
|
+
|
|
16
|
+
public IsCursorOverWindow(): boolean;
|
|
17
|
+
|
|
18
|
+
public GetFont(): CGameFont;
|
|
19
|
+
|
|
20
|
+
public GetHeight(): f32;
|
|
21
|
+
|
|
22
|
+
public GetWidth(): f32;
|
|
23
|
+
|
|
24
|
+
public GetWndPos(): vector2;
|
|
25
|
+
|
|
26
|
+
public GetAbsoluteRect(): Frect;
|
|
27
|
+
|
|
28
|
+
public SetFont(font: CGameFont): void;
|
|
29
|
+
|
|
30
|
+
public SetWndSize(vector2: vector2): void;
|
|
31
|
+
|
|
32
|
+
public SetWndSize(width: f32, height: f32): void;
|
|
33
|
+
|
|
34
|
+
public SetWindowName(name: string): void;
|
|
35
|
+
|
|
36
|
+
public SetWndPos(vector2: vector2): void;
|
|
37
|
+
|
|
38
|
+
public SetWndPos(x1: f32, y1: f32): void;
|
|
39
|
+
|
|
40
|
+
public SetAutoDelete(auto_delete: boolean): void;
|
|
41
|
+
|
|
42
|
+
public SetPPMode(): void;
|
|
43
|
+
|
|
44
|
+
public SetHeight(height: f32): void;
|
|
45
|
+
|
|
46
|
+
public SetWidth(width: f32): void;
|
|
47
|
+
|
|
48
|
+
public SetWndRect(rect: Frect): void;
|
|
49
|
+
|
|
50
|
+
public SetWndRect(x1: f32, y1: f32, x2: f32, y2: f32): void;
|
|
51
|
+
|
|
52
|
+
public FocusReceiveTime(): u32;
|
|
53
|
+
|
|
54
|
+
public Init(frect: Frect): void;
|
|
55
|
+
|
|
56
|
+
public Init(x1: f32, y1: f32, x2: f32, y2: f32): void;
|
|
57
|
+
|
|
58
|
+
public Enable(is_enabled: boolean): void;
|
|
59
|
+
|
|
60
|
+
public AttachChild(child: CUIWindow): void;
|
|
61
|
+
|
|
62
|
+
public DetachChild(child: CUIWindow): void;
|
|
63
|
+
|
|
64
|
+
public WindowName(): string;
|
|
65
|
+
|
|
66
|
+
public ResetPPMode(): void;
|
|
67
|
+
|
|
68
|
+
public Show(show: boolean): void;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @source C++ class CServerList : CUIWindow
|
|
73
|
+
* @customConstructor CServerList
|
|
74
|
+
* @group xr_ui_interface
|
|
75
|
+
*/
|
|
76
|
+
export class CServerList extends CUIWindow {
|
|
77
|
+
public static readonly ece_unique_nick_expired: 2;
|
|
78
|
+
public static readonly ece_unique_nick_not_registred: 1;
|
|
79
|
+
|
|
80
|
+
public SetPlayerName(name: string): void;
|
|
81
|
+
|
|
82
|
+
public SetFilters(filters: SServerFilters): void;
|
|
83
|
+
|
|
84
|
+
public RefreshList(value: boolean): void;
|
|
85
|
+
|
|
86
|
+
public SetSortFunc(a: string, b: boolean): void;
|
|
87
|
+
|
|
88
|
+
public NetRadioChanged(value: boolean): void;
|
|
89
|
+
|
|
90
|
+
public ShowServerInfo(): void;
|
|
91
|
+
|
|
92
|
+
public RefreshQuick(): void;
|
|
93
|
+
|
|
94
|
+
public ConnectToSelected(): void;
|
|
95
|
+
|
|
96
|
+
public SetConnectionErrCb(cb: connect_error_cb): void;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @source C++ class CUIButton : CUIStatic
|
|
101
|
+
* @customConstructor CUIButton
|
|
102
|
+
* @group xr_ui_interface
|
|
103
|
+
*/
|
|
104
|
+
export class CUIButton extends CUIStatic {}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @source C++ class CUI3tButton : CUIButton
|
|
108
|
+
* @customConstructor CUI3tButton
|
|
109
|
+
* @group xr_ui_interface
|
|
110
|
+
*/
|
|
111
|
+
export class CUI3tButton extends CUIButton {}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @source C++ class CUICheckButton : CUI3tButton
|
|
115
|
+
* @customConstructor CUICheckButton
|
|
116
|
+
* @group xr_ui_interface
|
|
117
|
+
*/
|
|
118
|
+
export class CUICheckButton extends CUI3tButton {
|
|
119
|
+
public SetCheck(value: boolean): void;
|
|
120
|
+
|
|
121
|
+
public GetCheck(): boolean;
|
|
122
|
+
|
|
123
|
+
public SetDependControl(window: CUIWindow): void;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @source C++ class CUIComboBox : CUIWindow
|
|
128
|
+
* @customConstructor CUIComboBox
|
|
129
|
+
* @group xr_ui_interface
|
|
130
|
+
*/
|
|
131
|
+
export class CUIComboBox extends CUIWindow {
|
|
132
|
+
public enable_id(id: i32): void;
|
|
133
|
+
|
|
134
|
+
public disable_id(id: i32): void;
|
|
135
|
+
|
|
136
|
+
public ClearList(): void;
|
|
137
|
+
|
|
138
|
+
public SetText(text: string): void;
|
|
139
|
+
|
|
140
|
+
public AddItem(label: string, id: i32): void;
|
|
141
|
+
|
|
142
|
+
public GetText(): string;
|
|
143
|
+
|
|
144
|
+
public SetListLength(length: i32): void;
|
|
145
|
+
|
|
146
|
+
public CurrentID(): i32;
|
|
147
|
+
|
|
148
|
+
public GetTextOf(id: i32): string;
|
|
149
|
+
|
|
150
|
+
public SetCurrentOptValue(): void;
|
|
151
|
+
|
|
152
|
+
public SetVertScroll(enabled: boolean): void;
|
|
153
|
+
|
|
154
|
+
public SetCurrentID(id: i32): void;
|
|
155
|
+
|
|
156
|
+
public SetCurrentIdx(index: u32): void;
|
|
157
|
+
|
|
158
|
+
public GetCurrentIdx(): u32;
|
|
159
|
+
|
|
160
|
+
public SetCurrentValue(): void;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* @source C++ class CUICustomEdit : CUIWindow
|
|
165
|
+
* @customConstructor CUICustomEdit
|
|
166
|
+
* @group xr_ui_interface
|
|
167
|
+
*/
|
|
168
|
+
export class CUICustomEdit extends CUIWindow {
|
|
169
|
+
public GetText(): string;
|
|
170
|
+
|
|
171
|
+
public SetText(text: string): void;
|
|
172
|
+
|
|
173
|
+
public SetNextFocusCapturer(edit: CUICustomEdit): void;
|
|
174
|
+
|
|
175
|
+
public CaptureFocus(value: boolean): void;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* @source C++ class CUICustomSpin : CUIWindow
|
|
180
|
+
* @customConstructor CUICustomSpin
|
|
181
|
+
* @group xr_ui_interface
|
|
182
|
+
*/
|
|
183
|
+
export class CUICustomSpin extends CUIWindow {
|
|
184
|
+
public GetText(): string;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* @source C++ class CUIDialogWnd : CUIWindow
|
|
189
|
+
* @customConstructor CUIDialogWnd
|
|
190
|
+
* @group xr_ui_interface
|
|
191
|
+
*/
|
|
192
|
+
|
|
193
|
+
export class CUIDialogWnd extends CUIWindow {
|
|
194
|
+
public HideDialog(): void;
|
|
195
|
+
|
|
196
|
+
public ShowDialog(show: boolean): void;
|
|
197
|
+
|
|
198
|
+
public GetHolder(): CDialogHolder;
|
|
199
|
+
|
|
200
|
+
public SetHolder(holder: CDialogHolder): void;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* @source C++ class CUIScriptWnd : CUIDialogWnd,DLL_Pure
|
|
205
|
+
* @customConstructor CUIScriptWnd
|
|
206
|
+
* @group xr_ui_interface
|
|
207
|
+
*/
|
|
208
|
+
export class CUIScriptWnd extends CUIDialogWnd {
|
|
209
|
+
public constructor();
|
|
210
|
+
|
|
211
|
+
public OnKeyboard(key: TXR_DIK_key, event: TXR_ui_event): boolean;
|
|
212
|
+
|
|
213
|
+
public Update(): void;
|
|
214
|
+
|
|
215
|
+
public AddCallback(name: string, event: number, cb: (this: void) => void, source?: CUIWindow): void;
|
|
216
|
+
|
|
217
|
+
public Dispatch(command: number, parameter: number): boolean;
|
|
218
|
+
|
|
219
|
+
public Register(window: CUIWindow, name: string): void;
|
|
220
|
+
|
|
221
|
+
public Load(value: string): boolean;
|
|
222
|
+
|
|
223
|
+
public GetListWnd(id: string): CUIListWnd | null;
|
|
224
|
+
|
|
225
|
+
public GetDialogWnd(id: string): CUIDialogWnd | null;
|
|
226
|
+
|
|
227
|
+
public GetEditBox(id: string): CUIEditBox | null;
|
|
228
|
+
|
|
229
|
+
public GetListBox(id: string): CUIListBox | null;
|
|
230
|
+
|
|
231
|
+
public GetFrameLineWnd(id: string): CUIFrameLineWnd | null;
|
|
232
|
+
|
|
233
|
+
public GetTabControl(id: string): CUITabControl | null;
|
|
234
|
+
|
|
235
|
+
public GetProgressBar(id: string): CUIProgressBar | null;
|
|
236
|
+
|
|
237
|
+
public GetFrameWindow(id: string): CUIFrameWindow | null;
|
|
238
|
+
|
|
239
|
+
public GetStatic(id: string): CUIStatic | null;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* @source C++ class CUIEditBox : CUICustomEdit
|
|
244
|
+
* @customConstructor CUIEditBox
|
|
245
|
+
* @group xr_ui_interface
|
|
246
|
+
*/
|
|
247
|
+
export class CUIEditBox extends CUICustomEdit {
|
|
248
|
+
public InitTexture(texture_id: string): void;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* @source C++ class CUIEditBoxEx : CUICustomEdit
|
|
253
|
+
* @customConstructor CUIEditBoxEx
|
|
254
|
+
* @group xr_ui_interface
|
|
255
|
+
*/
|
|
256
|
+
export class CUIEditBoxEx extends CUICustomEdit {
|
|
257
|
+
public InitTexture(texture_id: string): void;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* @source C++ class CUIFrameLineWnd : CUIWindow
|
|
262
|
+
* @customConstructor CUIFrameLineWnd
|
|
263
|
+
* @group xr_ui_interface
|
|
264
|
+
*/
|
|
265
|
+
export class CUIFrameLineWnd extends CUIWindow {
|
|
266
|
+
public SetColor(color: u32): void;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* @source C++ class CUIFrameWindow : CUIWindow
|
|
271
|
+
* @customConstructor CUIFrameWindow
|
|
272
|
+
* @group xr_ui_interface
|
|
273
|
+
*/
|
|
274
|
+
export class CUIFrameWindow extends CUIWindow {
|
|
275
|
+
public SetColor(color: u32): void;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* @source C++ class CUILines
|
|
280
|
+
* @customConstructor CUILines
|
|
281
|
+
* @group xr_ui_interface
|
|
282
|
+
*/
|
|
283
|
+
export class CUILines {
|
|
284
|
+
public GetText(): string;
|
|
285
|
+
|
|
286
|
+
public SetElipsis(value: boolean): void;
|
|
287
|
+
|
|
288
|
+
public SetFont(value: CGameFont): void;
|
|
289
|
+
|
|
290
|
+
public SetText(text: string): void;
|
|
291
|
+
|
|
292
|
+
public SetTextColor(color_code: u32): void;
|
|
293
|
+
|
|
294
|
+
public SetTextST(text: string): void;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* @source C++ class CUIListBox : CUIScrollView
|
|
299
|
+
* @customConstructor CUIListBox
|
|
300
|
+
* @group xr_ui_interface
|
|
301
|
+
*/
|
|
302
|
+
export class CUIListBox<T extends CUIListBoxItem = CUIListBoxItem> extends CUIScrollView {
|
|
303
|
+
public GetSize(): u32;
|
|
304
|
+
|
|
305
|
+
public GetItem(index: u32): CUIWindow;
|
|
306
|
+
|
|
307
|
+
public GetItemByIndex(index: i32): T;
|
|
308
|
+
|
|
309
|
+
public GetSelectedIndex(): u32;
|
|
310
|
+
|
|
311
|
+
public GetSelectedItem(): T | null;
|
|
312
|
+
|
|
313
|
+
public GetItemHeight(): f32;
|
|
314
|
+
|
|
315
|
+
public AddExistingItem(item: T): void;
|
|
316
|
+
|
|
317
|
+
public AddTextItem(text: string): T;
|
|
318
|
+
|
|
319
|
+
public RemoveItem(window: CUIWindow): void;
|
|
320
|
+
|
|
321
|
+
public RemoveAll(): void;
|
|
322
|
+
|
|
323
|
+
public ShowSelectedItem(value: boolean): void;
|
|
324
|
+
|
|
325
|
+
public SetItemHeight(height: f32): void;
|
|
326
|
+
|
|
327
|
+
public SetSelectedIndex(index: u32): void;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* @source C++ class CUIListBoxItem : CUIFrameLineWnd
|
|
332
|
+
* @customConstructor CUIListBoxItem
|
|
333
|
+
* @group xr_ui_interface
|
|
334
|
+
*/
|
|
335
|
+
export class CUIListBoxItem extends CUIFrameLineWnd {
|
|
336
|
+
public constructor(height: f32);
|
|
337
|
+
public constructor(target: CUIListBoxItem);
|
|
338
|
+
public constructor(target: CUIListBoxItem, height: f32);
|
|
339
|
+
|
|
340
|
+
public AddIconField(value: f32): CUIStatic;
|
|
341
|
+
|
|
342
|
+
public SetTextColor(color: u32): void;
|
|
343
|
+
|
|
344
|
+
public AddTextField(text: string, width: f32): CUITextWnd;
|
|
345
|
+
|
|
346
|
+
public GetTextItem(): CUITextWnd;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* @source C++ class CUIListBoxItemMsgChain : CUIListBoxItem
|
|
351
|
+
* @customConstructor CUIListBoxItemMsgChain
|
|
352
|
+
* @group xr_ui_interface
|
|
353
|
+
*/
|
|
354
|
+
export class CUIListBoxItemMsgChain extends CUIListBoxItem {}
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* @source C++ class CUIMMShniaga : CUIWindow
|
|
358
|
+
* @customConstructor CUIMMShniaga
|
|
359
|
+
* @group xr_ui_interface
|
|
360
|
+
*/
|
|
361
|
+
export class CUIMMShniaga extends CUIWindow {
|
|
362
|
+
public static readonly epi_main: 0;
|
|
363
|
+
public static readonly epi_new_game: 1;
|
|
364
|
+
public static readonly epi_new_network_game: 2;
|
|
365
|
+
|
|
366
|
+
public ShowPage(page_id: TXR_MMShniaga_page): void;
|
|
367
|
+
|
|
368
|
+
public SetPage(page_id: TXR_MMShniaga_page, xml: string, selector: string): void;
|
|
369
|
+
|
|
370
|
+
public SetVisibleMagnifier(visible: boolean): void;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* @group xr_ui_interface
|
|
375
|
+
*/
|
|
376
|
+
export type TXR_MMShniaga_page = EnumeratedStaticsValues<typeof CUIMMShniaga>;
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* @source C++ class CUIMapInfo : CUIWindow
|
|
380
|
+
* @customConstructor CUIMapInfo
|
|
381
|
+
* @group xr_ui_interface
|
|
382
|
+
*/
|
|
383
|
+
export class CUIMapInfo extends CUIWindow {
|
|
384
|
+
public InitMap(a: string, b: string): void;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* @source C++ class CUIMapList : CUIWindow
|
|
389
|
+
* @customConstructor CUIMapList
|
|
390
|
+
* @group xr_ui_interface
|
|
391
|
+
*/
|
|
392
|
+
export class CUIMapList extends CUIWindow {
|
|
393
|
+
public ClearList(): void;
|
|
394
|
+
|
|
395
|
+
public GetCommandLine<T extends string = string>(value: string): T;
|
|
396
|
+
|
|
397
|
+
public GetCurGameType(): TXR_GAME_TYPE;
|
|
398
|
+
|
|
399
|
+
public IsEmpty(): boolean;
|
|
400
|
+
|
|
401
|
+
public LoadMapList(): void;
|
|
402
|
+
|
|
403
|
+
public OnModeChange(): void;
|
|
404
|
+
|
|
405
|
+
public SaveMapList(): void;
|
|
406
|
+
|
|
407
|
+
public SetMapInfo(info: CUIMapInfo): void;
|
|
408
|
+
|
|
409
|
+
public SetMapPic(picture: CUIStatic): void;
|
|
410
|
+
|
|
411
|
+
public SetModeSelector(modeSelector: CUISpinText): void;
|
|
412
|
+
|
|
413
|
+
public SetServerParams(params: string): void;
|
|
414
|
+
|
|
415
|
+
public SetWeatherSelector(selector: CUIComboBox): void;
|
|
416
|
+
|
|
417
|
+
public StartDedicatedServer(): void;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* @source C++ class CUIMessageBox : CUIStatic
|
|
422
|
+
* @customConstructor CUIMessageBox
|
|
423
|
+
* @group xr_ui_interface
|
|
424
|
+
*/
|
|
425
|
+
export class CUIMessageBox extends CUIStatic {
|
|
426
|
+
public InitMessageBox(value: string): boolean;
|
|
427
|
+
|
|
428
|
+
public GetPassword(): string;
|
|
429
|
+
|
|
430
|
+
public GetHost(): string;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* @source C++ class CUIMessageBoxEx : CUIDialogWnd
|
|
435
|
+
* @customConstructor CUIMessageBoxEx
|
|
436
|
+
* @group xr_ui_interface
|
|
437
|
+
*/
|
|
438
|
+
export class CUIMessageBoxEx extends CUIDialogWnd {
|
|
439
|
+
public InitMessageBox(selector: string): void;
|
|
440
|
+
|
|
441
|
+
public SetText(text: string): void;
|
|
442
|
+
|
|
443
|
+
public GetPassword(): string;
|
|
444
|
+
|
|
445
|
+
public GetHost(): string;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* @source C++ class CUIProgressBar : CUIWindow
|
|
450
|
+
* @customConstructor CUIProgressBar
|
|
451
|
+
* @group xr_ui_interface
|
|
452
|
+
*/
|
|
453
|
+
export class CUIProgressBar extends CUIWindow {
|
|
454
|
+
public GetRange_max(): f32;
|
|
455
|
+
|
|
456
|
+
public GetRange_min(): f32;
|
|
457
|
+
|
|
458
|
+
public SetProgressPos(position: f32): void;
|
|
459
|
+
|
|
460
|
+
public GetProgressPos(): f32;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* @source C++ class CUIPropertiesBox : CUIFrameWindow
|
|
465
|
+
* @customConstructor CUIPropertiesBox
|
|
466
|
+
* @group xr_ui_interface
|
|
467
|
+
*/
|
|
468
|
+
export class CUIPropertiesBox extends CUIFrameWindow {
|
|
469
|
+
public AddItem(id: string): void;
|
|
470
|
+
public AutoUpdateSize(): void;
|
|
471
|
+
public RemoveItem(index: u32): void;
|
|
472
|
+
public RemoveAll(): void;
|
|
473
|
+
public Hide(): void;
|
|
474
|
+
|
|
475
|
+
public Show(show: boolean): void;
|
|
476
|
+
|
|
477
|
+
public Show(int1: i32, int2: i32): void;
|
|
478
|
+
|
|
479
|
+
public GetSelectedItem(): CUIListBoxItem;
|
|
480
|
+
|
|
481
|
+
public InitPropertiesBox(position: vector2, size: vector2): void;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* @source C++ class CUIVersionList : CUIWindow
|
|
486
|
+
* @customConstructor CUIVersionList
|
|
487
|
+
* @group xr_ui_interface
|
|
488
|
+
*/
|
|
489
|
+
export class CUIVersionList {
|
|
490
|
+
public constructor();
|
|
491
|
+
|
|
492
|
+
public GetItemsCount(): u64;
|
|
493
|
+
|
|
494
|
+
public SwitchToSelectedVersion(): void;
|
|
495
|
+
|
|
496
|
+
public GetCurrentVersionDescr(): string;
|
|
497
|
+
|
|
498
|
+
public GetCurrentVersionName(): string;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* @source C++ class CUIScrollView : CUIWindow
|
|
503
|
+
* @customConstructor CUIScrollView
|
|
504
|
+
* @group xr_ui_interface
|
|
505
|
+
*/
|
|
506
|
+
export class CUIScrollView extends CUIWindow {
|
|
507
|
+
public SetScrollPos(position: i32): void;
|
|
508
|
+
|
|
509
|
+
public RemoveWindow(window: CUIWindow): void;
|
|
510
|
+
|
|
511
|
+
public ScrollToBegin(): void;
|
|
512
|
+
|
|
513
|
+
public GetCurrentScrollPos(): i32;
|
|
514
|
+
|
|
515
|
+
public AddWindow(window: CUIWindow, value: boolean): void;
|
|
516
|
+
|
|
517
|
+
public GetMaxScrollPos(): i32;
|
|
518
|
+
|
|
519
|
+
public GetMinScrollPos(): i32;
|
|
520
|
+
|
|
521
|
+
public ScrollToEnd(): void;
|
|
522
|
+
|
|
523
|
+
public Clear(): void;
|
|
524
|
+
|
|
525
|
+
public SetFixedScrollBar(fixed: boolean): void;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* @source C++ class CUISleepStatic : CUIStatic
|
|
530
|
+
* @customConstructor CUISleepStatic
|
|
531
|
+
* @group xr_ui_interface
|
|
532
|
+
*/
|
|
533
|
+
export class CUISleepStatic extends CUIStatic {}
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* @source C++ class CUISpinFlt : CUICustomSpin
|
|
537
|
+
* @customConstructor CUISpinFlt
|
|
538
|
+
* @group xr_ui_interface
|
|
539
|
+
*/
|
|
540
|
+
export class CUISpinFlt extends CUICustomSpin {}
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* @source C++ class CUISpinNum : CUICustomSpin
|
|
544
|
+
* @customConstructor CUISpinNum
|
|
545
|
+
* @group xr_ui_interface
|
|
546
|
+
*/
|
|
547
|
+
export class CUISpinNum extends CUICustomSpin {}
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* @source C++ class CUISpinText : CUICustomSpin
|
|
551
|
+
* @customConstructor CUISpinText
|
|
552
|
+
* @group xr_ui_interface
|
|
553
|
+
*/
|
|
554
|
+
export class CUISpinText extends CUICustomSpin {}
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* @source C++ class CUIStatic : CUIWindow
|
|
558
|
+
* @customConstructor CUIStatic
|
|
559
|
+
* @group xr_ui_interface
|
|
560
|
+
*/
|
|
561
|
+
export class CUIStatic extends CUIWindow {
|
|
562
|
+
public GetColor(): u32;
|
|
563
|
+
|
|
564
|
+
public SetColor(color: u32): void;
|
|
565
|
+
|
|
566
|
+
public TextControl(): CUILines;
|
|
567
|
+
|
|
568
|
+
public GetTextureRect(): Frect;
|
|
569
|
+
|
|
570
|
+
public GetStretchTexture(): boolean;
|
|
571
|
+
|
|
572
|
+
public SetStretchTexture(stretch: boolean): void;
|
|
573
|
+
|
|
574
|
+
public SetTextureRect(frect: Frect): void;
|
|
575
|
+
|
|
576
|
+
public InitTexture(texture: string): void;
|
|
577
|
+
|
|
578
|
+
public SetTextColor(r: i32, g: i32, b: i32, a: i32): void;
|
|
579
|
+
|
|
580
|
+
public SetTextureColor(color: u32): void;
|
|
581
|
+
|
|
582
|
+
public GetTextureColor(): u32;
|
|
583
|
+
|
|
584
|
+
public SetHeading(number: f32): void;
|
|
585
|
+
|
|
586
|
+
public SetTextST(string: string): void;
|
|
587
|
+
|
|
588
|
+
public SetTextAlign(align: u32): void;
|
|
589
|
+
|
|
590
|
+
public GetTextAlign(): u32;
|
|
591
|
+
|
|
592
|
+
public GetText(): string;
|
|
593
|
+
|
|
594
|
+
public InitTextureEx(first: string, second: string): void;
|
|
595
|
+
|
|
596
|
+
public SetTextX(x: f32): void;
|
|
597
|
+
|
|
598
|
+
public SetTextY(x: f32): void;
|
|
599
|
+
|
|
600
|
+
public GetTextY(x: f32): void;
|
|
601
|
+
|
|
602
|
+
public GetTextX(): f32;
|
|
603
|
+
|
|
604
|
+
public SetTextureOffset(x: f32, y: f32): void;
|
|
605
|
+
|
|
606
|
+
public SetElipsis(a: i32, b: i32): void;
|
|
607
|
+
|
|
608
|
+
public GetHeading(): f32;
|
|
609
|
+
|
|
610
|
+
public SetText(text: string): void;
|
|
611
|
+
|
|
612
|
+
public GetOriginalRect(): Frect;
|
|
613
|
+
|
|
614
|
+
public SetOriginalRect(frect: Frect): void;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* @source C++ class CUITabButton : CUIButton
|
|
619
|
+
* @customConstructor CUITabButton
|
|
620
|
+
* @group xr_ui_interface
|
|
621
|
+
*/
|
|
622
|
+
export class CUITabButton extends CUIButton {}
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* @source C++ class CUITabControl : CUIWindow
|
|
626
|
+
* @customConstructor CUITabControl
|
|
627
|
+
* @group xr_ui_interface
|
|
628
|
+
*/
|
|
629
|
+
export class CUITabControl extends CUIWindow {
|
|
630
|
+
public GetActiveId(): string;
|
|
631
|
+
|
|
632
|
+
public SetActiveTab(id: string): void;
|
|
633
|
+
|
|
634
|
+
public SetActiveTab(id: u32): void;
|
|
635
|
+
|
|
636
|
+
public GetTabsCount(): u32;
|
|
637
|
+
|
|
638
|
+
public GetButtonById(id: string): CUITabButton;
|
|
639
|
+
|
|
640
|
+
public RemoveAll(): void;
|
|
641
|
+
|
|
642
|
+
public AddItem(item: CUITabButton): void;
|
|
643
|
+
|
|
644
|
+
public AddItem(id: string, name: string, top_left: vector2, bot_right: vector2): void;
|
|
645
|
+
|
|
646
|
+
public RemoveItem(id: string): void;
|
|
647
|
+
|
|
648
|
+
public GetButtonByIndex(index: u32): CUITabButton;
|
|
649
|
+
|
|
650
|
+
public SetNewActiveTab(index: u32): void;
|
|
651
|
+
|
|
652
|
+
public GetActiveIndex(): i32;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* @source C++ class CUITextWnd : CUIWindow
|
|
657
|
+
* @customConstructor CUITextWnd
|
|
658
|
+
* @group xr_ui_interface
|
|
659
|
+
*/
|
|
660
|
+
export class CUITextWnd extends CUIWindow {
|
|
661
|
+
public SetTextOffset(x: f32, y: f32): void;
|
|
662
|
+
|
|
663
|
+
public SetText(text: string): void;
|
|
664
|
+
|
|
665
|
+
public SetTextAlignment(align: TXR_CGameFont_alignment): void;
|
|
666
|
+
|
|
667
|
+
public SetTextComplexMode(complex: boolean): void;
|
|
668
|
+
|
|
669
|
+
public GetText(): string;
|
|
670
|
+
|
|
671
|
+
public GetTextColor(): u32;
|
|
672
|
+
|
|
673
|
+
public SetTextColor(color: u32): void;
|
|
674
|
+
|
|
675
|
+
public SetTextST(text: string): void;
|
|
676
|
+
|
|
677
|
+
public AdjustHeightToText(): void;
|
|
678
|
+
|
|
679
|
+
public AdjustWidthToText(): void;
|
|
680
|
+
|
|
681
|
+
public SetEllipsis(value: boolean): void;
|
|
682
|
+
|
|
683
|
+
public SetVTextAlignment(alignment: TXR_CGameFont_alignment): void;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* @source C++ class CUITrackBar : CUIWindow
|
|
688
|
+
* @customConstructor CUITrackBar
|
|
689
|
+
* @group xr_ui_interface
|
|
690
|
+
*/
|
|
691
|
+
export class CUITrackBar extends CUIWindow {
|
|
692
|
+
public SetCheck(value: boolean): void;
|
|
693
|
+
|
|
694
|
+
public SetCurrentValue(): void;
|
|
695
|
+
|
|
696
|
+
public SetCurrentValue(value: f32): void;
|
|
697
|
+
|
|
698
|
+
public SetCurrentValue(value: i32): void;
|
|
699
|
+
|
|
700
|
+
public GetCheck(): boolean;
|
|
701
|
+
|
|
702
|
+
public GetIValue(): i32;
|
|
703
|
+
|
|
704
|
+
public GetFValue(): f32;
|
|
705
|
+
|
|
706
|
+
public SetOptIBounds(min: i32, max: i32): void;
|
|
707
|
+
|
|
708
|
+
public SetOptFBounds(min: f32, max: f32): number;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* @source C++ class CDialogHolder
|
|
713
|
+
* @customConstructor CDialogHolder
|
|
714
|
+
* @group xr_ui_interface
|
|
715
|
+
*/
|
|
716
|
+
export class CDialogHolder {
|
|
717
|
+
public RemoveDialogToRender(window: CUIWindow): void;
|
|
718
|
+
|
|
719
|
+
public AddDialogToRender(window: CUIWindow): void;
|
|
720
|
+
|
|
721
|
+
public TopInputReceiver(): CUIDialogWnd;
|
|
722
|
+
|
|
723
|
+
public SetMainInputReceiver(window: CUIDialogWnd, find_remove: boolean): boolean;
|
|
724
|
+
|
|
725
|
+
public MainInputReceiver(): CUIDialogWnd;
|
|
726
|
+
|
|
727
|
+
public start_stop_menu(window: CUIWindow, value: boolean): void;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* @source C++ class StaticDrawableWrapper
|
|
732
|
+
* @customConstructor StaticDrawableWrapper
|
|
733
|
+
* @group xr_ui_interface
|
|
734
|
+
*/
|
|
735
|
+
export class StaticDrawableWrapper {
|
|
736
|
+
public m_endTime: f32;
|
|
737
|
+
|
|
738
|
+
private constructor();
|
|
739
|
+
|
|
740
|
+
public Draw(): void;
|
|
741
|
+
|
|
742
|
+
public Update(): void;
|
|
743
|
+
|
|
744
|
+
public IsActual(): boolean;
|
|
745
|
+
|
|
746
|
+
public SetText(text: string): void;
|
|
747
|
+
|
|
748
|
+
public destroy(): void;
|
|
749
|
+
|
|
750
|
+
public wnd(): CUIStatic;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* @source C++ class CUIListWnd : CUIWindow
|
|
755
|
+
* @customConstructor CUIListWnd
|
|
756
|
+
* @group xr_ui_interface
|
|
757
|
+
*/
|
|
758
|
+
export class CUIListWnd extends CUIWindow {
|
|
759
|
+
public SetVertFlip(flip: boolean): void;
|
|
760
|
+
|
|
761
|
+
public RemoveItem(index: i32): void;
|
|
762
|
+
|
|
763
|
+
public ScrollToPos(position: i32): void;
|
|
764
|
+
|
|
765
|
+
public ShowSelectedItem(show: boolean): void;
|
|
766
|
+
|
|
767
|
+
public EnableScrollBar(enable: boolean): void;
|
|
768
|
+
|
|
769
|
+
public GetItem(index: i32): CUIListItem;
|
|
770
|
+
|
|
771
|
+
public GetVertFlip(): boolean;
|
|
772
|
+
|
|
773
|
+
public SetTextColor(color: i32): void;
|
|
774
|
+
|
|
775
|
+
public GetSelectedItem(): i32;
|
|
776
|
+
|
|
777
|
+
public ScrollToEnd(): void;
|
|
778
|
+
|
|
779
|
+
public SetFocusedItem(index: i32): void;
|
|
780
|
+
|
|
781
|
+
public ActivateList(flag: boolean): void;
|
|
782
|
+
|
|
783
|
+
public GetSize(): i32;
|
|
784
|
+
|
|
785
|
+
public IsScrollBarEnabled(): boolean;
|
|
786
|
+
|
|
787
|
+
public ScrollToBegin(): void;
|
|
788
|
+
|
|
789
|
+
public RemoveAll(): void;
|
|
790
|
+
|
|
791
|
+
public AddItem(item: CUIListItem): boolean;
|
|
792
|
+
|
|
793
|
+
public SetItemHeight(height: f32): void;
|
|
794
|
+
|
|
795
|
+
public GetItemPos(item: CUIListItem): i32;
|
|
796
|
+
|
|
797
|
+
public IsListActive(): boolean;
|
|
798
|
+
|
|
799
|
+
public GetFocusedItem(): i32;
|
|
800
|
+
|
|
801
|
+
public ResetFocusCapture(): void;
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* @source C++ class CUIListItem : CUIButton
|
|
806
|
+
* @customConstructor CUIListItem
|
|
807
|
+
* @group xr_ui_interface
|
|
808
|
+
*/
|
|
809
|
+
export class CUIListItem extends CUIButton {}
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* @source C++ class CUIListItemEx : CUIListItem
|
|
813
|
+
* @customConstructor CUIListItemEx
|
|
814
|
+
* @group xr_ui_interface
|
|
815
|
+
*/
|
|
816
|
+
export class CUIListItemEx extends CUIListItem {
|
|
817
|
+
public SetSelectionColor(color: u32): void;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* @source C++ class UIHint : CUIWindow
|
|
822
|
+
* @customConstructor UIHint
|
|
823
|
+
* @group xr_ui_interface
|
|
824
|
+
*/
|
|
825
|
+
export class UIHint extends CUIWindow {
|
|
826
|
+
public constructor();
|
|
827
|
+
|
|
828
|
+
public GetHintText(): string;
|
|
829
|
+
|
|
830
|
+
public SetHintText(hint: string): void;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* @source C++ class CUIPdaWnd : CUIDialogWnd
|
|
835
|
+
* @customConstructor CUIPdaWnd
|
|
836
|
+
* @group xr_ui_interface
|
|
837
|
+
*/
|
|
838
|
+
export class CUIPdaWnd extends CUIDialogWnd {
|
|
839
|
+
public constructor();
|
|
840
|
+
|
|
841
|
+
public SetActiveSubdialog(section: string): void;
|
|
842
|
+
|
|
843
|
+
public GetActiveSection(): string;
|
|
844
|
+
|
|
845
|
+
public GetTabControl(): CUITabControl;
|
|
846
|
+
|
|
847
|
+
public SetActiveDialog(dialog: CUIWindow | null): void;
|
|
848
|
+
|
|
849
|
+
public GetActiveDialog(): CUIWindow | null;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* @source C++ class CUIActorMenu : CUIDialogWnd
|
|
854
|
+
* @customConstructor CUIActorMenu
|
|
855
|
+
* @group xr_ui_interface
|
|
856
|
+
*/
|
|
857
|
+
export class CUIActorMenu extends CUIDialogWnd {
|
|
858
|
+
public constructor();
|
|
859
|
+
|
|
860
|
+
public get_drag_item(): game_object | null;
|
|
861
|
+
|
|
862
|
+
public highlight_section_in_slot(section: string, type: TXR_EDDListType, slot_id: u16): void;
|
|
863
|
+
|
|
864
|
+
public highlight_for_each_in_slot(
|
|
865
|
+
functor: (object: game_object) => boolean,
|
|
866
|
+
type: TXR_EDDListType,
|
|
867
|
+
slot_id: u16
|
|
868
|
+
): void;
|
|
869
|
+
|
|
870
|
+
public refresh_current_cell_item(): void;
|
|
871
|
+
|
|
872
|
+
public ToSlot(object: game_object, force_place: boolean, slot_id: u16): boolean;
|
|
873
|
+
|
|
874
|
+
public ToBelt(object: game_object, use_cursor_position: boolean): boolean;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
/**
|
|
878
|
+
* @source C++ enum EDDListType
|
|
879
|
+
* @customConstructor EDDListType
|
|
880
|
+
* @group xr_ui_interface
|
|
881
|
+
*/
|
|
882
|
+
export class EDDListType {
|
|
883
|
+
public static readonly iActorBag: 2;
|
|
884
|
+
public static readonly iActorBelt: 3;
|
|
885
|
+
public static readonly iActorSlot: 1;
|
|
886
|
+
public static readonly iActorTrade: 4;
|
|
887
|
+
public static readonly iDeadBodyBag: 7;
|
|
888
|
+
public static readonly iInvalid: 0;
|
|
889
|
+
public static readonly iPartnerTrade: 6;
|
|
890
|
+
public static readonly iPartnerTradeBag: 5;
|
|
891
|
+
public static readonly iQuickSlot: 8;
|
|
892
|
+
public static readonly iTrashSlot: 9;
|
|
893
|
+
|
|
894
|
+
private constructor();
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* @group xr_ui_interface
|
|
899
|
+
*/
|
|
900
|
+
export type TXR_EDDListType = EnumeratedStaticsValues<typeof EDDListType>;
|
|
901
|
+
}
|