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.
- package/LICENSE +21 -21
- package/README.md +112 -106
- package/package.json +45 -42
- package/plugins/built_at_info.d.ts +1 -1
- package/plugins/from_cast_utils.d.ts +1 -1
- package/plugins/global_declarations_transform.d.ts +1 -1
- package/plugins/inject_file_meta.d.ts +1 -1
- package/plugins/inject_tracy_zones.d.ts +1 -1
- package/plugins/inject_tracy_zones.js +4 -4
- package/plugins/strip_lua_logger.d.ts +1 -1
- package/plugins/strip_lua_logger.js +1 -1
- package/plugins/transform_luabind_class/plugin.d.ts +1 -1
- package/plugins/transform_luabind_class/transformation/class_declaration.d.ts +3 -3
- package/plugins/transform_luabind_class/transformation/decorators.d.ts +5 -2
- package/plugins/transform_luabind_class/transformation/decorators.js +3 -0
- package/plugins/transform_luabind_class/transformation/members/accessors.d.ts +1 -1
- package/plugins/transform_luabind_class/transformation/members/constructor.d.ts +2 -2
- package/plugins/transform_luabind_class/transformation/members/constructor.js +2 -2
- package/plugins/transform_luabind_class/transformation/members/fields.d.ts +5 -2
- package/plugins/transform_luabind_class/transformation/members/fields.js +5 -2
- package/plugins/transform_luabind_class/transformation/members/method.d.ts +6 -3
- package/plugins/transform_luabind_class/transformation/members/method.js +4 -1
- package/plugins/transform_luabind_class/transformation/new.d.ts +7 -3
- package/plugins/transform_luabind_class/transformation/new.js +5 -1
- package/plugins/transform_luabind_class/transformation/setup.d.ts +9 -3
- package/plugins/transform_luabind_class/transformation/setup.js +22 -6
- package/plugins/transform_luabind_class/transformation/super.d.ts +19 -3
- package/plugins/transform_luabind_class/transformation/super.js +17 -1
- package/plugins/transform_luabind_class/transformation/utils.d.ts +27 -4
- package/plugins/transform_luabind_class/transformation/utils.js +25 -2
- package/plugins/utils/ast.d.ts +1 -1
- package/plugins/utils/diagnostics.d.ts +9 -5
- package/plugins/utils/diagnostics.js +5 -1
- package/plugins/utils/tracy.d.ts +2 -2
- package/plugins/utils/tracy.js +2 -5
- package/types/index.d.ts +55 -55
- package/types/xr_ai/xr_action.d.ts +510 -510
- package/types/xr_ai/xr_alife.d.ts +566 -566
- package/types/xr_ai/xr_enemy_evaluation.d.ts +41 -41
- package/types/xr_ai/xr_goap.d.ts +669 -668
- package/types/xr_ai/xr_graph.d.ts +47 -47
- package/types/xr_ai/xr_memory.d.ts +148 -148
- package/types/xr_lib/xr_animation.d.ts +81 -81
- package/types/xr_lib/xr_bitwise.d.ts +32 -21
- package/types/xr_lib/xr_color.d.ts +45 -40
- package/types/xr_lib/xr_debug.d.ts +83 -77
- package/types/xr_lib/xr_dialog.d.ts +40 -40
- package/types/xr_lib/xr_flags.d.ts +529 -148
- package/types/xr_lib/xr_fs.d.ts +149 -148
- package/types/xr_lib/xr_game.d.ts +261 -158
- package/types/xr_lib/xr_hit.d.ts +41 -41
- package/types/xr_lib/xr_ini.d.ts +415 -188
- package/types/xr_lib/xr_level.d.ts +652 -225
- package/types/xr_lib/xr_luabind.d.ts +64 -59
- package/types/xr_lib/xr_map.d.ts +61 -61
- package/types/xr_lib/xr_math.d.ts +815 -233
- package/types/xr_lib/xr_multiplayer.d.ts +351 -351
- package/types/xr_lib/xr_profile.d.ts +192 -160
- package/types/xr_lib/xr_properties.d.ts +455 -166
- package/types/xr_lib/xr_relation.d.ts +84 -84
- package/types/xr_lib/xr_render.d.ts +71 -69
- package/types/xr_lib/xr_save.d.ts +727 -223
- package/types/xr_lib/xr_sound.d.ts +151 -151
- package/types/xr_lib/xr_stats.ts +20 -20
- package/types/xr_lib/xr_task.d.ts +111 -111
- package/types/xr_lib/xr_time.d.ts +166 -61
- package/types/xr_lib/xr_type.d.ts +75 -75
- package/types/xr_object/client/xr_anomaly.d.ts +50 -50
- package/types/xr_object/client/xr_artefact.d.ts +98 -98
- package/types/xr_object/client/xr_client_object.d.ts +76 -76
- package/types/xr_object/client/xr_creature.d.ts +164 -164
- package/types/xr_object/client/xr_item.d.ts +264 -264
- package/types/xr_object/client/xr_level.d.ts +285 -285
- package/types/xr_object/client/xr_physic.d.ts +214 -214
- package/types/xr_object/client/xr_zone.d.ts +47 -47
- package/types/xr_object/script/xr_script_interface.d.ts +584 -584
- package/types/xr_object/script/xr_script_object.d.ts +2408 -1390
- package/types/xr_object/script/xr_script_trade.d.ts +41 -26
- package/types/xr_object/server/xr_server_object.d.ts +794 -792
- package/types/xr_ui/xr_ui_asset.d.ts +129 -123
- package/types/xr_ui/xr_ui_core.d.ts +106 -97
- package/types/xr_ui/xr_ui_event.d.ts +383 -381
- package/types/xr_ui/xr_ui_interface.d.ts +901 -903
- package/types/xr_ui/xr_ui_menu.d.ts +142 -142
- package/types/xrf_plugin.d.ts +59 -51
|
@@ -1,61 +1,166 @@
|
|
|
1
|
-
declare module "xray16" {
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
public
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
public
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
1
|
+
declare module "xray16" {
|
|
2
|
+
/**
|
|
3
|
+
* Mutable game calendar/time value.
|
|
4
|
+
*
|
|
5
|
+
* Use `game.get_game_time()` for the current in-game time and `time_global()` for real elapsed milliseconds.
|
|
6
|
+
*
|
|
7
|
+
* @source C++ class CTime
|
|
8
|
+
* @customConstructor CTime
|
|
9
|
+
* @group xr_time
|
|
10
|
+
*/
|
|
11
|
+
export class CTime extends EngineBinding {
|
|
12
|
+
/**
|
|
13
|
+
* Date formatting mode: day.
|
|
14
|
+
*/
|
|
15
|
+
public static DateToDay: 0;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Date formatting mode: month.
|
|
19
|
+
*/
|
|
20
|
+
public static DateToMonth: 1;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Date formatting mode: year.
|
|
24
|
+
*/
|
|
25
|
+
public static DateToYear: 2;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Time formatting mode: hours.
|
|
29
|
+
*/
|
|
30
|
+
public static TimeToHours: 0;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Time formatting mode: milliseconds.
|
|
34
|
+
*/
|
|
35
|
+
public static TimeToMilisecs: 3;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Time formatting mode: minutes.
|
|
39
|
+
*/
|
|
40
|
+
public static TimeToMinutes: 1;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Time formatting mode: seconds.
|
|
44
|
+
*/
|
|
45
|
+
public static TimeToSeconds: 2;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Create an empty time value.
|
|
49
|
+
*/
|
|
50
|
+
public constructor();
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Copy another time value.
|
|
54
|
+
*
|
|
55
|
+
* @param time - Time value to copy.
|
|
56
|
+
*/
|
|
57
|
+
public constructor(time: CTime);
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Add another time value to this one.
|
|
61
|
+
*
|
|
62
|
+
* @param time - Time span to add.
|
|
63
|
+
*/
|
|
64
|
+
public add(time: CTime): void;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Format one date component as text.
|
|
68
|
+
*
|
|
69
|
+
* @param mode - One of `CTime.DateTo*` formatting constants.
|
|
70
|
+
* @returns Requested date component.
|
|
71
|
+
*/
|
|
72
|
+
public dateToString(mode: i32): string;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Get difference from another game time in seconds.
|
|
76
|
+
*
|
|
77
|
+
* @param time - Time to compare with.
|
|
78
|
+
* @returns Difference in seconds.
|
|
79
|
+
*/
|
|
80
|
+
public diffSec(time: CTime): f32;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Read all date and time components.
|
|
84
|
+
*
|
|
85
|
+
* The input values are placeholders for Lua out parameters.
|
|
86
|
+
*
|
|
87
|
+
* @returns Year, month, day, hour, minute, second, and millisecond.
|
|
88
|
+
*/
|
|
89
|
+
public get(
|
|
90
|
+
y: u32,
|
|
91
|
+
m: u32,
|
|
92
|
+
d: u32,
|
|
93
|
+
h: u32,
|
|
94
|
+
min: u32,
|
|
95
|
+
sec: u32,
|
|
96
|
+
ms: u32
|
|
97
|
+
): LuaMultiReturn<[u32, u32, u32, u32, u32, u32, u32]>;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Replace all date and time components.
|
|
101
|
+
*
|
|
102
|
+
* @param y - Year.
|
|
103
|
+
* @param m - Month.
|
|
104
|
+
* @param d - Day.
|
|
105
|
+
* @param h - Hour.
|
|
106
|
+
* @param min - Minute.
|
|
107
|
+
* @param sec - Second.
|
|
108
|
+
* @param ms - Millisecond.
|
|
109
|
+
*/
|
|
110
|
+
public set(y: i32, m: i32, d: i32, h: i32, min: i32, sec: i32, ms: i32): void;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Replace time of day.
|
|
114
|
+
*
|
|
115
|
+
* @param h - Hour.
|
|
116
|
+
* @param m - Minute.
|
|
117
|
+
* @param s - Second.
|
|
118
|
+
*/
|
|
119
|
+
public setHMS(h: i32, m: i32, s: i32): void;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Replace time of day including milliseconds.
|
|
123
|
+
*
|
|
124
|
+
* @param h - Hour.
|
|
125
|
+
* @param m - Minute.
|
|
126
|
+
* @param s - Second.
|
|
127
|
+
* @param ms - Millisecond.
|
|
128
|
+
*/
|
|
129
|
+
public setHMSms(h: i32, m: i32, s: i32, ms: i32): void;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Subtract another time value from this one.
|
|
133
|
+
*
|
|
134
|
+
* @param time - Time span to subtract.
|
|
135
|
+
*/
|
|
136
|
+
public sub(time: CTime): void;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Format one time component as text.
|
|
140
|
+
*
|
|
141
|
+
* @param mode - One of `CTime.TimeTo*` formatting constants.
|
|
142
|
+
* @returns Requested time component.
|
|
143
|
+
*/
|
|
144
|
+
public timeToString(mode: i32): string;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Get main-thread engine time in milliseconds since executable start.
|
|
149
|
+
*
|
|
150
|
+
* @group xr_time
|
|
151
|
+
*
|
|
152
|
+
* @example 0, 1000, 60000
|
|
153
|
+
*
|
|
154
|
+
* @returns Milliseconds from game executable start.
|
|
155
|
+
*/
|
|
156
|
+
export function time_global(this: void): u32;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Get asynchronous engine time in milliseconds since executable start.
|
|
160
|
+
*
|
|
161
|
+
* @group xr_time
|
|
162
|
+
*
|
|
163
|
+
* @returns Milliseconds from game executable start.
|
|
164
|
+
*/
|
|
165
|
+
export function time_global_async(this: void): u32;
|
|
166
|
+
}
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* List of types that are all cast to similar number type in lua / ts.
|
|
3
|
-
* Main purpose is to indicate what is used with C++ side for better documentation.
|
|
4
|
-
*/
|
|
5
|
-
declare module "xray16" {
|
|
6
|
-
/**
|
|
7
|
-
* @group xr_type
|
|
8
|
-
*/
|
|
9
|
-
type i8 = number;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @group xr_type
|
|
13
|
-
*/
|
|
14
|
-
type u8 = number;
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* @group xr_type
|
|
18
|
-
*/
|
|
19
|
-
type i16 = number;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* @group xr_type
|
|
23
|
-
*/
|
|
24
|
-
type u16 = number;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @group xr_type
|
|
28
|
-
*/
|
|
29
|
-
type f32 = number;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* @group xr_type
|
|
33
|
-
*/
|
|
34
|
-
type i32 = number;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @group xr_type
|
|
38
|
-
*/
|
|
39
|
-
type u32 = number;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* @group xr_type
|
|
43
|
-
*/
|
|
44
|
-
type f64 = number;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* @group xr_type
|
|
48
|
-
*/
|
|
49
|
-
type i64 = number;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @group xr_type
|
|
53
|
-
*/
|
|
54
|
-
type u64 = number;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @group xr_type
|
|
58
|
-
*/
|
|
59
|
-
type Maybe<T> = T | null | undefined;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @group xr_type
|
|
63
|
-
*/
|
|
64
|
-
type AnyObject = Record<string, any>;
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* @group xr_type
|
|
68
|
-
*/
|
|
69
|
-
type EnumeratedStaticsKeys<T> = Exclude<keyof T, "constructor" | TEngineBindingStaticMethods>;
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @group xr_type
|
|
73
|
-
*/
|
|
74
|
-
type EnumeratedStaticsValues<T> = T[Exclude<keyof T, "constructor" | TEngineBindingStaticMethods>];
|
|
75
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* List of types that are all cast to similar number type in lua / ts.
|
|
3
|
+
* Main purpose is to indicate what is used with C++ side for better documentation.
|
|
4
|
+
*/
|
|
5
|
+
declare module "xray16" {
|
|
6
|
+
/**
|
|
7
|
+
* @group xr_type
|
|
8
|
+
*/
|
|
9
|
+
type i8 = number;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @group xr_type
|
|
13
|
+
*/
|
|
14
|
+
type u8 = number;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @group xr_type
|
|
18
|
+
*/
|
|
19
|
+
type i16 = number;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @group xr_type
|
|
23
|
+
*/
|
|
24
|
+
type u16 = number;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @group xr_type
|
|
28
|
+
*/
|
|
29
|
+
type f32 = number;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @group xr_type
|
|
33
|
+
*/
|
|
34
|
+
type i32 = number;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @group xr_type
|
|
38
|
+
*/
|
|
39
|
+
type u32 = number;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @group xr_type
|
|
43
|
+
*/
|
|
44
|
+
type f64 = number;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @group xr_type
|
|
48
|
+
*/
|
|
49
|
+
type i64 = number;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @group xr_type
|
|
53
|
+
*/
|
|
54
|
+
type u64 = number;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @group xr_type
|
|
58
|
+
*/
|
|
59
|
+
type Maybe<T> = T | null | undefined;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @group xr_type
|
|
63
|
+
*/
|
|
64
|
+
type AnyObject = Record<string, any>;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @group xr_type
|
|
68
|
+
*/
|
|
69
|
+
type EnumeratedStaticsKeys<T> = Exclude<keyof T, "constructor" | TEngineBindingStaticMethods>;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @group xr_type
|
|
73
|
+
*/
|
|
74
|
+
type EnumeratedStaticsValues<T> = T[Exclude<keyof T, "constructor" | TEngineBindingStaticMethods>];
|
|
75
|
+
}
|
|
@@ -1,50 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,98 +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
|
-
}
|
|
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
|
+
}
|