-
Notifications
You must be signed in to change notification settings - Fork 0
/
xr_ui_asset.d.ts
123 lines (99 loc) · 2.49 KB
/
xr_ui_asset.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
declare module "xray16" {
/**
* @source C++ class UIStyleManager
* @customConstructor UIStyleManager
* @group xr_ui_asset
*/
export class UIStyleManager {
private constructor();
public GetAllStyles(): LuaIterable<token>;
public DefaultStyleIsSet(): boolean;
public GetCurrentStyleId(): u32;
public SetStyle(id: u32, reload_ui?: boolean): void;
}
/**
* @source C++ class CGameFont
* @customConstructor CGameFont
* @group xr_ui_asset
*/
export class CGameFont {
public static readonly alCenter: 2;
public static readonly alLeft: 0;
public static readonly alRight: 1;
private constructor();
}
/**
* EVTextAlignment.
*
* @group xr_ui_asset
*/
export type TXR_CGameFont_alignment = EnumeratedStaticsValues<typeof CGameFont>;
/**
* @group xr_ui_asset
*/
export function GetFontDI(this: void): CGameFont;
/**
* @group xr_ui_asset
*/
export function GetFontGraffiti19Russian(this: void): CGameFont;
/**
* @group xr_ui_asset
*/
export function GetFontGraffiti32Russian(this: void): CGameFont;
/**
* @group xr_ui_asset
*/
export function GetFontGraffiti50Russian(this: void): CGameFont;
/**
* @group xr_ui_asset
*/
export function GetFontLetterica16Russian(this: void): CGameFont;
/**
* @group xr_ui_asset
*/
export function GetFontLetterica18Russian(this: void): CGameFont;
/**
* @group xr_ui_asset
*/
export function GetFontLetterica25(this: void): CGameFont;
/**
* @group xr_ui_asset
*/
export function GetFontMedium(this: void): CGameFont;
/**
* @group xr_ui_asset
*/
export function GetFontSmall(this: void): CGameFont;
/**
* @group xr_ui_asset
*/
export function GetTextureInfo(this: void, char: string, char2: string, tex_info: TEX_INFO): boolean;
/**
* @group xr_ui_asset
*/
export function GetTextureName(this: void, char: string): string;
/**
* @group xr_ui_asset
*/
export function GetFontGraffiti22Russian(this: void): CGameFont;
/**
* @group xr_ui_asset
*/
export function GetDefaultUIPath(this: void): string;
/**
* @group xr_ui_asset
*/
export function GetDefaultUIPathWithDelimiter(this: void): string;
/**
* @group xr_ui_asset
*/
export function GetUIPath(this: void): string;
/**
* @group xr_ui_asset
*/
export function GetUIPathWithDelimiter(this: void): string;
/**
* @group xr_ui_asset
*/
export function GetUIStyleManager(this: void): UIStyleManager;
}