@nativewrappers/redm-codegen 0.0.2 → 0.0.4
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/dist/classes/AnimScene.d.ts +101 -101
- package/dist/classes/AnimScene.d.ts.map +1 -1
- package/dist/classes/AnimScene.js +147 -147
- package/dist/classes/BaseModel.d.ts +12 -12
- package/dist/classes/BaseModel.d.ts.map +1 -1
- package/dist/classes/BaseModel.js +18 -18
- package/dist/classes/BaseTask.d.ts +22 -22
- package/dist/classes/BaseTask.d.ts.map +1 -1
- package/dist/classes/BaseTask.js +29 -29
- package/dist/classes/Cam.d.ts +86 -86
- package/dist/classes/Cam.d.ts.map +1 -1
- package/dist/classes/Cam.js +116 -116
- package/dist/classes/Entity.d.ts +426 -425
- package/dist/classes/Entity.d.ts.map +1 -1
- package/dist/classes/Entity.js +594 -589
- package/dist/classes/Interior.d.ts +1 -1
- package/dist/classes/Interior.d.ts.map +1 -1
- package/dist/classes/Ped.d.ts +13 -12
- package/dist/classes/Ped.d.ts.map +1 -1
- package/dist/classes/Ped.js +5 -0
- package/dist/classes/PedTask.d.ts +729 -729
- package/dist/classes/PedTask.d.ts.map +1 -1
- package/dist/classes/PedTask.js +951 -951
- package/dist/classes/PersChar.d.ts +11 -11
- package/dist/classes/PersChar.d.ts.map +1 -1
- package/dist/classes/PersChar.js +17 -17
- package/dist/classes/Pickup.d.ts +3 -3
- package/dist/classes/Pickup.d.ts.map +1 -1
- package/dist/classes/Pickup.js +7 -7
- package/dist/classes/Player.d.ts +164 -164
- package/dist/classes/Player.d.ts.map +1 -1
- package/dist/classes/Player.js +218 -218
- package/dist/classes/Prop.d.ts +87 -86
- package/dist/classes/Prop.d.ts.map +1 -1
- package/dist/classes/Prop.js +131 -126
- package/dist/classes/PropSet.d.ts +18 -18
- package/dist/classes/PropSet.d.ts.map +1 -1
- package/dist/classes/PropSet.js +25 -25
- package/dist/classes/Vehicle.d.ts +1 -0
- package/dist/classes/Vehicle.d.ts.map +1 -1
- package/dist/classes/Vehicle.js +5 -0
- package/dist/classes/VehicleTask.d.ts +18 -18
- package/dist/classes/VehicleTask.d.ts.map +1 -1
- package/dist/classes/VehicleTask.js +26 -26
- package/dist/classes/Volume.d.ts +1 -1
- package/dist/classes/Volume.d.ts.map +1 -1
- package/dist/classes/Weapon.d.ts +277 -277
- package/dist/classes/Weapon.d.ts.map +1 -1
- package/dist/classes/Weapon.js +398 -398
- package/dist/namespaces/Aitransport.d.ts +77 -77
- package/dist/namespaces/Aitransport.d.ts.map +1 -1
- package/dist/namespaces/Aitransport.js +94 -94
- package/dist/namespaces/Animscene.d.ts +51 -51
- package/dist/namespaces/Animscene.d.ts.map +1 -1
- package/dist/namespaces/Animscene.js +69 -69
- package/dist/namespaces/Audio.d.ts +2 -2
- package/dist/namespaces/Audio.d.ts.map +1 -1
- package/dist/namespaces/Bounty.d.ts +57 -57
- package/dist/namespaces/Bounty.d.ts.map +1 -1
- package/dist/namespaces/Bounty.js +90 -90
- package/dist/namespaces/Brain.d.ts +15 -15
- package/dist/namespaces/Brain.d.ts.map +1 -1
- package/dist/namespaces/Brain.js +20 -20
- package/dist/namespaces/CamStatics.d.ts +317 -317
- package/dist/namespaces/CamStatics.d.ts.map +1 -1
- package/dist/namespaces/CamStatics.js +449 -449
- package/dist/namespaces/Collection.d.ts +13 -13
- package/dist/namespaces/Collection.d.ts.map +1 -1
- package/dist/namespaces/Collection.js +8 -8
- package/dist/namespaces/Companion.d.ts +22 -22
- package/dist/namespaces/Companion.d.ts.map +1 -1
- package/dist/namespaces/Companion.js +30 -30
- package/dist/namespaces/Compendium.d.ts +60 -60
- package/dist/namespaces/Compendium.d.ts.map +1 -1
- package/dist/namespaces/Compendium.js +80 -80
- package/dist/namespaces/Crashlog.d.ts +10 -10
- package/dist/namespaces/Crashlog.d.ts.map +1 -1
- package/dist/namespaces/Crashlog.js +14 -14
- package/dist/namespaces/Databinding.d.ts +173 -173
- package/dist/namespaces/Databinding.d.ts.map +1 -1
- package/dist/namespaces/Databinding.js +263 -263
- package/dist/namespaces/Dlc.d.ts +5 -5
- package/dist/namespaces/Dlc.d.ts.map +1 -1
- package/dist/namespaces/Dlc.js +9 -9
- package/dist/namespaces/EntityStatics.d.ts +178 -178
- package/dist/namespaces/EntityStatics.d.ts.map +1 -1
- package/dist/namespaces/EntityStatics.js +242 -242
- package/dist/namespaces/Event.d.ts +62 -62
- package/dist/namespaces/Event.d.ts.map +1 -1
- package/dist/namespaces/Event.js +82 -82
- package/dist/namespaces/Fire.d.ts +7 -7
- package/dist/namespaces/Fire.d.ts.map +1 -1
- package/dist/namespaces/Fire.js +9 -9
- package/dist/namespaces/Graphics.d.ts +797 -797
- package/dist/namespaces/Graphics.d.ts.map +1 -1
- package/dist/namespaces/Graphics.js +1095 -1095
- package/dist/namespaces/Hud.d.ts +477 -477
- package/dist/namespaces/Hud.d.ts.map +1 -1
- package/dist/namespaces/Hud.js +721 -721
- package/dist/namespaces/InteriorStatics.d.ts +2 -2
- package/dist/namespaces/InteriorStatics.d.ts.map +1 -1
- package/dist/namespaces/Inventory.d.ts +216 -216
- package/dist/namespaces/Inventory.d.ts.map +1 -1
- package/dist/namespaces/Inventory.js +301 -301
- package/dist/namespaces/Itemdatabase.d.ts +8 -8
- package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
- package/dist/namespaces/Itemdatabase.js +7 -7
- package/dist/namespaces/Law.d.ts +2 -2
- package/dist/namespaces/Law.d.ts.map +1 -1
- package/dist/namespaces/Map.d.ts +65 -65
- package/dist/namespaces/Map.d.ts.map +1 -1
- package/dist/namespaces/Map.js +91 -91
- package/dist/namespaces/Minigame.d.ts +17 -17
- package/dist/namespaces/Minigame.d.ts.map +1 -1
- package/dist/namespaces/Minigame.js +25 -25
- package/dist/namespaces/Misc.d.ts +5 -5
- package/dist/namespaces/Misc.d.ts.map +1 -1
- package/dist/namespaces/Missiondata.d.ts +3 -3
- package/dist/namespaces/Missiondata.d.ts.map +1 -1
- package/dist/namespaces/Netshopping.d.ts +1 -1
- package/dist/namespaces/Netshopping.d.ts.map +1 -1
- package/dist/namespaces/Network.d.ts +1302 -1310
- package/dist/namespaces/Network.d.ts.map +1 -1
- package/dist/namespaces/Network.js +1910 -1918
- package/dist/namespaces/Object.d.ts +170 -170
- package/dist/namespaces/Object.d.ts.map +1 -1
- package/dist/namespaces/Object.js +232 -232
- package/dist/namespaces/Pad.d.ts +103 -103
- package/dist/namespaces/Pad.d.ts.map +1 -1
- package/dist/namespaces/Pad.js +134 -134
- package/dist/namespaces/PedStatics.d.ts +3 -3
- package/dist/namespaces/PedStatics.d.ts.map +1 -1
- package/dist/namespaces/Perschar.d.ts +71 -71
- package/dist/namespaces/Perschar.d.ts.map +1 -1
- package/dist/namespaces/Perschar.js +106 -106
- package/dist/namespaces/Persistence.d.ts +30 -30
- package/dist/namespaces/Persistence.d.ts.map +1 -1
- package/dist/namespaces/Persistence.js +42 -42
- package/dist/namespaces/PlayerStatics.d.ts +52 -52
- package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
- package/dist/namespaces/PlayerStatics.js +71 -71
- package/dist/namespaces/Population.d.ts +3 -3
- package/dist/namespaces/Population.d.ts.map +1 -1
- package/dist/namespaces/Posse.d.ts +28 -28
- package/dist/namespaces/Posse.d.ts.map +1 -1
- package/dist/namespaces/Posse.js +44 -44
- package/dist/namespaces/Propset.d.ts +59 -59
- package/dist/namespaces/Propset.d.ts.map +1 -1
- package/dist/namespaces/Propset.js +81 -81
- package/dist/namespaces/Scripts.d.ts +3 -3
- package/dist/namespaces/Scripts.d.ts.map +1 -1
- package/dist/namespaces/Socialclub.d.ts +1 -1
- package/dist/namespaces/Socialclub.d.ts.map +1 -1
- package/dist/namespaces/Stats.d.ts +85 -85
- package/dist/namespaces/Stats.d.ts.map +1 -1
- package/dist/namespaces/Stats.js +113 -113
- package/dist/namespaces/Streaming.d.ts +35 -35
- package/dist/namespaces/Streaming.d.ts.map +1 -1
- package/dist/namespaces/Streaming.js +53 -53
- package/dist/namespaces/Task.d.ts +367 -367
- package/dist/namespaces/Task.d.ts.map +1 -1
- package/dist/namespaces/Task.js +508 -508
- package/dist/namespaces/Telemetry.d.ts +198 -198
- package/dist/namespaces/Telemetry.d.ts.map +1 -1
- package/dist/namespaces/Telemetry.js +274 -274
- package/dist/namespaces/Uiapps.d.ts +24 -24
- package/dist/namespaces/Uiapps.d.ts.map +1 -1
- package/dist/namespaces/Uiapps.js +33 -33
- package/dist/namespaces/Uistickyfeed.d.ts +16 -16
- package/dist/namespaces/Uistickyfeed.d.ts.map +1 -1
- package/dist/namespaces/Uistickyfeed.js +21 -21
- package/dist/namespaces/VehicleStatics.d.ts +2 -2
- package/dist/namespaces/VehicleStatics.d.ts.map +1 -1
- package/dist/namespaces/Water.d.ts +27 -27
- package/dist/namespaces/Water.d.ts.map +1 -1
- package/dist/namespaces/Water.js +41 -41
- package/dist/namespaces/WeaponStatics.d.ts +250 -250
- package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
- package/dist/namespaces/WeaponStatics.js +372 -372
- package/dist/namespaces/Zone.d.ts +8 -8
- package/dist/namespaces/Zone.d.ts.map +1 -1
- package/dist/namespaces/Zone.js +9 -9
- package/package.json +1 -1
- package/src/classes/AnimScene.ts +170 -170
- package/src/classes/BaseModel.ts +21 -21
- package/src/classes/BaseTask.ts +31 -31
- package/src/classes/Cam.ts +124 -124
- package/src/classes/Entity.ts +619 -614
- package/src/classes/Interior.ts +1 -1
- package/src/classes/Ped.ts +17 -12
- package/src/classes/PedTask.ts +1011 -1011
- package/src/classes/PersChar.ts +19 -19
- package/src/classes/Pickup.ts +8 -8
- package/src/classes/Player.ts +227 -227
- package/src/classes/Prop.ts +146 -141
- package/src/classes/PropSet.ts +29 -29
- package/src/classes/Vehicle.ts +5 -0
- package/src/classes/VehicleTask.ts +30 -30
- package/src/classes/Volume.ts +1 -1
- package/src/classes/Weapon.ts +414 -414
- package/src/namespaces/Aitransport.ts +102 -102
- package/src/namespaces/Animscene.ts +78 -78
- package/src/namespaces/Audio.ts +2 -2
- package/src/namespaces/Bounty.ts +102 -102
- package/src/namespaces/Brain.ts +22 -22
- package/src/namespaces/CamStatics.ts +501 -501
- package/src/namespaces/Collection.ts +16 -16
- package/src/namespaces/Companion.ts +34 -34
- package/src/namespaces/Compendium.ts +93 -93
- package/src/namespaces/Crashlog.ts +16 -16
- package/src/namespaces/Databinding.ts +280 -280
- package/src/namespaces/Dlc.ts +9 -9
- package/src/namespaces/EntityStatics.ts +249 -249
- package/src/namespaces/Event.ts +92 -92
- package/src/namespaces/Fire.ts +10 -10
- package/src/namespaces/Graphics.ts +1155 -1155
- package/src/namespaces/Hud.ts +763 -763
- package/src/namespaces/InteriorStatics.ts +2 -2
- package/src/namespaces/Inventory.ts +321 -321
- package/src/namespaces/Itemdatabase.ts +11 -11
- package/src/namespaces/Law.ts +2 -2
- package/src/namespaces/Map.ts +104 -104
- package/src/namespaces/Minigame.ts +29 -29
- package/src/namespaces/Misc.ts +5 -5
- package/src/namespaces/Missiondata.ts +3 -3
- package/src/namespaces/Netshopping.ts +1 -1
- package/src/namespaces/Network.ts +1921 -1929
- package/src/namespaces/Object.ts +237 -237
- package/src/namespaces/Pad.ts +151 -151
- package/src/namespaces/PedStatics.ts +3 -3
- package/src/namespaces/Perschar.ts +116 -116
- package/src/namespaces/Persistence.ts +48 -48
- package/src/namespaces/PlayerStatics.ts +75 -75
- package/src/namespaces/Population.ts +3 -3
- package/src/namespaces/Posse.ts +47 -47
- package/src/namespaces/Propset.ts +92 -92
- package/src/namespaces/Scripts.ts +3 -3
- package/src/namespaces/Socialclub.ts +1 -1
- package/src/namespaces/Stats.ts +129 -129
- package/src/namespaces/Streaming.ts +62 -62
- package/src/namespaces/Task.ts +538 -538
- package/src/namespaces/Telemetry.ts +295 -295
- package/src/namespaces/Uiapps.ts +39 -39
- package/src/namespaces/Uistickyfeed.ts +23 -23
- package/src/namespaces/VehicleStatics.ts +2 -2
- package/src/namespaces/Water.ts +47 -47
- package/src/namespaces/WeaponStatics.ts +394 -394
- package/src/namespaces/Zone.ts +11 -11
package/dist/namespaces/Hud.d.ts
CHANGED
|
@@ -5,515 +5,373 @@ import type { Volume } from '../classes/Volume';
|
|
|
5
5
|
import { Vector3 } from '../types/Vector3';
|
|
6
6
|
export declare class Hud {
|
|
7
7
|
/**
|
|
8
|
-
* @param
|
|
9
|
-
* @param name
|
|
8
|
+
* @param modelHash
|
|
10
9
|
*/
|
|
11
|
-
static
|
|
10
|
+
static linkNamedRendertarget(modelHash: string | number): void;
|
|
12
11
|
/**
|
|
12
|
+
* Returns the label text given the hash. Old name: _GET_LABEL_TEXT_BY_HASH
|
|
13
|
+
*
|
|
14
|
+
* @param labelHash
|
|
13
15
|
* @returns
|
|
14
16
|
*/
|
|
15
|
-
static
|
|
16
|
-
/**
|
|
17
|
-
* @param prompt
|
|
18
|
-
* @param p1
|
|
19
|
-
*/
|
|
20
|
-
static uiPromptSetTag(prompt: number, p1: any): void;
|
|
21
|
-
/**
|
|
22
|
-
* @param gamerTagId
|
|
23
|
-
* @param string
|
|
24
|
-
*/
|
|
25
|
-
static setMpGamerTagName(gamerTagId: number, string: string | null): void;
|
|
26
|
-
/**
|
|
27
|
-
* @param prompt
|
|
28
|
-
* @param progress
|
|
29
|
-
*/
|
|
30
|
-
static uiPromptSetTargetModeProgress(prompt: number, progress: number): void;
|
|
31
|
-
/**
|
|
32
|
-
* @param prompt
|
|
33
|
-
*/
|
|
34
|
-
static uiPromptSetMashIndefinitelyMode(prompt: number): void;
|
|
35
|
-
static uiPromptDisablePromptsThisFrame(): void;
|
|
17
|
+
static getStringFromHashKey(labelHash: string | number): string | null;
|
|
36
18
|
/**
|
|
37
|
-
* @param
|
|
38
|
-
* @
|
|
19
|
+
* @param textBlock
|
|
20
|
+
* @returns
|
|
39
21
|
*/
|
|
40
|
-
static
|
|
22
|
+
static textBlockIsLoaded(textBlock: string | null): any;
|
|
41
23
|
/**
|
|
42
|
-
* Note: you must use VAR_STRING for p1 if string is not part of text database
|
|
43
|
-
* tabAmount: specifies number of tabs in prompt group
|
|
44
|
-
* tabDefaultIndex: specifies starting index
|
|
45
|
-
* p3 if is set > 3 you can no longer press Q to change tab if there are more than one tab set in tabAmount
|
|
46
|
-
*
|
|
47
|
-
* @param hash
|
|
48
|
-
* @param name
|
|
49
|
-
* @param tabAmount
|
|
50
|
-
* @param tabDefaultIndex
|
|
51
|
-
* @param p4
|
|
52
24
|
* @param prompt
|
|
53
25
|
* @returns
|
|
54
26
|
*/
|
|
55
|
-
static
|
|
27
|
+
static uiPromptHasMashMode(prompt: number): any;
|
|
56
28
|
/**
|
|
57
29
|
* @param p0
|
|
58
|
-
* @param p1
|
|
59
|
-
* @param p2
|
|
60
30
|
* @returns
|
|
61
31
|
*/
|
|
62
|
-
static
|
|
32
|
+
static N_0xD6BD313CFA41E57A(p0: any): any;
|
|
63
33
|
/**
|
|
64
|
-
* @param prompt
|
|
65
34
|
* @returns
|
|
66
35
|
*/
|
|
67
|
-
static
|
|
36
|
+
static isMultiplayerChatActive(): boolean;
|
|
37
|
+
static disableFrontendThisFrame(): void;
|
|
68
38
|
/**
|
|
69
39
|
* @param prompt
|
|
70
40
|
* @returns
|
|
71
41
|
*/
|
|
72
|
-
static
|
|
73
|
-
/**
|
|
74
|
-
* @param scale
|
|
75
|
-
* @param size
|
|
76
|
-
*/
|
|
77
|
-
static setTextScale(scale: number, size: number): void;
|
|
78
|
-
/**
|
|
79
|
-
* Found icons: SPEAKER, THROPY
|
|
80
|
-
*
|
|
81
|
-
* @param gamerTagId
|
|
82
|
-
* @param icon
|
|
83
|
-
*/
|
|
84
|
-
static setMpGamerTagSecondaryIcon(gamerTagId: number, icon: string | number): void;
|
|
85
|
-
/**
|
|
86
|
-
* Disables reduced time scale while menus such as weapon wheel and satchel are open.
|
|
87
|
-
*/
|
|
88
|
-
static disableReducedMenuTimeScale(): void;
|
|
89
|
-
/**
|
|
90
|
-
* @param prompt
|
|
91
|
-
* @param p1
|
|
92
|
-
*/
|
|
93
|
-
static uiPromptSetBeatModeGrayedOut(prompt: number, p1: any): void;
|
|
94
|
-
/**
|
|
95
|
-
* TM_ANY = 0,
|
|
96
|
-
* TM_ON_FOOT,
|
|
97
|
-
* TM_IN_VEHICLE
|
|
98
|
-
*
|
|
99
|
-
* @param prompt
|
|
100
|
-
* @param mode
|
|
101
|
-
*/
|
|
102
|
-
static uiPromptSetTransportMode(prompt: number, mode: number): void;
|
|
42
|
+
static uiPromptGetMashModeProgress(prompt: number): number;
|
|
103
43
|
/**
|
|
44
|
+
* @param groupId
|
|
45
|
+
* @param volume
|
|
46
|
+
* @param p2
|
|
47
|
+
* @param p3
|
|
48
|
+
* @param p4
|
|
49
|
+
* @param p5
|
|
104
50
|
* @returns
|
|
105
51
|
*/
|
|
106
|
-
static
|
|
52
|
+
static N_0x8B55B324A9123F6B(groupId: number, volume: Volume, p2: string | null, p3: any, p4: any, p5: any): any;
|
|
107
53
|
/**
|
|
108
|
-
*
|
|
109
|
-
*
|
|
54
|
+
* @param entity
|
|
110
55
|
* @returns
|
|
111
56
|
*/
|
|
112
|
-
static
|
|
57
|
+
static uiPromptGetGroupIdForTargetEntity(entity: Entity): number;
|
|
113
58
|
/**
|
|
114
|
-
*
|
|
115
|
-
* @returns
|
|
59
|
+
* Old name: _ALLOW_PAUSE_MENU_WHEN_DEAD_THIS_FRAME
|
|
116
60
|
*/
|
|
117
|
-
static
|
|
61
|
+
static allowPauseWhenNotInStateOfPlayThisFrame(): void;
|
|
118
62
|
/**
|
|
119
63
|
* @param p0
|
|
120
64
|
* @param p1
|
|
121
|
-
*/
|
|
122
|
-
static uiMovieviewSetRenderTarget(p0: any, p1: any): void;
|
|
123
|
-
/**
|
|
124
|
-
* @param p0
|
|
125
65
|
* @returns
|
|
126
66
|
*/
|
|
127
|
-
static
|
|
128
|
-
/**
|
|
129
|
-
* Attaches a Volume
|
|
130
|
-
*
|
|
131
|
-
* @param prompt
|
|
132
|
-
* @param volume
|
|
133
|
-
*/
|
|
134
|
-
static uiPromptContextSetVolume(prompt: number, volume: Volume): void;
|
|
135
|
-
/**
|
|
136
|
-
* Params: p1 is 0
|
|
137
|
-
*
|
|
138
|
-
* @param prompt
|
|
139
|
-
* @param p1
|
|
140
|
-
* @returns
|
|
141
|
-
*/
|
|
142
|
-
static uiPromptHasStandardModeCompleted(prompt: number, p1: number): boolean;
|
|
143
|
-
/**
|
|
144
|
-
* @param prompt
|
|
145
|
-
* @returns
|
|
146
|
-
*/
|
|
147
|
-
static uiPromptIsValid(prompt: number): boolean;
|
|
67
|
+
static uiPromptGetGroupIdForScenarioPoint(p0: any, p1: number): number;
|
|
148
68
|
/**
|
|
149
|
-
*
|
|
69
|
+
* nullsub, doesn't do anything
|
|
150
70
|
*
|
|
151
|
-
* @param toggle
|
|
152
|
-
*/
|
|
153
|
-
static displayHud(toggle: boolean): void;
|
|
154
|
-
/**
|
|
155
|
-
* @returns
|
|
156
|
-
*/
|
|
157
|
-
static isRadarHidden(): boolean;
|
|
158
|
-
/**
|
|
159
71
|
* @param gamerTagId
|
|
72
|
+
* @param allow
|
|
160
73
|
*/
|
|
161
|
-
static
|
|
162
|
-
/**
|
|
163
|
-
* @param prompt
|
|
164
|
-
* @param action
|
|
165
|
-
*/
|
|
166
|
-
static uiPromptSetAllowedAction(prompt: number, action: string | number): void;
|
|
74
|
+
static setMpGamerTagUnkAllowLocalized(gamerTagId: number, allow: boolean): void;
|
|
167
75
|
/**
|
|
168
|
-
* @param
|
|
169
|
-
* @param name
|
|
76
|
+
* @param ped
|
|
170
77
|
*/
|
|
171
|
-
static
|
|
78
|
+
static uiPromptSetPromptPriorityPreference(ped: Ped): void;
|
|
172
79
|
/**
|
|
173
|
-
* @param
|
|
80
|
+
* @param textBlock
|
|
174
81
|
*/
|
|
175
|
-
static
|
|
82
|
+
static textBlockDelete(textBlock: string | null): void;
|
|
176
83
|
/**
|
|
177
|
-
*
|
|
178
|
-
* fast (prompt held) rate: 0.015f
|
|
179
|
-
* punitive (been hit) rate: 0.14f
|
|
84
|
+
* Returns true when either Pause Menu, a Frontend Menu, Online Policies menu or Social Club menu is active.
|
|
180
85
|
*
|
|
181
|
-
* @param prompt
|
|
182
|
-
* @param speed
|
|
183
|
-
*/
|
|
184
|
-
static uiPromptSetMashManualModeDecaySpeed(prompt: number, speed: number): void;
|
|
185
|
-
/**
|
|
186
|
-
* @param hash
|
|
187
86
|
* @returns
|
|
188
87
|
*/
|
|
189
|
-
static
|
|
88
|
+
static isPauseMenuActive(): boolean;
|
|
190
89
|
/**
|
|
191
|
-
* @param
|
|
90
|
+
* @param controlAction
|
|
192
91
|
* @returns
|
|
193
92
|
*/
|
|
194
|
-
static
|
|
195
|
-
/**
|
|
196
|
-
* nullsub, doesn't do anything
|
|
197
|
-
*/
|
|
198
|
-
static N_0xBFFF81E12A745A5F(): void;
|
|
199
|
-
/**
|
|
200
|
-
* @param uiscene
|
|
201
|
-
*/
|
|
202
|
-
static N_0xF1E6979C0B779985(uiscene: number): void;
|
|
203
|
-
/**
|
|
204
|
-
* nullsub, this native does nothing since build 1436, use _BG_DISPLAY_TEXT instead.
|
|
205
|
-
*
|
|
206
|
-
* @param text
|
|
207
|
-
* @param xPos
|
|
208
|
-
* @param yPos
|
|
209
|
-
*/
|
|
210
|
-
static displayText(text: string | null, xPos: number, yPos: number): void;
|
|
93
|
+
static uiPromptIsControlActionActive(controlAction: string | number): any;
|
|
211
94
|
/**
|
|
212
|
-
* @param
|
|
95
|
+
* @param textBlock
|
|
213
96
|
* @returns
|
|
214
97
|
*/
|
|
215
|
-
static
|
|
216
|
-
/**
|
|
217
|
-
* @param gamerTagId
|
|
218
|
-
* @param text
|
|
219
|
-
*/
|
|
220
|
-
static setMpGamerTagNamePosse(gamerTagId: number, text: string | null): void;
|
|
98
|
+
static textBlockIsStreamed(textBlock: string | null): any;
|
|
221
99
|
/**
|
|
222
|
-
* @
|
|
100
|
+
* @param worldX
|
|
101
|
+
* @param worldY
|
|
102
|
+
* @param worldZ
|
|
103
|
+
* @returns screenX; screenY
|
|
223
104
|
*/
|
|
224
|
-
static
|
|
105
|
+
static getHudScreenPositionFromWorldPosition(worldX: number, worldY: number, worldZ: number): [boolean, number, number];
|
|
225
106
|
/**
|
|
226
107
|
* @param prompt
|
|
227
108
|
* @returns
|
|
228
109
|
*/
|
|
229
|
-
static
|
|
230
|
-
/**
|
|
231
|
-
* @param prompt
|
|
232
|
-
* @param mashes
|
|
233
|
-
*/
|
|
234
|
-
static uiPromptSetMashMode(prompt: number, mashes: number): void;
|
|
235
|
-
static hideHudThisFrame(): void;
|
|
110
|
+
static uiPromptHasHoldMode(prompt: number): any;
|
|
236
111
|
/**
|
|
237
|
-
* @param
|
|
238
|
-
* @param
|
|
112
|
+
* @param p0
|
|
113
|
+
* @param name
|
|
239
114
|
*/
|
|
240
|
-
static
|
|
115
|
+
static setMissionNameForUgcMission(p0: boolean, name: string | null): void;
|
|
241
116
|
/**
|
|
242
|
-
* @param hash
|
|
243
117
|
* @returns
|
|
244
118
|
*/
|
|
245
|
-
static
|
|
246
|
-
/**
|
|
247
|
-
* Enables reduced time scale while menus such as weapon wheel and satchel are open.
|
|
248
|
-
*/
|
|
249
|
-
static enableReducedMenuTimeScale(): void;
|
|
250
|
-
/**
|
|
251
|
-
* For startProgress, 0.0f - 1.0f is a percentage value, so 0.5f = 50% progress. Range: 0.0f - 1.0f
|
|
252
|
-
* For decreaseSpeed, 0.0f will result in the prompt not showing the mash progress at all. 0.01f - ?.0f. At speeds around 7.0f to 8.0f the prompt basically fails immediately if you don't start mashing right away.
|
|
253
|
-
*
|
|
254
|
-
* @param prompt
|
|
255
|
-
* @param mashes
|
|
256
|
-
* @param decreaseSpeed
|
|
257
|
-
* @param startProgress
|
|
258
|
-
*/
|
|
259
|
-
static uiPromptSetMashWithResistanceCanFailMode(prompt: number, mashes: number, decreaseSpeed: number, startProgress: number): void;
|
|
119
|
+
static busyspinnerIsOn(): boolean;
|
|
260
120
|
/**
|
|
261
121
|
* @param prompt
|
|
262
122
|
* @param p1
|
|
263
|
-
* @param p2
|
|
264
123
|
*/
|
|
265
|
-
static
|
|
124
|
+
static uiPromptSetTag(prompt: number, p1: any): void;
|
|
266
125
|
/**
|
|
267
|
-
* @param
|
|
268
|
-
* @param
|
|
269
|
-
* @param p2
|
|
270
|
-
* @param p3
|
|
271
|
-
* @param p4
|
|
126
|
+
* @param gamerTagId
|
|
127
|
+
* @param string
|
|
272
128
|
*/
|
|
273
|
-
static
|
|
129
|
+
static setMpGamerTagName(gamerTagId: number, string: string | null): void;
|
|
274
130
|
/**
|
|
275
131
|
* @param prompt
|
|
276
|
-
* @param
|
|
277
|
-
* @param p2
|
|
278
|
-
* @param p3
|
|
132
|
+
* @param progress
|
|
279
133
|
*/
|
|
280
|
-
static
|
|
134
|
+
static uiPromptSetTargetModeProgress(prompt: number, progress: number): void;
|
|
281
135
|
/**
|
|
282
136
|
* @param prompt
|
|
283
|
-
* @param autoFillTimeMs
|
|
284
|
-
* @param mashes
|
|
285
137
|
*/
|
|
286
|
-
static
|
|
138
|
+
static uiPromptSetMashIndefinitelyMode(prompt: number): void;
|
|
139
|
+
static uiPromptDisablePromptsThisFrame(): void;
|
|
287
140
|
/**
|
|
288
141
|
* @param prompt
|
|
289
142
|
* @param toggle
|
|
290
143
|
*/
|
|
291
|
-
static
|
|
144
|
+
static uiPromptSetUrgentPulsingEnabled(prompt: number, toggle: boolean): void;
|
|
292
145
|
/**
|
|
293
|
-
*
|
|
146
|
+
* Note: you must use VAR_STRING for p1 if string is not part of text database
|
|
147
|
+
* tabAmount: specifies number of tabs in prompt group
|
|
148
|
+
* tabDefaultIndex: specifies starting index
|
|
149
|
+
* p3 if is set > 3 you can no longer press Q to change tab if there are more than one tab set in tabAmount
|
|
294
150
|
*
|
|
295
|
-
* @param
|
|
296
|
-
* @param
|
|
297
|
-
* @
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* @param p0
|
|
151
|
+
* @param hash
|
|
152
|
+
* @param name
|
|
153
|
+
* @param tabAmount
|
|
154
|
+
* @param tabDefaultIndex
|
|
155
|
+
* @param p4
|
|
302
156
|
* @param prompt
|
|
303
|
-
* @
|
|
304
|
-
*/
|
|
305
|
-
static uiPromptAddGroupLink(p0: any, prompt: number, p2: any): void;
|
|
306
|
-
/**
|
|
307
|
-
* @param gamerTagId
|
|
157
|
+
* @returns
|
|
308
158
|
*/
|
|
309
|
-
static
|
|
159
|
+
static uiPromptSetActiveGroupThisFrame(hash: string | number, name: string | null, tabAmount: number, tabDefaultIndex: number, p4: number, prompt: number): any;
|
|
310
160
|
/**
|
|
311
161
|
* @param p0
|
|
312
162
|
* @param p1
|
|
163
|
+
* @param p2
|
|
164
|
+
* @returns
|
|
313
165
|
*/
|
|
314
|
-
static
|
|
166
|
+
static journalGetTextureWithLayout(p0: any, p1: any, p2: any): any;
|
|
315
167
|
/**
|
|
316
168
|
* @param prompt
|
|
317
|
-
* @
|
|
318
|
-
*/
|
|
319
|
-
static uiPromptSetOrderingAsInputType(prompt: number, p1: any): void;
|
|
320
|
-
/**
|
|
321
|
-
* @param p0
|
|
169
|
+
* @returns
|
|
322
170
|
*/
|
|
323
|
-
static
|
|
171
|
+
static uiPromptIsEnabled(prompt: number): any;
|
|
324
172
|
/**
|
|
325
|
-
* @param
|
|
326
|
-
* @param entity
|
|
173
|
+
* @param prompt
|
|
327
174
|
* @returns
|
|
328
175
|
*/
|
|
329
|
-
static
|
|
176
|
+
static uiPromptGetUrgentPulsingEnabled(prompt: number): boolean;
|
|
330
177
|
/**
|
|
331
|
-
* @param
|
|
332
|
-
* @param
|
|
178
|
+
* @param scale
|
|
179
|
+
* @param size
|
|
333
180
|
*/
|
|
334
|
-
static
|
|
181
|
+
static setTextScale(scale: number, size: number): void;
|
|
335
182
|
/**
|
|
336
|
-
*
|
|
337
|
-
*
|
|
183
|
+
* Found icons: SPEAKER, THROPY
|
|
184
|
+
*
|
|
185
|
+
* @param gamerTagId
|
|
186
|
+
* @param icon
|
|
338
187
|
*/
|
|
339
|
-
static
|
|
188
|
+
static setMpGamerTagSecondaryIcon(gamerTagId: number, icon: string | number): void;
|
|
340
189
|
/**
|
|
341
|
-
*
|
|
342
|
-
* @param toggle
|
|
190
|
+
* Disables reduced time scale while menus such as weapon wheel and satchel are open.
|
|
343
191
|
*/
|
|
344
|
-
static
|
|
192
|
+
static disableReducedMenuTimeScale(): void;
|
|
345
193
|
/**
|
|
346
194
|
* @param prompt
|
|
347
195
|
* @param p1
|
|
348
196
|
*/
|
|
349
|
-
static
|
|
197
|
+
static uiPromptSetBeatModeGrayedOut(prompt: number, p1: any): void;
|
|
350
198
|
/**
|
|
351
199
|
* @param p0
|
|
352
200
|
* @returns
|
|
353
201
|
*/
|
|
354
|
-
static
|
|
202
|
+
static journalGetGrimeAtIndex(p0: any): any;
|
|
355
203
|
/**
|
|
356
|
-
* @param
|
|
204
|
+
* @param prompt
|
|
357
205
|
* @param p1
|
|
358
206
|
*/
|
|
359
|
-
static
|
|
207
|
+
static uiPromptRemoveGroup(prompt: number, p1: any): void;
|
|
360
208
|
/**
|
|
361
|
-
*
|
|
362
|
-
*
|
|
209
|
+
* This native does nothing since build 1436, use _BG_SET_TEXT_COLOR (0x16FA5CE47F184F1E) instead.
|
|
210
|
+
*
|
|
211
|
+
* @param r
|
|
212
|
+
* @param g
|
|
213
|
+
* @param b
|
|
214
|
+
* @param a
|
|
363
215
|
*/
|
|
364
|
-
static
|
|
216
|
+
static setTextColor(r: number, g: number, b: number, a: number): void;
|
|
365
217
|
/**
|
|
366
|
-
* @param prompt
|
|
367
218
|
* @returns
|
|
368
219
|
*/
|
|
369
|
-
static
|
|
220
|
+
static isRadarHiddenByScript(): any;
|
|
221
|
+
static hideHudAndRadarThisFrame(): void;
|
|
370
222
|
/**
|
|
371
|
-
*
|
|
372
|
-
*
|
|
373
|
-
*
|
|
374
|
-
* @param
|
|
375
|
-
* @param
|
|
376
|
-
* @param
|
|
223
|
+
* @param ped
|
|
224
|
+
* @param username
|
|
225
|
+
* @param pointedClanTag
|
|
226
|
+
* @param isRockstarClan
|
|
227
|
+
* @param clanTag
|
|
228
|
+
* @param clanFlag
|
|
377
229
|
* @returns
|
|
378
230
|
*/
|
|
379
|
-
static
|
|
380
|
-
/**
|
|
381
|
-
* @param p0
|
|
382
|
-
* @param p1
|
|
383
|
-
*/
|
|
384
|
-
static N_0x9D37EB5003E0F2CF(p0: any, p1: any): void;
|
|
385
|
-
static uiPromptClearPromptPriorityPreference(): void;
|
|
386
|
-
/**
|
|
387
|
-
* @param prompt
|
|
388
|
-
* @param depletionTimeMs
|
|
389
|
-
*/
|
|
390
|
-
static uiPromptSetPressedTimedMode(prompt: number, depletionTimeMs: number): void;
|
|
231
|
+
static createFakeMpGamerTag(ped: Ped, username: string | null, pointedClanTag: boolean, isRockstarClan: boolean, clanTag: string | null, clanFlag: number): number;
|
|
391
232
|
/**
|
|
392
233
|
* @param prompt
|
|
393
|
-
* @
|
|
234
|
+
* @returns
|
|
394
235
|
*/
|
|
395
|
-
static
|
|
396
|
-
static uiPromptFilterClear(): void;
|
|
236
|
+
static uiPromptHasHoldAutoFillMode(prompt: number): boolean;
|
|
397
237
|
/**
|
|
398
|
-
*
|
|
238
|
+
* string1 is the only string used in the scripts, the others are null (0)
|
|
399
239
|
*
|
|
400
|
-
* @param
|
|
401
|
-
* @param
|
|
402
|
-
* @param
|
|
240
|
+
* @param active
|
|
241
|
+
* @param string1
|
|
242
|
+
* @param string2
|
|
243
|
+
* @param string3
|
|
244
|
+
* @param string4
|
|
403
245
|
*/
|
|
404
|
-
static
|
|
246
|
+
static setCurrentUgcMissionDescription(active: boolean, string1: string | null, string2: string | null, string3: string | null, string4: string | null): void;
|
|
405
247
|
/**
|
|
406
|
-
* @param
|
|
248
|
+
* @param name
|
|
249
|
+
* @returns
|
|
407
250
|
*/
|
|
408
|
-
static
|
|
251
|
+
static getNamedRendertargetRenderId(name: string | null): number;
|
|
409
252
|
/**
|
|
410
|
-
*
|
|
411
|
-
* Only works while the wheel is open will return false Use in conjunction with IS_CONTROL_JUST_RELEASED(0, 'INPUT_OPEN_WHEEL_MENU') to detect item selection/usage.
|
|
412
|
-
*
|
|
413
|
-
* @returns
|
|
253
|
+
* @param p0
|
|
414
254
|
*/
|
|
415
|
-
static
|
|
255
|
+
static uiPromptDisablePromptTypeThisFrame(p0: number): void;
|
|
416
256
|
/**
|
|
257
|
+
* @param entity
|
|
258
|
+
* @param p1
|
|
259
|
+
* @param p2
|
|
260
|
+
* @param p3
|
|
261
|
+
* @param p4
|
|
262
|
+
* @param name
|
|
263
|
+
* @param p6
|
|
417
264
|
* @returns
|
|
418
265
|
*/
|
|
419
|
-
static
|
|
420
|
-
static clearAllHelpMessages(): void;
|
|
266
|
+
static uiPromptSetAmbientGroupThisFrame(entity: Entity, p1: number, p2: number, p3: number, p4: string | number, name: string | null, p6: number): any;
|
|
421
267
|
/**
|
|
422
|
-
* @param
|
|
268
|
+
* @param prompt
|
|
423
269
|
* @returns
|
|
424
270
|
*/
|
|
425
|
-
static
|
|
271
|
+
static uiPromptIsHoldModeRunning(prompt: number): boolean;
|
|
426
272
|
/**
|
|
427
|
-
* @param p0
|
|
428
273
|
* @param prompt
|
|
274
|
+
* @returns Returns `true` if the mash mode has just been pressed.
|
|
429
275
|
*/
|
|
430
|
-
static
|
|
276
|
+
static uiPromptHasMashModeJustPressed(prompt: number): boolean;
|
|
431
277
|
/**
|
|
432
|
-
* Params: type = mostly 0, 6 (net_mission_intro_story_gvo), 7 (fm_mission_controller), 14 (net_ugc_end_flow_transition_online), 15 (net_main_[tlg_]offline)
|
|
433
|
-
*
|
|
434
278
|
* @param prompt
|
|
435
|
-
* @param
|
|
279
|
+
* @param autoFillTimeMs
|
|
280
|
+
* @param holdTimeMs
|
|
436
281
|
*/
|
|
437
|
-
static
|
|
282
|
+
static uiPromptSetHoldAutoFillMode(prompt: number, autoFillTimeMs: number, holdTimeMs: number): void;
|
|
438
283
|
/**
|
|
439
|
-
* @param
|
|
284
|
+
* @param prompt
|
|
285
|
+
* @returns
|
|
440
286
|
*/
|
|
441
|
-
static
|
|
287
|
+
static uiPromptHasHoldModeCompleted(prompt: number): boolean;
|
|
442
288
|
/**
|
|
443
|
-
*
|
|
289
|
+
* id is the return value from 0xD9459157EB22C895.
|
|
444
290
|
*
|
|
445
|
-
* @param
|
|
291
|
+
* @param id
|
|
292
|
+
*/
|
|
293
|
+
static uiPromptClearHorizontalOrientation(id: number): void;
|
|
294
|
+
/**
|
|
295
|
+
* @param p0
|
|
296
|
+
* @param p1
|
|
446
297
|
* @returns
|
|
447
298
|
*/
|
|
448
|
-
static
|
|
299
|
+
static uiRequestScene(p0: any, p1: any): any;
|
|
449
300
|
/**
|
|
301
|
+
* @param entity
|
|
302
|
+
* @param text
|
|
450
303
|
* @returns
|
|
451
304
|
*/
|
|
452
|
-
static
|
|
305
|
+
static createMpGamerTagOnEntity(entity: Entity, text: string | null): number;
|
|
453
306
|
/**
|
|
454
|
-
*
|
|
455
|
-
*
|
|
456
|
-
* punitive (been hit) rate: (1f / 128f)
|
|
457
|
-
*
|
|
458
|
-
* @param prompt
|
|
459
|
-
* @param rate
|
|
307
|
+
* @param p0
|
|
308
|
+
* @returns
|
|
460
309
|
*/
|
|
461
|
-
static
|
|
310
|
+
static journalCanWriteEntry(p0: any): any;
|
|
462
311
|
/**
|
|
463
312
|
* @param prompt
|
|
464
|
-
* @param
|
|
313
|
+
* @param p1
|
|
465
314
|
*/
|
|
466
|
-
static
|
|
315
|
+
static uiPromptSetManualResolved(prompt: number, p1: any): void;
|
|
467
316
|
/**
|
|
468
|
-
* @param
|
|
317
|
+
* @param inputHash
|
|
318
|
+
* @param labelName
|
|
319
|
+
* @param p2
|
|
320
|
+
* @param p3
|
|
321
|
+
* @param p4
|
|
322
|
+
* @param p5
|
|
469
323
|
* @returns
|
|
470
324
|
*/
|
|
471
|
-
static
|
|
325
|
+
static uiPromptCreate(inputHash: string | number, labelName: string | null, p2: any, p3: any, p4: any, p5: number): number;
|
|
472
326
|
/**
|
|
473
|
-
* @param
|
|
474
|
-
* @
|
|
327
|
+
* @param prompt
|
|
328
|
+
* @param p1
|
|
475
329
|
*/
|
|
476
|
-
static
|
|
330
|
+
static uiPromptSetSpinnerSpeed(prompt: number, p1: any): void;
|
|
477
331
|
/**
|
|
478
|
-
* @param
|
|
332
|
+
* @param name
|
|
479
333
|
* @returns
|
|
480
334
|
*/
|
|
481
|
-
static
|
|
335
|
+
static isNamedRendertargetRegistered(name: string | null): boolean;
|
|
482
336
|
/**
|
|
483
337
|
* @param p0
|
|
484
338
|
* @param p1
|
|
485
|
-
* @returns
|
|
486
339
|
*/
|
|
487
|
-
static
|
|
340
|
+
static N_0x052D4AC0922AF91A(p0: any, p1: any): void;
|
|
488
341
|
/**
|
|
489
|
-
* @param
|
|
342
|
+
* @param prompt
|
|
490
343
|
*/
|
|
491
|
-
static
|
|
344
|
+
static uiPromptDelete(prompt: number): void;
|
|
492
345
|
/**
|
|
493
|
-
*
|
|
346
|
+
* Gets a string literal from a label name. Old name: _GET_LABEL_TEXT
|
|
494
347
|
*
|
|
495
|
-
* @param
|
|
496
|
-
* @returns
|
|
348
|
+
* @param labelName
|
|
349
|
+
* @returns
|
|
497
350
|
*/
|
|
498
|
-
static
|
|
351
|
+
static getFilenameForAudioConversation(labelName: string | null): string | null;
|
|
352
|
+
static N_0x5651516D947ABC53(): void;
|
|
499
353
|
/**
|
|
500
|
-
*
|
|
501
|
-
* enum eUIGamertagVisibility
|
|
502
|
-
* {
|
|
503
|
-
* UIGAMERTAGVISIBILITY_NONE,
|
|
504
|
-
* UIGAMERTAGVISIBILITY_ICON,
|
|
505
|
-
* UIGAMERTAGVISIBILITY_SIMPLE,
|
|
506
|
-
* UIGAMERTAGVISIBILITY_COMPLEX
|
|
507
|
-
* };
|
|
508
|
-
*
|
|
509
|
-
* @param gamerTagId
|
|
510
|
-
* @param visibility
|
|
354
|
+
* @param renderId
|
|
511
355
|
*/
|
|
512
|
-
static
|
|
356
|
+
static setTextRenderId(renderId: number): void;
|
|
513
357
|
/**
|
|
514
|
-
* @param
|
|
358
|
+
* @param distance
|
|
359
|
+
* @param r
|
|
360
|
+
* @param g
|
|
361
|
+
* @param b
|
|
362
|
+
* @param a
|
|
515
363
|
*/
|
|
516
|
-
static
|
|
364
|
+
static setTextDropshadow(distance: number, r: number, g: number, b: number, a: number): void;
|
|
365
|
+
/**
|
|
366
|
+
* @param label
|
|
367
|
+
* @returns
|
|
368
|
+
*/
|
|
369
|
+
static getLabelText2(label: string | null): string | null;
|
|
370
|
+
/**
|
|
371
|
+
* @returns
|
|
372
|
+
*/
|
|
373
|
+
static journalGetEntryCount(): any;
|
|
374
|
+
static journalClearAllProgress(): void;
|
|
517
375
|
/**
|
|
518
376
|
* @param prompt
|
|
519
377
|
* @param text
|
|
@@ -687,191 +545,351 @@ export declare class Hud {
|
|
|
687
545
|
*/
|
|
688
546
|
static disableHudContext(component: string | number): void;
|
|
689
547
|
static forceCloseTextInputBox(): void;
|
|
548
|
+
/**
|
|
549
|
+
* @param prompt
|
|
550
|
+
* @param p1
|
|
551
|
+
*/
|
|
552
|
+
static N_0x53CE46C01A089DA1(prompt: number, p1: boolean): void;
|
|
553
|
+
/**
|
|
554
|
+
* @param p0
|
|
555
|
+
* @returns
|
|
556
|
+
*/
|
|
557
|
+
static uiGetSceneUiobject(p0: any): any;
|
|
690
558
|
/**
|
|
691
559
|
* @param p0
|
|
692
560
|
* @param p1
|
|
561
|
+
*/
|
|
562
|
+
static N_0x958278B97C4AFFD8(p0: any, p1: any): void;
|
|
563
|
+
/**
|
|
564
|
+
* @param prompt
|
|
693
565
|
* @returns
|
|
694
566
|
*/
|
|
695
|
-
static
|
|
567
|
+
static uiPromptGetProgress(prompt: number): number;
|
|
696
568
|
/**
|
|
697
|
-
* @param
|
|
569
|
+
* @param prompt
|
|
570
|
+
* @returns
|
|
571
|
+
*/
|
|
572
|
+
static uiPromptIsPressed(prompt: number): boolean;
|
|
573
|
+
/**
|
|
574
|
+
* Note: you must use VAR_STRING. Byte code very similar to TEXT_COMMAND_DISPLAY_TEXT in V
|
|
575
|
+
* Old name: _GET_TEXT_SUBSTRING
|
|
576
|
+
*
|
|
698
577
|
* @param text
|
|
578
|
+
* @param position
|
|
579
|
+
* @param length
|
|
699
580
|
* @returns
|
|
700
581
|
*/
|
|
701
|
-
static
|
|
582
|
+
static getCharacterFromAudioConversationFilename(text: string | null, position: number, length: number): string | null;
|
|
702
583
|
/**
|
|
703
584
|
* @param p0
|
|
585
|
+
* @param p1
|
|
586
|
+
*/
|
|
587
|
+
static N_0x9D37EB5003E0F2CF(p0: any, p1: any): void;
|
|
588
|
+
static uiPromptClearPromptPriorityPreference(): void;
|
|
589
|
+
/**
|
|
590
|
+
* @param prompt
|
|
591
|
+
* @param depletionTimeMs
|
|
592
|
+
*/
|
|
593
|
+
static uiPromptSetPressedTimedMode(prompt: number, depletionTimeMs: number): void;
|
|
594
|
+
/**
|
|
595
|
+
* @param prompt
|
|
596
|
+
* @param toggle
|
|
597
|
+
*/
|
|
598
|
+
static uiPromptSetEnabled(prompt: number, toggle: boolean): void;
|
|
599
|
+
static uiPromptFilterClear(): void;
|
|
600
|
+
/**
|
|
601
|
+
* tabIndex: specifies tab of prompt
|
|
602
|
+
*
|
|
603
|
+
* @param prompt
|
|
604
|
+
* @param groupId
|
|
605
|
+
* @param tabIndex
|
|
606
|
+
*/
|
|
607
|
+
static uiPromptSetGroup(prompt: number, groupId: number, tabIndex: number): void;
|
|
608
|
+
/**
|
|
609
|
+
* @param text
|
|
610
|
+
*/
|
|
611
|
+
static busyspinnerSetText(text: string | null): void;
|
|
612
|
+
/**
|
|
613
|
+
* Returns the hash of the currently highlighted item in the weapon wheel.
|
|
614
|
+
* Only works while the wheel is open will return false Use in conjunction with IS_CONTROL_JUST_RELEASED(0, 'INPUT_OPEN_WHEEL_MENU') to detect item selection/usage.
|
|
615
|
+
*
|
|
704
616
|
* @returns
|
|
705
617
|
*/
|
|
706
|
-
static
|
|
618
|
+
static weaponWheelGetSelectedItemHash(): any;
|
|
619
|
+
/**
|
|
620
|
+
* @returns
|
|
621
|
+
*/
|
|
622
|
+
static isRadarPreferenceSwitchedOn(): boolean;
|
|
623
|
+
static clearAllHelpMessages(): void;
|
|
624
|
+
/**
|
|
625
|
+
* For startProgress, 0.0f - 1.0f is a percentage value, so 0.5f = 50% progress. Range: 0.0f - 1.0f
|
|
626
|
+
* For decreaseSpeed, 0.0f will result in the prompt not showing the mash progress at all. 0.01f - ?.0f. At speeds around 7.0f to 8.0f the prompt basically fails immediately if you don't start mashing right away.
|
|
627
|
+
*
|
|
628
|
+
* @param prompt
|
|
629
|
+
* @param mashes
|
|
630
|
+
* @param decreaseSpeed
|
|
631
|
+
* @param startProgress
|
|
632
|
+
*/
|
|
633
|
+
static uiPromptSetMashWithResistanceCanFailMode(prompt: number, mashes: number, decreaseSpeed: number, startProgress: number): void;
|
|
707
634
|
/**
|
|
708
635
|
* @param prompt
|
|
709
636
|
* @param p1
|
|
637
|
+
* @param p2
|
|
710
638
|
*/
|
|
711
|
-
static
|
|
639
|
+
static uiPromptSetTargetModeTarget(prompt: number, p1: number, p2: number): void;
|
|
712
640
|
/**
|
|
713
|
-
* @param
|
|
714
|
-
* @param
|
|
641
|
+
* @param prompt
|
|
642
|
+
* @param p1
|
|
715
643
|
* @param p2
|
|
716
644
|
* @param p3
|
|
717
645
|
* @param p4
|
|
718
|
-
* @param p5
|
|
719
|
-
* @returns
|
|
720
646
|
*/
|
|
721
|
-
static
|
|
647
|
+
static uiPromptSetMashManualCanFailMode(prompt: number, p1: number, p2: number, p3: number, p4: any): void;
|
|
722
648
|
/**
|
|
723
649
|
* @param prompt
|
|
724
650
|
* @param p1
|
|
651
|
+
* @param p2
|
|
652
|
+
* @param p3
|
|
725
653
|
*/
|
|
726
|
-
static
|
|
654
|
+
static uiPromptSetTargetMode(prompt: number, p1: number, p2: number, p3: any): void;
|
|
727
655
|
/**
|
|
728
|
-
* @param
|
|
656
|
+
* @param prompt
|
|
657
|
+
* @param autoFillTimeMs
|
|
658
|
+
* @param mashes
|
|
659
|
+
*/
|
|
660
|
+
static uiPromptSetMashAutoFillMode(prompt: number, autoFillTimeMs: number, mashes: number): void;
|
|
661
|
+
/**
|
|
662
|
+
* @param prompt
|
|
663
|
+
* @param toggle
|
|
664
|
+
*/
|
|
665
|
+
static uiPromptSetBeatMode(prompt: number, toggle: boolean): void;
|
|
666
|
+
/**
|
|
667
|
+
* Similar to 0x9D7E12EC6A1EE4E5(GET_TEXT_SUBSTRING) but starts at the beginning of the string
|
|
668
|
+
*
|
|
669
|
+
* @param text
|
|
670
|
+
* @param length
|
|
729
671
|
* @returns
|
|
730
672
|
*/
|
|
731
|
-
static
|
|
673
|
+
static getTextSubstring2(text: string | null, length: number): string | null;
|
|
674
|
+
/**
|
|
675
|
+
* @param p0
|
|
676
|
+
* @param prompt
|
|
677
|
+
* @param p2
|
|
678
|
+
*/
|
|
679
|
+
static uiPromptAddGroupLink(p0: any, prompt: number, p2: any): void;
|
|
680
|
+
/**
|
|
681
|
+
* @param gamerTagId
|
|
682
|
+
*/
|
|
683
|
+
static mpGamerTagEnableReviveTopIcon(gamerTagId: number): void;
|
|
732
684
|
/**
|
|
733
685
|
* @param p0
|
|
734
686
|
* @param p1
|
|
735
687
|
*/
|
|
736
|
-
static
|
|
688
|
+
static N_0x8A59D44189AF2BC5(p0: any, p1: any): void;
|
|
737
689
|
/**
|
|
738
690
|
* @param prompt
|
|
691
|
+
* @param p1
|
|
739
692
|
*/
|
|
740
|
-
static
|
|
693
|
+
static uiPromptSetOrderingAsInputType(prompt: number, p1: any): void;
|
|
741
694
|
/**
|
|
742
|
-
*
|
|
743
|
-
|
|
744
|
-
|
|
695
|
+
* @param p0
|
|
696
|
+
*/
|
|
697
|
+
static journalMarkRead(p0: any): void;
|
|
698
|
+
/**
|
|
699
|
+
* @param gamerTagId
|
|
700
|
+
* @param entity
|
|
745
701
|
* @returns
|
|
746
702
|
*/
|
|
747
|
-
static
|
|
748
|
-
static N_0x5651516D947ABC53(): void;
|
|
703
|
+
static isMpGamerTagActiveOnEntity(gamerTagId: number, entity: Entity): any;
|
|
749
704
|
/**
|
|
750
|
-
* @param
|
|
705
|
+
* @param gamerTagId
|
|
706
|
+
* @param string
|
|
751
707
|
*/
|
|
752
|
-
static
|
|
708
|
+
static setMpGamerTagBigText(gamerTagId: number, string: string | null): void;
|
|
753
709
|
/**
|
|
754
|
-
* @param
|
|
755
|
-
* @param
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
710
|
+
* @param prompt
|
|
711
|
+
* @param radius
|
|
712
|
+
*/
|
|
713
|
+
static uiPromptContextSetRadius(prompt: number, radius: number): void;
|
|
714
|
+
/**
|
|
715
|
+
* @param prompt
|
|
716
|
+
* @param toggle
|
|
717
|
+
*/
|
|
718
|
+
static uiPromptSetVisible(prompt: number, toggle: boolean): void;
|
|
719
|
+
/**
|
|
720
|
+
* @param p0
|
|
721
|
+
* @returns
|
|
722
|
+
*/
|
|
723
|
+
static N_0x28AE29D909C8FDCE(p0: any): any;
|
|
724
|
+
/**
|
|
725
|
+
* @param p0
|
|
726
|
+
* @param prompt
|
|
727
|
+
*/
|
|
728
|
+
static uiPromptAddGroupReturnLink(p0: any, prompt: number): void;
|
|
729
|
+
/**
|
|
730
|
+
* Params: type = mostly 0, 6 (net_mission_intro_story_gvo), 7 (fm_mission_controller), 14 (net_ugc_end_flow_transition_online), 15 (net_main_[tlg_]offline)
|
|
731
|
+
*
|
|
732
|
+
* @param prompt
|
|
733
|
+
* @param type
|
|
734
|
+
*/
|
|
735
|
+
static uiPromptSetType(prompt: number, type: number): void;
|
|
736
|
+
/**
|
|
737
|
+
* @param textBlock
|
|
759
738
|
*/
|
|
760
|
-
static
|
|
739
|
+
static textBlockRequest(textBlock: string | null): void;
|
|
761
740
|
/**
|
|
741
|
+
* Checks if the passed gxt name exists in the game files.
|
|
742
|
+
*
|
|
762
743
|
* @param label
|
|
763
744
|
* @returns
|
|
764
745
|
*/
|
|
765
|
-
static
|
|
746
|
+
static doesTextLabelExist(label: string | null): boolean;
|
|
766
747
|
/**
|
|
767
748
|
* @returns
|
|
768
749
|
*/
|
|
769
|
-
static
|
|
770
|
-
static journalClearAllProgress(): void;
|
|
750
|
+
static N_0x066725A9D52B3641(): any;
|
|
771
751
|
/**
|
|
772
|
-
*
|
|
752
|
+
* standard (prompt not held) rate: (1f / 128f)
|
|
753
|
+
* fast (prompt held) rate: (1f / 64f)
|
|
754
|
+
* punitive (been hit) rate: (1f / 128f)
|
|
755
|
+
*
|
|
756
|
+
* @param prompt
|
|
757
|
+
* @param rate
|
|
773
758
|
*/
|
|
774
|
-
static
|
|
759
|
+
static uiPromptSetMashManualModeIncreasePerPress(prompt: number, rate: number): void;
|
|
775
760
|
/**
|
|
776
|
-
*
|
|
777
|
-
*
|
|
778
|
-
|
|
761
|
+
* @param prompt
|
|
762
|
+
* @param speed
|
|
763
|
+
*/
|
|
764
|
+
static uiPromptSetMashManualModePressedGrowthSpeed(prompt: number, speed: number): void;
|
|
765
|
+
/**
|
|
766
|
+
* @param string
|
|
779
767
|
* @returns
|
|
780
768
|
*/
|
|
781
|
-
static
|
|
769
|
+
static getLengthOfLiteralStringInBytes(string: string | null): number;
|
|
782
770
|
/**
|
|
783
|
-
* @param
|
|
771
|
+
* @param name
|
|
784
772
|
* @returns
|
|
785
773
|
*/
|
|
786
|
-
static
|
|
774
|
+
static releaseNamedRendertarget(name: string | null): boolean;
|
|
787
775
|
/**
|
|
788
|
-
* @param
|
|
776
|
+
* @param textDatabase
|
|
789
777
|
* @returns
|
|
790
778
|
*/
|
|
791
|
-
static
|
|
779
|
+
static doesTextBlockExist(textDatabase: string | null): any;
|
|
792
780
|
/**
|
|
793
781
|
* @param p0
|
|
782
|
+
* @param p1
|
|
794
783
|
* @returns
|
|
795
784
|
*/
|
|
796
|
-
static
|
|
785
|
+
static journalGetEntryInfo(p0: any, p1: any): any;
|
|
797
786
|
/**
|
|
798
|
-
* @
|
|
787
|
+
* @param p0
|
|
799
788
|
*/
|
|
800
|
-
static
|
|
801
|
-
static disableFrontendThisFrame(): void;
|
|
789
|
+
static N_0x3FE4FB41EF7D2196(p0: any): void;
|
|
802
790
|
/**
|
|
803
|
-
*
|
|
804
|
-
*
|
|
791
|
+
* colorNameHash: https://alloc8or.re/rdr3/doc/enums/eColor.txt
|
|
792
|
+
*
|
|
793
|
+
* @param colorNameHash
|
|
794
|
+
* @returns red; green; blue; alpha
|
|
805
795
|
*/
|
|
806
|
-
static
|
|
796
|
+
static getColorFromName(colorNameHash: string | number): [number, number, number, number];
|
|
807
797
|
/**
|
|
808
|
-
*
|
|
809
|
-
*
|
|
810
|
-
*
|
|
811
|
-
*
|
|
812
|
-
*
|
|
813
|
-
*
|
|
814
|
-
*
|
|
798
|
+
* visibility:
|
|
799
|
+
* enum eUIGamertagVisibility
|
|
800
|
+
* {
|
|
801
|
+
* UIGAMERTAGVISIBILITY_NONE,
|
|
802
|
+
* UIGAMERTAGVISIBILITY_ICON,
|
|
803
|
+
* UIGAMERTAGVISIBILITY_SIMPLE,
|
|
804
|
+
* UIGAMERTAGVISIBILITY_COMPLEX
|
|
805
|
+
* };
|
|
806
|
+
*
|
|
807
|
+
* @param gamerTagId
|
|
808
|
+
* @param visibility
|
|
815
809
|
*/
|
|
816
|
-
static
|
|
810
|
+
static setMpGamerTagVisibility(gamerTagId: number, visibility: number): void;
|
|
817
811
|
/**
|
|
818
|
-
* @param
|
|
819
|
-
* @returns
|
|
812
|
+
* @param component
|
|
820
813
|
*/
|
|
821
|
-
static
|
|
814
|
+
static enableHudContextThisFrame(component: string | number): void;
|
|
822
815
|
/**
|
|
823
|
-
*
|
|
816
|
+
* @param gamerTagId
|
|
824
817
|
*/
|
|
825
|
-
static
|
|
818
|
+
static mpGamerTagDisableReviveTopIcon(gamerTagId: number): void;
|
|
819
|
+
/**
|
|
820
|
+
* standard (prompt not held) rate: 0.035f
|
|
821
|
+
* fast (prompt held) rate: 0.015f
|
|
822
|
+
* punitive (been hit) rate: 0.14f
|
|
823
|
+
*
|
|
824
|
+
* @param prompt
|
|
825
|
+
* @param speed
|
|
826
|
+
*/
|
|
827
|
+
static uiPromptSetMashManualModeDecaySpeed(prompt: number, speed: number): void;
|
|
828
|
+
/**
|
|
829
|
+
* @param hash
|
|
830
|
+
* @returns
|
|
831
|
+
*/
|
|
832
|
+
static uiPromptDoesAmbientGroupExist(hash: string | number): boolean;
|
|
826
833
|
/**
|
|
827
834
|
* @param p0
|
|
828
|
-
* @param p1
|
|
829
835
|
* @returns
|
|
830
836
|
*/
|
|
831
|
-
static
|
|
837
|
+
static N_0x7EC0D68233E391AC(p0: number): number;
|
|
832
838
|
/**
|
|
833
839
|
* nullsub, doesn't do anything
|
|
834
|
-
*
|
|
835
|
-
* @param gamerTagId
|
|
836
|
-
* @param allow
|
|
837
840
|
*/
|
|
838
|
-
static
|
|
841
|
+
static N_0xBFFF81E12A745A5F(): void;
|
|
839
842
|
/**
|
|
840
|
-
* @param
|
|
843
|
+
* @param uiscene
|
|
841
844
|
*/
|
|
842
|
-
static
|
|
845
|
+
static N_0xF1E6979C0B779985(uiscene: number): void;
|
|
843
846
|
/**
|
|
844
|
-
*
|
|
847
|
+
* nullsub, this native does nothing since build 1436, use _BG_DISPLAY_TEXT instead.
|
|
848
|
+
*
|
|
849
|
+
* @param text
|
|
850
|
+
* @param xPos
|
|
851
|
+
* @param yPos
|
|
845
852
|
*/
|
|
846
|
-
static
|
|
853
|
+
static displayText(text: string | null, xPos: number, yPos: number): void;
|
|
847
854
|
/**
|
|
848
|
-
*
|
|
849
|
-
*
|
|
855
|
+
* @param prompt
|
|
850
856
|
* @returns
|
|
851
857
|
*/
|
|
852
|
-
static
|
|
858
|
+
static uiPromptIsJustPressed(prompt: number): boolean;
|
|
859
|
+
/**
|
|
860
|
+
* @param gamerTagId
|
|
861
|
+
* @param text
|
|
862
|
+
*/
|
|
863
|
+
static setMpGamerTagNamePosse(gamerTagId: number, text: string | null): void;
|
|
853
864
|
/**
|
|
854
|
-
* @param controlAction
|
|
855
865
|
* @returns
|
|
856
866
|
*/
|
|
857
|
-
static
|
|
867
|
+
static isSubtitlePreferenceSwitchedOn(): boolean;
|
|
858
868
|
/**
|
|
859
|
-
* @param
|
|
869
|
+
* @param prompt
|
|
860
870
|
* @returns
|
|
861
871
|
*/
|
|
862
|
-
static
|
|
872
|
+
static uiPromptIsActive(prompt: number): boolean;
|
|
863
873
|
/**
|
|
864
|
-
* @param
|
|
865
|
-
* @param
|
|
866
|
-
* @param worldZ
|
|
867
|
-
* @returns screenX; screenY
|
|
874
|
+
* @param prompt
|
|
875
|
+
* @param mashes
|
|
868
876
|
*/
|
|
869
|
-
static
|
|
877
|
+
static uiPromptSetMashMode(prompt: number, mashes: number): void;
|
|
878
|
+
static hideHudThisFrame(): void;
|
|
870
879
|
/**
|
|
871
880
|
* @param prompt
|
|
881
|
+
* @param releaseMode
|
|
882
|
+
*/
|
|
883
|
+
static uiPromptSetStandardMode(prompt: number, releaseMode: boolean): void;
|
|
884
|
+
/**
|
|
885
|
+
* @param hash
|
|
872
886
|
* @returns
|
|
873
887
|
*/
|
|
874
|
-
static
|
|
888
|
+
static uiPromptGetGroupActivePage(hash: string | number): number;
|
|
889
|
+
/**
|
|
890
|
+
* Enables reduced time scale while menus such as weapon wheel and satchel are open.
|
|
891
|
+
*/
|
|
892
|
+
static enableReducedMenuTimeScale(): void;
|
|
875
893
|
/**
|
|
876
894
|
* @param prompt
|
|
877
895
|
* @returns
|
|
@@ -959,100 +977,82 @@ export declare class Hud {
|
|
|
959
977
|
*/
|
|
960
978
|
static N_0x100157D6D7FE32CA(p0: any, p1: any): any;
|
|
961
979
|
/**
|
|
962
|
-
*
|
|
963
|
-
*
|
|
964
|
-
|
|
965
|
-
static journalGetGrimeAtIndex(p0: any): any;
|
|
966
|
-
/**
|
|
967
|
-
* @param prompt
|
|
968
|
-
* @param p1
|
|
969
|
-
*/
|
|
970
|
-
static uiPromptRemoveGroup(prompt: number, p1: any): void;
|
|
971
|
-
/**
|
|
972
|
-
* This native does nothing since build 1436, use _BG_SET_TEXT_COLOR (0x16FA5CE47F184F1E) instead.
|
|
980
|
+
* TM_ANY = 0,
|
|
981
|
+
* TM_ON_FOOT,
|
|
982
|
+
* TM_IN_VEHICLE
|
|
973
983
|
*
|
|
974
|
-
* @param
|
|
975
|
-
* @param
|
|
976
|
-
* @param b
|
|
977
|
-
* @param a
|
|
984
|
+
* @param prompt
|
|
985
|
+
* @param mode
|
|
978
986
|
*/
|
|
979
|
-
static
|
|
987
|
+
static uiPromptSetTransportMode(prompt: number, mode: number): void;
|
|
980
988
|
/**
|
|
981
989
|
* @returns
|
|
982
990
|
*/
|
|
983
|
-
static
|
|
984
|
-
static hideHudAndRadarThisFrame(): void;
|
|
991
|
+
static uiPromptRegisterBegin(): number;
|
|
985
992
|
/**
|
|
986
|
-
*
|
|
987
|
-
*
|
|
988
|
-
* @param pointedClanTag
|
|
989
|
-
* @param isRockstarClan
|
|
990
|
-
* @param clanTag
|
|
991
|
-
* @param clanFlag
|
|
993
|
+
* This returns an id that can be used with 0x6095358C4142932A.
|
|
994
|
+
*
|
|
992
995
|
* @returns
|
|
993
996
|
*/
|
|
994
|
-
static
|
|
997
|
+
static uiPromptSetRegisterHorizontalOrientation(): number;
|
|
995
998
|
/**
|
|
996
999
|
* @param prompt
|
|
997
1000
|
* @returns
|
|
998
1001
|
*/
|
|
999
|
-
static
|
|
1002
|
+
static uiPromptHasPressedTimedModeCompleted(prompt: number): any;
|
|
1000
1003
|
/**
|
|
1001
|
-
*
|
|
1002
|
-
*
|
|
1003
|
-
* @param active
|
|
1004
|
-
* @param string1
|
|
1005
|
-
* @param string2
|
|
1006
|
-
* @param string3
|
|
1007
|
-
* @param string4
|
|
1004
|
+
* @param p0
|
|
1005
|
+
* @param p1
|
|
1008
1006
|
*/
|
|
1009
|
-
static
|
|
1007
|
+
static uiMovieviewSetRenderTarget(p0: any, p1: any): void;
|
|
1010
1008
|
/**
|
|
1011
|
-
* @param
|
|
1009
|
+
* @param p0
|
|
1012
1010
|
* @returns
|
|
1013
1011
|
*/
|
|
1014
|
-
static
|
|
1012
|
+
static journalGetEntryAtIndex(p0: any): any;
|
|
1015
1013
|
/**
|
|
1016
|
-
*
|
|
1014
|
+
* Attaches a Volume
|
|
1015
|
+
*
|
|
1016
|
+
* @param prompt
|
|
1017
|
+
* @param volume
|
|
1017
1018
|
*/
|
|
1018
|
-
static
|
|
1019
|
+
static uiPromptContextSetVolume(prompt: number, volume: Volume): void;
|
|
1019
1020
|
/**
|
|
1020
|
-
*
|
|
1021
|
+
* Params: p1 is 0
|
|
1022
|
+
*
|
|
1023
|
+
* @param prompt
|
|
1021
1024
|
* @param p1
|
|
1022
|
-
* @param p2
|
|
1023
|
-
* @param p3
|
|
1024
|
-
* @param p4
|
|
1025
|
-
* @param name
|
|
1026
|
-
* @param p6
|
|
1027
1025
|
* @returns
|
|
1028
1026
|
*/
|
|
1029
|
-
static
|
|
1027
|
+
static uiPromptHasStandardModeCompleted(prompt: number, p1: number): boolean;
|
|
1030
1028
|
/**
|
|
1031
1029
|
* @param prompt
|
|
1032
1030
|
* @returns
|
|
1033
1031
|
*/
|
|
1034
|
-
static
|
|
1032
|
+
static uiPromptIsValid(prompt: number): boolean;
|
|
1035
1033
|
/**
|
|
1036
|
-
*
|
|
1037
|
-
*
|
|
1034
|
+
* If Hud should be displayed
|
|
1035
|
+
*
|
|
1036
|
+
* @param toggle
|
|
1038
1037
|
*/
|
|
1039
|
-
static
|
|
1038
|
+
static displayHud(toggle: boolean): void;
|
|
1040
1039
|
/**
|
|
1041
|
-
* @
|
|
1042
|
-
* @param autoFillTimeMs
|
|
1043
|
-
* @param holdTimeMs
|
|
1040
|
+
* @returns
|
|
1044
1041
|
*/
|
|
1045
|
-
static
|
|
1042
|
+
static isRadarHidden(): boolean;
|
|
1043
|
+
/**
|
|
1044
|
+
* @param gamerTagId
|
|
1045
|
+
*/
|
|
1046
|
+
static removeMpGamerTag(gamerTagId: number): void;
|
|
1046
1047
|
/**
|
|
1047
1048
|
* @param prompt
|
|
1048
|
-
* @
|
|
1049
|
+
* @param action
|
|
1049
1050
|
*/
|
|
1050
|
-
static
|
|
1051
|
+
static uiPromptSetAllowedAction(prompt: number, action: string | number): void;
|
|
1051
1052
|
/**
|
|
1052
|
-
*
|
|
1053
|
-
*
|
|
1054
|
-
* @param id
|
|
1053
|
+
* @param p0
|
|
1054
|
+
* @param name
|
|
1055
1055
|
*/
|
|
1056
|
-
static
|
|
1056
|
+
static setMissionName(p0: boolean, name: string | null): void;
|
|
1057
1057
|
}
|
|
1058
1058
|
//# sourceMappingURL=Hud.d.ts.map
|