xray16 1.0.5 → 1.0.8

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 -229
  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 +13 -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} +449 -522
  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} +152 -73
  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 -976
  48. package/types/xr_core.d.ts +0 -347
  49. package/types/xr_global.d.ts +0 -648
  50. package/types/xr_lib/xr_utils.d.ts +0 -407
  51. package/types/xr_luabind.d.ts +0 -34
  52. package/types/xr_object/xr_alife.d.ts +0 -206
  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
@@ -0,0 +1,84 @@
1
+ declare module "xray16" {
2
+ /**
3
+ * @source C++ class FactionState
4
+ * @customConstructor FactionState
5
+ * @group xr_relation
6
+ */
7
+ export class FactionState {
8
+ public actor_goodwill: i32;
9
+ public bonus: i32;
10
+ public faction_id: string;
11
+ public icon: string;
12
+ public icon_big: string;
13
+ public location: string;
14
+ public member_count: i32;
15
+ public name: string;
16
+ public power: f32;
17
+ public resource: f32;
18
+ public target: string;
19
+ public target_desc: string;
20
+ public war_state1: string;
21
+ public war_state2: string;
22
+ public war_state3: string;
23
+ public war_state4: string;
24
+ public war_state5: string;
25
+ public war_state_hint1: string;
26
+ public war_state_hint2: string;
27
+ public war_state_hint3: string;
28
+ public war_state_hint4: string;
29
+ public war_state_hint5: string;
30
+
31
+ protected constructor();
32
+ }
33
+
34
+ /**
35
+ * @source namespace relation_registry
36
+ * @group xr_relation
37
+ */
38
+ export interface IXR_relation_registry {
39
+ /**
40
+ * Change relation from community to object by `delta_goodwill`.
41
+ */
42
+ change_community_goodwill(this: void, from_community: string, to_object_id: i32, delta_goodwill: i32): void;
43
+
44
+ community_goodwill(this: void, from_community: string, to_object_id: i32): i32;
45
+
46
+ /**
47
+ * @returns relation points between communities, usually between `-5000` and `5000`
48
+ */
49
+ community_relation(this: void, from_community: string, to_community: string): i32;
50
+
51
+ /**
52
+ * Get relation from object to actor.
53
+ * Return formula looks like `personal_goodwill + community_to_obj_goodwill + community_to_community_goodwill`.
54
+ *
55
+ * @param from_object_id - object from
56
+ * @param to_object_id - object to
57
+ * @returns general goodwill from object to another object based on personal and community goodwill
58
+ */
59
+ get_general_goodwill_between(this: void, from_object_id: u16, to_object_id: u16): i32;
60
+
61
+ set_community_goodwill(this: void, from_community: string, to_object_id: i32, goodwill: i32): void;
62
+
63
+ set_community_relation(this: void, from_community: string, to_community: string, goodwill: i32): void;
64
+ }
65
+
66
+ /**
67
+ * @group xr_relation
68
+ */
69
+ export const relation_registry: IXR_relation_registry;
70
+
71
+ /**
72
+ * Enumeration of relations.
73
+ *
74
+ * eRelationTypeFriend - 0
75
+ * eRelationTypeNeutral - 1
76
+ * eRelationTypeEnemy - 2
77
+ * eRelationTypeWorstEnemy - 3
78
+ * eRelationTypeLast - 4
79
+ * eRelationTypeDummy - -1
80
+ *
81
+ * @group xr_relation
82
+ */
83
+ export type TXR_relation = 0 | 1 | 2 | 3;
84
+ }
@@ -0,0 +1,70 @@
1
+ declare module "xray16" {
2
+ /**
3
+ * @source C++ class render_device
4
+ * @customConstructor render_device
5
+ * @group xr_render
6
+ */
7
+ export class render_device {
8
+ private constructor();
9
+
10
+ public readonly cam_dir: vector;
11
+ public readonly cam_pos: vector;
12
+ public readonly cam_right: vector;
13
+ public readonly cam_top: vector;
14
+ public readonly aspect_ratio: f32;
15
+ public readonly fov: f32;
16
+ public readonly precache_frame: u32;
17
+ public readonly frame: u32;
18
+ public readonly height: u32;
19
+ public readonly time_delta: u32;
20
+ public readonly f_time_delta: f32;
21
+ public readonly width: u32;
22
+
23
+ /**
24
+ * Get current game timestamp.
25
+ *
26
+ * @example `29319`,`46297`
27
+ * @returns milliseconds from game start
28
+ */
29
+ public time_global(): u32;
30
+
31
+ /**
32
+ * @returns whether game is paused
33
+ */
34
+ public is_paused(): boolean;
35
+
36
+ /**
37
+ * Change game pause state.
38
+ *
39
+ * @param paused - whether game should be paused
40
+ */
41
+ public pause(paused: boolean): void;
42
+ }
43
+
44
+ /**
45
+ * @group xr_render
46
+ */
47
+ export function device(this: void): render_device;
48
+
49
+ /**
50
+ * @group xr_render
51
+ */
52
+ export function app_ready(this: void): boolean;
53
+
54
+ /**
55
+ * @group xr_render
56
+ */
57
+ export function xrRender_test_r2_hw(this: void): boolean;
58
+
59
+ /**
60
+ * @group xr_render
61
+ */
62
+ export function render_get_dx_level(this: void): number;
63
+
64
+ /**
65
+ * @group xr_global_declaration
66
+ * @returns whether renderer setting can be changed
67
+ */
68
+ export function renderer_allow_override(this: void): boolean;
69
+
70
+ }
@@ -0,0 +1,223 @@
1
+ declare module "xray16" {
2
+ /**
3
+ * @source C++ class ClientID
4
+ * @customConstructor ClientID
5
+ * @group xr_save
6
+ */
7
+ export class ClientID extends EngineBinding {
8
+ protected constructor();
9
+
10
+ public value(): u32;
11
+ public set(value: u32): void;
12
+ }
13
+
14
+ /**
15
+ * @source C++ class net_packet
16
+ * @customConstructor net_packet
17
+ * @group xr_save
18
+ */
19
+ export class net_packet {
20
+ public r_advance(value: u32): void;
21
+
22
+ public r_angle16(value: f32): void;
23
+
24
+ public r_angle8(value: f32): void;
25
+
26
+ public r_begin(value: u16): u32;
27
+
28
+ public r_bool(): boolean;
29
+
30
+ public r_clientID(): ClientID;
31
+
32
+ public r_dir(vector: vector): void;
33
+
34
+ public r_elapsed(): u32;
35
+
36
+ public r_eof(): boolean;
37
+
38
+ public r_float(): f32;
39
+
40
+ public r_float(value: f32): f32;
41
+
42
+ public r_float_q16(value1: f32, value2: f32, value3: f32): f32;
43
+
44
+ public r_float_q8(value1: f32, value2: f32, value3: f32): f32;
45
+
46
+ public r_matrix(matrix: matrix): matrix;
47
+
48
+ public r_s16(): i16;
49
+
50
+ public r_s16(value: u16): u16;
51
+
52
+ public r_s32(): i32;
53
+
54
+ public r_s32(value: i32): i32;
55
+
56
+ public r_s64(): i64;
57
+
58
+ public r_s64(value: i64): i64;
59
+
60
+ public r_s8(): i8;
61
+
62
+ public r_s8(value: i8): i8;
63
+
64
+ public r_sdir(vector: vector): void;
65
+
66
+ public r_seek(value: u32): void;
67
+
68
+ public r_stringZ<T extends string>(): T;
69
+
70
+ public r_tell(): u32;
71
+
72
+ public r_u16(): u16;
73
+
74
+ public r_u16(value: u16): u16;
75
+
76
+ public r_u32(): u32;
77
+
78
+ public r_u32(value: u32): u32;
79
+
80
+ public r_u64(): u64;
81
+
82
+ public r_u64(value: u64): u64;
83
+
84
+ public r_u8(): u8;
85
+
86
+ public r_u8(value: u8): u8;
87
+
88
+ public r_vec3(vector: vector): void;
89
+
90
+ public w_angle16(value: f32): void;
91
+
92
+ public w_angle8(value: f32): void;
93
+
94
+ public w_begin(value: u16): void;
95
+
96
+ public w_bool(value: boolean): void;
97
+
98
+ public w_chunk_close16(value: u32): void;
99
+
100
+ public w_chunk_close8(value: u32): void;
101
+
102
+ public w_chunk_open16(value: u32): void;
103
+
104
+ public w_chunk_open8(value: u32): void;
105
+
106
+ public w_clientID(ClientID: ClientID): void;
107
+
108
+ public w_dir(vector: vector): void;
109
+
110
+ public w_float(value: f32): void;
111
+
112
+ public w_float_q16(value1: f32, value2: f32, value3: f32): void;
113
+
114
+ public w_float_q8(value1: f32, value2: f32, value3: f32): void;
115
+
116
+ public w_matrix(matrix: matrix): void;
117
+
118
+ public w_s16(value: i16): void;
119
+
120
+ public w_s32(value: i32): void;
121
+
122
+ public w_s64(value: i64): void;
123
+
124
+ public w_sdir(vector: vector): void;
125
+
126
+ public w_stringZ(value: string | null): void;
127
+
128
+ public w_tell(): u32;
129
+
130
+ public w_u16(value: u16): void;
131
+
132
+ public w_u32(value: u32): void;
133
+
134
+ public w_u64(value: u64): void;
135
+
136
+ public w_u8(value: u8): void;
137
+
138
+ public w_vec3(vector: vector): void;
139
+ }
140
+
141
+ /**
142
+ * @source C++ class reader
143
+ * @customConstructor reader
144
+ * @group xr_save
145
+ */
146
+ export class reader {
147
+ public r_advance(value: u64): void;
148
+
149
+ public r_elapsed(): i64;
150
+
151
+ public r_eof(): boolean;
152
+
153
+ public r_sdir(vector: vector): void;
154
+
155
+ public r_seek(value: u64): void;
156
+
157
+ public r_tell(): u64;
158
+
159
+ public r_dir(vector: vector): void;
160
+
161
+ public r_vec3(vector: vector): void;
162
+
163
+ public r_angle16(): f32;
164
+
165
+ public r_angle8(): f32;
166
+
167
+ public r_bool(): boolean;
168
+
169
+ public r_stringZ<T extends string>(): T;
170
+
171
+ public r_float<T extends f32>(value?: T): T;
172
+
173
+ public r_float_q16<T extends f32>(value1: T, value2: T): T;
174
+
175
+ public r_float_q8<T extends f32>(value1: T, value2: T): T;
176
+
177
+ public r_s16<T extends i16 = i16>(value?: T): T;
178
+
179
+ public r_s32<T extends i32 = i32>(value?: T): T;
180
+
181
+ public r_s64<T extends i64 = i64>(value?: T): T;
182
+
183
+ public r_s8<T extends i8 = i8>(value?: T): T;
184
+
185
+ public r_u16<T extends u16 = u16>(value?: T): T;
186
+
187
+ public r_u32<T extends u32 = u32>(value?: T): T;
188
+
189
+ public r_u64<T extends u64 = u64>(value?: T): T;
190
+
191
+ public r_u8<T extends u8 = u8>(value?: T): T;
192
+ }
193
+
194
+ /**
195
+ * @group xr_save
196
+ */
197
+ export type TXR_net_processor = reader | net_packet;
198
+
199
+ /**
200
+ * @source C++ class CSavedGameWrapper
201
+ * @customConstructor CSavedGameWrapper
202
+ * @group xr_save
203
+ */
204
+ export class CSavedGameWrapper extends EngineBinding {
205
+ public constructor(name: string);
206
+
207
+ /**
208
+ * @returns active level name from current save file
209
+ */
210
+ public level_name(): string;
211
+
212
+ public level_id(): u8;
213
+
214
+ public game_time(): CTime;
215
+
216
+ public actor_health(): f32;
217
+ }
218
+
219
+ /**
220
+ * @group xr_save
221
+ */
222
+ export function valid_saved_game(this: void, filename: string): boolean;
223
+ }
@@ -40,21 +40,31 @@ declare module "xray16" {
40
40
  public constructor(sound_path: string, type: TXR_snd_type);
41
41
 
42
42
  public length(): u32;
43
+
43
44
  public playing(): boolean;
45
+
44
46
  public get_position(): vector;
45
47
 
46
48
  public set_position(vector: vector): void;
49
+
47
50
  public attach_tail(sound_path: string): void;
48
51
 
49
52
  public play(object: game_object | null): void;
53
+
50
54
  public play(object: game_object | null, delay: f32): void;
55
+
51
56
  public play(object: game_object | null, delay: f32, type: i32): void;
57
+
52
58
  public play_at_pos(object: game_object, position: vector): void;
59
+
53
60
  public play_at_pos(object: game_object, position: vector, delay: f32): void;
61
+
54
62
  public play_at_pos(object: game_object, position: vector, delay: f32, type: i32): void;
63
+
55
64
  public play_no_feedback(object: game_object, type: i32, value1: f32, position: vector, value2: f32): void;
56
65
 
57
66
  public stop(): void;
67
+
58
68
  public stop_deffered(): void;
59
69
  }
