xray16 1.5.4 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/README.md +6 -0
  2. package/package.json +12 -6
  3. package/plugins/optimize_return_ternary.d.ts +6 -0
  4. package/plugins/optimize_return_ternary.js +65 -0
  5. package/xray16.d.ts +30847 -0
  6. package/types/index.d.ts +0 -55
  7. package/types/xr_ai/xr_action.d.ts +0 -1802
  8. package/types/xr_ai/xr_alife.d.ts +0 -1870
  9. package/types/xr_ai/xr_enemy_evaluation.d.ts +0 -134
  10. package/types/xr_ai/xr_goap.d.ts +0 -1116
  11. package/types/xr_ai/xr_graph.d.ts +0 -135
  12. package/types/xr_ai/xr_memory.d.ts +0 -382
  13. package/types/xr_lib/xr_animation.d.ts +0 -252
  14. package/types/xr_lib/xr_bitwise.d.ts +0 -44
  15. package/types/xr_lib/xr_color.d.ts +0 -142
  16. package/types/xr_lib/xr_debug.d.ts +0 -181
  17. package/types/xr_lib/xr_dialog.d.ts +0 -132
  18. package/types/xr_lib/xr_flags.d.ts +0 -592
  19. package/types/xr_lib/xr_fs.d.ts +0 -615
  20. package/types/xr_lib/xr_game.d.ts +0 -362
  21. package/types/xr_lib/xr_hit.d.ts +0 -125
  22. package/types/xr_lib/xr_ini.d.ts +0 -473
  23. package/types/xr_lib/xr_level.d.ts +0 -795
  24. package/types/xr_lib/xr_luabind.d.ts +0 -90
  25. package/types/xr_lib/xr_map.d.ts +0 -192
  26. package/types/xr_lib/xr_math.d.ts +0 -871
  27. package/types/xr_lib/xr_multiplayer.d.ts +0 -1079
  28. package/types/xr_lib/xr_profile.d.ts +0 -272
  29. package/types/xr_lib/xr_properties.d.ts +0 -610
  30. package/types/xr_lib/xr_relation.d.ts +0 -231
  31. package/types/xr_lib/xr_render.d.ts +0 -167
  32. package/types/xr_lib/xr_save.d.ts +0 -833
  33. package/types/xr_lib/xr_sound.d.ts +0 -515
  34. package/types/xr_lib/xr_stats.ts +0 -49
  35. package/types/xr_lib/xr_task.d.ts +0 -388
  36. package/types/xr_lib/xr_time.d.ts +0 -177
  37. package/types/xr_lib/xr_type.d.ts +0 -75
  38. package/types/xr_object/client/xr_anomaly.d.ts +0 -70
  39. package/types/xr_object/client/xr_artefact.d.ts +0 -153
  40. package/types/xr_object/client/xr_client_object.d.ts +0 -207
  41. package/types/xr_object/client/xr_creature.d.ts +0 -243
  42. package/types/xr_object/client/xr_item.d.ts +0 -370
  43. package/types/xr_object/client/xr_level.d.ts +0 -753
  44. package/types/xr_object/client/xr_physic.d.ts +0 -644
  45. package/types/xr_object/client/xr_zone.d.ts +0 -85
  46. package/types/xr_object/script/xr_script_interface.d.ts +0 -819
  47. package/types/xr_object/script/xr_script_object.d.ts +0 -5719
  48. package/types/xr_object/script/xr_script_trade.d.ts +0 -51
  49. package/types/xr_object/server/xr_server_object.d.ts +0 -1486
  50. package/types/xr_ui/xr_ui_asset.d.ts +0 -364
  51. package/types/xr_ui/xr_ui_core.d.ts +0 -424
  52. package/types/xr_ui/xr_ui_event.d.ts +0 -1449
  53. package/types/xr_ui/xr_ui_interface.d.ts +0 -2447
  54. package/types/xr_ui/xr_ui_menu.d.ts +0 -385
  55. package/types/xrf_plugin.d.ts +0 -109
