xray16 1.3.2 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +112 -106
  3. package/package.json +45 -42
  4. package/plugins/built_at_info.d.ts +1 -1
  5. package/plugins/from_cast_utils.d.ts +1 -1
  6. package/plugins/global_declarations_transform.d.ts +1 -1
  7. package/plugins/inject_file_meta.d.ts +1 -1
  8. package/plugins/inject_tracy_zones.d.ts +1 -1
  9. package/plugins/inject_tracy_zones.js +4 -4
  10. package/plugins/strip_lua_logger.d.ts +1 -1
  11. package/plugins/strip_lua_logger.js +1 -1
  12. package/plugins/transform_luabind_class/plugin.d.ts +1 -1
  13. package/plugins/transform_luabind_class/transformation/class_declaration.d.ts +3 -3
  14. package/plugins/transform_luabind_class/transformation/decorators.d.ts +5 -2
  15. package/plugins/transform_luabind_class/transformation/decorators.js +3 -0
  16. package/plugins/transform_luabind_class/transformation/members/accessors.d.ts +1 -1
  17. package/plugins/transform_luabind_class/transformation/members/constructor.d.ts +2 -2
  18. package/plugins/transform_luabind_class/transformation/members/constructor.js +2 -2
  19. package/plugins/transform_luabind_class/transformation/members/fields.d.ts +5 -2
  20. package/plugins/transform_luabind_class/transformation/members/fields.js +5 -2
  21. package/plugins/transform_luabind_class/transformation/members/method.d.ts +6 -3
  22. package/plugins/transform_luabind_class/transformation/members/method.js +4 -1
  23. package/plugins/transform_luabind_class/transformation/new.d.ts +7 -3
  24. package/plugins/transform_luabind_class/transformation/new.js +5 -1
  25. package/plugins/transform_luabind_class/transformation/setup.d.ts +9 -3
  26. package/plugins/transform_luabind_class/transformation/setup.js +22 -6
  27. package/plugins/transform_luabind_class/transformation/super.d.ts +19 -3
  28. package/plugins/transform_luabind_class/transformation/super.js +17 -1
  29. package/plugins/transform_luabind_class/transformation/utils.d.ts +27 -4
  30. package/plugins/transform_luabind_class/transformation/utils.js +25 -2
  31. package/plugins/utils/ast.d.ts +1 -1
  32. package/plugins/utils/diagnostics.d.ts +9 -5
  33. package/plugins/utils/diagnostics.js +5 -1
  34. package/plugins/utils/tracy.d.ts +2 -2
  35. package/plugins/utils/tracy.js +2 -5
  36. package/types/index.d.ts +55 -55
  37. package/types/xr_ai/xr_action.d.ts +510 -510
  38. package/types/xr_ai/xr_alife.d.ts +566 -566
  39. package/types/xr_ai/xr_enemy_evaluation.d.ts +41 -41
  40. package/types/xr_ai/xr_goap.d.ts +669 -668
  41. package/types/xr_ai/xr_graph.d.ts +47 -47
  42. package/types/xr_ai/xr_memory.d.ts +148 -148
  43. package/types/xr_lib/xr_animation.d.ts +81 -81
  44. package/types/xr_lib/xr_bitwise.d.ts +32 -21
  45. package/types/xr_lib/xr_color.d.ts +45 -40
  46. package/types/xr_lib/xr_debug.d.ts +83 -77
  47. package/types/xr_lib/xr_dialog.d.ts +40 -40
  48. package/types/xr_lib/xr_flags.d.ts +529 -148
  49. package/types/xr_lib/xr_fs.d.ts +149 -148
  50. package/types/xr_lib/xr_game.d.ts +261 -158
  51. package/types/xr_lib/xr_hit.d.ts +41 -41
  52. package/types/xr_lib/xr_ini.d.ts +415 -188
  53. package/types/xr_lib/xr_level.d.ts +652 -225
  54. package/types/xr_lib/xr_luabind.d.ts +64 -59
  55. package/types/xr_lib/xr_map.d.ts +61 -61
  56. package/types/xr_lib/xr_math.d.ts +815 -233
  57. package/types/xr_lib/xr_multiplayer.d.ts +351 -351
  58. package/types/xr_lib/xr_profile.d.ts +192 -160
  59. package/types/xr_lib/xr_properties.d.ts +455 -166
  60. package/types/xr_lib/xr_relation.d.ts +84 -84
  61. package/types/xr_lib/xr_render.d.ts +71 -69
  62. package/types/xr_lib/xr_save.d.ts +727 -223
  63. package/types/xr_lib/xr_sound.d.ts +151 -151
  64. package/types/xr_lib/xr_stats.ts +20 -20
  65. package/types/xr_lib/xr_task.d.ts +111 -111
  66. package/types/xr_lib/xr_time.d.ts +166 -61
  67. package/types/xr_lib/xr_type.d.ts +75 -75
  68. package/types/xr_object/client/xr_anomaly.d.ts +50 -50
  69. package/types/xr_object/client/xr_artefact.d.ts +98 -98
  70. package/types/xr_object/client/xr_client_object.d.ts +76 -76
  71. package/types/xr_object/client/xr_creature.d.ts +164 -164
  72. package/types/xr_object/client/xr_item.d.ts +264 -264
  73. package/types/xr_object/client/xr_level.d.ts +285 -285
  74. package/types/xr_object/client/xr_physic.d.ts +214 -214
  75. package/types/xr_object/client/xr_zone.d.ts +47 -47
  76. package/types/xr_object/script/xr_script_interface.d.ts +584 -584
  77. package/types/xr_object/script/xr_script_object.d.ts +2408 -1390
  78. package/types/xr_object/script/xr_script_trade.d.ts +41 -26
  79. package/types/xr_object/server/xr_server_object.d.ts +794 -792
  80. package/types/xr_ui/xr_ui_asset.d.ts +129 -123
  81. package/types/xr_ui/xr_ui_core.d.ts +106 -97
  82. package/types/xr_ui/xr_ui_event.d.ts +383 -381
  83. package/types/xr_ui/xr_ui_interface.d.ts +901 -903
  84. package/types/xr_ui/xr_ui_menu.d.ts +142 -142
  85. package/types/xrf_plugin.d.ts +59 -51
