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.
- package/package.json +12 -6
- package/xray16.d.ts +30847 -0
- package/types/index.d.ts +0 -55
- package/types/internal.d.ts +0 -6
- package/types/xr_ai/xr_action.d.ts +0 -1803
- package/types/xr_ai/xr_alife.d.ts +0 -1872
- package/types/xr_ai/xr_enemy_evaluation.d.ts +0 -134
- package/types/xr_ai/xr_goap.d.ts +0 -1118
- package/types/xr_ai/xr_graph.d.ts +0 -135
- package/types/xr_ai/xr_memory.d.ts +0 -384
- package/types/xr_lib/xr_animation.d.ts +0 -252
- package/types/xr_lib/xr_bitwise.d.ts +0 -44
- package/types/xr_lib/xr_color.d.ts +0 -142
- package/types/xr_lib/xr_debug.d.ts +0 -183
- package/types/xr_lib/xr_dialog.d.ts +0 -132
- package/types/xr_lib/xr_flags.d.ts +0 -592
- package/types/xr_lib/xr_fs.d.ts +0 -617
- package/types/xr_lib/xr_game.d.ts +0 -362
- package/types/xr_lib/xr_hit.d.ts +0 -127
- package/types/xr_lib/xr_ini.d.ts +0 -475
- package/types/xr_lib/xr_level.d.ts +0 -797
- package/types/xr_lib/xr_luabind.d.ts +0 -90
- package/types/xr_lib/xr_map.d.ts +0 -194
- package/types/xr_lib/xr_math.d.ts +0 -871
- package/types/xr_lib/xr_multiplayer.d.ts +0 -1081
- package/types/xr_lib/xr_profile.d.ts +0 -272
- package/types/xr_lib/xr_properties.d.ts +0 -612
- package/types/xr_lib/xr_relation.d.ts +0 -231
- package/types/xr_lib/xr_render.d.ts +0 -167
- package/types/xr_lib/xr_save.d.ts +0 -835
- package/types/xr_lib/xr_sound.d.ts +0 -517
- package/types/xr_lib/xr_stats.ts +0 -51
- package/types/xr_lib/xr_task.d.ts +0 -390
- package/types/xr_lib/xr_time.d.ts +0 -177
- package/types/xr_lib/xr_type.d.ts +0 -70
- package/types/xr_object/client/xr_anomaly.d.ts +0 -70
- package/types/xr_object/client/xr_artefact.d.ts +0 -153
- package/types/xr_object/client/xr_client_object.d.ts +0 -207
- package/types/xr_object/client/xr_creature.d.ts +0 -243
- package/types/xr_object/client/xr_item.d.ts +0 -370
- package/types/xr_object/client/xr_level.d.ts +0 -755
- package/types/xr_object/client/xr_physic.d.ts +0 -644
- package/types/xr_object/client/xr_zone.d.ts +0 -85
- package/types/xr_object/script/xr_script_interface.d.ts +0 -1142
- package/types/xr_object/script/xr_script_object.d.ts +0 -5702
- package/types/xr_object/script/xr_script_trade.d.ts +0 -51
- package/types/xr_object/server/xr_server_object.d.ts +0 -1488
- package/types/xr_ui/xr_ui_asset.d.ts +0 -364
- package/types/xr_ui/xr_ui_core.d.ts +0 -426
- package/types/xr_ui/xr_ui_event.d.ts +0 -1449
- package/types/xr_ui/xr_ui_interface.d.ts +0 -2449
- package/types/xr_ui/xr_ui_menu.d.ts +0 -401
- package/types/xrf_plugin.d.ts +0 -111
|
@@ -1,370 +0,0 @@
|
|
|
1
|
-
declare module "xray16" {
|
|
2
|
-
/**
|
|
3
|
-
* Explosive component shared by grenade and explosive item classes.
|
|
4
|
-
*
|
|
5
|
-
* @source C++ class explosive
|
|
6
|
-
* @customConstructor explosive
|
|
7
|
-
* @group xr_item
|
|
8
|
-
*
|
|
9
|
-
* @remarks
|
|
10
|
-
* Returned for objects that expose the native explosive component. Do not use it as a generic item wrapper.
|
|
11
|
-
*/
|
|
12
|
-
export class explosive extends EngineBinding {
|
|
13
|
-
/**
|
|
14
|
-
* Engine-created explosive component.
|
|
15
|
-
*/
|
|
16
|
-
protected constructor();
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Trigger the explosive immediately.
|
|
20
|
-
*
|
|
21
|
-
* @remarks
|
|
22
|
-
* Requires the owning object to still be alive in the engine object registry.
|
|
23
|
-
*/
|
|
24
|
-
public explode(): void;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Client object binding for `CAntirad` inventory items.
|
|
29
|
-
*
|
|
30
|
-
* @source C++ class CAntirad : CGameObject
|
|
31
|
-
* @customConstructor CAntirad
|
|
32
|
-
* @group xr_item
|
|
33
|
-
*/
|
|
34
|
-
export class CAntirad extends CGameObject {}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Client object binding for `CStalkerOutfit` inventory items.
|
|
38
|
-
*
|
|
39
|
-
* @source C++ class CStalkerOutfit : CGameObject
|
|
40
|
-
* @customConstructor CStalkerOutfit
|
|
41
|
-
* @group xr_item
|
|
42
|
-
*/
|
|
43
|
-
export class CStalkerOutfit extends CGameObject {}
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Client object binding for `CInventoryBox` inventory items.
|
|
47
|
-
*
|
|
48
|
-
* @source C++ class CInventoryBox : CGameObject
|
|
49
|
-
* @customConstructor CInventoryBox
|
|
50
|
-
* @group xr_item
|
|
51
|
-
*
|
|
52
|
-
* @remarks
|
|
53
|
-
* Inventory box helpers on `game_object` require this runtime class, not any inventory owner.
|
|
54
|
-
*/
|
|
55
|
-
export class CInventoryBox extends CGameObject {}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Client object binding for `CBottleItem` inventory items.
|
|
59
|
-
*
|
|
60
|
-
* @source C++ class CBottleItem : CGameObject
|
|
61
|
-
* @customConstructor CBottleItem
|
|
62
|
-
* @group xr_item
|
|
63
|
-
*/
|
|
64
|
-
export class CBottleItem extends CGameObject {}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Client object binding for `CFoodItem` inventory items.
|
|
68
|
-
*
|
|
69
|
-
* @source C++ class CFoodItem : CGameObject
|
|
70
|
-
* @customConstructor CFoodItem
|
|
71
|
-
* @group xr_item
|
|
72
|
-
*/
|
|
73
|
-
export class CFoodItem extends CGameObject {}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Client object binding for `CMedkit` inventory items.
|
|
77
|
-
*
|
|
78
|
-
* @source C++ class CMedkit : CGameObject
|
|
79
|
-
* @customConstructor CMedkit
|
|
80
|
-
* @group xr_item
|
|
81
|
-
*/
|
|
82
|
-
export class CMedkit extends CGameObject {}
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Client object binding for `CExplosiveItem` inventory items.
|
|
86
|
-
*
|
|
87
|
-
* @source C++ class CExplosiveItem : CGameObject
|
|
88
|
-
* @customConstructor CExplosiveItem
|
|
89
|
-
* @group xr_item
|
|
90
|
-
*/
|
|
91
|
-
export class CExplosiveItem extends CGameObject {}
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Client object binding for `CCWeaponAK74` inventory items.
|
|
95
|
-
*
|
|
96
|
-
* @source C++ class CWeaponAK74 : CGameObject
|
|
97
|
-
* @customConstructor CWeaponAK74
|
|
98
|
-
* @group xr_item
|
|
99
|
-
*/
|
|
100
|
-
export class CCWeaponAK74 extends CGameObject {}
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Client object binding for `CGrenadeLauncher` inventory items.
|
|
104
|
-
*
|
|
105
|
-
* @source C++ class CGrenadeLauncher : CGameObject
|
|
106
|
-
* @customConstructor CGrenadeLauncher
|
|
107
|
-
* @group xr_item
|
|
108
|
-
*/
|
|
109
|
-
export class CGrenadeLauncher extends CGameObject {}
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* Client object binding for `CWeaponAmmo` inventory items.
|
|
113
|
-
*
|
|
114
|
-
* @source C++ class CWeaponAmmo : CGameObject
|
|
115
|
-
* @customConstructor CWeaponAmmo
|
|
116
|
-
* @group xr_item
|
|
117
|
-
*
|
|
118
|
-
* @remarks
|
|
119
|
-
* Ammo-count helpers on `game_object` require this runtime class.
|
|
120
|
-
*/
|
|
121
|
-
export class CWeaponAmmo extends CGameObject {}
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* Client object binding for `CWeapon` inventory items.
|
|
125
|
-
*
|
|
126
|
-
* @source C++ class CWeapon : public CHudItemObject, public CShootingObject
|
|
127
|
-
* @customConstructor CWeaponAmmo
|
|
128
|
-
* @group xr_item
|
|
129
|
-
*
|
|
130
|
-
* @remarks
|
|
131
|
-
* Weapon helpers on `game_object` require this family or a subclass. Addons, ammo, outfits, and consumables are not
|
|
132
|
-
* weapons even when they are inventory items.
|
|
133
|
-
*/
|
|
134
|
-
export class CWeapon extends CInventoryItem {
|
|
135
|
-
/**
|
|
136
|
-
* Check whether the weapon can currently fire a lethal shot.
|
|
137
|
-
*
|
|
138
|
-
* @remarks
|
|
139
|
-
* Takes current weapon state into account, including ammo and readiness.
|
|
140
|
-
*
|
|
141
|
-
* @returns Whether the weapon can kill.
|
|
142
|
-
*/
|
|
143
|
-
public can_kill(): boolean;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* Client object binding for `CWeaponMagazined` inventory items.
|
|
148
|
-
*
|
|
149
|
-
* @source C++ class CWeaponMagazined : public CWeapon
|
|
150
|
-
* @customConstructor CWeaponMagazined
|
|
151
|
-
* @group xr_item
|
|
152
|
-
*/
|
|
153
|
-
export class CWeaponMagazined extends CWeapon {}
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* Client object binding for `CWeaponAutomaticShotgun` inventory items.
|
|
157
|
-
*
|
|
158
|
-
* @source C++ class CWeaponAutomaticShotgun : CGameObject
|
|
159
|
-
* @customConstructor CWeaponAutomaticShotgun
|
|
160
|
-
* @group xr_item
|
|
161
|
-
*/
|
|
162
|
-
export class CWeaponAutomaticShotgun extends CWeaponMagazined {}
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* Client object binding for `CWeaponBM16` inventory items.
|
|
166
|
-
*
|
|
167
|
-
* @source C++ class CWeaponBM16 : CGameObject
|
|
168
|
-
* @customConstructor CWeaponBM16
|
|
169
|
-
* @group xr_item
|
|
170
|
-
*/
|
|
171
|
-
export class CWeaponBM16 extends CWeaponShotgun {}
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* Client object binding for `CWeaponBinoculars` inventory items.
|
|
175
|
-
*
|
|
176
|
-
* @source C++ class CWeaponBinoculars : CGameObject
|
|
177
|
-
* @customConstructor CWeaponBinoculars
|
|
178
|
-
* @group xr_item
|
|
179
|
-
*/
|
|
180
|
-
export class CWeaponBinoculars extends CGameObject {}
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* Client object binding for `CWeaponFN2000` inventory items.
|
|
184
|
-
*
|
|
185
|
-
* @source C++ class CWeaponFN2000 : CGameObject
|
|
186
|
-
* @customConstructor CWeaponFN2000
|
|
187
|
-
* @group xr_item
|
|
188
|
-
*/
|
|
189
|
-
export class CWeaponFN2000 extends CGameObject {}
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* Client object binding for `CWeaponFORT` inventory items.
|
|
193
|
-
*
|
|
194
|
-
* @source C++ class CWeaponFORT : CGameObject
|
|
195
|
-
* @customConstructor CWeaponFORT
|
|
196
|
-
* @group xr_item
|
|
197
|
-
*/
|
|
198
|
-
export class CWeaponFORT extends CGameObject {}
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* Client object binding for `CWeaponGroza` inventory items.
|
|
202
|
-
*
|
|
203
|
-
* @source C++ class CWeaponGroza : CGameObject
|
|
204
|
-
* @customConstructor CWeaponGroza
|
|
205
|
-
* @group xr_item
|
|
206
|
-
*/
|
|
207
|
-
export class CWeaponGroza extends CGameObject {}
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* Client object binding for `CWeaponHPSA` inventory items.
|
|
211
|
-
*
|
|
212
|
-
* @source C++ class CWeaponHPSA : CGameObject
|
|
213
|
-
* @customConstructor CWeaponHPSA
|
|
214
|
-
* @group xr_item
|
|
215
|
-
*/
|
|
216
|
-
export class CWeaponHPSA extends CGameObject {}
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* Client object binding for `CWeaponKnife` inventory items.
|
|
220
|
-
*
|
|
221
|
-
* @source C++ class CWeaponKnife : CGameObject
|
|
222
|
-
* @customConstructor CWeaponKnife
|
|
223
|
-
* @group xr_item
|
|
224
|
-
*/
|
|
225
|
-
export class CWeaponKnife extends CGameObject {}
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* Client object binding for `CWeaponLR300` inventory items.
|
|
229
|
-
*
|
|
230
|
-
* @source C++ class CWeaponLR300 : CGameObject
|
|
231
|
-
* @customConstructor CWeaponLR300
|
|
232
|
-
* @group xr_item
|
|
233
|
-
*/
|
|
234
|
-
export class CWeaponLR300 extends CGameObject {}
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* Client object binding for `CWeaponPM` inventory items.
|
|
238
|
-
*
|
|
239
|
-
* @source C++ class CWeaponPM : CGameObject
|
|
240
|
-
* @customConstructor CWeaponPM
|
|
241
|
-
* @group xr_item
|
|
242
|
-
*/
|
|
243
|
-
export class CWeaponPM extends CGameObject {}
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
* Client object binding for `CWeaponRG6` inventory items.
|
|
247
|
-
*
|
|
248
|
-
* @source C++ class CWeaponRG6 : CGameObject
|
|
249
|
-
* @customConstructor CWeaponRG6
|
|
250
|
-
* @group xr_item
|
|
251
|
-
*/
|
|
252
|
-
export class CWeaponRG6 extends CGameObject {}
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* Client object binding for `CWeaponRPG7` inventory items.
|
|
256
|
-
*
|
|
257
|
-
* @source C++ class CWeaponRPG7 : CGameObject
|
|
258
|
-
* @customConstructor CWeaponRPG7
|
|
259
|
-
* @group xr_item
|
|
260
|
-
*/
|
|
261
|
-
export class CWeaponRPG7 extends CGameObject {}
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* Client object binding for `CWeaponSVD` inventory items.
|
|
265
|
-
*
|
|
266
|
-
* @source C++ class CWeaponSVD : CGameObject
|
|
267
|
-
* @customConstructor CWeaponSVD
|
|
268
|
-
* @group xr_item
|
|
269
|
-
*/
|
|
270
|
-
export class CWeaponSVD extends CGameObject {}
|
|
271
|
-
|
|
272
|
-
/**
|
|
273
|
-
* Client object binding for `CWeaponSVU` inventory items.
|
|
274
|
-
*
|
|
275
|
-
* @source C++ class CWeaponSVU : CGameObject
|
|
276
|
-
* @customConstructor CWeaponSVU
|
|
277
|
-
* @group xr_item
|
|
278
|
-
*/
|
|
279
|
-
export class CWeaponSVU extends CGameObject {}
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
* Client object binding for `CWeaponShotgun` inventory items.
|
|
283
|
-
*
|
|
284
|
-
* @source C++ class CWeaponShotgun : CGameObject
|
|
285
|
-
* @customConstructor CWeaponShotgun
|
|
286
|
-
* @group xr_item
|
|
287
|
-
*/
|
|
288
|
-
export class CWeaponShotgun extends CGameObject {}
|
|
289
|
-
|
|
290
|
-
/**
|
|
291
|
-
* Client object binding for `CWeaponUSP45` inventory items.
|
|
292
|
-
*
|
|
293
|
-
* @source C++ class CWeaponUSP45 : CGameObject
|
|
294
|
-
* @customConstructor CWeaponUSP45
|
|
295
|
-
* @group xr_item
|
|
296
|
-
*/
|
|
297
|
-
export class CWeaponUSP45 extends CGameObject {}
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* Client object binding for `CWeaponVal` inventory items.
|
|
301
|
-
*
|
|
302
|
-
* @source C++ class CWeaponVal : CGameObject
|
|
303
|
-
* @customConstructor CWeaponVal
|
|
304
|
-
* @group xr_item
|
|
305
|
-
*/
|
|
306
|
-
export class CWeaponVal extends CGameObject {}
|
|
307
|
-
|
|
308
|
-
/**
|
|
309
|
-
* Client object binding for `CWeaponVintorez` inventory items.
|
|
310
|
-
*
|
|
311
|
-
* @source C++ class CWeaponVintorez : CGameObject
|
|
312
|
-
* @customConstructor CWeaponVintorez
|
|
313
|
-
* @group xr_item
|
|
314
|
-
*/
|
|
315
|
-
export class CWeaponVintorez extends CGameObject {}
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* Client object binding for `CWeaponWalther` inventory items.
|
|
319
|
-
*
|
|
320
|
-
* @source C++ class CWeaponWalther : CGameObject
|
|
321
|
-
* @customConstructor CWeaponWalther
|
|
322
|
-
* @group xr_item
|
|
323
|
-
*/
|
|
324
|
-
export class CWeaponWalther extends CGameObject {}
|
|
325
|
-
|
|
326
|
-
/**
|
|
327
|
-
* Client object binding for `CSilencer` inventory items.
|
|
328
|
-
*
|
|
329
|
-
* @source C++ class CSilencer : CGameObject
|
|
330
|
-
* @customConstructor CSilencer
|
|
331
|
-
* @group xr_item
|
|
332
|
-
*/
|
|
333
|
-
export class CSilencer extends CGameObject {}
|
|
334
|
-
|
|
335
|
-
/**
|
|
336
|
-
* Client object binding for `CScope` inventory items.
|
|
337
|
-
*
|
|
338
|
-
* @source C++ class CScope : CGameObject
|
|
339
|
-
* @customConstructor CScope
|
|
340
|
-
* @group xr_item
|
|
341
|
-
*/
|
|
342
|
-
export class CScope extends CGameObject {}
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* Client object binding for `CRGD5` inventory items.
|
|
346
|
-
*
|
|
347
|
-
* @source C++ class CRGD5 : CGameObject
|
|
348
|
-
* @customConstructor CRGD5
|
|
349
|
-
* @group xr_item
|
|
350
|
-
*/
|
|
351
|
-
export class CRGD5 extends CGameObject {}
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* Client object binding for `CF1` inventory items.
|
|
355
|
-
*
|
|
356
|
-
* @source C++ class CF1 : CGameObject
|
|
357
|
-
* @customConstructor CF1
|
|
358
|
-
* @group xr_item
|
|
359
|
-
*/
|
|
360
|
-
export class CF1 extends CGameObject {}
|
|
361
|
-
|
|
362
|
-
/**
|
|
363
|
-
* Client object binding for `CPda` inventory items.
|
|
364
|
-
*
|
|
365
|
-
* @source C++ class CPda : CGameObject
|
|
366
|
-
* @customConstructor CPda
|
|
367
|
-
* @group xr_item
|
|
368
|
-
*/
|
|
369
|
-
export class CPda extends CGameObject {}
|
|
370
|
-
}
|