xray16 1.0.7 → 1.0.9

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 -233
  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 +18 -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} +425 -518
  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} +151 -72
  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 -996
  48. package/types/xr_core.d.ts +0 -347
  49. package/types/xr_global.d.ts +0 -663
  50. package/types/xr_lib/xr_utils.d.ts +0 -412
  51. package/types/xr_luabind.d.ts +0 -34
  52. package/types/xr_object/xr_alife.d.ts +0 -213
  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
package/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # [📡 XRay-16 engine typescript definitions](https://github.com/xray-forge/xray-16-types)
2
2
 
3
+ [![types](https://img.shields.io/badge/docs-types-blue.svg?style=flat)](https://xray-forge.github.io/xray-16-types/index.html)
4
+ [![book](https://img.shields.io/badge/docs-book-blue.svg?style=flat)](https://xray-forge.github.io/stalker-xrf-book)
5
+ <br/>
3
6
  [![Node.js CI](https://github.com/xray-forge/xray-16-types/actions/workflows/build_and_test.yml/badge.svg)](https://github.com/xray-forge/xray-16-types/actions/workflows/build_and_test.yml)
4
7
 
5
8
  X-Ray16 engine bindings documentation and types. <br/>
@@ -19,7 +22,7 @@ Types documentation can be checked [here](https://xray-forge.github.io/xray-16-t
19
22
 
20
23
  ## 🧱 Usage
21
24
 
22
- Types are used with [xrf template](https://github.com/xray-forge/stalker-xrf-template) and can be referenced as an example.
25
+ Types are used with [xrf template](https://github.com/xray-forge/stalker-xrf-engine) and can be referenced as an example.
23
26
 
24
27
  ## 🎮 Updating types
25
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xray16",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "author": "Neloreck",
5
5
  "repository": "https://github.com/stalker-xrts/xray-16-types",
6
6
  "private": false,
@@ -23,10 +23,11 @@
23
23
  "@typescript-eslint/eslint-plugin": "^5.54.0",
24
24
  "@typescript-eslint/parser": "^5.54.0",
25
25
  "@typescript-to-lua/language-extensions": "1.0.0",
26
- "eslint": "^8.35.0",
26
+ "eslint": "^8.49.0",
27
27
  "eslint-config-standard-with-typescript": "^34.0.0",
28
- "eslint-plugin-import": "^2.27.5",
28
+ "eslint-plugin-import": "^2.28.1",
29
29
  "eslint-plugin-jest": "^27.2.1",
30
+ "eslint-plugin-jsdoc": "^46.8.0",
30
31
  "eslint-plugin-sort-keys-fix": "^1.1.2",
31
32
  "prettier": "^3.0.1",
32
33
  "typedoc": "^0.24.8",
package/types/index.d.ts CHANGED
@@ -1,28 +1,52 @@
1
+ import "./xr_ai/xr_action";
2
+ import "./xr_ai/xr_alife";
3
+ import "./xr_ai/xr_enemy_evaluation";
4
+ import "./xr_ai/xr_goap";
5
+ import "./xr_ai/xr_graph";
6
+ import "./xr_ai/xr_memory";
7
+
8
+ import "./xr_lib/xr_animation";
9
+ import "./xr_lib/xr_bitwise";
10
+ import "./xr_lib/xr_color";
11
+ import "./xr_lib/xr_debug";
12
+ import "./xr_lib/xr_dialog";
13
+ import "./xr_lib/xr_flags";
1
14
  import "./xr_lib/xr_fs";
15
+ import "./xr_lib/xr_game";
16
+ import "./xr_lib/xr_hit";
17
+ import "./xr_lib/xr_ini";
18
+ import "./xr_lib/xr_level";
19
+ import "./xr_lib/xr_luabind";
20
+ import "./xr_lib/xr_map";
2
21
  import "./xr_lib/xr_math";
3
- import "./xr_lib/xr_utils";
4
- import "./xr_map/xr_map";
5
- import "./xr_object/xr_action";
6
- import "./xr_object/xr_alife";
7
- import "./xr_object/xr_anomaly";
8
- import "./xr_object/xr_artefact";
9
- import "./xr_object/xr_client_object";
10
- import "./xr_object/xr_creature";
11
- import "./xr_object/xr_dialog";
12
- import "./xr_object/xr_item";
13
- import "./xr_object/xr_level";
14
- import "./xr_object/xr_physic";
15
- import "./xr_object/xr_quest";
16
- import "./xr_object/xr_server_object";
17
- import "./xr_online/xr_multiplayer";
18
- import "./xr_sound/xr_sound";
19
- import "./xr_type/xr_enums";
20
- import "./xr_type/xr_type";
22
+ import "./xr_lib/xr_multiplayer";
23
+ import "./xr_lib/xr_properties";
24
+ import "./xr_lib/xr_relation";
25
+ import "./xr_lib/xr_render";
26
+ import "./xr_lib/xr_save";
27
+ import "./xr_lib/xr_sound";
28
+ import "./xr_lib/xr_stats";
29
+ import "./xr_lib/xr_task";
30
+ import "./xr_lib/xr_time";
31
+ import "./xr_lib/xr_type";
32
+
33
+ import "./xr_object/client/xr_anomaly";
34
+ import "./xr_object/client/xr_artefact";
35
+ import "./xr_object/client/xr_client_object";
36
+ import "./xr_object/client/xr_creature";
37
+ import "./xr_object/client/xr_item";
38
+ import "./xr_object/client/xr_level";
39
+ import "./xr_object/client/xr_physic";
40
+ import "./xr_object/client/xr_zone";
41
+ import "./xr_object/script/xr_script_interface";
42
+ import "./xr_object/script/xr_script_object";
43
+ import "./xr_object/script/xr_script_trade";
44
+ import "./xr_object/server/xr_server_object";
45
+
46
+ import "./xr_ui/xr_ui_asset";
21
47
  import "./xr_ui/xr_ui_core";
48
+ import "./xr_ui/xr_ui_event";
22
49
  import "./xr_ui/xr_ui_interface";
23
- import "./xr_constant";
24
- import "./xr_core";
25
- import "./xr_luabind";
26
- import "./xr_global";
50
+ import "./xr_ui/xr_ui_menu";
27
51
 
28
52
  declare module "xray16" {}
@@ -1,20 +1,27 @@
1
1
  declare module "xray16" {
2
2
  /**
3
- * @source C++ class world_state
4
- * @customConstructor world_state
3
+ * @source C++ class MonsterSpace
4
+ * @customConstructor MonsterSpace
5
5
  * @group xr_action
6
6
  */
7
- export class world_state extends EngineBinding {
8
- public constructor();
9
- public constructor(world_state: world_state);
10
-
11
- public add_property(world_property: world_property): void;
12
- public clear(): void;
13
- public includes(world_state: world_state): boolean;
14
- public property(value: u32): world_property;
15
- public remove_property(value: u32): void;
7
+ export class MonsterSpace {
8
+ public static readonly head_anim_angry: 1;
9
+ public static readonly head_anim_glad: 2;
10
+ public static readonly head_anim_kind: 3;
11
+ public static readonly head_anim_normal: 0;
12
+ public static readonly sound_script: 128;
16
13
  }
17
14
 
15
+ /**
16
+ * @group xr_action
17
+ */
18
+ export type TXR_MonsterBodyStateKey = EnumeratedStaticsKeys<typeof MonsterSpace>;
19
+
20
+ /**
21
+ * @group xr_action
22
+ */
23
+ export type TXR_MonsterBodyState = EnumeratedStaticsValues<typeof MonsterSpace>;
24
+
18
25
  /**
19
26
  * @source C++ class entity_action
20
27
  * @customConstructor entity_action
@@ -22,24 +29,38 @@ declare module "xray16" {
22
29
  */
23
30
  export class entity_action extends EngineBinding {
24
31
  public constructor();
25
- public constructor(entity: entity_action);
32
+ public constructor(action: entity_action);
26
33
 
27
34
  public set_action(move: move): void;
35
+
28
36
  public set_action(look: look): void;
37
+
29
38
  public set_action(anim: anim): void;
39
+
30
40
  public set_action(sound: sound): void;
41
+
31
42
  public set_action(particle: particle): void;
43
+
32
44
  public set_action(objec: XR_object): void;
45
+
33
46
  public set_action(cond: cond): void;
34
47
 
35
48
  public move(): boolean;
49
+
36
50
  public particle(): boolean;
51
+
37
52
  public completed(): boolean;
53
+
38
54
  public object(): boolean;
55
+
39
56
  public all(): boolean;
57
+
40
58
  public time(): boolean;
59
+
41
60
  public look(): boolean;
61
+
42
62
  public sound(): boolean;
63
+
43
64
  public anim(): boolean;
44
65
  }
45
66
 
@@ -48,6 +69,55 @@ declare module "xray16" {
48
69
  */
49
70
  export type TXR_entity_action = move | look | anim | sound | particle | XR_object | cond;
50
71
 
72
+ /**
73
+ * @source C++ class object
74
+ * @customConstructor object
75
+ * @group xr_action
76
+ */
77
+ export class XR_object extends EngineBinding {
78
+ public static readonly activate: 16;
79
+ public static readonly aim1: 4;
80
+ public static readonly aim2: 5;
81
+ public static readonly deactivate: 17;
82
+ public static readonly drop: 11;
83
+ public static readonly dummy: -1;
84
+ public static readonly fire1: 6;
85
+ public static readonly fire2: 8;
86
+ public static readonly hide: 22;
87
+ public static readonly idle: 9;
88
+ public static readonly reload: 2;
89
+ public static readonly reload1: 2;
90
+ public static readonly reload2: 3;
91
+ public static readonly show: 21;
92
+ public static readonly strap: 10;
93
+ public static readonly switch1: 0;
94
+ public static readonly switch2: 1;
95
+ public static readonly take: 23;
96
+ public static readonly turn_off: 20;
97
+ public static readonly turn_on: 19;
98
+ public static readonly use: 18;
99
+
100
+ public constructor(value: string);
101
+ public constructor(value: string, type: number /* MonsterSpace::EObjectAction */);
102
+ public constructor(game_object: game_object);
103
+
104
+ public action(space: unknown /** enum MonsterSpace::EObjectAction */): void;
105
+
106
+ public completed(): boolean;
107
+ }
108
+
109
+ /**
110
+ * @group xr_action
111
+ */
112
+ export type TXR_object_action = EnumeratedStaticsValues<typeof XR_object>;
113
+
114
+ /**
115
+ * Note: typescript workaround since global type `object` is reserved.
116
+ *
117
+ * @group xr_global_declaration
118
+ */
119
+ export const object: typeof XR_object;
120
+
51
121
  /**
52
122
  * @source C++ class move
53
123
  * @customConstructor move
@@ -127,12 +197,19 @@ declare module "xray16" {
127
197
  public constructor(moveAction: TXR_move, game_object: game_object, value: number, speedParam: unknown);
128
198
 
129
199
  public completed(): boolean;
200
+
130
201
  public path(EDetailPathType: number): void;
202
+
131
203
  public move(EMovementType: number): void;
204
+
132
205
  public position(vector: vector): void;
206
+
133
207
  public input(EInputKeys: number): void;
208
+
134
209
  public patrol(patrolPath: unknown, shared_str: string): void;
210
+
135
211
  public object(game_object: game_object): void;
212
+
136
213
  public body(EBodyState: number): void;
137
214
  }
138
215
 
@@ -159,12 +236,13 @@ declare module "xray16" {
159
236
  public static readonly next: 4;
160
237
  public static readonly dummy: -1;
161
238
 
162
- public constructor(name: string);
163
- public constructor(name: string);
164
- public constructor(name: string, startType: TXR_patrol_type);
165
- public constructor(name: string, startType: TXR_patrol_type, routeType: TXR_patrol_type);
166
- public constructor(name: string, startType: TXR_patrol_type, routeType: TXR_patrol_type, bool: boolean);
167
- public constructor(name: string, startType: TXR_patrol_type, routeType: TXR_patrol_type, bool: boolean, int: u32);
239
+ public constructor(
240
+ name?: string,
241
+ startType?: TXR_patrol_type,
242
+ routeType?: TXR_patrol_type,
243
+ bool?: boolean,
244
+ int?: u32
245
+ );
168
246
 
169
247
  public count(): u32;
170
248
  public flag(value1: u32, value2: u8): boolean;
@@ -184,6 +262,38 @@ declare module "xray16" {
184
262
  */
185
263
  export type TXR_patrol_type = EnumeratedStaticsValues<typeof patrol>;
186
264
 
265
+ /**
266
+ * @source C++ class CSightParams
267
+ * @customConstructor XR_CSightParams
268
+ * @group xr_action
269
+ */
270
+ export class CSightParams {
271
+ public static readonly eSightTypeDummy: -1;
272
+ public static readonly eSightTypeCurrentDirection: 0;
273
+ public static readonly eSightTypePathDirection: 1;
274
+ public static readonly eSightTypeDirection: 2;
275
+ public static readonly eSightTypePosition: 3;
276
+ public static readonly eSightTypeObject: 4;
277
+ public static readonly eSightTypeCover: 5;
278
+ public static readonly eSightTypeSearch: 6;
279
+ public static readonly eSightTypeLookOver: 7;
280
+ public static readonly eSightTypeCoverLookOver: 8;
281
+ public static readonly eSightTypeFireObject: 9;
282
+ public static readonly eSightTypeFirePosition: 10;
283
+ public static readonly eSightTypeAnimationDirection: 11;
284
+
285
+ public readonly m_object: game_object;
286
+ public readonly m_sight_type: TXR_SightType;
287
+ public readonly m_vector: vector;
288
+
289
+ public constructor();
290
+ }
291
+
292
+ /**
293
+ * @group xr_action
294
+ */
295
+ export type TXR_SightType = EnumeratedStaticsValues<typeof CSightParams>;
296
+
187
297
  /**
188
298
  * @source C++ class look
189
299
  * @customConstructor look
@@ -297,11 +407,17 @@ declare module "xray16" {
297
407
  public constructor(value1: string, value2: string, type: unknown /* enum MonsterSpace::EMonsterHeadAnimType */);
298
408
 
299
409
  public set_sound(value: string): void;
410
+
300
411
  public set_sound(sound_object: sound_object): void;
412
+
301
413
  public set_position(vector: vector): void;
414
+
302
415
  public set_bone(value: string): void;
416
+
303
417
  public set_angles(vector: vector): void;
418
+
304
419
  public set_sound_type(type: unknown /* ESoundTypes */): void;
420
+
305
421
  public completed(): boolean;
306
422
  }
307
423
 
@@ -340,143 +456,55 @@ declare module "xray16" {
340
456
  export type TXR_cond = EnumeratedStaticsValues<typeof cond>;
341
457
 
342
458
  /**
343
- * @source C++ class action_base
344
- * @customConstructor action_base
459
+ * @source C++ class act
460
+ * @customConstructor act
345
461
  * @group xr_action
346
462
  */
347
- export class action_base extends EngineBinding {
348
- public readonly object: game_object;
349
- public readonly storage: property_storage;
463
+ export class act {
464
+ public static readonly attack: 2;
465
+ public static readonly eat: 1;
466
+ public static readonly panic: 3;
467
+ public static readonly rest: 0;
350
468
 
351
469
  public constructor();
352
- public constructor(object: game_object | null);
353
- public constructor(object: game_object | null, value: string);
354
-
355
- public finalize(): void;
356
- public add_precondition(world_property: world_property): void;
357
- public execute(): void;
358
- public remove_precondition(id: u32): void;
359
- public setup(object: game_object, property_storage: property_storage): void;
360
- public set_weight(weight: u16): void;
361
- public add_effect(world_property: world_property): void;
362
-
363
- /**
364
- * With mixed / debug build allows investigation of evaluators and actions matches.
365
- * Helps to debug custom actions and actions pre-conditions with state printing in log files.
366
- *
367
- * Note: Available only in mixed / debug engine builds, not for direct usage from lua.
368
- */
369
- public show(value?: string): void;
370
- public initialize(): void;
371
- public remove_effect(id: u32): void;
470
+ public constructor(EScriptMonsterGlobalAction: number);
471
+ public constructor(EScriptMonsterGlobalAction: number, game_object: game_object);
372
472
  }
373
473
 
374
474
  /**
375
- * @source C++ class action_planner
376
- * @customConstructor action_planner
475
+ * @source C++ class particle_params
476
+ * @customConstructor particle_params
377
477
  * @group xr_action
378
478
  */
379
- export class action_planner extends EngineBinding {
380
- public readonly object: game_object;
381
- public readonly storage: property_storage;
382
-
479
+ export class particle_params {
383
480
  public constructor();
384
-
385
- /**
386
- * @returns whether object action planner is already initialized
387
- */
388
- public initialized(): boolean;
389
- public remove_action(value: u32): void;
390
- public action(value: u32): action_base;
391
- public add_action(value: u64, action_base: action_base): void;
392
- public update(): void;
393
- public clear(): void;
394
- public evaluator(value: u32): property_evaluator;
395
- public setup(game_object: game_object): void;
396
- public set_goal_world_state(world_state: world_state): void;
397
- public current_action(): action_base;
398
- public add_evaluator(id: u32, property_evaluator: property_evaluator): void;
399
- public remove_evaluator(value: u32): void;
400
- public current_action_id(): u32;
401
- public actual(): boolean;
402
-
403
- public show(char: string): void;
404
- }
405
-
406
- /**
407
- * @source C++ class planner_action : action_planner,action_base
408
- * @customConstructor planner_action
409
- * @group xr_action
410
- */
411
- export class planner_action extends action_planner {
412
- public constructor(game_object?: game_object, value?: string);
413
-
414
- public add_effect(world_property: world_property): unknown;
415
- public add_precondition(world_property: world_property): void;
416
- public execute(): unknown;
417
- public finalize(): void;
418
- public initialize(): void;
419
- public remove_effect(id: number): void;
420
- public remove_precondition(id: number): unknown;
421
- public set_weight(weight: number): unknown;
422
- public weight(world_state1: world_state, world_state2: world_state): u16;
481
+ public constructor(first?: vector, second?: vector, third?: vector);
423
482
  }
424
483
 
425
484
  /**
426
- * Storage of object evaluators cached state for handling of in-game logic.
427
- *
428
- * @source C++ class property_storage
429
- * @customConstructor property_storage
485
+ * @source C++ class particle
486
+ * @customConstructor particle
430
487
  * @group xr_action
431
488
  */
432
- export class property_storage extends EngineBinding {
433
- /**
434
- * Get property evaluator value by ID.
435
- *
436
- * @param value - evaluator property ID
437
- * @returns evaluation value
438
- * @throws if property is not declared in storage
439
- */
440
- public property(value: u32): boolean;
441
-
442
- public set_property(value1: u32, value2: boolean): void;
443
- }
489
+ export class particle extends EngineBinding {
490
+ public constructor(particle_to_run: string, particle_params?: particle_params, auto_remove?: boolean);
491
+ public constructor(
492
+ particle_to_run: string,
493
+ bone_name: string,
494
+ particle_params: particle_params,
495
+ auto_remove: boolean
496
+ );
444
497
 
445
- /**
446
- * @source C++ class property_evaluator
447
- * @customConstructor property_evaluator
448
- * @group xr_action
449
- */
450
- export class property_evaluator extends EngineBinding {
451
- public readonly object: game_object;
452
- public readonly storage: property_storage;
498
+ public completed(): boolean;
453
499
 
454
- public constructor();
455
- public constructor(game_object: game_object | null);
456
- public constructor(game_object: game_object | null, name: string);
500
+ public set_angles(vector: vector): void;
457
501
 
458
- public evaluate(): boolean;
459
- public setup(game_object: game_object, property_storage: property_storage): void;
460
- }
502
+ public set_bone(bone_id: string): void;
461
503
 
462
- /**
463
- * @source C++ class property_evaluator_const : property_evaluator
464
- * @customConstructor property_evaluator_const
465
- * @group xr_action
466
- */
467
- export class property_evaluator_const extends property_evaluator {
468
- public constructor(value: boolean);
469
- }
504
+ public set_particle(value1: string, value2: boolean): void;
470
505
 
471
- /**
472
- * @source C++ class world_property
473
- * @customConstructor world_property
474
- * @group xr_action
475
- */
476
- export class world_property extends EngineBinding {
477
- public constructor(id: u32, enabled: boolean);
506
+ public set_position(vector: vector): void;
478
507
 
479
- public value(): boolean;
480
- public condition(): u32;
508
+ public set_velocity(vector: vector): void;
481
509
  }
482
510
  }