60
70
 
@@ -138,16 +148,4 @@ declare module "xray16" {
138
148
 
139
149
  private constructor();
140
150
  }
141
-
142
- /**
143
- * @source C++ class sound_memory_object : game_memory_object
144
- * @customConstructor sound_memory_object
145
- * @group xr_sound
146
- */
147
- export class sound_memory_object extends game_memory_object {
148
- public readonly power: f32;
149
- public type(): i32;
150
-
151
- protected constructor();
152
- }
153
151
  }
@@ -0,0 +1,20 @@
1
+ declare module "xray16" {
2
+ /**
3
+ * @source namespace actor_stats
4
+ * @group xr_stats
5
+ */
6
+ export interface IXR_actor_stats {
7
+ add_points_str(this: void, value1: string, value2: string, value3: string): void;
8
+
9
+ get_points(this: void, value: string): i32;
10
+
11
+ add_points(this: void, value1: string, value2: string, value3: i32, value4: i32): void;
12
+
13
+ remove_from_ranking(this: void, object_id: number): void | null;
14
+ }
15
+
16
+ /**
17
+ * @group xr_stats
18
+ */
19
+ export const actor_stats: IXR_actor_stats;
20
+ }
@@ -1,47 +1,99 @@
1
1
  declare module "xray16" {
2
+ /**
3
+ * @source C++ class task
4
+ * @customConstructor task
5
+ * @group xr_task
6
+ */
7
+ export class task {
8
+ public static readonly additional: 1;
9
+ public static readonly completed: 2;
10
+ public static readonly fail: 0;
11
+ public static readonly in_progress: 1;
12
+ public static readonly storyline: 0;
13
+ public static readonly task_dummy: 65535;
14
+
15
+ private constructor();
16
+ }
17
+
18
+ /**
19
+ * @group xr_task
20
+ */
21
+ export type TXR_TaskStateName = EnumeratedStaticsKeys<typeof task>;
22
+
23
+ /**
24
+ * ETaskState
25
+ *
26
+ * @group xr_task
27
+ */
28
+ export type TXR_TaskState = EnumeratedStaticsValues<typeof task>;
29
+
2
30
  /**
3
31
  * @source C++ class SGameTaskObjective
4
32
  * @customConstructor SGameTaskObjective
5
- * @group xr_quest
33
+ * @group xr_task
6
34
  */
7
35
  export class SGameTaskObjective {
8
36
  public constructor(task: CGameTask, id: i32);
9
37
 
10
38
  public remove_map_locations(flag: boolean): void;
39
+
11
40
  public set_icon_name(icon_name: string): void;
41
+
12
42
  public get_icon_name<T extends string>(): T | null;
43
+
13
44
  public set_description(description: string): void;
45
+
14
46
  public get_description(): string;
47
+
15
48
  public set_title(title: string): void;
49
+
16
50
  public get_title(): string;
51
+
17
52
  public set_map_location(location: string): void;
53
+
18
54
  public add_on_complete_func(function_name: string): void;
55
+
19
56
  public add_complete_info(value: string): void;
57
+
20
58
  public add_on_fail_info(value: string): void;
59
+
21
60
  public add_on_fail_func(function_name: string): void;
61
+
22
62
  public add_on_complete_info(value: string): void;
63
+
23
64
  public add_complete_func(function_name: string): void;
65
+
24
66
  public add_fail_func(function_name: string): void;
67
+
25
68
  public add_fail_info(value: string): void;
69
+
26
70
  public get_state(): TXR_TaskState;
71
+
27
72
  public get_type(): number; /* ETaskType */
73
+
28
74
  public set_type(type: i32 /* ETaskType */): void;
75
+
29
76
  public set_map_hint(hint: string): void;
77
+
30
78
  public change_map_location(value: string, value2: u16): void;
79
+
31
80
  public set_map_object_id(id: i32): void;
32
81
  }
33
82
 
34
83
  /**
35
84
  * @source C++ class CGameTask : SGameTaskObjective
36
85
  * @customConstructor CGameTask
37
- * @group xr_quest
86
+ * @group xr_task
38
87
  */
39
88
  export class CGameTask extends SGameTaskObjective {
40
89
  public constructor();
41
90
 
42
91
  public get_id(): string;
92
+
43
93
  public set_priority(priority: i32): void;
94
+
44
95
  public set_id(id: string): void;
96
+
45
97
  public get_priority(): u32;
46
98
  }
47
99
  }
