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