xray16 1.0.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.
- package/LICENSE +21 -0
- package/README.md +57 -0
- package/package.json +38 -0
- package/plugins/built_at_info.ts +18 -0
- package/plugins/from_cast_utils.ts +34 -0
- package/plugins/global_declarations_transform.ts +24 -0
- package/plugins/inject_filename.ts +22 -0
- package/plugins/strip_lua_logger.ts +73 -0
- package/plugins/transform_luabind_class/plugin.ts +51 -0
- package/plugins/transform_luabind_class/transformation/class_declaration.ts +226 -0
- package/plugins/transform_luabind_class/transformation/constants.ts +4 -0
- package/plugins/transform_luabind_class/transformation/decorators.ts +16 -0
- package/plugins/transform_luabind_class/transformation/errors.ts +31 -0
- package/plugins/transform_luabind_class/transformation/index.ts +5 -0
- package/plugins/transform_luabind_class/transformation/members/accessors.ts +48 -0
- package/plugins/transform_luabind_class/transformation/members/constructor.ts +107 -0
- package/plugins/transform_luabind_class/transformation/members/fields.ts +53 -0
- package/plugins/transform_luabind_class/transformation/members/method.ts +70 -0
- package/plugins/transform_luabind_class/transformation/new.ts +14 -0
- package/plugins/transform_luabind_class/transformation/setup.ts +128 -0
- package/plugins/transform_luabind_class/transformation/super.ts +92 -0
- package/plugins/transform_luabind_class/transformation/utils.ts +90 -0
- package/plugins/utils/diagnostics.ts +24 -0
- package/src/index.d.ts +63 -0
- package/src/xr_constant.d.ts +976 -0
- package/src/xr_core.d.ts +347 -0
- package/src/xr_global.d.ts +613 -0
- package/src/xr_lib/xr_fs.d.ts +333 -0
- package/src/xr_lib/xr_math.d.ts +165 -0
- package/src/xr_lib/xr_utils.d.ts +407 -0
- package/src/xr_luabind.d.ts +34 -0
- package/src/xr_map/xr_map.d.ts +42 -0
- package/src/xr_object/xr_action.d.ts +482 -0
- package/src/xr_object/xr_alife.d.ts +206 -0
- package/src/xr_object/xr_anomaly.d.ts +50 -0
- package/src/xr_object/xr_artefact.d.ts +98 -0
- package/src/xr_object/xr_client_object.d.ts +1255 -0
- package/src/xr_object/xr_creature.d.ts +157 -0
- package/src/xr_object/xr_dialog.d.ts +34 -0
- package/src/xr_object/xr_item.d.ts +239 -0
- package/src/xr_object/xr_level.d.ts +166 -0
- package/src/xr_object/xr_physic.d.ts +119 -0
- package/src/xr_object/xr_quest.d.ts +47 -0
- package/src/xr_object/xr_server_object.d.ts +686 -0
- package/src/xr_online/xr_multiplayer.d.ts +299 -0
- package/src/xr_sound/xr_sound.d.ts +153 -0
- package/src/xr_type/xr_enums.d.ts +17 -0
- package/src/xr_type/xr_type.d.ts +70 -0
- package/src/xr_ui/README.md +277 -0
- package/src/xr_ui/demo/CServerList.png +0 -0
- package/src/xr_ui/demo/CUI3tButton.png +0 -0
- package/src/xr_ui/demo/CUICheckButton.png +0 -0
- package/src/xr_ui/demo/CUIComboBox.png +0 -0
- package/src/xr_ui/demo/CUICustomEdit.png +0 -0
- package/src/xr_ui/demo/CUIStatic.png +0 -0
- package/src/xr_ui/demo/CUITrackBar.png +0 -0
- package/src/xr_ui/xr_ui_core.d.ts +185 -0
- package/src/xr_ui/xr_ui_interface.d.ts +666 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
declare module "xray16" {
|
|
2
|
+
/**
|
|
3
|
+
* @source C++ class CMosquitoBald : CGameObject
|
|
4
|
+
* @customConstructor CMosquitoBald
|
|
5
|
+
* @group xr_anomaly
|
|
6
|
+
*/
|
|
7
|
+
export class CMosquitoBald extends CGameObject {}
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @source C++ class CTorch : CGameObject
|
|
11
|
+
* @customConstructor CTorch
|
|
12
|
+
* @group xr_anomaly
|
|
13
|
+
*/
|
|
14
|
+
export class CTorch extends CGameObject {}
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @source C++ class CTorridZone : CGameObject
|
|
18
|
+
* @customConstructor CTorridZone
|
|
19
|
+
* @group xr_anomaly
|
|
20
|
+
*/
|
|
21
|
+
export class CTorridZone extends CGameObject {}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @source C++ class CRadioactiveZone : CGameObject
|
|
25
|
+
* @customConstructor CRadioactiveZone
|
|
26
|
+
* @group xr_anomaly
|
|
27
|
+
*/
|
|
28
|
+
export class CRadioactiveZone extends CGameObject {}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @source C++ class CMincer : CGameObject
|
|
32
|
+
* @customConstructor CMincer
|
|
33
|
+
* @group xr_anomaly
|
|
34
|
+
*/
|
|
35
|
+
export class CMincer extends CGameObject {}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @source C++ class CFracture : CGameObject
|
|
39
|
+
* @customConstructor CFracture
|
|
40
|
+
* @group xr_anomaly
|
|
41
|
+
*/
|
|
42
|
+
export class CFracture extends CGameObject {}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @source C++ class CHairsZone : CGameObject
|
|
46
|
+
* @customConstructor CHairsZone
|
|
47
|
+
* @group xr_anomaly
|
|
48
|
+
*/
|
|
49
|
+
export class CHairsZone extends CGameObject {}
|
|
50
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
declare module "xray16" {
|
|
2
|
+
/**
|
|
3
|
+
* @source C++ class CArtefact : CGameObject
|
|
4
|
+
* @customConstructor CArtefact
|
|
5
|
+
* @group xr_artefact
|
|
6
|
+
*/
|
|
7
|
+
export class CArtefact extends CGameObject {
|
|
8
|
+
public constructor();
|
|
9
|
+
|
|
10
|
+
public FollowByPath(a: string, b: i32, c: vector): void;
|
|
11
|
+
public GetAfRank(): u8;
|
|
12
|
+
public SwitchVisibility(to: boolean): void;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @source C++ class CZudaArtefact : CArtefact
|
|
17
|
+
* @customConstructor CZudaArtefact
|
|
18
|
+
* @group xr_artefact
|
|
19
|
+
*/
|
|
20
|
+
export class CZudaArtefact extends CArtefact {}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @source C++ class CThornArtefact : CArtefact
|
|
24
|
+
* @customConstructor CThornArtefact
|
|
25
|
+
* @group xr_artefact
|
|
26
|
+
*/
|
|
27
|
+
export class CThornArtefact extends CArtefact {}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @source C++ class CBastArtefact : CArtefact
|
|
31
|
+
* @customConstructor CBastArtefact
|
|
32
|
+
* @group xr_artefact
|
|
33
|
+
*/
|
|
34
|
+
export class CBastArtefact extends CArtefact {}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @source C++ class CBlackDrops : CArtefact
|
|
38
|
+
* @customConstructor CBlackDrops
|
|
39
|
+
* @group xr_artefact
|
|
40
|
+
*/
|
|
41
|
+
export class CBlackDrops extends CArtefact {}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @source C++ class CBlackGraviArtefact : CArtefact
|
|
45
|
+
* @customConstructor CBlackGraviArtefact
|
|
46
|
+
* @group xr_artefact
|
|
47
|
+
*/
|
|
48
|
+
export class CBlackGraviArtefact extends CArtefact {}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @source C++ class CDummyArtefact : CArtefact
|
|
52
|
+
* @customConstructor CDummyArtefact
|
|
53
|
+
* @group xr_artefact
|
|
54
|
+
*/
|
|
55
|
+
export class CDummyArtefact extends CArtefact {}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @source C++ class CElectricBall : CArtefact
|
|
59
|
+
* @customConstructor CElectricBall
|
|
60
|
+
* @group xr_artefact
|
|
61
|
+
*/
|
|
62
|
+
export class CElectricBall extends CArtefact {}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @source C++ class CFadedBall : CArtefact
|
|
66
|
+
* @customConstructor CFadedBall
|
|
67
|
+
* @group xr_artefact
|
|
68
|
+
*/
|
|
69
|
+
export class CFadedBall extends CArtefact {}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @source C++ class CGalantineArtefact : CArtefact
|
|
73
|
+
* @customConstructor CGalantineArtefact
|
|
74
|
+
* @group xr_artefact
|
|
75
|
+
*/
|
|
76
|
+
export class CGalantineArtefact extends CArtefact {}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @source C++ class CGraviArtefact : CArtefact
|
|
80
|
+
* @customConstructor CGraviArtefact
|
|
81
|
+
* @group xr_artefact
|
|
82
|
+
*/
|
|
83
|
+
export class CGraviArtefact extends CArtefact {}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @source C++ class CMercuryBall : CArtefact
|
|
87
|
+
* @customConstructor CMercuryBall
|
|
88
|
+
* @group xr_artefact
|
|
89
|
+
*/
|
|
90
|
+
export class CMercuryBall extends CArtefact {}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @source C++ class CRustyHairArtefact : CArtefact
|
|
94
|
+
* @customConstructor CRustyHairArtefact
|
|
95
|
+
* @group xr_artefact
|
|
96
|
+
*/
|
|
97
|
+
export class CRustyHairArtefact extends CArtefact {}
|
|
98
|
+
}
|