@@ -1,264 +1,264 @@
1
- declare module "xray16" {
2
- /**
3
- * @source C++ class explosive
4
- * @customConstructor explosive
5
- * @group xr_item
6
- */
7
- export class explosive extends EngineBinding {
8
- protected constructor();
9
-
10
- public explode(): void;
11
- }
12
-
13
- /**
14
- * @source C++ class CAntirad : CGameObject
15
- * @customConstructor CAntirad
16
- * @group xr_item
17
- */
18
- export class CAntirad extends CGameObject {}
19
-
20
- /**
21
- * @source C++ class CStalkerOutfit : CGameObject
22
- * @customConstructor CStalkerOutfit
23
- * @group xr_item
24
- */
25
- export class CStalkerOutfit extends CGameObject {}
26
-
27
- /**
28
- * @source C++ class CInventoryBox : CGameObject
29
- * @customConstructor CInventoryBox
30
- * @group xr_item
31
- */
32
- export class CInventoryBox extends CGameObject {}
33
-
34
- /**
35
- * @source C++ class CBottleItem : CGameObject
36
- * @customConstructor CBottleItem
37
- * @group xr_item
38
- */
39
- export class CBottleItem extends CGameObject {}
40
-
41
- /**
42
- * @source C++ class CFoodItem : CGameObject
43
- * @customConstructor CFoodItem
44
- * @group xr_item
45
- */
46
- export class CFoodItem extends CGameObject {}
47
-
48
- /**
49
- * @source C++ class CMedkit : CGameObject
50
- * @customConstructor CMedkit
51
- * @group xr_item
52
- */
53
- export class CMedkit extends CGameObject {}
54
-
55
- /**
56
- * @source C++ class CExplosiveItem : CGameObject
57
- * @customConstructor CExplosiveItem
58
- * @group xr_item
59
- */
60
- export class CExplosiveItem extends CGameObject {}
61
-
62
- /**
63
- * @source C++ class CWeaponAK74 : CGameObject
64
- * @customConstructor CWeaponAK74
65
- * @group xr_item
66
- */
67
- export class CCWeaponAK74 extends CGameObject {}
68
-
69
- /**
70
- * @source C++ class CGrenadeLauncher : CGameObject
71
- * @customConstructor CGrenadeLauncher
72
- * @group xr_item
73
- */
74
- export class CGrenadeLauncher extends CGameObject {}
75
-
76
- /**
77
- * @source C++ class CWeaponAmmo : CGameObject
78
- * @customConstructor CWeaponAmmo
79
- * @group xr_item
80
- */
81
- export class CWeaponAmmo extends CGameObject {}
82
-
83
- /**
84
- * @source C++ class CWeapon : public CHudItemObject, public CShootingObject
85
- * @customConstructor CWeaponAmmo
86
- * @group xr_item
87
- */
88
- export class CWeapon extends CInventoryItem {}
89
-
90
- /**
91
- * @source C++ class CWeaponMagazined : public CWeapon
92
- * @customConstructor CWeaponMagazined
93
- * @group xr_item
94
- */
95
- export class CWeaponMagazined extends CWeapon {}
96
-
97
- /**
98
- * @source C++ class CWeaponAutomaticShotgun : CGameObject
99
- * @customConstructor CWeaponAutomaticShotgun
100
- * @group xr_item
101
- */
102
- export class CWeaponAutomaticShotgun extends CWeaponMagazined {}
103
-
104
- /**
105
- * @source C++ class CWeaponBM16 : CGameObject
106
- * @customConstructor CWeaponBM16
107
- * @group xr_item
108
- */
109
- export class CWeaponBM16 extends CWeaponShotgun {}
110
-
111
- /**
112
- * @source C++ class CWeaponBinoculars : CGameObject
113
- * @customConstructor CWeaponBinoculars
114
- * @group xr_item
115
- */
116
- export class CWeaponBinoculars extends CGameObject {}
117
-
118
- /**
119
- * @source C++ class CWeaponFN2000 : CGameObject
120
- * @customConstructor CWeaponFN2000
121
- * @group xr_item
122
- */
123
- export class CWeaponFN2000 extends CGameObject {}
124
-
125
- /**
126
- * @source C++ class CWeaponFORT : CGameObject
127
- * @customConstructor CWeaponFORT
128
- * @group xr_item
129
- */
130
- export class CWeaponFORT extends CGameObject {}
131
-
132
- /**
133
- * @source C++ class CWeaponGroza : CGameObject
134
- * @customConstructor CWeaponGroza
135
- * @group xr_item
136
- */
137
- export class CWeaponGroza extends CGameObject {}
138
-
139
- /**
140
- * @source C++ class CWeaponHPSA : CGameObject
141
- * @customConstructor CWeaponHPSA
142
- * @group xr_item
143
- */
144
- export class CWeaponHPSA extends CGameObject {}
145
-
146
- /**
147
- * @source C++ class CWeaponKnife : CGameObject
148
- * @customConstructor CWeaponKnife
149
- * @group xr_item
150
- */
151
- export class CWeaponKnife extends CGameObject {}
152
-
153
- /**
154
- * @source C++ class CWeaponLR300 : CGameObject
155
- * @customConstructor CWeaponLR300
156
- * @group xr_item
157
- */
158
- export class CWeaponLR300 extends CGameObject {}
159
-
160
- /**
161
- * @source C++ class CWeaponPM : CGameObject
162
- * @customConstructor CWeaponPM
163
- * @group xr_item
164
- */
165
- export class CWeaponPM extends CGameObject {}
166
-
167
- /**
168
- * @source C++ class CWeaponRG6 : CGameObject
169
- * @customConstructor CWeaponRG6
170
- * @group xr_item
171
- */
172
- export class CWeaponRG6 extends CGameObject {}
173
-
174
- /**
175
- * @source C++ class CWeaponRPG7 : CGameObject
176
- * @customConstructor CWeaponRPG7
177
- * @group xr_item
178
- */
179
- export class CWeaponRPG7 extends CGameObject {}
180
-
181
- /**
182
- * @source C++ class CWeaponSVD : CGameObject
183
- * @customConstructor CWeaponSVD
184
- * @group xr_item
185
- */
186
- export class CWeaponSVD extends CGameObject {}
187
-
188
- /**
189
- * @source C++ class CWeaponSVU : CGameObject
190
- * @customConstructor CWeaponSVU
191
- * @group xr_item
192
- */
193
- export class CWeaponSVU extends CGameObject {}
194
-
195
- /**
196
- * @source C++ class CWeaponShotgun : CGameObject
197
- * @customConstructor CWeaponShotgun
198
- * @group xr_item
199
- */
200
- export class CWeaponShotgun extends CGameObject {}
201
-
202
- /**
203
- * @source C++ class CWeaponUSP45 : CGameObject
204
- * @customConstructor CWeaponUSP45
205
- * @group xr_item
206
- */
207
- export class CWeaponUSP45 extends CGameObject {}
208
-
209
- /**
210
- * @source C++ class CWeaponVal : CGameObject
211
- * @customConstructor CWeaponVal
212
- * @group xr_item
213
- */
214
- export class CWeaponVal extends CGameObject {}
215
-
216
- /**
217
- * @source C++ class CWeaponVintorez : CGameObject
218
- * @customConstructor CWeaponVintorez
219
- * @group xr_item
220
- */
221
- export class CWeaponVintorez extends CGameObject {}
222
-
223
- /**
224
- * @source C++ class CWeaponWalther : CGameObject
225
- * @customConstructor CWeaponWalther
226
- * @group xr_item
227
- */
228
- export class CWeaponWalther extends CGameObject {}
229
-
230
- /**
231
- * @source C++ class CSilencer : CGameObject
232
- * @customConstructor CSilencer
233
- * @group xr_item
234
- */
235
- export class CSilencer extends CGameObject {}
236
-
237
- /**
238
- * @source C++ class CScope : CGameObject
239
- * @customConstructor CScope
240
- * @group xr_item
241
- */
242
- export class CScope extends CGameObject {}
243
-
244
- /**
245
- * @source C++ class CRGD5 : CGameObject
246
- * @customConstructor CRGD5
247
- * @group xr_item
248
- */
249
- export class CRGD5 extends CGameObject {}
250
-
251
- /**
252
- * @source C++ class CF1 : CGameObject
253
- * @customConstructor CF1
254
- * @group xr_item
255
- */
256
- export class CF1 extends CGameObject {}
257
-
258
- /**
259
- * @source C++ class CPda : CGameObject
260
- * @customConstructor CPda
261
- * @group xr_item
262
- */
263
- export class CPda extends CGameObject {}
264
- }
1
+ declare module "xray16" {
2
+ /**
3
+ * @source C++ class explosive
4
+ * @customConstructor explosive
5
+ * @group xr_item
6
+ */
7
+ export class explosive extends EngineBinding {
8
+ protected constructor();
9
+
10
+ public explode(): void;
11
+ }
12
+
13
+ /**
14
+ * @source C++ class CAntirad : CGameObject
15
+ * @customConstructor CAntirad
16
+ * @group xr_item
17
+ */
18
+ export class CAntirad extends CGameObject {}
19
+
20
+ /**
21
+ * @source C++ class CStalkerOutfit : CGameObject
22
+ * @customConstructor CStalkerOutfit
23
+ * @group xr_item
24
+ */
25
+ export class CStalkerOutfit extends CGameObject {}
26
+
27
+ /**
28
+ * @source C++ class CInventoryBox : CGameObject
29
+ * @customConstructor CInventoryBox
30
+ * @group xr_item
31
+ */
32
+ export class CInventoryBox extends CGameObject {}
33
+
34
+ /**
35
+ * @source C++ class CBottleItem : CGameObject
36
+ * @customConstructor CBottleItem
37
+ * @group xr_item
38
+ */
39
+ export class CBottleItem extends CGameObject {}
40
+
41
+ /**
42
+ * @source C++ class CFoodItem : CGameObject
43
+ * @customConstructor CFoodItem
44
+ * @group xr_item
45
+ */
46
+ export class CFoodItem extends CGameObject {}
47
+
48
+ /**
49
+ * @source C++ class CMedkit : CGameObject
50
+ * @customConstructor CMedkit
51
+ * @group xr_item
52
+ */
53
+ export class CMedkit extends CGameObject {}
54
+
55
+ /**
56
+ * @source C++ class CExplosiveItem : CGameObject
57
+ * @customConstructor CExplosiveItem
58
+ * @group xr_item
59
+ */
60
+ export class CExplosiveItem extends CGameObject {}
61
+
62
+ /**
63
+ * @source C++ class CWeaponAK74 : CGameObject
64
+ * @customConstructor CWeaponAK74
65
+ * @group xr_item
66
+ */
67
+ export class CCWeaponAK74 extends CGameObject {}
68
+
69
+ /**
70
+ * @source C++ class CGrenadeLauncher : CGameObject
71
+ * @customConstructor CGrenadeLauncher
72
+ * @group xr_item
73
+ */
74
+ export class CGrenadeLauncher extends CGameObject {}
75
+
76
+ /**
77
+ * @source C++ class CWeaponAmmo : CGameObject
78
+ * @customConstructor CWeaponAmmo
79
+ * @group xr_item
80
+ */
81
+ export class CWeaponAmmo extends CGameObject {}
82
+
83
+ /**
84
+ * @source C++ class CWeapon : public CHudItemObject, public CShootingObject
85
+ * @customConstructor CWeaponAmmo
86
+ * @group xr_item
87
+ */
88
+ export class CWeapon extends CInventoryItem {}
89
+
90
+ /**
91
+ * @source C++ class CWeaponMagazined : public CWeapon
92
+ * @customConstructor CWeaponMagazined
93
+ * @group xr_item
94
+ */
95
+ export class CWeaponMagazined extends CWeapon {}
96
+
97
+ /**
98
+ * @source C++ class CWeaponAutomaticShotgun : CGameObject
99
+ * @customConstructor CWeaponAutomaticShotgun
100
+ * @group xr_item
101
+ */
102
+ export class CWeaponAutomaticShotgun extends CWeaponMagazined {}
103
+
104
+ /**
105
+ * @source C++ class CWeaponBM16 : CGameObject
106
+ * @customConstructor CWeaponBM16
107
+ * @group xr_item
108
+ */
109
+ export class CWeaponBM16 extends CWeaponShotgun {}
110
+
111
+ /**
112
+ * @source C++ class CWeaponBinoculars : CGameObject
113
+ * @customConstructor CWeaponBinoculars
114
+ * @group xr_item
115
+ */
116
+ export class CWeaponBinoculars extends CGameObject {}
117
+
118
+ /**
119
+ * @source C++ class CWeaponFN2000 : CGameObject
120
+ * @customConstructor CWeaponFN2000
121
+ * @group xr_item
122
+ */
123
+ export class CWeaponFN2000 extends CGameObject {}
124
+
125
+ /**
126
+ * @source C++ class CWeaponFORT : CGameObject
127
+ * @customConstructor CWeaponFORT
128
+ * @group xr_item
129
+ */
130
+ export class CWeaponFORT extends CGameObject {}
131
+
132
+ /**
133
+ * @source C++ class CWeaponGroza : CGameObject
134
+ * @customConstructor CWeaponGroza
135
+ * @group xr_item
136
+ */
137
+ export class CWeaponGroza extends CGameObject {}
138
+
139
+ /**
140
+ * @source C++ class CWeaponHPSA : CGameObject
141
+ * @customConstructor CWeaponHPSA
142
+ * @group xr_item
143
+ */
144
+ export class CWeaponHPSA extends CGameObject {}
145
+
146
+ /**
147
+ * @source C++ class CWeaponKnife : CGameObject
148
+ * @customConstructor CWeaponKnife
149
+ * @group xr_item
150
+ */
151
+ export class CWeaponKnife extends CGameObject {}
152
+
153
+ /**
154
+ * @source C++ class CWeaponLR300 : CGameObject
155
+ * @customConstructor CWeaponLR300
156
+ * @group xr_item
157
+ */
158
+ export class CWeaponLR300 extends CGameObject {}
159
+
160
+ /**
161
+ * @source C++ class CWeaponPM : CGameObject
162
+ * @customConstructor CWeaponPM
163
+ * @group xr_item
164
+ */
165
+ export class CWeaponPM extends CGameObject {}
166
+
167
+ /**
168
+ * @source C++ class CWeaponRG6 : CGameObject
169
+ * @customConstructor CWeaponRG6
170
+ * @group xr_item
171
+ */
172
+ export class CWeaponRG6 extends CGameObject {}
173
+
174
+ /**
175
+ * @source C++ class CWeaponRPG7 : CGameObject
176
+ * @customConstructor CWeaponRPG7
177
+ * @group xr_item
178
+ */
179
+ export class CWeaponRPG7 extends CGameObject {}
180
+
181
+ /**
182
+ * @source C++ class CWeaponSVD : CGameObject
183
+ * @customConstructor CWeaponSVD
184
+ * @group xr_item
185
+ */
186
+ export class CWeaponSVD extends CGameObject {}
187
+
188
+ /**
189
+ * @source C++ class CWeaponSVU : CGameObject
190
+ * @customConstructor CWeaponSVU
191
+ * @group xr_item
192
+ */
193
+ export class CWeaponSVU extends CGameObject {}
194
+
195
+ /**
196
+ * @source C++ class CWeaponShotgun : CGameObject
197
+ * @customConstructor CWeaponShotgun
198
+ * @group xr_item
199
+ */
200
+ export class CWeaponShotgun extends CGameObject {}
201
+
202
+ /**
203
+ * @source C++ class CWeaponUSP45 : CGameObject
204
+ * @customConstructor CWeaponUSP45
205
+ * @group xr_item
206
+ */
207
+ export class CWeaponUSP45 extends CGameObject {}
208
+
209
+ /**
210
+ * @source C++ class CWeaponVal : CGameObject
211
+ * @customConstructor CWeaponVal
212
+ * @group xr_item
213
+ */
214
+ export class CWeaponVal extends CGameObject {}
215
+
216
+ /**
217
+ * @source C++ class CWeaponVintorez : CGameObject
218
+ * @customConstructor CWeaponVintorez
219
+ * @group xr_item
220
+ */
221
+ export class CWeaponVintorez extends CGameObject {}
222
+
223
+ /**
224
+ * @source C++ class CWeaponWalther : CGameObject
225
+ * @customConstructor CWeaponWalther
226
+ * @group xr_item
227
+ */
228
+ export class CWeaponWalther extends CGameObject {}
229
+
230
+ /**
231
+ * @source C++ class CSilencer : CGameObject
232
+ * @customConstructor CSilencer
233
+ * @group xr_item
234
+ */
235
+ export class CSilencer extends CGameObject {}
236
+
237
+ /**
238
+ * @source C++ class CScope : CGameObject
239
+ * @customConstructor CScope
240
+ * @group xr_item
241
+ */
242
+ export class CScope extends CGameObject {}
243
+
244
+ /**
245
+ * @source C++ class CRGD5 : CGameObject
246
+ * @customConstructor CRGD5
247
+ * @group xr_item
248
+ */
249
+ export class CRGD5 extends CGameObject {}
250
+
251
+ /**
252
+ * @source C++ class CF1 : CGameObject
253
+ * @customConstructor CF1
254
+ * @group xr_item
255
+ */
256
+ export class CF1 extends CGameObject {}
257
+
258
+ /**
259
+ * @source C++ class CPda : CGameObject
260
+ * @customConstructor CPda
261
+ * @group xr_item
262
+ */
263
+ export class CPda extends CGameObject {}
264
+ }