xray16 1.0.5 → 1.0.8

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 (65) hide show
  1. package/README.md +4 -1
  2. package/package.json +4 -3
  3. package/types/index.d.ts +46 -22
  4. package/types/{xr_object → xr_ai}/xr_action.d.ts +163 -135
  5. package/types/xr_ai/xr_alife.d.ts +552 -0
  6. package/types/xr_ai/xr_enemy_evaluation.d.ts +41 -0
  7. package/types/xr_ai/xr_goap.d.ts +668 -0
  8. package/types/xr_ai/xr_graph.d.ts +47 -0
  9. package/types/xr_ai/xr_memory.d.ts +148 -0
  10. package/types/xr_lib/xr_animation.d.ts +81 -0
  11. package/types/xr_lib/xr_bitwise.d.ts +21 -0
  12. package/types/xr_lib/xr_color.d.ts +40 -0
  13. package/types/xr_lib/xr_debug.d.ts +100 -0
  14. package/types/{xr_object → xr_lib}/xr_dialog.d.ts +7 -1
  15. package/types/xr_lib/xr_flags.d.ts +148 -0
  16. package/types/xr_lib/xr_fs.d.ts +37 -229
  17. package/types/xr_lib/xr_game.d.ts +159 -0
  18. package/types/xr_lib/xr_hit.d.ts +41 -0
  19. package/types/xr_lib/xr_ini.d.ts +176 -0
  20. package/types/xr_lib/xr_level.d.ts +225 -0
  21. package/types/xr_lib/xr_luabind.d.ts +59 -0
  22. package/types/{xr_map → xr_lib}/xr_map.d.ts +19 -0
  23. package/types/xr_lib/xr_math.d.ts +65 -0
  24. package/types/{xr_online → xr_lib}/xr_multiplayer.d.ts +52 -0
  25. package/types/xr_lib/xr_properties.d.ts +166 -0
  26. package/types/xr_lib/xr_relation.d.ts +84 -0
  27. package/types/xr_lib/xr_render.d.ts +70 -0
  28. package/types/xr_lib/xr_save.d.ts +223 -0
  29. package/types/{xr_sound → xr_lib}/xr_sound.d.ts +10 -12
  30. package/types/xr_lib/xr_stats.ts +20 -0
  31. package/types/{xr_object/xr_quest.d.ts → xr_lib/xr_task.d.ts} +54 -2
  32. package/types/xr_lib/xr_time.d.ts +61 -0
  33. package/types/{xr_type → xr_lib}/xr_type.d.ts +13 -13
  34. package/types/xr_object/client/xr_client_object.d.ts +76 -0
  35. package/types/xr_object/{xr_level.d.ts → client/xr_level.d.ts} +69 -0
  36. package/types/xr_object/{xr_physic.d.ts → client/xr_physic.d.ts} +58 -0
  37. package/types/xr_object/client/xr_zone.d.ts +40 -0
  38. package/types/xr_object/script/xr_script_interface.d.ts +429 -0
  39. package/types/xr_object/{xr_client_object.d.ts → script/xr_script_object.d.ts} +449 -522
  40. package/types/xr_object/script/xr_script_trade.d.ts +26 -0
  41. package/types/xr_object/{xr_server_object.d.ts → server/xr_server_object.d.ts} +152 -73
  42. package/types/xr_ui/xr_ui_asset.d.ts +123 -0
  43. package/types/xr_ui/xr_ui_core.d.ts +33 -123
  44. package/types/xr_ui/xr_ui_event.d.ts +382 -0
  45. package/types/xr_ui/xr_ui_interface.d.ts +213 -0
  46. package/types/xr_ui/xr_ui_menu.d.ts +142 -0
  47. package/types/xr_constant.d.ts +0 -976
  48. package/types/xr_core.d.ts +0 -347
  49. package/types/xr_global.d.ts +0 -648
  50. package/types/xr_lib/xr_utils.d.ts +0 -407
  51. package/types/xr_luabind.d.ts +0 -34
  52. package/types/xr_object/xr_alife.d.ts +0 -206
  53. package/types/xr_type/xr_enums.d.ts +0 -17
  54. package/types/xr_ui/README.md +0 -277
  55. package/types/xr_ui/demo/CServerList.png +0 -0
  56. package/types/xr_ui/demo/CUI3tButton.png +0 -0
  57. package/types/xr_ui/demo/CUICheckButton.png +0 -0
  58. package/types/xr_ui/demo/CUIComboBox.png +0 -0
  59. package/types/xr_ui/demo/CUICustomEdit.png +0 -0
  60. package/types/xr_ui/demo/CUIStatic.png +0 -0
  61. package/types/xr_ui/demo/CUITrackBar.png +0 -0
  62. /package/types/xr_object/{xr_anomaly.d.ts → client/xr_anomaly.d.ts} +0 -0
  63. /package/types/xr_object/{xr_artefact.d.ts → client/xr_artefact.d.ts} +0 -0
  64. /package/types/xr_object/{xr_creature.d.ts → client/xr_creature.d.ts} +0 -0
  65. /package/types/xr_object/{xr_item.d.ts → client/xr_item.d.ts} +0 -0