@@ -0,0 +1,61 @@
1
+ declare module "xray16" {
2
+ /**
3
+ * @source C++ class CTime
4
+ * @customConstructor CTime
5
+ * @group xr_time
6
+ */
7
+ export class CTime extends EngineBinding {
8
+ public static DateToDay: 0;
9
+ public static DateToMonth: 1;
10
+ public static DateToYear: 2;
11
+ public static TimeToHours: 0;
12
+ public static TimeToMilisecs: 3;
13
+ public static TimeToMinutes: 1;
14
+ public static TimeToSeconds: 2;
15
+
16
+ public constructor();
17
+
18
+ public constructor(time: CTime);
19
+
20
+ public add(time: CTime): void;
21
+
22
+ public dateToString(time: i32): string;
23
+
24
+ public diffSec(time: CTime): f32;
25
+
26
+ public get(
27
+ y: u32,
28
+ m: u32,
29
+ d: u32,
30
+ h: u32,
31
+ min: u32,
32
+ sec: u32,
33
+ ms: u32
34
+ ): LuaMultiReturn<[u32, u32, u32, u32, u32, u32, u32]>;
35
+
36
+ public set(y: i32, m: i32, d: i32, h: i32, min: i32, sec: i32, ms: i32): void;
37
+
38
+ public setHMS(a: i32, b: i32, c: i32): void;
39
+
40
+ public setHMSms(a: i32, b: i32, c: i32, d: i32): void;
41
+
42
+ public sub(time: CTime): void;
43
+
44
+ public timeToString(time: i32): string;
45
+ }
46
+
47
+ /**
48
+ * Get absolute time in millis from executable start.
49
+ * Returns time in milliseconds.
50
+ *
51
+ * @group xr_time
52
+ * @returns 'ms' from game executable start.
53
+ * @example 0, 1000, 60000
54
+ */
55
+ export function time_global(this: void): u32;
56
+
57
+ /**
58
+ * @group xr_time
59
+ */
60
+ export function time_global_async(this: void): u32;
61
+ }
@@ -4,67 +4,67 @@
4
4
  */