@@ -1,1486 +0,0 @@
1
- declare module "xray16" {
2
- /**
3
- * @source C++ class cse_motion
4
- * @group xr_object_server
5
- */
6
- export interface IXR_cse_motion {}
7
-
8
- /**
9
- * @source C++ class ipure_schedulable_object
10
- * @group xr_object_server
11
- */
12
- export interface IXR_ipure_schedulable_object {}
13
-
14
- /**
15
- * @source C++ class cse_alife_group_abstract
16
- * @group xr_object_server
17
- */
18
- export interface IXR_cse_alife_group_abstract {}
19
-
20
- /**
21
- * @source C++ class cse_ph_skeleton
22
- * @group xr_object_server
23
- */
24
- export interface IXR_cse_ph_skeleton {}
25
-
26
- /**
27
- * @source C++ class cse_visual
28
- * @group xr_object_server
29
- */
30
- export interface IXR_cse_visual {}
31
-
32
- /**
33
- * @source C++ class cse_shape
34
- * @group xr_object_server
35
- */
36
- export interface IXR_cse_shape {}
37
-
38
- /**
39
- * @source C++ class cse_alife_schedulable : ipure_schedulable_object
40
- * @group xr_object_server
41
- */
42
- export interface IXR_cse_alife_schedulable extends IXR_ipure_schedulable_object {}
43
-
44
- /**
45
- * @source C++ class ipure_alife_load_object
46
- * @group xr_object_server
47
- */
48
- export interface IXR_ipure_alife_load_object {}
49
-
50
- /**
51
- * @source C++ class ipure_alife_save_object
52
- * @group xr_object_server
53
- */
54
- export interface IXR_ipure_alife_save_object {}
55
-
56
- /**
57
- * @source C++ class ipure_alife_load_save_object : ipure_alife_load_object, ipure_alife_save_object
58
- * @group xr_object_server
59
- */
60
- export interface IXR_ipure_alife_load_save_object extends IXR_ipure_alife_load_object, IXR_ipure_alife_save_object {}
61
-
62
- /**
63
- * @source C++ class ipure_server_object : ipure_alife_load_save_object
64
- * @group xr_object_server
65
- */
66
- export interface IXR_ipure_server_object extends IXR_ipure_alife_load_save_object {}
67
-
68
- /**
69
- * @source C++ class cpure_server_object : ipure_server_object
70
- * @group xr_object_server
71
- */
72
- export interface IXR_cpure_server_object extends IXR_ipure_server_object {}
73
-
74
- /**
75
- * Server-side inventory item mixin.
76
- *
77
- * @source C++ class cse_alife_inventory_item
78
- * @group xr_object_server
79
- *
80
- * @remarks
81
- * Upgrade ids are stored on the server object and serialized with it.
82
- */
83
- export interface IXR_cse_alife_inventory_item {
84
- /**
85
- * Check whether the item already has an upgrade section.
86
- *
87
- * @param section - Upgrade section id.
88
- * @returns Whether the upgrade is installed.
89
- */
90
- has_upgrade(section: string): boolean;
91
-
92
- /**
93
- * Add an upgrade section to the item.
94
- *
95
- * @remarks
96
- * Adding the same upgrade twice is a fatal engine error.
97
- *
98
- * @param section - Upgrade section id.
99
- */
100
- add_upgrade(section: string): void;
101
- }
102
-
103
- /**
104
- * @source C++ class cse_alife_object_breakable : cse_alife_dynamic_object_visual
105
- * @group xr_object_server
106
- */
107
- export interface IXR_cse_alife_object_breakable extends cse_alife_dynamic_object_visual {}
108
-
109
- /**
110
- * Server object binding for `CSE_AbstractVisual`.
111
- *
112
- * @source C++ class CSE_AbstractVisual : cse_visual, cse_abstract
113
- * @customConstructor CSE_AbstractVisual
114
- * @group xr_object_server
115
- */
116
- export class CSE_AbstractVisual extends cse_abstract implements IXR_cse_visual {
117
- /**
118
- * Get the startup animation configured for the visual object.
119
- *
120
- * @returns Startup animation name.
121
- */
122
- public getStartupAnimation(): string;
123
-
124
- /**
125
- * Initialize the server object and return its base abstract entity.
126
- *
127
- * @returns Initialized abstract entity.
128
- */
129
- public init(): cse_abstract;
130
- }
131
-
132
- /**
133
- * Server object binding for `cse_alife_trader_abstract`.
134
- *
135
- * @source C++ class cse_alife_trader_abstract
136
- * @customConstructor cse_alife_trader_abstract
137
- * @group xr_object_server
138
- */
139
- export class cse_alife_trader_abstract extends cse_alife_dynamic_object_visual {
140
- /**
141
- * @returns Trader reputation value.
142
- */
143
- public reputation(): i32;
144
-
145
- /**
146
- * @returns Trader rank.
147
- */
148
- public rank(): i32;
149
-
150
- /**
151
- * Set trader rank.
152
- *
153
- * @param rank - New rank value.
154
- */
155
- public set_rank(rank: i32): void;
156
-
157
- /**
158
- * @returns Trader community name.
159
- */
160
- public community(): string;
161
-
162
- /**
163
- * @returns Character profile section name.
164
- */
165
- public profile_name(): string;
166
-
167
- /**
168
- * @returns Localized character name.
169
- */
170
- public character_name(): string;
171
-
172
- /**
173
- * Resolve and return the character icon name.
174
- *
175
- * @returns Icon name.
176
- */
177
- public character_icon(): string;
178
-
179
- /**
180
- * Set character profile section name.
181
- *
182
- * @param name - Profile section name.
183
- */
184
- public set_profile_name(name: string): void;
185
-
186
- /**
187
- * Set localized character name.
188
- *
189
- * @param name - Character name.
190
- */
191
- public set_character_name(name: string): void;
192
- }
193
-
194
- /**
195
- * Base abstract logic for any representation of objects on server side.
196
- *
197
- * @source C++ class cse_abstract : cpure_server_object
198
- * @customConstructor cse_abstract
199
- * @group xr_object_server
200
- *
201
- * @remarks
202
- * Server objects are ALife/network objects, not live client `game_object` wrappers.
203
- */
204
- export class cse_abstract extends EngineBinding implements IXR_cpure_server_object {
205
- /**
206
- * Server object id.
207
- */
208
- public readonly id: u16;
209
-
210
- /**
211
- * Parent server object id, or `65535` when there is no parent.
212
- */
213
- public readonly parent_id: u16;
214
-
215
- /**
216
- * Script data version stored with this object.
217
- */
218
- public readonly script_version: u16;
219
-
220
- /**
221
- * Server-side world position.
222
- */
223
- public position: vector;
224
-
225
- /**
226
- * Server-side orientation angles.
227
- */
228
- public angle: vector;
229
-
230
- /**
231
- * Create a server object for an object section.
232
- *
233
- * @param section - Spawn section name.
234
- */
235
- public constructor(section: string);
236
-
237
- /**
238
- * @returns Runtime object name.
239
- */
240
- public name<T extends string = string>(): T;
241
-
242
- /**
243
- * @returns Engine class id.
244
- */
245
- public clsid(): TXR_class_id;
246
-
247
- /**
248
- * @returns Spawn ini attached to this object, if any.
249
- */
250
- public spawn_ini(): ini_file | null;
251
-
252
- /**
253
- * @returns Spawn section name.
254
- */
255
- public section_name<T extends string = string>(): T;
256
-
257
- /**
258
- * Read an update packet into this object.
259
- *
260
- * @remarks
261
- * Use only with packets written for the same server object class and update format.
262
- *
263
- * @param packet - Source network packet.
264
- */
265
- public UPDATE_Read(packet: net_packet): void;
266
-
267
- /**
268
- * Read a state packet into this object.
269
- *
270
- * @remarks
271
- * Use only with packets written for the same server object class and state format.
272
- *
273
- * @param packet - Source network packet.
274
- * @param size - Serialized state size.
275
- */
276
- public STATE_Read(packet: net_packet, size: number): void;
277
-
278
- /**
279
- * Write an update packet from this object.
280
- *
281
- * @param packet - Target network packet.
282
- */
283
- public UPDATE_Write(packet: net_packet): void;
284
-
285
- /**
286
- * Write a state packet from this object.
287
- *
288
- * @param packet - Target network packet.
289
- */
290
- public STATE_Write(packet: net_packet): void;
291
-
292
- /**
293
- * Fill editor property rows for this object.
294
- *
295
- * @param pref - Property prefix.
296
- * @param items - Property collection to populate.
297
- */
298
- public FillProps(pref: string, items: LuaTable<number, unknown>): void;
299
- }
300
-
301
- /**
302
- * Base representation of any object on server side.
303
- *
304
- * @source C++ class cse_alife_object : cse_abstract
305
- * @customConstructor cse_alife_object
306
- * @group xr_object_server
307
- *
308
- * @remarks
309
- * Base ALife object registered in the simulator graph. Switching flags describe whether the simulator may move it
310
- * between offline and online state.
311
- */
312
- export class cse_alife_object extends cse_abstract {
313
- /**
314
- * Game graph vertex used by ALife simulation.
315
- */
316
- public readonly m_game_vertex_id: u16;
317
-
318
- /**
319
- * Level graph vertex used by ALife simulation.
320
- */
321
- public readonly m_level_vertex_id: u32;
322
- /**
323
- * Always numeric value.
324
- * Returns maximal u32 (4294967295) value if object has no story id.
325
- */
326
- public readonly m_story_id: u32;
327
- /**
328
- * Whether server object has client representation and is in online mode.
329
- */
330
- public readonly online: boolean;
331
-
332
- /**
333
- * Create an ALife object for a spawn section.
334
- *
335
- * @param section - Spawn section name.
336
- */
337
- public constructor(section: string);
338
-
339
- /**
340
- * @returns Whether the object uses AI location graph data.
341
- */
342
- public used_ai_locations(): boolean;
343
-
344
- /**
345
- * Enable or disable AI location graph use.
346
- *
347
- * @param value - Whether AI locations should be used.
348
- */
349
- public use_ai_locations(value: boolean): void;
350
-
351
- /**
352
- * @returns Whether this object should be saved.
353
- */
354
- public can_save(): boolean;
355
-
356
- /**
357
- * @returns Whether this object may switch online.
358
- */
359
- public can_switch_online(): boolean;
360
-
361
- /**
362
- * Allow or block switching online.
363
- *
364
- * @remarks
365
- * Sets the object's switch-online flag; it does not switch the object immediately.
366
- *
367
- * @param value - Whether online switching is allowed.
368
- */
369
- public can_switch_online(value: boolean): void;
370
-
371
- /**
372
- * Initialize the ALife object and return its abstract base.
373
- *
374
- * @returns Initialized abstract entity.
375
- */
376
- public init(): cse_abstract;
377
-
378
- /**
379
- * @returns Whether the object is interactive.
380
- */
381
- public interactive(): boolean;
382
-
383
- /**
384
- * @returns Whether the object is visible on the map.
385
- */
386
- public visible_for_map(): boolean;
387
-
388
- /**
389
- * Set whether the object is visible on the map.
390
- *
391
- * @param value - Whether the object should be shown on the map.
392
- */
393
- public visible_for_map(value: boolean): void;
394
-
395
- /**
396
- * @returns Whether this object may switch offline.
397
- */
398
- public can_switch_offline(): boolean;
399
-
400
- /**
401
- * Allow or block switching offline.
402
- *
403
- * @remarks
404
- * Sets the object's switch-offline flag; it does not switch the object immediately.
405
- *
406
- * @param value - Whether offline switching is allowed.
407
- */
408
- public can_switch_offline(value: boolean): void;
409
-
410
- /**
411
- * @returns Whether the object should move while offline.
412
- */
413
- public move_offline(): boolean;
414
-
415
- /**
416
- * Set whether the object should move while offline.
417
- *
418
- * @param value - Whether offline movement is enabled.
419
- */
420
- public move_offline(value?: boolean): void;
421
-
422
- /**
423
- * Run the server-side ALife update for this object.
424
- */
425
- public update(): void;
426
- }
427
-
428
- /**
429
- * Server object binding for `cse_alife_dynamic_object`.
430
- *
431
- * @source C++ class cse_alife_dynamic_object : cse_alife_object
432
- * @customConstructor cse_alife_dynamic_object
433
- * @group xr_object_server
434
- *
435
- * @remarks
436
- * Dynamic ALife object that can have a client representation while online.
437
- */
438
- export class cse_alife_dynamic_object extends cse_alife_object {
439
- /**
440
- * Move the object to offline ALife simulation.
441
- *
442
- * @remarks
443
- * Call only when the object is currently online and the object type supports switching offline.
444
- */
445
- public switch_offline(): void;
446
-
447
- /**
448
- * Bring the object online and create its client-side representation.
449
- *
450
- * @remarks
451
- * Call only when the object is currently offline and the object type supports switching online.
452
- */
453
- public switch_online(): void;
454
-
455
- /**
456
- * @returns Whether saved data should be kept even when regular cleanup would remove it.
457
- */
458
- public keep_saved_data_anyway(): boolean;
459
-
460
- /**
461
- * Called after the object is registered in the ALife registry.
462
- */
463
- public on_register(): void;
464
-
465
- /**
466
- * Called before the object is registered in the ALife registry.
467
- */
468
- public on_before_register(): void;
469
-
470
- /**
471
- * Called when the object has been spawned.
472
- */
473
- public on_spawn(): void;
474
-
475
- /**
476
- * Called when the object is removed from the ALife registry.
477
- */
478
- public on_unregister(): void;
479
- }
480
-
481
- /**
482
- * Server object binding for `cse_alife_space_restrictor`.
483
- *
484
- * @source C++ class cse_alife_space_restrictor : cse_alife_dynamic_object,cse_shape
485
- * @customConstructor cse_alife_space_restrictor
486
- * @group xr_object_server
487
- */
488
- export class cse_alife_space_restrictor extends cse_alife_dynamic_object implements IXR_cse_shape {}
489
-
490
- /**
491
- * Server object binding for `cse_alife_dynamic_object_visual`.
492
- *
493
- * @source C++ class cse_alife_dynamic_object_visual : cse_alife_dynamic_object,cse_visual
494
- * @customConstructor cse_alife_dynamic_object_visual
495
- * @group xr_object_server
496
- */
497
- export class cse_alife_dynamic_object_visual extends cse_alife_dynamic_object implements IXR_cse_visual {
498
- /**
499
- * Set object yaw.
500
- *
501
- * @param yaw - Yaw angle.
502
- */
503
- public set_yaw(yaw: number): void;
504
- }
505
-
506
- /**
507
- * Server object binding for `cse_custom_zone`.
508
- *
509
- * @source C++ class cse_custom_zone : cse_alife_dynamic_object,cse_shape
510
- * @customConstructor cse_custom_zone
511
- * @group xr_object_server
512
- */
513
- export class cse_custom_zone extends cse_alife_dynamic_object implements IXR_cse_shape {}
514
-
515
- /**
516
- * Base representation of any alive creature on server side.
517
- *
518
- * @source C++ class cse_alife_creature_abstract : cse_alife_dynamic_object_visual
519
- * @customConstructor cse_alife_creature_abstract
520
- * @group xr_object_server
521
- *
522
- * @remarks
523
- * Base server object for actor, stalker, and monster creatures. Creature-specific helpers require a creature ALife
524
- * object, not an arbitrary server object.
525
- */
526
- export class cse_alife_creature_abstract extends cse_alife_dynamic_object_visual {
527
- /**
528
- * Squad identifier that links squad and parent smart terrain.
529
- */
530
- public squad: u8;
531
-
532
- /**
533
- * Team (community) of the object.
534
- * Defined in game_relations.ltx -> [game_relations] -> [communities].
535
- *
536
- * Example: 8 is monster, 9 is stalker, 0 is actor, 4 is freedom.
537
- */
538
- public team: u8;
539
-
540
- /**
541
- * Game group id.
542
- */
543
- public group: u8;
544
-
545
- /**
546
- * Object squad id, maximal u16 (65535) if no squad assigned.
547
- */
548
- public group_id: u16;
549
-
550
- /**
551
- * Assigned smart terrain id, or `65535` when none is assigned.
552
- */
553
- public m_smart_terrain_id: u16;
554
-
555
- /**
556
- * @returns Current creature health.
557
- */
558
- public health(): f32;
559
-
560
- /**
561
- * @returns Whether the creature is alive.
562
- */
563
- public alive(): boolean;
564
-
565
- /**
566
- * @returns Game team id.
567
- */
568
- public g_team(): u8;
569
-
570
- /**
571
- * @returns Game group id.
572
- */
573
- public g_group(): u8;
574
-
575
- /**
576
- * @returns Game squad id.
577
- */
578
- public g_squad(): u8;
579
-
580
- /**
581
- * @returns Torso rotation state.
582
- */
583
- public o_torso(): rotation;
584
-
585
- /**
586
- * Notify the server object that this creature died.
587
- *
588
- * @remarks
589
- * Marks server-side health as dead and records death time. It is not a general damage method.
590
- *
591
- * @param killer - Server object that killed this creature.
592
- */
593
- public on_death(killer: cse_alife_object): void;
594
-
595
- /**
596
- * @returns Assigned smart terrain id, or `65535` when none is assigned.
597
- */
598
- public smart_terrain_id(): u16;
599
-
600
- /**
601
- * Kill the server-side creature.
602
- *
603
- * @remarks
604
- * Intended for creature server objects managed by ALife.
605
- */
606
- public kill(): void;
607
-
608
- /**
609
- * Set goodwill from this creature toward another object.
610
- *
611
- * @remarks
612
- * `npc_id` must resolve to an ALife object that can store personal goodwill.
613
- *
614
- * @param goodwill - New goodwill value.
615
- * @param npc_id - Target object id.
616
- */
617
- public force_set_goodwill(goodwill: number, npc_id: number): void;
618
-
619
- /**
620
- * Clear the assigned smart terrain.
621
- */
622
- public clear_smart_terrain(): void;
623
-
624
- /**
625
- * @returns Travel speed used for graph movement.
626
- */
627
- public travel_speed(): f32;
628
-
629
- /**
630
- * Set travel speed used for graph movement.
631
- *
632
- * @param value - New travel speed.
633
- */
634
- public travel_speed(value: number): void;
635
-
636
- /**
637
- * Mark the current smart terrain task as not reached.
638
- */
639
- public smart_terrain_task_deactivate(): void;
640
-
641
- /**
642
- * Works for `CSE_ALifeMonsterAbstract`, marks smart terrain as reached and switches logic to terrain task.
643
- *
644
- * @remarks
645
- * Only meaningful for monsters assigned to a smart terrain task.
646
- */
647
- public smart_terrain_task_activate(): void;
648
-
649
- /**
650
- * @returns Travel speed used inside the current level.
651
- */
652
- public current_level_travel_speed(): f32;
653
-
654
- /**
655
- * Set travel speed used inside the current level.
656
- *
657
- * @param value - New travel speed.
658
- */
659
- public current_level_travel_speed(value: number): void;
660
-
661
- /**
662
- * @throws If this creature type has no ALife monster brain.
663
- *
664
- * @returns ALife brain that drives offline monster behavior.
665
- */
666
- public brain(): CAILifeMonsterBrain;
667
-
668
- /**
669
- * @returns Whether the creature has a detector.
670
- */
671
- public has_detector(): boolean;
672
-
673
- /**
674
- * @returns Creature rank.
675
- */
676
- public rank(): i32;
677
-
678
- /**
679
- * @returns Object community like `monolith`, `stalker` or `zombied`.
680
- */
681
- public community<T extends string = string>(): T;
682
- }
683
-
684
- /**
685
- * Base representation of any human stalker on server side.
686
- *
687
- * @source C++ class cse_alife_human_abstract : cse_alife_trader_abstract,cse_alife_monster_abstract
688
- * @customConstructor XR_cse_alife_human_abstract
689
- * @group xr_object_server
690
- */
691
- export class cse_alife_human_abstract extends cse_alife_monster_abstract {
692
- /**
693
- * @returns Character profile section name.
694
- */
695
- public profile_name(): string;
696
-
697
- /**
698
- * Set human rank.
699
- *
700
- * @param rank - New rank value.
701
- */
702
- public set_rank(rank: i32): void;
703
-
704
- /**
705
- * @returns Human reputation value.
706
- */
707
- public reputation(): i32;
708
- }
709
-
710
- /**
711
- * Base representation of any item on server side.
712
- *
713
- * @source C++ class cse_alife_item : cse_alife_dynamic_object_visual,cse_alife_inventory_item
714
- * @customConstructor cse_alife_item
715
- * @group xr_object_server
716
- */
717
- export class cse_alife_item extends cse_alife_dynamic_object_visual implements IXR_cse_alife_inventory_item {
718
- /**
719
- * @returns Whether the ALife item is useful to AI.
720
- */
721
- public bfUseful(): boolean;
722
-
723
- /**
724
- * Check whether the item already has an upgrade section.
725
- *
726
- * @param section - Upgrade section id.
727
- * @returns Whether the upgrade is installed.
728
- */
729
- public has_upgrade(section: string): boolean;
730
-
731
- /**
732
- * Add an upgrade section to the item.
733
- *
734
- * @remarks
735
- * Adding the same upgrade twice is a fatal engine error.
736
- *
737
- * @param section - Upgrade section id.
738
- */
739
- public add_upgrade(section: string): void;
740
- }
741
-
742
- /**
743
- * Base representation of any weapon item on server side.
744
- *
745
- * @source C++ class cse_alife_item_weapon : cse_alife_item
746
- * @customConstructor cse_alife_item_weapon
747
- * @group xr_object_server
748
- */
749
- export class cse_alife_item_weapon extends cse_alife_item {
750
- /**
751
- * Copy addon flags from another weapon server object.
752
- *
753
- * @remarks
754
- * Copies addon state only. Ammo, condition, and installed upgrades are handled by other fields or helpers.
755
- *
756
- * @param weapon - Weapon to copy addon state from.
757
- */
758
- public clone_addons(weapon: cse_alife_item_weapon): void;
759
-
760
- /**
761
- * Set ammo currently loaded in the weapon.
762
- *
763
- * @param count - Loaded ammo count.
764
- */
765
- public set_ammo_elapsed(count: u16): void;
766
-
767
- /**
768
- * @returns Ammo currently loaded in the weapon.
769
- */
770
- public get_ammo_elapsed(): u16;
771
-
772
- /**
773
- * @returns Weapon magazine size from the weapon section.
774
- */
775
- public get_ammo_magsize(): u16;
776
- }
777
-
778
- /**
779
- * Server object binding for `cse_zone_visual`.
780
- *
781
- * @source C++ class cse_zone_visual : cse_anomalous_zone,cse_visual
782
- * @customConstructor cse_zone_visual
783
- * @group xr_object_server
784
- */
785
- export class cse_zone_visual extends cse_anomalous_zone implements IXR_cse_visual {}
786
-
787
- /**
788
- * Server object binding for `cse_spectator`.
789
- *
790
- * @source C++ class cse_spectator : cse_abstract
791
- * @customConstructor cse_spectator
792
- * @group xr_object_server
793
- */
794
- export class cse_spectator extends cse_abstract {
795
- /**
796
- * Initialize spectator server state.
797
- */
798
- public init(): void;
799
- }
800
-
801
- /**
802
- * Server object binding for `cse_temporary`.
803
- *
804
- * @source C++ class cse_temporary : cse_abstract
805
- * @customConstructor cse_temporary
806
- * @group xr_object_server
807
- */
808
- export class cse_temporary extends cse_abstract {
809
- /**
810
- * Initialize temporary projectile server state.
811
- */
812
- public init(): void;
813
- }
814
-
815
- /**
816
- * Server object binding for `cse_alife_item_weapon_magazined`.
817
- *
818
- * @source C++ class cse_alife_item_weapon_magazined : cse_alife_item_weapon
819
- * @customConstructor cse_alife_item_weapon_magazined
820
- * @group xr_object_server
821
- */
822
- export class cse_alife_item_weapon_magazined extends cse_alife_item_weapon {}
823
-
824
- /**
825
- * Base class for magazined weapons with grenade launcher.
826
- *
827
- * @source C++ class cse_alife_item_weapon_magazined_w_gl : cse_alife_item_weapon_magazined
828
- * @customConstructor cse_alife_item_weapon_magazined_w_gl
829
- * @group xr_object_server
830
- */
831
- export class cse_alife_item_weapon_magazined_w_gl extends cse_alife_item_weapon {}
832
-
833
- /**
834
- * Server object binding for `cse_alife_item_weapon_shotgun`.
835
- *
836
- * @source C++ class cse_alife_item_weapon_shotgun : cse_alife_item_weapon
837
- * @customConstructor cse_alife_item_weapon_shotgun
838
- * @group xr_object_server
839
- */
840
- export class cse_alife_item_weapon_shotgun extends cse_alife_item_weapon {}
841
-
842
- /**
843
- * Server object binding for `cse_alife_level_changer`.
844
- *
845
- * @source C++ class cse_alife_level_changer : cse_alife_space_restrictor
846
- * @customConstructor cse_alife_level_changer
847
- * @group xr_object_server
848
- */
849
- export class cse_alife_level_changer extends cse_alife_space_restrictor {
850
- /**
851
- * @returns Destination level name configured for the level changer.
852
- */
853
- public get_dest_level_name(): string;
854
- }
855
-
856
- /**
857
- * Server object binding for `cse_alife_monster_abstract`.
858
- *
859
- * @source C++ class cse_alife_monster_abstract : cse_alife_creature_abstract,cse_alife_schedulable
860
- * @customConstructor cse_alife_monster_abstract
861
- * @group xr_object_server
862
- */
863
- export class cse_alife_monster_abstract extends cse_alife_creature_abstract implements IXR_cse_alife_schedulable {}
864
-
865
- /**
866
- * Server object binding for `cse_alife_monster_base`.
867
- *
868
- * @source C++ class cse_alife_monster_base : cse_alife_monster_abstract,cse_ph_skeleton
869
- * @customConstructor cse_alife_monster_base
870
- * @group xr_object_server
871
- */
872
- export class cse_alife_monster_base extends cse_alife_monster_abstract implements IXR_cse_ph_skeleton {}
873
-
874
- /**
875
- * Server object binding for `cse_alife_monster_rat`.
876
- *
877
- * @source C++ class cse_alife_monster_rat : cse_alife_monster_abstract,cse_alife_inventory_item
878
- * @customConstructor cse_alife_monster_rat
879
- * @group xr_object_server
880
- */
881
- export class cse_alife_monster_rat extends cse_alife_monster_abstract {}
882
-
883
- /**
884
- * Server object binding for `cse_alife_monster_zombie`.
885
- *
886
- * @source C++ class cse_alife_monster_zombie : cse_alife_monster_abstract
887
- * @customConstructor cse_alife_monster_zombie
888
- * @group xr_object_server
889
- */
890
- export class cse_alife_monster_zombie extends cse_alife_monster_abstract {}
891
-
892
- /**
893
- * Server object binding for `cse_alife_mounted_weapon`.
894
- *
895
- * @source C++ class cse_alife_mounted_weapon : cse_alife_dynamic_object_visual
896
- * @customConstructor cse_alife_mounted_weapon
897
- * @group xr_object_server
898
- */
899
- export class cse_alife_mounted_weapon extends cse_alife_dynamic_object_visual {}
900
-
901
- /**
902
- * Server object binding for `cse_alife_inventory_box`.
903
- *
904
- * @source C++ class cse_alife_inventory_box : cse_alife_dynamic_object_visual
905
- * @customConstructor cse_alife_inventory_box
906
- * @group xr_object_server
907
- */
908
- export class cse_alife_inventory_box extends cse_alife_dynamic_object_visual {}
909
-
910
- /**
911
- * Server object binding for `cse_alife_item_ammo`.
912
- *
913
- * @source C++ class cse_alife_item_ammo : cse_alife_item
914
- * @customConstructor cse_alife_item_ammo
915
- * @group xr_object_server
916
- */
917
- export class cse_alife_item_ammo extends cse_alife_item {}
918
-
919
- /**
920
- * Server object binding for `cse_alife_item_artefact`.
921
- *
922
- * @source C++ class cse_alife_item_artefact : cse_alife_item
923
- * @customConstructor cse_alife_item_artefact
924
- * @group xr_object_server
925
- */
926
- export class cse_alife_item_artefact extends cse_alife_item {}
927
-
928
- /**
929
- * Server object binding for `cse_alife_item_bolt`.
930
- *
931
- * @source C++ class cse_alife_item_bolt : cse_alife_item
932
- * @customConstructor cse_alife_item_bolt
933
- * @group xr_object_server
934
- */
935
- export class cse_alife_item_bolt extends cse_alife_item {}
936
-
937
- /**
938
- * Server object binding for `cse_alife_item_custom_outfit`.
939
- *
940
- * @source C++ class cse_alife_item_custom_outfit : cse_alife_item
941
- * @customConstructor cse_alife_item_custom_outfit
942
- * @group xr_object_server
943
- */
944
- export class cse_alife_item_custom_outfit extends cse_alife_item {}
945
-
946
- /**
947
- * Server object binding for `cse_alife_item_helmet`.
948
- *
949
- * @source C++ class cse_alife_item_helmet : cse_alife_item
950
- * @customConstructor cse_alife_item_helmet
951
- * @group xr_object_server
952
- */
953
- export class cse_alife_item_helmet extends cse_alife_item {}
954
-
955
- /**
956
- * Server object binding for `cse_alife_item_document`.
957
- *
958
- * @source C++ class cse_alife_item_document : cse_alife_item
959
- * @customConstructor cse_alife_item_document
960
- * @group xr_object_server
961
- */
962
- export class cse_alife_item_document extends cse_alife_item {}
963
-
964
- /**
965
- * Server object binding for `cse_alife_item_explosive`.
966
- *
967
- * @source C++ class cse_alife_item_explosive : cse_alife_item
968
- * @customConstructor cse_alife_item_explosive
969
- * @group xr_object_server
970
- */
971
- export class cse_alife_item_explosive extends cse_alife_item {}
972
-
973
- /**
974
- * Server object binding for `cse_alife_item_grenade`.
975
- *
976
- * @source C++ class cse_alife_item_grenade : cse_alife_item
977
- * @customConstructor cse_alife_item_grenade
978
- * @group xr_object_server
979
- */
980
- export class cse_alife_item_grenade extends cse_alife_item {}
981
-
982
- /**
983
- * Server object binding for `cse_alife_item_pda`.
984
- *
985
- * @source C++ class cse_alife_item_pda : cse_alife_item
986
- * @customConstructor cse_alife_item_pda
987
- * @group xr_object_server
988
- */
989
- export class cse_alife_item_pda extends cse_alife_item {}
990
-
991
- /**
992
- * Server object binding for `cse_alife_item_detector`.
993
- *
994
- * @source C++ class cse_alife_item_detector : cse_alife_item
995
- * @customConstructor cse_alife_item_detector
996
- * @group xr_object_server
997
- */
998
- export class cse_alife_item_detector extends cse_alife_item {}
999
-
1000
- /**
1001
- * Server object binding for `cse_alife_item_torch`.
1002
- *
1003
- * @source C++ class cse_alife_item_torch : cse_alife_item
1004
- * @customConstructor cse_alife_item_torch
1005
- * @group xr_object_server
1006
- */
1007
- export class cse_alife_item_torch extends cse_alife_item {}
1008
-
1009
- /**
1010
- * Server object binding for `cse_alife_item_weapon_auto_shotgun`.
1011
- *
1012
- * @source C++ class cse_alife_item_weapon_auto_shotgun : cse_alife_item_weapon
1013
- * @customConstructor cse_alife_item_weapon_auto_shotgun
1014
- * @group xr_object_server
1015
- */
1016
- export class cse_alife_item_weapon_auto_shotgun extends cse_alife_item_weapon {}
1017
-
1018
- /**
1019
- * Server object binding for `cse_anomalous_zone`.
1020
- *
1021
- * @source C++ class cse_anomalous_zone : cse_custom_zone
1022
- * @customConstructor cse_anomalous_zone
1023
- * @group xr_object_server
1024
- */
1025
- export class cse_anomalous_zone extends cse_custom_zone {}
1026
-
1027
- /**
1028
- * Server object binding for `cse_alife_object_climable`.
1029
- *
1030
- * @source C++ class cse_alife_object_climable : cse_shape,cse_abstract
1031
- * @customConstructor cse_alife_object_climable
1032
- * @group xr_object_server
1033
- */
1034
- export class cse_alife_object_climable extends cse_abstract implements IXR_cse_shape {
1035
- /**
1036
- * Initialize climable object server state.
1037
- */
1038
- public init(): void;
1039
- }
1040
-
1041
- /**
1042
- * Server object binding for `cse_alife_object_hanging_lamp`.
1043
- *
1044
- * @source C++ class cse_alife_object_hanging_lamp : cse_alife_dynamic_object_visual,cse_ph_skeleton
1045
- * @customConstructor cse_alife_object_hanging_lamp
1046
- * @group xr_object_server
1047
- */
1048
- export class cse_alife_object_hanging_lamp extends cse_alife_dynamic_object_visual implements IXR_cse_ph_skeleton {}
1049
-
1050
- /**
1051
- * Server object binding for `cse_alife_object_physic`.
1052
- *
1053
- * @source C++ class cse_alife_object_physic : cse_alife_dynamic_object_visual,cse_ph_skeleton
1054
- * @customConstructor cse_alife_object_physic
1055
- * @group xr_object_server
1056
- */
1057
- export class cse_alife_object_physic extends cse_alife_dynamic_object_visual implements IXR_cse_ph_skeleton {}
1058
-
1059
- /**
1060
- * Server object binding for `cse_alife_object_projector`.
1061
- *
1062
- * @source C++ class cse_alife_object_projector : cse_alife_dynamic_object_visual
1063
- * @customConstructor cse_alife_object_projector
1064
- * @group xr_object_server
1065
- */
1066
- export class cse_alife_object_projector extends cse_alife_dynamic_object_visual {}
1067
-
1068
- /**
1069
- * Squad member representation.
1070
- *
1071
- * @group xr_object_server
1072
- */
1073
- export interface IXR_squad_member<T extends cse_alife_creature_abstract> {
1074
- id: u16;
1075
- object: T;
1076
- }
1077
-
1078
- /**
1079
- * Server object binding for `cse_alife_online_offline_group`.
1080
- *
1081
- * @source C++ class cse_alife_online_offline_group : cse_alife_dynamic_object,cse_alife_schedulable
1082
- * @customConstructor cse_alife_online_offline_group
1083
- * @group xr_object_server
1084
- *
1085
- * @remarks
1086
- * Squad-like ALife group that owns live monster members. Registering or unregistering members also updates ALife
1087
- * graph and scheduling state.
1088
- */
1089
- export class cse_alife_online_offline_group<T extends cse_alife_creature_abstract = cse_alife_creature_abstract>
1090
- extends cse_alife_dynamic_object
1091
- implements IXR_cse_alife_schedulable
1092
- {
1093
- /**
1094
- * Current member object exposed during squad member iteration.
1095
- */
1096
- public readonly object: T;
1097
-
1098
- /**
1099
- * Add an object to this online/offline group.
1100
- *
1101
- * @remarks
1102
- * The id must resolve to a live monster server object that is not already in this group.
1103
- *
1104
- * @throws If the member is already registered, is not a monster, or is not alive.
1105
- *
1106
- * @param id - Server object id.
1107
- */
1108
- public register_member(id: u16): void;
1109
-
1110
- /**
1111
- * Remove all location type filters from the group.
1112
- *
1113
- * @remarks
1114
- * Clears the terrain masks on the group and on every current member.
1115
- */
1116
- public clear_location_types(): void;
1117
-
1118
- /**
1119
- * @throws The base online/offline group implementation does not provide a task.
1120
- *
1121
- * @returns Current smart terrain task, when one is assigned.
1122
- */
1123
- public get_current_task(): CALifeSmartTerrainTask;
1124
-
1125
- /**
1126
- * Get current squad command ID.
1127
- *
1128
- * @returns First member id, or `65535` when the group is empty.
1129
- */
1130
- public commander_id(): u16;
1131
-
1132
- /**
1133
- * Remove an object from this online/offline group.
1134
- *
1135
- * @throws If the id is not a member of this group.
1136
- *
1137
- * @param id - Server object id.
1138
- */
1139
- public unregister_member(id: u16): void;
1140
-
1141
- /**
1142
- * Iterate over group members.
1143
- *
1144
- * @returns Lua iterator of squad member records.
1145
- */
1146
- public squad_members(): LuaIterable<IXR_squad_member<T>>; // Struct std::less<unsigned short> 3rd param
1147
-
1148
- /**
1149
- * Force the group's graph position from a world position.
1150
- *
1151
- * @remarks
1152
- * Recomputes level and game graph vertices from `vector`.
1153
- *
1154
- * @param vector - Target world position.
1155
- */
1156
- public force_change_position(vector: vector): void;
1157
-
1158
- /**
1159
- * Add a location type accepted by the group.
1160
- *
1161
- * @remarks
1162
- * Adds the terrain mask to the group and to every current member.
1163
- *
1164
- * @param location - Location type name.
1165
- */
1166
- public add_location_type(location: string): void;
1167
-
1168
- /**
1169
- * @returns Number of NPCs in the group.
1170
- */
1171
- public npc_count(): i32;
1172
- }
1173
-
1174
- /**
1175
- * Server object binding for `cse_alife_ph_skeleton_object`.
1176
- *
1177
- * @source C++ class cse_alife_ph_skeleton_object : cse_alife_dynamic_object_visual,cse_ph_skeleton
1178
- * @customConstructor cse_alife_ph_skeleton_object
1179
- * @group xr_object_server
1180
- */
1181
- export class cse_alife_ph_skeleton_object extends cse_alife_dynamic_object_visual implements IXR_cse_ph_skeleton {}
1182
-
1183
- /**
1184
- * Server object binding for `cse_alife_psydog_phantom`.
1185
- *
1186
- * @source C++ class cse_alife_psydog_phantom : cse_alife_monster_base
1187
- * @customConstructor cse_alife_psydog_phantom
1188
- * @group xr_object_server
1189
- */
1190
- export class cse_alife_psydog_phantom extends cse_alife_monster_abstract {}
1191
-
1192
- /**
1193
- * Server object binding for `cse_alife_smart_zone`.
1194
- *
1195
- * @source C++ class cse_alife_smart_zone : cse_alife_space_restrictor,cse_alife_schedulable
1196
- * @customConstructor cse_alife_smart_zone
1197
- * @group xr_object_server
1198
- *
1199
- * @remarks
1200
- * Server-side smart terrain/zone hook. Base implementations may be placeholders; gameplay scripts usually work with
1201
- * concrete smart-terrain logic.
1202
- */
1203
- export class cse_alife_smart_zone extends cse_alife_space_restrictor implements IXR_cse_alife_schedulable {
1204
- /**
1205
- * @returns Probability used by the zone for detecting objects.
1206
- */
1207
- public detect_probability(): f32;
1208
-
1209
- /**
1210
- * Notify the smart zone that a monster touched it.
1211
- *
1212
- * @remarks
1213
- * The base implementation is empty; concrete smart zones can override behavior.
1214
- *
1215
- * @param monster - Monster server object.
1216
- */
1217
- public smart_touch(monster: cse_alife_monster_abstract): void;
1218
-
1219
- /**
1220
- * Remove a monster from the smart zone.
1221
- *
1222
- * @param monster - Monster server object.
1223
- */
1224
- public unregister_npc(monster: cse_alife_monster_abstract): void;
1225
-
1226
- /**
1227
- * Register a monster in the smart zone.
1228
- *
1229
- * @param monster - Monster server object.
1230
- */
1231
- public register_npc(monster: cse_alife_monster_abstract): void;
1232
-
1233
- /**
1234
- * Rate how suitable this smart zone is for a monster.
1235
- *
1236
- * @param monster - Monster server object.
1237
- * @returns Suitability score.
1238
- */
1239
- public suitable(monster: cse_alife_monster_abstract): f32;
1240
-
1241
- /**
1242
- * Get the smart terrain task assigned to a monster.
1243
- *
1244
- * @param monster - Monster server object.
1245
- * @returns Smart terrain task, or `null` when none is assigned.
1246
- */
1247
- public task(monster: cse_alife_monster_abstract): CALifeSmartTerrainTask | null;
1248
-
1249
- /**
1250
- * Check whether this smart zone is enabled for a monster.
1251
- *
1252
- * @param monster - Monster server object.
1253
- * @returns Whether the zone can be used.
1254
- */
1255
- public enabled(monster: cse_alife_monster_abstract): boolean;
1256
- }
1257
-
1258
- /**
1259
- * Server object binding for `cse_alife_team_base_zone`.
1260
- *
1261
- * @source C++ class cse_alife_team_base_zone : cse_alife_space_restrictor
1262
- * @customConstructor cse_alife_team_base_zone
1263
- * @group xr_object_server
1264
- */
1265
- export class cse_alife_team_base_zone extends cse_alife_space_restrictor {}
1266
-
1267
- /**
1268
- * Server object binding for `cse_torrid_zone`.
1269
- *
1270
- * @source C++ class cse_torrid_zone : cse_custom_zone,cse_motion
1271
- * @customConstructor cse_torrid_zone
1272
- * @group xr_object_server
1273
- */
1274
- export class cse_torrid_zone extends cse_custom_zone implements cse_abstract {}
1275
-
1276
- /**
1277
- * Server object binding for `cse_alife_trader`.
1278
- *
1279
- * @source C++ class cse_alife_trader : cse_alife_dynamic_object_visual,cse_alife_trader_abstract
1280
- * @customConstructor cse_alife_trader
1281
- * @group xr_object_server
1282
- */
1283
- export class cse_alife_trader extends cse_alife_dynamic_object_visual implements cse_alife_trader_abstract {
1284
- /**
1285
- * @returns Trader reputation value.
1286
- */
1287
- public reputation(): i32;
1288
-
1289
- /**
1290
- * @returns Trader rank.
1291
- */
1292
- public rank(): i32;
1293
-
1294
- /**
1295
- * Set trader rank.
1296
- *
1297
- * @param rank - New rank value.
1298
- */
1299
- public set_rank(rank: i32): void;
1300
-
1301
- /**
1302
- * @returns Trader community name.
1303
- */
1304
- public community(): string;
1305
-
1306
- /**
1307
- * @returns Character profile section name.
1308
- */
1309
- public profile_name(): string;
1310
-
1311
- /**
1312
- * @returns Localized character name.
1313
- */
1314
- public character_name(): string;
1315
-
1316
- /**
1317
- * Resolve and return the character icon name.
1318
- *
1319
- * @returns Icon name.
1320
- */
1321
- public character_icon(): string;
1322
-
1323
- /**
1324
- * Set character profile section name.
1325
- *
1326
- * @param name - Profile section name.
1327
- */
1328
- public set_profile_name(name: string): void;
1329
-
1330
- /**
1331
- * Set localized character name.
1332
- *
1333
- * @param name - Character name.
1334
- */
1335
- public set_character_name(name: string): void;
1336
- }
1337
-
1338
- /**
1339
- * Server object binding for `cse_smart_cover`.
1340
- *
1341
- * @source C++ class cse_smart_cover : cse_alife_dynamic_object
1342
- * @customConstructor cse_smart_cover
1343
- * @group xr_object_server
1344
- */
1345
- export class cse_smart_cover extends cse_alife_dynamic_object {
1346
- /**
1347
- * @returns Smart-cover description table id.
1348
- */
1349
- public description<T extends string = string>(): T | null;
1350
-
1351
- /**
1352
- * Replace the table of available loopholes.
1353
- *
1354
- * @param object - Lua table with loophole ids.
1355
- */
1356
- public set_available_loopholes(object: unknown): void;
1357
-
1358
- /**
1359
- * Enable or disable editor validation for the loopholes table.
1360
- *
1361
- * @param value - Whether loopholes should be checked.
1362
- */
1363
- public set_loopholes_table_checker(value: boolean): void;
1364
- }
1365
-
1366
- /**
1367
- * Server object binding for `cse_alife_car`.
1368
- *
1369
- * @source C++ class cse_alife_car : cse_alife_dynamic_object_visual,cse_ph_skeleton
1370
- * @customConstructor cse_alife_car
1371
- * @group xr_object_server
1372
- */
1373
- export class cse_alife_car extends cse_alife_dynamic_object_visual implements IXR_cse_ph_skeleton {}
1374
-
1375
- /**
1376
- * Server object binding for `cse_alife_creature_actor`.
1377
- *
1378
- * @source C++ class cse_alife_creature_actor : cse_alife_creature_abstract,cse_alife_trader_abstract,cse_ph_skeleton
1379
- * @customConstructor cse_alife_creature_actor
1380
- * @group xr_object_server
1381
- */
1382
- export class cse_alife_creature_actor
1383
- extends cse_alife_creature_abstract
1384
- implements IXR_cse_ph_skeleton, cse_alife_trader_abstract
1385
- {
1386
- /**
1387
- * @returns Actor reputation value.
1388
- */
1389
- public reputation(): i32;
1390
-
1391
- /**
1392
- * @returns Actor rank.
1393
- */
1394
- public rank(): i32;
1395
-
1396
- /**
1397
- * Set actor rank.
1398
- *
1399
- * @param rank - New rank value.
1400
- */
1401
- public set_rank(rank: i32): void;
1402
-
1403
- /**
1404
- * @returns Actor character profile section name.
1405
- */
1406
- public profile_name(): string;
1407
-
1408
- /**
1409
- * @returns Localized actor character name.
1410
- */
1411
- public character_name(): string;
1412
-
1413
- /**
1414
- * Resolve and return the actor character icon name.
1415
- *
1416
- * @returns Icon name.
1417
- */
1418
- public character_icon(): string;
1419
-
1420
- /**
1421
- * Set actor character profile section name.
1422
- *
1423
- * @param name - Profile section name.
1424
- */
1425
- public set_profile_name(name: string): void;
1426
-
1427
- /**
1428
- * Set localized actor character name.
1429
- *
1430
- * @param name - Character name.
1431
- */
1432
- public set_character_name(name: string): void;
1433
- }
1434
-
1435
- /**
1436
- * Server object binding for `cse_alife_creature_crow`.
1437
- *
1438
- * @source C++ class cse_alife_creature_crow : cse_alife_creature_abstract
1439
- * @customConstructor cse_alife_creature_crow
1440
- * @group xr_object_server
1441
- */
1442
- export class cse_alife_creature_crow extends cse_alife_creature_abstract {}
1443
-
1444
- /**
1445
- * Server object binding for `cse_alife_creature_phantom`.
1446
- *
1447
- * @source C++ class cse_alife_creature_phantom : cse_alife_creature_abstract
1448
- * @customConstructor cse_alife_creature_phantom
1449
- * @group xr_object_server
1450
- */
1451
- export class cse_alife_creature_phantom extends cse_alife_creature_abstract {}
1452
-
1453
- /**
1454
- * Server object binding for `cse_alife_graph_point`.
1455
- *
1456
- * @source C++ class cse_alife_graph_point : cse_abstract
1457
- * @customConstructor cse_alife_graph_point
1458
- * @group xr_object_server
1459
- */
1460
- export class cse_alife_graph_point extends cse_abstract {
1461
- /**
1462
- * Initialize graph point server state.
1463
- */
1464
- public init(): void;
1465
- }
1466
-
1467
- /**
1468
- * Server object binding for `cse_alife_helicopter`.
1469
- *
1470
- * @source C++ class cse_alife_helicopter : cse_alife_dynamic_object_visual,cse_motion,cse_ph_skeleton
1471
- * @customConstructor cse_alife_helicopter
1472
- * @group xr_object_server
1473
- */
1474
- export class cse_alife_helicopter
1475
- extends cse_alife_dynamic_object_visual
1476
- implements IXR_cse_motion, IXR_cse_ph_skeleton {}
1477
-
1478
- /**
1479
- * Server object binding for `cse_alife_human_stalker`.
1480
- *
1481
- * @source C++ class cse_alife_human_stalker : cse_alife_human_abstract,cse_ph_skeleton
1482
- * @customConstructor cse_alife_human_stalker
1483
- * @group xr_object_server
1484
- */
1485
- export class cse_alife_human_stalker extends cse_alife_human_abstract implements IXR_cse_ph_skeleton {}
1486
- }