@@ -0,0 +1,552 @@
1
+ declare module "xray16" {
2
+ /**
3
+ * @source C++ class alife_simulator
4
+ * @customConstructor alife_simulator
5
+ * @group xr_alife
6
+ */
7
+ export class alife_simulator {
8
+ public actor<T extends cse_alife_creature_actor>(): T;
9
+
10
+ public add_in_restriction(monster: cse_alife_monster_abstract, value: u16): void;
11
+
12
+ public add_out_restriction(monster: cse_alife_monster_abstract, value: u16): void;
13
+
14
+ public create_ammo(
15
+ section: string,
16
+ vector: vector,
17
+ level_vertex_id: u32,
18
+ game_vertex_id: u16,
19
+ pid: u16,
20
+ count: i32
21
+ ): cse_abstract;
22
+
23
+ public dont_has_info(object_id: u16, info_id: string): boolean;
24
+
25
+ public has_info(object_id: u16, info_id: string): boolean;
26
+
27
+ public iterate_objects(cb: (this: void, object: cse_alife_object) => boolean | void): void;
28
+
29
+ public level_id(): u32;
30
+
31
+ /**
32
+ * Method to get level name based on level ID.
33
+ * Easy way to get level is to get it by game vertex ID graph or iterate over all levels in graphs.
34
+ *
35
+ * @param level_id - ID of the level
36
+ * @returns level name based on level ID provided
37
+ */
38
+ public level_name<T extends string = string>(level_id: i32): T;
39
+
40
+ public release(cse_abstract: cse_alife_object | null, flag: boolean): void;
41
+
42
+ public remove_all_restrictions(value: u16, type: i32 /* enum RestrictionSpace::ERestrictorTypes */): void;
43
+
44
+ public remove_in_restriction(monster: cse_alife_monster_abstract, value: u16): void;
45
+
46
+ public remove_out_restriction(monster: cse_alife_monster_abstract, value: u16): void;
47
+
48
+ public set_interactive(value1: u16, value2: boolean): void;
49
+
50
+ public set_switch_distance(distance: f32): void;
51
+
52
+ public set_switch_offline(value1: u16, value2: boolean): void;
53
+
54
+ public set_switch_online(value1: u16, value2: boolean): void;
55
+
56
+ public spawn_id(value: u32): u16;
57
+
58
+ public story_object(value: u32): cse_alife_object;
59
+
60
+ /**
61
+ * @returns alife server-client switch distance
62
+ */
63
+ public switch_distance(): f32;
64
+
65
+ /**
66
+ * Set alife server-client switch distance.
67
+ *
68
+ * @param distance - distance to set
69
+ */
70
+ public switch_distance(distance: f32): void;
71
+
72
+ /**
73
+ * Set count of object updated in alife per one tick.
74
+ *
75
+ * @param count - count of objects to update per tick
76
+ */
77
+ public set_objects_per_update(count: u16): void;
78
+
79
+ public teleport_object(level_vertex_id: u16, game_vertex_id: u16, int: u32, vector: vector): void;
80
+
81
+ public valid_object_id(value: u16): boolean;
82
+
83
+ public kill_entity(monster1: cse_alife_monster_abstract, value?: u16, monster2?: cse_alife_monster_abstract): void;
84
+
85
+ public object<T extends cse_alife_object = cse_alife_object>(id: number, value2?: boolean): T | null;
86
+
87
+ public create<T extends cse_alife_object = cse_alife_object>(value: u32): T;
88
+ public create<T extends cse_alife_object = cse_alife_object>(
89
+ item_section: string,
90
+ position: vector,
91
+ level_vertex_id: u32,
92
+ game_vertex_id: u32,
93
+ pid?: i32
94
+ ): T;
95
+ }
96
+
97
+ /**
98
+ * @source C++ class CALifeSmartTerrainTask
99
+ * @customConstructor CALifeSmartTerrainTask
100
+ * @group xr_alife
101
+ */
102
+ export class CALifeSmartTerrainTask {
103
+ public constructor(patrol_path_name: string, patrol_point_index?: u32);
104
+ public constructor(game_vertex_id: u16, level_vertex_id: u32);
105
+
106
+ public level_vertex_id(): u16;
107
+
108
+ public game_vertex_id(): u16;
109
+
110
+ public position(): vector;
111
+ }
112
+
113
+ /**
114
+ * @source C++ class CALifeMonsterBrain
115
+ * @customConstructor CALifeMonsterBrain
116
+ * @group xr_alife
117
+ */
118
+ export class CAILifeMonsterBrain {
119
+ public constructor(object: unknown);
120
+
121
+ public select_task(forced?: boolean): void;
122
+
123
+ public process_task(): void;
124
+
125
+ public default_behaviour(): void;
126
+
127
+ public can_choose_alife_tasks(): boolean;
128
+
129
+ public can_choose_alife_tasks(value: boolean): void;
130
+
131
+ public on_state_write(packet: net_packet): void;
132
+
133
+ public on_state_read(packet: net_packet): void;
134
+
135
+ public on_register(): void;
136
+
137
+ public on_unregister(): void;
138
+
139
+ public on_location_change(): void;
140
+
141
+ public on_switch_online(): void;
142
+
143
+ public on_switch_offline(): void;
144
+
145
+ public update(forced?: boolean): void;
146
+
147
+ public update_script(): void;
148
+
149
+ public perform_attack(): boolean;
150
+
151
+ public action_type(tpALifeSchedulable: unknown, index: number, mutual_detection: boolean): unknown;
152
+
153
+ public object(): unknown;
154
+
155
+ public movement(): unknown;
156
+
157
+ public smart_terrain(): unknown;
158
+ }
159
+
160
+ /**
161
+ * @source C++ class CALifeMonsterBrain
162
+ * @customConstructor CALifeMonsterBrain
163
+ * @group xr_alife
164
+ */
165
+ export class CALifeMonsterBrain {
166
+ public movement(): CALifeMonsterMovementManager;
167
+
168
+ public update(): void;
169
+
170
+ public can_choose_alife_tasks(): boolean;
171
+
172
+ public can_choose_alife_tasks(can_choose: boolean): void;
173
+ }
174
+
175
+ /**
176
+ * @source C++ class CALifeHumanBrain : CALifeMonsterBrain
177
+ * @customConstructor CALifeHumanBrain
178
+ * @group xr_alife
179
+ */
180
+ export class CALifeHumanBrain extends CALifeMonsterBrain {}
181
+
182
+ /**
183
+ * @source C++ class CALifeMonsterDetailPathManager
184
+ * @customConstructor CALifeMonsterDetailPathManager
185
+ * @group xr_alife
186
+ */
187
+ export class CALifeMonsterDetailPathManager {
188
+ public completed(): boolean;
189
+
190
+ public target(a: number, b: number, vector: vector): void;
191
+
192
+ public target(task_id: number): void;
193
+
194
+ public target(task: CALifeSmartTerrainTask): void;
195
+
196
+ public failed(): boolean;
197
+
198
+ public speed(number: f32): f32;
199
+
200
+ public speed(): f32;
201
+
202
+ public actual(): boolean;
203
+ }
204
+
205
+ /**
206
+ * @source C++ class CALifeMonsterMovementManager
207
+ * @customConstructor CALifeMonsterMovementManager
208
+ * @group xr_alife
209
+ */
210
+ export class CALifeMonsterMovementManager {
211
+ public completed(): boolean;
212
+
213
+ public patrol(): CALifeMonsterPatrolPathManager;
214
+
215
+ public actual(): boolean;
216
+
217
+ public path_type(): number; /* EPathType */
218
+
219
+ public detail(): CALifeMonsterDetailPathManager;
220
+ }
221
+
222
+ /**
223
+ * @source C++ class CALifeMonsterPatrolPathManager
224
+ * @customConstructor CALifeMonsterPatrolPathManager
225
+ * @group xr_alife
226
+ */
227
+ export class CALifeMonsterPatrolPathManager {
228
+ public path(string: string): void;
229
+
230
+ public target_game_vertex_id(): u16;
231
+
232
+ public target_level_vertex_id(): u16;
233
+
234
+ public target_position(): vector;
235
+
236
+ public completed(): boolean;
237
+
238
+ public route_type(type: u32 /* const enum PatrolPathManager::EPatrolRouteType */): u32;
239
+
240
+ public route_type(): u32;
241
+
242
+ public use_randomness(enabled: boolean): boolean;
243
+
244
+ public use_randomness(): boolean;
245
+
246
+ public start_type(type: u32 /* const enum PatrolPathManager::EPatrolStartType */): u32;
247
+
248
+ public start_type(): u32;
249
+
250
+ public start_vertex_index(index: u32): void;
251
+
252
+ public actual(): boolean;
253
+ }
254
+ /**
255
+ * @source C++ class spawn_story_ids
256
+ * @customConstructor spawn_story_ids
257
+ * @group xr_alife
258
+ */
259
+ export class spawn_story_ids {
260
+ public static readonly INVALID_SPAWN_STORY_ID: -1;
261
+
262
+ private constructor();
263
+ }
264
+
265
+ /**
266
+ * @source C++ class story_ids
267
+ * @customConstructor story_ids
268
+ * @group xr_alife
269
+ */
270
+ export class story_ids {
271
+ public static readonly INVALID_STORY_ID: -1;
272
+ public static readonly Invalid: 65535;
273
+ public static readonly test_01: 65000;
274
+ public static readonly test_02: 65001;
275
+ public static readonly test_03: 65002;
276
+ public static readonly test_04: 65003;
277
+ public static readonly test_05: 65004;
278
+ }
279
+
280
+ /**
281
+ * @source C++ class client_spawn_manager
282
+ * @customConstructor client_spawn_manager
283
+ * @group xr_alife
284
+ */
285
+ export class client_spawn_manager {
286
+ public remove(number1: u16, number2: u16): void;
287
+
288
+ public add(number1: u16, number2: u16, cb: (this: void) => void): void;
289
+
290
+ public add(number1: u16, number2: u16, cb: (this: void) => void, object: XR_object): void;
291
+ }
292
+
293
+ /**
294
+ * @source C++ class clsid
295
+ * @customConstructor clsid
296
+ * @group xr_alife
297
+ */
298
+ export class clsid {
299
+ public static readonly actor: 90;
300
+ public static readonly art_bast_artefact: 0;
301
+ public static readonly art_black_drops: 1;
302
+ public static readonly art_cta: 3;
303
+ public static readonly art_dummy: 4;
304
+ public static readonly art_electric_ball: 5;
305
+ public static readonly art_faded_ball: 6;
306
+ public static readonly art_galantine: 7;
307
+ public static readonly art_gravi: 8;
308
+ public static readonly art_gravi_black: 2;
309
+ public static readonly art_mercury_ball: 9;
310
+ public static readonly art_needles: 10;
311
+ public static readonly art_rusty_hair: 11;
312
+ public static readonly art_thorn: 12;
313
+ public static readonly art_zuda: 13;
314
+ public static readonly artefact: 41;
315
+ public static readonly artefact_s: 102;
316
+ public static readonly bloodsucker: 14;
317
+ public static readonly bloodsucker_s: 108;
318
+ public static readonly boar: 15;
319
+ public static readonly boar_s: 109;
320
+ public static readonly burer: 16;
321
+ public static readonly burer_s: 110;
322
+ public static readonly car: 52;
323
+ public static readonly cat: 17;
324
+ public static readonly cat_s: 111;
325
+ public static readonly chimera: 29;
326
+ public static readonly chimera_s: 112;
327
+ public static readonly controller: 18;
328
+ public static readonly controller_s: 113;
329
+ public static readonly crow: 19;
330
+ public static readonly destrphys_s: 93;
331
+ public static readonly device_detector_advanced: 53;
332
+ public static readonly device_detector_elite: 54;
333
+ public static readonly device_detector_scientific: 57;
334
+ public static readonly detector_scientific_s: -1;
335
+ public static readonly device_detector_simple: 58;
336
+ public static readonly device_flare: 55;
337
+ public static readonly device_pda: 56;
338
+ public static readonly device_torch: 59;
339
+ public static readonly device_torch_s: 146;
340
+ public static readonly dog_black: 20;
341
+ public static readonly dog_red: 23;
342
+ public static readonly dog_s: 116;
343
+ public static readonly equ_exo: 60;
344
+ public static readonly equ_military: 61;
345
+ public static readonly equ_scientific: 62;
346
+ public static readonly equ_stalker: 63;
347
+ public static readonly equ_stalker_s: 65;
348
+ public static readonly equ_helmet_s: 70;
349
+ public static readonly flesh: 24;
350
+ public static readonly flesh_group: 25;
351
+ public static readonly flesh_s: 117;
352
+ public static readonly fracture: 26;
353
+ public static readonly fracture_s: 119;
354
+ public static readonly game: 70;
355
+ public static readonly game_cl_artefact_hunt: 45;
356
+ public static readonly game_cl_capture_the_artefact: 46;
357
+ public static readonly game_cl_deathmatch: 47;
358
+ public static readonly game_cl_single: 48;
359
+ public static readonly game_cl_team_deathmatch: 49;
360
+ public static readonly game_sv_artefact_hunt: 129;
361
+ public static readonly game_sv_capture_the_artefact: 130;
362
+ public static readonly game_sv_deathmatch: 131;
363
+ public static readonly game_sv_single: 132;
364
+ public static readonly game_sv_team_deathmatch: 133;
365
+ public static readonly game_ui_artefact_hunt: 147;
366
+ public static readonly game_ui_capture_the_artefact: 148;
367
+ public static readonly game_ui_deathmatch: 149;
368
+ public static readonly game_ui_single: 150;
369
+ public static readonly game_ui_team_deathmatch: 151;
370
+ public static readonly gigant_s: 118;
371
+ public static readonly graph_point: 28;
372
+ public static readonly hanging_lamp: 94;
373
+ public static readonly helicopter: 50;
374
+ public static readonly helmet: 64;
375
+ public static readonly hlamp_s: 125;
376
+ public static readonly hud_manager: 74;
377
+ public static readonly inventory_box: 95;
378
+ public static readonly inventory_box_s: 140;
379
+ public static readonly level: 69;
380
+ public static readonly level_changer: 84;
381
+ public static readonly level_changer_s: 85;
382
+ public static readonly main_menu: 86;
383
+ public static readonly mp_players_bag: 87;
384
+ public static readonly nogravity_zone: 211;
385
+ public static readonly obj_antirad: 75;
386
+ public static readonly obj_antirad_s: 135;
387
+ public static readonly obj_attachable: 76;
388
+ public static readonly obj_bandage: 77;
389
+ public static readonly obj_bandage_s: 136;
390
+ public static readonly obj_bolt: 78;
391
+ public static readonly obj_bottle: 79;
392
+ public static readonly obj_bottle_s: 137;
393
+ public static readonly obj_breakable: 91;
394
+ public static readonly obj_climable: 92;
395
+ public static readonly obj_document: 80;
396
+ public static readonly obj_explosive: 81;
397
+ public static readonly obj_explosive_s: 138;
398
+ public static readonly obj_food: 82;
399
+ public static readonly obj_food_s: 139;
400
+ public static readonly obj_medkit: 83;
401
+ public static readonly obj_medkit_s: 142;
402
+ public static readonly obj_pda_s: 144;
403
+ public static readonly obj_phskeleton: 100;
404
+ public static readonly obj_phys_destroyable: 99;
405
+ public static readonly obj_physic: 96;
406
+ public static readonly online_offline_group: 88;
407
+ public static readonly online_offline_group_s: 89;
408
+ public static readonly phantom: 30;
409
+ public static readonly poltergeist: 31;
410
+ public static readonly poltergeist_s: 120;
411
+ public static readonly projector: 98;
412
+ public static readonly pseudo_gigant: 27;
413
+ public static readonly pseudodog_s: 121;
414
+ public static readonly psy_dog: 22;
415
+ public static readonly psy_dog_phantom: 21;
416
+ public static readonly psy_dog_phantom_s: 114;
417
+ public static readonly psy_dog_s: 115;
418
+ public static readonly rat: 32;
419
+ public static readonly script_actor: 134;
420
+ public static readonly script_heli: 51;
421
+ public static readonly script_object: 103;
422
+ public static readonly script_phys: 97;
423
+ public static readonly script_restr: 127;
424
+ public static readonly script_stalker: 35;
425
+ public static readonly script_zone: 101;
426
+ public static readonly smart_cover: 104;
427
+ public static readonly smart_terrain: 105;
428
+ public static readonly smart_zone: 106;
429
+ public static readonly smartcover_s: 107;
430
+ public static readonly snork: 33;
431
+ public static readonly snork_s: 122;
432
+ public static readonly space_restrictor: 126;
433
+ public static readonly spectator: 128;
434
+ public static readonly stalker: 34;
435
+ public static readonly team_base_zone: 214;
436
+ public static readonly torrid_zone: 215;
437
+ public static readonly trader: 36;
438
+ public static readonly tushkano: 37;
439
+ public static readonly tushkano_s: 123;
440
+ public static readonly wpn_ak74: 173;
441
+ public static readonly wpn_ak74_s: 152;
442
+ public static readonly wpn_ammo: 39;
443
+ public static readonly wpn_ammo_m209: 42;
444
+ public static readonly wpn_ammo_m209_s: 141;
445
+ public static readonly wpn_ammo_og7b: 43;
446
+ public static readonly wpn_ammo_og7b_s: 143;
447
+ public static readonly wpn_ammo_s: 40;
448
+ public static readonly wpn_ammo_vog25: 44;
449
+ public static readonly wpn_ammo_vog25_s: 145;
450
+ public static readonly wpn_auto_shotgun_s: 153;
451
+ public static readonly wpn_binocular: 174;
452
+ public static readonly wpn_binocular_s: 154;
453
+ public static readonly wpn_bm16: 175;
454
+ public static readonly wpn_bm16_s: 155;
455
+ public static readonly wpn_fn2000: 176;
456
+ public static readonly wpn_fort: 177;
457
+ public static readonly wpn_grenade_f1: 66;
458
+ public static readonly wpn_grenade_f1_s: 67;
459
+ public static readonly wpn_grenade_fake: 68;
460
+ public static readonly wpn_grenade_launcher: 178;
461
+ public static readonly wpn_grenade_launcher_s: 156;
462
+ public static readonly wpn_grenade_rgd5: 71;
463
+ public static readonly wpn_grenade_rgd5_s: 72;
464
+ public static readonly wpn_grenade_rpg7: 73;
465
+ public static readonly wpn_groza: 179;
466
+ public static readonly wpn_groza_s: 157;
467
+ public static readonly wpn_hpsa: 180;
468
+ public static readonly wpn_hpsa_s: 158;
469
+ public static readonly wpn_knife: 181;
470
+ public static readonly wpn_knife_s: 159;
471
+ public static readonly wpn_lr300: 182;
472
+ public static readonly wpn_lr300_s: 160;
473
+ public static readonly wpn_pm: 183;
474
+ public static readonly wpn_pm_s: 161;
475
+ public static readonly wpn_rg6: 184;
476
+ public static readonly wpn_rg6_s: 162;
477
+ public static readonly wpn_rpg7: 185;
478
+ public static readonly wpn_rpg7_s: 163;
479
+ public static readonly wpn_scope: 186;
480
+ public static readonly wpn_scope_s: 164;
481
+ public static readonly wpn_shotgun: 187;
482
+ public static readonly wpn_shotgun_s: 165;
483
+ public static readonly wpn_silencer: 188;
484
+ public static readonly wpn_silencer_s: 166;
485
+ public static readonly wpn_stat_mgun: 189;
486
+ public static readonly wpn_svd: 190;
487
+ public static readonly wpn_svd_s: 167;
488
+ public static readonly wpn_svu: 191;
489
+ public static readonly wpn_svu_s: 168;
490
+ public static readonly wpn_usp45: 192;
491
+ public static readonly wpn_usp45_s: 169;
492
+ public static readonly wpn_val: 193;
493
+ public static readonly wpn_val_s: 170;
494
+ public static readonly wpn_vintorez: 194;
495
+ public static readonly wpn_vintorez_s: 171;
496
+ public static readonly wpn_walther: 195;
497
+ public static readonly wpn_walther_s: 172;
498
+ public static readonly wpn_wmagaz: 196;
499
+ public static readonly wpn_wmaggl: 197;
500
+ public static readonly zombie: 38;
501
+ public static readonly zombie_s: 124;
502
+ public static readonly zone: 216;
503
+ public static readonly zone_acid_fog: 204;
504
+ public static readonly zone_bfuzz: 205;
505
+ public static readonly zone_bfuzz_s: 198;
506
+ public static readonly zone_campfire: 206;
507
+ public static readonly zone_dead: 207;
508
+ public static readonly zone_galant_s: 199;
509
+ public static readonly zone_galantine: 208;
510
+ public static readonly zone_mbald_s: 200;
511
+ public static readonly zone_mincer: 210;
512
+ public static readonly zone_mincer_s: 201;
513
+ public static readonly zone_mosquito_bald: 209;
514
+ public static readonly zone_radio_s: 202;
515
+ public static readonly zone_radioactive: 212;
516
+ public static readonly zone_rusty_hair: 213;
517
+ public static readonly zone_torrid_s: 203;
518
+ }
519
+
520
+ /**
521
+ * @group xr_alife
522
+ */
523
+ type TXR_class_key = EnumeratedStaticsKeys<typeof clsid>;
524
+
525
+ /**
526
+ * @group xr_alife
527
+ */
528
+ type TXR_class_id = EnumeratedStaticsValues<typeof clsid>;
529
+
530
+ /**
531
+ * @source C++ class global
532
+ * @customConstructor object_factory
533
+ * @group xr_alife
534
+ */
535
+ export class object_factory {
536
+ protected constructor();
537
+
538
+ public register(
539
+ client_object_class: string,
540
+ server_object_class: string,
541
+ clsid: string,
542
+ script_clsid: TXR_class_key
543
+ ): void;
544
+
545
+ public register(client_object_class: string, clsid: string, script_clsid: TXR_class_key): void;
546
+ }
547
+
548
+ /**
549
+ * @group xr_alife
550
+ */
551
+ export function alife(this: void): alife_simulator;
552
+ }
@@ -0,0 +1,41 @@
1
+ declare module "xray16" {
2
+ /**
3
+ * @source C++ class cef_storage
4
+ * @customConstructor cef_storage
5
+ * @group xr_enemy_evaluation
6
+ */
7
+ export class cef_storage extends EngineBinding {
8
+ private constructor();
9
+
10
+ public evaluate(str: string, game_object: game_object): f32;
11
+ public evaluate(str: string, game_object1: game_object, game_object2: game_object): f32;
12
+ public evaluate(str: string, game_object1: game_object, game_object2: game_object, game_object3: game_object): f32;
13
+ public evaluate(
14
+ str: string,
15
+ game_object1: game_object,
16
+ game_object2: game_object,
17
+ game_object3: game_object,
18
+ game_object4: game_object
19
+ ): f32;
20
+ public evaluate(str: string, cse_alife_object: cse_alife_object): f32;
21
+ public evaluate(str: string, cse_alife_object1: cse_alife_object, cse_alife_object2: cse_alife_object): f32;
22
+ public evaluate(
23
+ str: string,
24
+ cse_alife_object1: cse_alife_object,
25
+ cse_alife_object2: cse_alife_object,
26
+ cse_alife_object3: cse_alife_object
27
+ ): f32;
28
+ public evaluate(
29
+ str: string,
30
+ cse_alife_object1: cse_alife_object,
31
+ cse_alife_object2: cse_alife_object,
32
+ cse_alife_object3: cse_alife_object,
33
+ cse_alife_object4: cse_alife_object
34
+ ): f32;
35
+ }
36
+
37
+ /**
38
+ * @group xr_enemy_evaluation
39
+ */
40
+ export function ef_storage(this: void): cef_storage;
41
+ }