5
5
  declare module "xray16" {
6
6
  /**
7
- * @group xr_types
7
+ * @group xr_type
8
8
  */
9
9
  type i8 = number;
10
10
 
11
11
  /**
12
- * @group xr_types
12
+ * @group xr_type
13
13
  */
14
14
  type u8 = number;
15
15
 
16
16
  /**
17
- * @group xr_types
17
+ * @group xr_type
18
18
  */
19
19
  type i16 = number;
20
20
 
21
21
  /**
22
- * @group xr_types
22
+ * @group xr_type
23
23
  */
24
24
  type u16 = number;
25
25
 
26
26
  /**
27
- * @group xr_types
27
+ * @group xr_type
28
28
  */
29
29
  type f32 = number;
30
30
 
31
31
  /**
32
- * @group xr_types
32
+ * @group xr_type
33
33
  */
34
34
  type i32 = number;
35
35
 
36
36
  /**
37
- * @group xr_types
37
+ * @group xr_type
38
38
  */
39
39
  type u32 = number;
40
40
 
41
41
  /**
42
- * @group xr_types
42
+ * @group xr_type
43
43
  */
44
44
  type f64 = number;
45
45
 
46
46
  /**
47
- * @group xr_types
47
+ * @group xr_type
48
48
  */
49
49
  type i64 = number;
50
50
 
51
51
  /**
52
- * @group xr_types
52
+ * @group xr_type
53
53
  */
54
54
  type u64 = number;
55
55
 
56
56
  /**
57
- * @group xr_types
57
+ * @group xr_type
58
58
  */
59
59
  type Maybe<T> = T | null | undefined;
60
60
 
61
61
  /**
62
- * @group xr_types
62
+ * @group xr_type
63
63
  */
64
64
  type EnumeratedStaticsKeys<T> = Exclude<keyof T, "constructor" | TEngineBindingStaticMethods>;
65
65
 
66
66
  /**
67
- * @group xr_types
67
+ * @group xr_type
68
68
  */
69
69
  type EnumeratedStaticsValues<T> = T[Exclude<keyof T, "constructor" | TEngineBindingStaticMethods>];
70
70
  }