@nativewrappers/redm-codegen 0.0.5 → 0.0.6
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 +126 -126
- package/dist/classes/AnimScene.d.ts.map +1 -1
- package/dist/classes/AnimScene.js +184 -184
- package/dist/classes/BaseModel.d.ts +17 -17
- package/dist/classes/BaseModel.d.ts.map +1 -1
- package/dist/classes/BaseModel.js +25 -25
- package/dist/classes/BaseTask.d.ts +12 -12
- package/dist/classes/BaseTask.d.ts.map +1 -1
- package/dist/classes/BaseTask.js +14 -14
- package/dist/classes/Cam.d.ts +94 -94
- package/dist/classes/Cam.d.ts.map +1 -1
- package/dist/classes/Cam.js +126 -126
- package/dist/classes/Entity.d.ts +471 -471
- package/dist/classes/Entity.d.ts.map +1 -1
- package/dist/classes/Entity.js +672 -672
- package/dist/classes/PedTask.d.ts +155 -155
- package/dist/classes/PedTask.d.ts.map +1 -1
- package/dist/classes/PedTask.js +204 -204
- package/dist/classes/PersChar.d.ts +9 -9
- package/dist/classes/PersChar.d.ts.map +1 -1
- package/dist/classes/PersChar.js +21 -21
- package/dist/classes/Pickup.d.ts +5 -5
- package/dist/classes/Pickup.d.ts.map +1 -1
- package/dist/classes/Pickup.js +9 -9
- package/dist/classes/Player.d.ts +687 -687
- package/dist/classes/Player.d.ts.map +1 -1
- package/dist/classes/Player.js +1013 -1013
- package/dist/classes/Prop.d.ts +87 -87
- package/dist/classes/Prop.d.ts.map +1 -1
- package/dist/classes/Prop.js +121 -121
- package/dist/classes/PropSet.d.ts +4 -4
- package/dist/classes/PropSet.d.ts.map +1 -1
- package/dist/classes/PropSet.js +6 -6
- package/dist/classes/VehicleTask.d.ts +17 -17
- package/dist/classes/VehicleTask.d.ts.map +1 -1
- package/dist/classes/VehicleTask.js +21 -21
- package/dist/classes/Weapon.d.ts +306 -306
- package/dist/classes/Weapon.d.ts.map +1 -1
- package/dist/classes/Weapon.js +411 -411
- package/dist/namespaces/Animscene.d.ts +59 -59
- package/dist/namespaces/Animscene.d.ts.map +1 -1
- package/dist/namespaces/Animscene.js +77 -77
- package/dist/namespaces/Audio.d.ts +569 -569
- package/dist/namespaces/Audio.d.ts.map +1 -1
- package/dist/namespaces/Audio.js +728 -728
- package/dist/namespaces/Bounty.d.ts +70 -70
- package/dist/namespaces/Bounty.d.ts.map +1 -1
- package/dist/namespaces/Bounty.js +115 -115
- 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 +399 -399
- package/dist/namespaces/CamStatics.d.ts.map +1 -1
- package/dist/namespaces/CamStatics.js +574 -574
- package/dist/namespaces/Clock.d.ts +51 -51
- package/dist/namespaces/Clock.d.ts.map +1 -1
- package/dist/namespaces/Clock.js +73 -73
- package/dist/namespaces/Collection.d.ts +76 -76
- package/dist/namespaces/Collection.d.ts.map +1 -1
- package/dist/namespaces/Collection.js +108 -108
- 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 +38 -38
- package/dist/namespaces/Compendium.d.ts.map +1 -1
- package/dist/namespaces/Compendium.js +52 -52
- 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/Crew.d.ts +9 -9
- package/dist/namespaces/Crew.d.ts.map +1 -1
- package/dist/namespaces/Crew.js +14 -14
- package/dist/namespaces/Databinding.d.ts +177 -177
- package/dist/namespaces/Databinding.d.ts.map +1 -1
- package/dist/namespaces/Databinding.js +271 -271
- 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 +193 -193
- package/dist/namespaces/EntityStatics.d.ts.map +1 -1
- package/dist/namespaces/EntityStatics.js +263 -263
- 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 +820 -820
- package/dist/namespaces/Graphics.d.ts.map +1 -1
- package/dist/namespaces/Graphics.js +1118 -1118
- package/dist/namespaces/Hud.d.ts +494 -494
- package/dist/namespaces/Hud.d.ts.map +1 -1
- package/dist/namespaces/Hud.js +789 -789
- package/dist/namespaces/Inventory.d.ts +180 -180
- package/dist/namespaces/Inventory.d.ts.map +1 -1
- package/dist/namespaces/Inventory.js +239 -239
- package/dist/namespaces/Itemdatabase.d.ts +78 -78
- package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
- package/dist/namespaces/Itemdatabase.js +106 -106
- package/dist/namespaces/Map.d.ts +156 -156
- package/dist/namespaces/Map.d.ts.map +1 -1
- package/dist/namespaces/Map.js +207 -207
- package/dist/namespaces/Minigame.d.ts +78 -78
- package/dist/namespaces/Minigame.d.ts.map +1 -1
- package/dist/namespaces/Minigame.js +116 -116
- package/dist/namespaces/Missiondata.d.ts +15 -15
- package/dist/namespaces/Missiondata.d.ts.map +1 -1
- package/dist/namespaces/Missiondata.js +23 -23
- package/dist/namespaces/Network.d.ts +636 -636
- package/dist/namespaces/Network.d.ts.map +1 -1
- package/dist/namespaces/Network.js +915 -915
- package/dist/namespaces/Object.d.ts +121 -121
- package/dist/namespaces/Object.d.ts.map +1 -1
- package/dist/namespaces/Object.js +162 -162
- package/dist/namespaces/Pad.d.ts +94 -94
- package/dist/namespaces/Pad.d.ts.map +1 -1
- package/dist/namespaces/Pad.js +127 -127
- package/dist/namespaces/Perschar.d.ts +44 -44
- package/dist/namespaces/Perschar.d.ts.map +1 -1
- package/dist/namespaces/Perschar.js +68 -68
- package/dist/namespaces/Physics.d.ts +158 -158
- package/dist/namespaces/Physics.d.ts.map +1 -1
- package/dist/namespaces/Physics.js +207 -207
- package/dist/namespaces/PlayerStatics.d.ts +127 -127
- package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
- package/dist/namespaces/PlayerStatics.js +177 -177
- package/dist/namespaces/Population.d.ts +75 -75
- package/dist/namespaces/Population.d.ts.map +1 -1
- package/dist/namespaces/Population.js +101 -101
- package/dist/namespaces/Posse.d.ts +38 -38
- package/dist/namespaces/Posse.d.ts.map +1 -1
- package/dist/namespaces/Posse.js +62 -62
- package/dist/namespaces/Propset.d.ts +30 -30
- package/dist/namespaces/Propset.d.ts.map +1 -1
- package/dist/namespaces/Propset.js +38 -38
- package/dist/namespaces/Shapetest.d.ts +11 -11
- package/dist/namespaces/Shapetest.d.ts.map +1 -1
- package/dist/namespaces/Shapetest.js +13 -13
- package/dist/namespaces/Stats.d.ts +88 -88
- package/dist/namespaces/Stats.d.ts.map +1 -1
- package/dist/namespaces/Stats.js +123 -123
- package/dist/namespaces/Streaming.d.ts +58 -58
- package/dist/namespaces/Streaming.d.ts.map +1 -1
- package/dist/namespaces/Streaming.js +92 -92
- package/dist/namespaces/Task.d.ts +62 -62
- package/dist/namespaces/Task.d.ts.map +1 -1
- package/dist/namespaces/Task.js +90 -90
- package/dist/namespaces/Telemetry.d.ts +172 -172
- package/dist/namespaces/Telemetry.d.ts.map +1 -1
- package/dist/namespaces/Telemetry.js +240 -240
- package/dist/namespaces/Uifeed.d.ts +15 -15
- package/dist/namespaces/Uifeed.d.ts.map +1 -1
- package/dist/namespaces/Uifeed.js +24 -24
- package/dist/namespaces/Voice.d.ts +38 -38
- package/dist/namespaces/Voice.d.ts.map +1 -1
- package/dist/namespaces/Voice.js +56 -56
- 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 +346 -346
- package/package.json +1 -1
- package/src/classes/AnimScene.ts +199 -199
- package/src/classes/BaseModel.ts +29 -29
- package/src/classes/BaseTask.ts +15 -15
- package/src/classes/Cam.ts +135 -135
- package/src/classes/Entity.ts +687 -687
- package/src/classes/PedTask.ts +223 -223
- package/src/classes/PersChar.ts +24 -24
- package/src/classes/Pickup.ts +10 -10
- package/src/classes/Player.ts +1024 -1024
- package/src/classes/Prop.ts +136 -136
- package/src/classes/PropSet.ts +7 -7
- package/src/classes/VehicleTask.ts +23 -23
- package/src/classes/Weapon.ts +429 -429
- package/src/namespaces/Animscene.ts +86 -86
- package/src/namespaces/Audio.ts +804 -804
- package/src/namespaces/Bounty.ts +131 -131
- package/src/namespaces/Brain.ts +22 -22
- package/src/namespaces/CamStatics.ts +599 -599
- package/src/namespaces/Clock.ts +82 -82
- package/src/namespaces/Collection.ts +109 -109
- package/src/namespaces/Companion.ts +34 -34
- package/src/namespaces/Compendium.ts +59 -59
- package/src/namespaces/Crashlog.ts +16 -16
- package/src/namespaces/Crew.ts +16 -16
- package/src/namespaces/Databinding.ts +286 -286
- package/src/namespaces/Dlc.ts +9 -9
- package/src/namespaces/EntityStatics.ts +279 -279
- package/src/namespaces/Fire.ts +10 -10
- package/src/namespaces/Graphics.ts +1196 -1196
- package/src/namespaces/Hud.ts +799 -799
- package/src/namespaces/Inventory.ts +245 -245
- package/src/namespaces/Itemdatabase.ts +118 -118
- package/src/namespaces/Map.ts +215 -215
- package/src/namespaces/Minigame.ts +132 -132
- package/src/namespaces/Missiondata.ts +27 -27
- package/src/namespaces/Network.ts +951 -951
- package/src/namespaces/Object.ts +171 -171
- package/src/namespaces/Pad.ts +127 -127
- package/src/namespaces/Perschar.ts +72 -72
- package/src/namespaces/Physics.ts +231 -231
- package/src/namespaces/PlayerStatics.ts +202 -202
- package/src/namespaces/Population.ts +114 -114
- package/src/namespaces/Posse.ts +62 -62
- package/src/namespaces/Propset.ts +42 -42
- package/src/namespaces/Shapetest.ts +14 -14
- package/src/namespaces/Stats.ts +139 -139
- package/src/namespaces/Streaming.ts +104 -104
- package/src/namespaces/Task.ts +100 -100
- package/src/namespaces/Telemetry.ts +265 -265
- package/src/namespaces/Uifeed.ts +27 -27
- package/src/namespaces/Voice.ts +65 -65
- package/src/namespaces/Water.ts +47 -47
- package/src/namespaces/WeaponStatics.ts +365 -365
package/dist/namespaces/Hud.d.ts
CHANGED
|
@@ -5,285 +5,440 @@ import type { Volume } from '../classes/Volume';
|
|
|
5
5
|
import { Vector3 } from '../types/Vector3';
|
|
6
6
|
export declare class Hud {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
|
|
8
|
+
* @param modelHash
|
|
9
|
+
*/
|
|
10
|
+
static linkNamedRendertarget(modelHash: string | number): void;
|
|
11
|
+
/**
|
|
12
|
+
* Returns the label text given the hash. Old name: _GET_LABEL_TEXT_BY_HASH
|
|
10
13
|
*
|
|
11
|
-
* @param
|
|
12
|
-
* @
|
|
13
|
-
* @param decreaseSpeed
|
|
14
|
-
* @param startProgress
|
|
14
|
+
* @param labelHash
|
|
15
|
+
* @returns
|
|
15
16
|
*/
|
|
16
|
-
static
|
|
17
|
+
static getStringFromHashKey(labelHash: string | number): string | null;
|
|
18
|
+
/**
|
|
19
|
+
* @param textBlock
|
|
20
|
+
* @returns
|
|
21
|
+
*/
|
|
22
|
+
static textBlockIsLoaded(textBlock: string | null): any;
|
|
17
23
|
/**
|
|
18
24
|
* @param prompt
|
|
19
|
-
* @
|
|
20
|
-
* @param p2
|
|
25
|
+
* @returns
|
|
21
26
|
*/
|
|
22
|
-
static
|
|
27
|
+
static uiPromptHasMashMode(prompt: number): any;
|
|
28
|
+
/**
|
|
29
|
+
* @param p0
|
|
30
|
+
* @param name
|
|
31
|
+
*/
|
|
32
|
+
static setMissionNameForUgcMission(p0: boolean, name: string | null): void;
|
|
33
|
+
/**
|
|
34
|
+
* @returns
|
|
35
|
+
*/
|
|
36
|
+
static busyspinnerIsOn(): boolean;
|
|
23
37
|
/**
|
|
24
38
|
* @param prompt
|
|
25
39
|
* @param p1
|
|
26
|
-
* @param p2
|
|
27
|
-
* @param p3
|
|
28
|
-
* @param p4
|
|
29
40
|
*/
|
|
30
|
-
static
|
|
41
|
+
static uiPromptSetTag(prompt: number, p1: any): void;
|
|
42
|
+
/**
|
|
43
|
+
* @param gamerTagId
|
|
44
|
+
* @param string
|
|
45
|
+
*/
|
|
46
|
+
static setMpGamerTagName(gamerTagId: number, string: string | null): void;
|
|
31
47
|
/**
|
|
32
48
|
* @param prompt
|
|
33
|
-
* @param
|
|
34
|
-
* @param p2
|
|
35
|
-
* @param p3
|
|
49
|
+
* @param progress
|
|
36
50
|
*/
|
|
37
|
-
static
|
|
51
|
+
static uiPromptSetTargetModeProgress(prompt: number, progress: number): void;
|
|
38
52
|
/**
|
|
39
53
|
* @param prompt
|
|
40
|
-
* @param autoFillTimeMs
|
|
41
|
-
* @param mashes
|
|
42
54
|
*/
|
|
43
|
-
static
|
|
55
|
+
static uiPromptSetMashIndefinitelyMode(prompt: number): void;
|
|
56
|
+
static uiPromptDisablePromptsThisFrame(): void;
|
|
44
57
|
/**
|
|
45
58
|
* @param prompt
|
|
46
59
|
* @param toggle
|
|
47
60
|
*/
|
|
48
|
-
static
|
|
61
|
+
static uiPromptSetUrgentPulsingEnabled(prompt: number, toggle: boolean): void;
|
|
49
62
|
/**
|
|
50
|
-
*
|
|
63
|
+
* Note: you must use VAR_STRING for p1 if string is not part of text database
|
|
64
|
+
* tabAmount: specifies number of tabs in prompt group
|
|
65
|
+
* tabDefaultIndex: specifies starting index
|
|
66
|
+
* p3 if is set > 3 you can no longer press Q to change tab if there are more than one tab set in tabAmount
|
|
51
67
|
*
|
|
52
|
-
* @param
|
|
53
|
-
* @param
|
|
68
|
+
* @param hash
|
|
69
|
+
* @param name
|
|
70
|
+
* @param tabAmount
|
|
71
|
+
* @param tabDefaultIndex
|
|
72
|
+
* @param p4
|
|
73
|
+
* @param prompt
|
|
54
74
|
* @returns
|
|
55
75
|
*/
|
|
56
|
-
static
|
|
76
|
+
static uiPromptSetActiveGroupThisFrame(hash: string | number, name: string | null, tabAmount: number, tabDefaultIndex: number, p4: number, prompt: number): any;
|
|
57
77
|
/**
|
|
58
78
|
* @param p0
|
|
59
|
-
* @param
|
|
79
|
+
* @param p1
|
|
60
80
|
* @param p2
|
|
81
|
+
* @returns
|
|
61
82
|
*/
|
|
62
|
-
static
|
|
63
|
-
/**
|
|
64
|
-
* @param gamerTagId
|
|
65
|
-
*/
|
|
66
|
-
static mpGamerTagEnableReviveTopIcon(gamerTagId: number): void;
|
|
83
|
+
static journalGetTextureWithLayout(p0: any, p1: any, p2: any): any;
|
|
67
84
|
/**
|
|
68
|
-
* @param
|
|
69
|
-
* @
|
|
85
|
+
* @param prompt
|
|
86
|
+
* @returns
|
|
70
87
|
*/
|
|
71
|
-
static
|
|
88
|
+
static uiPromptIsEnabled(prompt: number): any;
|
|
72
89
|
/**
|
|
73
90
|
* @param prompt
|
|
74
|
-
* @
|
|
91
|
+
* @returns
|
|
75
92
|
*/
|
|
76
|
-
static
|
|
93
|
+
static uiPromptGetUrgentPulsingEnabled(prompt: number): boolean;
|
|
77
94
|
/**
|
|
78
|
-
* @param
|
|
95
|
+
* @param scale
|
|
96
|
+
* @param size
|
|
79
97
|
*/
|
|
80
|
-
static
|
|
98
|
+
static setTextScale(scale: number, size: number): void;
|
|
81
99
|
/**
|
|
100
|
+
* Found icons: SPEAKER, THROPY
|
|
101
|
+
*
|
|
82
102
|
* @param gamerTagId
|
|
83
|
-
* @param
|
|
84
|
-
* @returns
|
|
103
|
+
* @param icon
|
|
85
104
|
*/
|
|
86
|
-
static
|
|
105
|
+
static setMpGamerTagSecondaryIcon(gamerTagId: number, icon: string | number): void;
|
|
87
106
|
/**
|
|
88
|
-
*
|
|
89
|
-
* @param string
|
|
107
|
+
* Disables reduced time scale while menus such as weapon wheel and satchel are open.
|
|
90
108
|
*/
|
|
91
|
-
static
|
|
109
|
+
static disableReducedMenuTimeScale(): void;
|
|
92
110
|
/**
|
|
93
111
|
* @param prompt
|
|
94
|
-
* @param
|
|
112
|
+
* @param p1
|
|
95
113
|
*/
|
|
96
|
-
static
|
|
114
|
+
static uiPromptSetBeatModeGrayedOut(prompt: number, p1: any): void;
|
|
97
115
|
/**
|
|
116
|
+
* TM_ANY = 0,
|
|
117
|
+
* TM_ON_FOOT,
|
|
118
|
+
* TM_IN_VEHICLE
|
|
119
|
+
*
|
|
98
120
|
* @param prompt
|
|
99
|
-
* @param
|
|
121
|
+
* @param mode
|
|
100
122
|
*/
|
|
101
|
-
static
|
|
123
|
+
static uiPromptSetTransportMode(prompt: number, mode: number): void;
|
|
102
124
|
/**
|
|
103
|
-
* @param p0
|
|
104
|
-
* @param p1
|
|
105
125
|
* @returns
|
|
106
126
|
*/
|
|
107
|
-
static
|
|
127
|
+
static uiPromptRegisterBegin(): number;
|
|
108
128
|
/**
|
|
109
|
-
*
|
|
110
|
-
*
|
|
129
|
+
* This returns an id that can be used with 0x6095358C4142932A.
|
|
130
|
+
*
|
|
111
131
|
* @returns
|
|
112
132
|
*/
|
|
113
|
-
static
|
|
133
|
+
static uiPromptSetRegisterHorizontalOrientation(): number;
|
|
114
134
|
/**
|
|
115
|
-
* @param
|
|
135
|
+
* @param prompt
|
|
116
136
|
* @returns
|
|
117
137
|
*/
|
|
118
|
-
static
|
|
138
|
+
static uiPromptHasPressedTimedModeCompleted(prompt: number): any;
|
|
119
139
|
/**
|
|
120
|
-
* @param
|
|
140
|
+
* @param p0
|
|
121
141
|
* @param p1
|
|
122
142
|
*/
|
|
123
|
-
static
|
|
143
|
+
static uiMovieviewSetRenderTarget(p0: any, p1: any): void;
|
|
124
144
|
/**
|
|
125
|
-
* @param
|
|
126
|
-
* @param labelName
|
|
127
|
-
* @param p2
|
|
128
|
-
* @param p3
|
|
129
|
-
* @param p4
|
|
130
|
-
* @param p5
|
|
145
|
+
* @param p0
|
|
131
146
|
* @returns
|
|
132
147
|
*/
|
|
133
|
-
static
|
|
148
|
+
static journalGetEntryAtIndex(p0: any): any;
|
|
134
149
|
/**
|
|
150
|
+
* Attaches a Volume
|
|
151
|
+
*
|
|
135
152
|
* @param prompt
|
|
136
|
-
* @param
|
|
137
|
-
*/
|
|
138
|
-
static uiPromptSetSpinnerSpeed(prompt: number, p1: any): void;
|
|
139
|
-
/**
|
|
140
|
-
* @param name
|
|
141
|
-
* @returns
|
|
153
|
+
* @param volume
|
|
142
154
|
*/
|
|
143
|
-
static
|
|
155
|
+
static uiPromptContextSetVolume(prompt: number, volume: Volume): void;
|
|
144
156
|
/**
|
|
145
|
-
*
|
|
157
|
+
* Params: p1 is 0
|
|
158
|
+
*
|
|
159
|
+
* @param prompt
|
|
146
160
|
* @param p1
|
|
161
|
+
* @returns
|
|
147
162
|
*/
|
|
148
|
-
static
|
|
163
|
+
static uiPromptHasStandardModeCompleted(prompt: number, p1: number): boolean;
|
|
149
164
|
/**
|
|
150
165
|
* @param prompt
|
|
166
|
+
* @returns
|
|
151
167
|
*/
|
|
152
|
-
static
|
|
168
|
+
static uiPromptIsValid(prompt: number): boolean;
|
|
153
169
|
/**
|
|
154
|
-
*
|
|
170
|
+
* If Hud should be displayed
|
|
155
171
|
*
|
|
156
|
-
* @param
|
|
157
|
-
* @returns
|
|
172
|
+
* @param toggle
|
|
158
173
|
*/
|
|
159
|
-
static
|
|
160
|
-
static N_0x5651516D947ABC53(): void;
|
|
174
|
+
static displayHud(toggle: boolean): void;
|
|
161
175
|
/**
|
|
162
|
-
* @
|
|
176
|
+
* @returns
|
|
163
177
|
*/
|
|
164
|
-
static
|
|
178
|
+
static isRadarHidden(): boolean;
|
|
165
179
|
/**
|
|
166
|
-
* @param
|
|
167
|
-
* @param r
|
|
168
|
-
* @param g
|
|
169
|
-
* @param b
|
|
170
|
-
* @param a
|
|
180
|
+
* @param gamerTagId
|
|
171
181
|
*/
|
|
172
|
-
static
|
|
182
|
+
static removeMpGamerTag(gamerTagId: number): void;
|
|
173
183
|
/**
|
|
174
|
-
* @param
|
|
175
|
-
* @
|
|
184
|
+
* @param prompt
|
|
185
|
+
* @param action
|
|
176
186
|
*/
|
|
177
|
-
static
|
|
187
|
+
static uiPromptSetAllowedAction(prompt: number, action: string | number): void;
|
|
178
188
|
/**
|
|
179
|
-
* @
|
|
189
|
+
* @param p0
|
|
190
|
+
* @param name
|
|
180
191
|
*/
|
|
181
|
-
static
|
|
182
|
-
static journalClearAllProgress(): void;
|
|
192
|
+
static setMissionName(p0: boolean, name: string | null): void;
|
|
183
193
|
/**
|
|
184
|
-
* @param
|
|
194
|
+
* @param gamerTagId
|
|
185
195
|
*/
|
|
186
|
-
static
|
|
196
|
+
static mpGamerTagDisableReviveTopIcon(gamerTagId: number): void;
|
|
187
197
|
/**
|
|
188
|
-
*
|
|
198
|
+
* standard (prompt not held) rate: 0.035f
|
|
199
|
+
* fast (prompt held) rate: 0.015f
|
|
200
|
+
* punitive (been hit) rate: 0.14f
|
|
189
201
|
*
|
|
190
|
-
* @param
|
|
191
|
-
* @
|
|
202
|
+
* @param prompt
|
|
203
|
+
* @param speed
|
|
192
204
|
*/
|
|
193
|
-
static
|
|
205
|
+
static uiPromptSetMashManualModeDecaySpeed(prompt: number, speed: number): void;
|
|
194
206
|
/**
|
|
195
|
-
* @param
|
|
207
|
+
* @param hash
|
|
196
208
|
* @returns
|
|
197
209
|
*/
|
|
198
|
-
static
|
|
210
|
+
static uiPromptDoesAmbientGroupExist(hash: string | number): boolean;
|
|
199
211
|
/**
|
|
200
|
-
* @param
|
|
212
|
+
* @param p0
|
|
201
213
|
* @returns
|
|
202
214
|
*/
|
|
203
|
-
static
|
|
215
|
+
static N_0x7EC0D68233E391AC(p0: number): number;
|
|
204
216
|
/**
|
|
205
|
-
*
|
|
206
|
-
* @param username
|
|
207
|
-
* @param pointedClanTag
|
|
208
|
-
* @param isRockstarClan
|
|
209
|
-
* @param clanTag
|
|
210
|
-
* @param clanFlag
|
|
211
|
-
* @returns
|
|
217
|
+
* nullsub, doesn't do anything
|
|
212
218
|
*/
|
|
213
|
-
static
|
|
219
|
+
static N_0xBFFF81E12A745A5F(): void;
|
|
214
220
|
/**
|
|
215
|
-
* @param
|
|
221
|
+
* @param uiscene
|
|
216
222
|
*/
|
|
217
|
-
static
|
|
223
|
+
static N_0xF1E6979C0B779985(uiscene: number): void;
|
|
218
224
|
/**
|
|
219
|
-
*
|
|
225
|
+
* nullsub, this native does nothing since build 1436, use _BG_DISPLAY_TEXT instead.
|
|
220
226
|
*
|
|
221
|
-
* @param
|
|
222
|
-
* @param
|
|
227
|
+
* @param text
|
|
228
|
+
* @param xPos
|
|
229
|
+
* @param yPos
|
|
223
230
|
*/
|
|
224
|
-
static
|
|
231
|
+
static displayText(text: string | null, xPos: number, yPos: number): void;
|
|
225
232
|
/**
|
|
226
233
|
* @param prompt
|
|
234
|
+
* @returns
|
|
227
235
|
*/
|
|
228
|
-
static
|
|
229
|
-
static hideLoadingOnFadeThisFrame(): void;
|
|
236
|
+
static uiPromptIsJustPressed(prompt: number): boolean;
|
|
230
237
|
/**
|
|
231
238
|
* @param gamerTagId
|
|
232
|
-
* @param
|
|
239
|
+
* @param text
|
|
233
240
|
*/
|
|
234
|
-
static
|
|
235
|
-
static N_0x160825DADF1B04B3(): void;
|
|
241
|
+
static setMpGamerTagNamePosse(gamerTagId: number, text: string | null): void;
|
|
236
242
|
/**
|
|
237
|
-
* @
|
|
238
|
-
|
|
243
|
+
* @returns
|
|
244
|
+
*/
|
|
245
|
+
static isSubtitlePreferenceSwitchedOn(): boolean;
|
|
246
|
+
/**
|
|
247
|
+
* @param prompt
|
|
248
|
+
* @returns
|
|
249
|
+
*/
|
|
250
|
+
static uiPromptIsActive(prompt: number): boolean;
|
|
251
|
+
/**
|
|
252
|
+
* @param prompt
|
|
253
|
+
* @param mashes
|
|
254
|
+
*/
|
|
255
|
+
static uiPromptSetMashMode(prompt: number, mashes: number): void;
|
|
256
|
+
static hideHudThisFrame(): void;
|
|
257
|
+
/**
|
|
258
|
+
* @param prompt
|
|
259
|
+
* @param releaseMode
|
|
260
|
+
*/
|
|
261
|
+
static uiPromptSetStandardMode(prompt: number, releaseMode: boolean): void;
|
|
262
|
+
/**
|
|
263
|
+
* @param hash
|
|
264
|
+
* @returns
|
|
265
|
+
*/
|
|
266
|
+
static uiPromptGetGroupActivePage(hash: string | number): number;
|
|
267
|
+
/**
|
|
268
|
+
* Enables reduced time scale while menus such as weapon wheel and satchel are open.
|
|
269
|
+
*/
|
|
270
|
+
static enableReducedMenuTimeScale(): void;
|
|
271
|
+
/**
|
|
272
|
+
* For startProgress, 0.0f - 1.0f is a percentage value, so 0.5f = 50% progress. Range: 0.0f - 1.0f
|
|
273
|
+
* 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.
|
|
274
|
+
*
|
|
275
|
+
* @param prompt
|
|
276
|
+
* @param mashes
|
|
277
|
+
* @param decreaseSpeed
|
|
278
|
+
* @param startProgress
|
|
279
|
+
*/
|
|
280
|
+
static uiPromptSetMashWithResistanceCanFailMode(prompt: number, mashes: number, decreaseSpeed: number, startProgress: number): void;
|
|
281
|
+
/**
|
|
282
|
+
* @param prompt
|
|
283
|
+
* @param p1
|
|
284
|
+
* @param p2
|
|
285
|
+
*/
|
|
286
|
+
static uiPromptSetTargetModeTarget(prompt: number, p1: number, p2: number): void;
|
|
287
|
+
/**
|
|
288
|
+
* @param prompt
|
|
289
|
+
* @param p1
|
|
239
290
|
* @param p2
|
|
240
291
|
* @param p3
|
|
241
292
|
* @param p4
|
|
242
293
|
*/
|
|
243
|
-
static
|
|
294
|
+
static uiPromptSetMashManualCanFailMode(prompt: number, p1: number, p2: number, p3: number, p4: any): void;
|
|
244
295
|
/**
|
|
245
|
-
* attribute: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eUIPromptAttribute
|
|
246
|
-
*
|
|
247
296
|
* @param prompt
|
|
248
|
-
* @param
|
|
249
|
-
* @param
|
|
297
|
+
* @param p1
|
|
298
|
+
* @param p2
|
|
299
|
+
* @param p3
|
|
250
300
|
*/
|
|
251
|
-
static
|
|
301
|
+
static uiPromptSetTargetMode(prompt: number, p1: number, p2: number, p3: any): void;
|
|
252
302
|
/**
|
|
253
|
-
* priority: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/ePromptPriority
|
|
254
|
-
*
|
|
255
303
|
* @param prompt
|
|
256
|
-
* @param
|
|
304
|
+
* @param autoFillTimeMs
|
|
305
|
+
* @param mashes
|
|
257
306
|
*/
|
|
258
|
-
static
|
|
307
|
+
static uiPromptSetMashAutoFillMode(prompt: number, autoFillTimeMs: number, mashes: number): void;
|
|
259
308
|
/**
|
|
260
|
-
*
|
|
309
|
+
* @param prompt
|
|
310
|
+
* @param toggle
|
|
311
|
+
*/
|
|
312
|
+
static uiPromptSetBeatMode(prompt: number, toggle: boolean): void;
|
|
313
|
+
/**
|
|
314
|
+
* Similar to 0x9D7E12EC6A1EE4E5(GET_TEXT_SUBSTRING) but starts at the beginning of the string
|
|
261
315
|
*
|
|
316
|
+
* @param text
|
|
317
|
+
* @param length
|
|
318
|
+
* @returns
|
|
319
|
+
*/
|
|
320
|
+
static getTextSubstring2(text: string | null, length: number): string | null;
|
|
321
|
+
/**
|
|
322
|
+
* @param p0
|
|
323
|
+
* @param prompt
|
|
324
|
+
* @param p2
|
|
325
|
+
*/
|
|
326
|
+
static uiPromptAddGroupLink(p0: any, prompt: number, p2: any): void;
|
|
327
|
+
/**
|
|
328
|
+
* @param gamerTagId
|
|
329
|
+
*/
|
|
330
|
+
static mpGamerTagEnableReviveTopIcon(gamerTagId: number): void;
|
|
331
|
+
/**
|
|
262
332
|
* @param p0
|
|
333
|
+
* @param p1
|
|
263
334
|
*/
|
|
264
|
-
static
|
|
335
|
+
static N_0x8A59D44189AF2BC5(p0: any, p1: any): void;
|
|
265
336
|
/**
|
|
266
|
-
*
|
|
267
|
-
*
|
|
337
|
+
* @param prompt
|
|
338
|
+
* @param p1
|
|
339
|
+
*/
|
|
340
|
+
static uiPromptSetOrderingAsInputType(prompt: number, p1: any): void;
|
|
341
|
+
/**
|
|
342
|
+
* @param p0
|
|
343
|
+
*/
|
|
344
|
+
static journalMarkRead(p0: any): void;
|
|
345
|
+
/**
|
|
346
|
+
* @param gamerTagId
|
|
347
|
+
* @param entity
|
|
348
|
+
* @returns
|
|
349
|
+
*/
|
|
350
|
+
static isMpGamerTagActiveOnEntity(gamerTagId: number, entity: Entity): any;
|
|
351
|
+
/**
|
|
352
|
+
* @param gamerTagId
|
|
268
353
|
* @param string
|
|
354
|
+
*/
|
|
355
|
+
static setMpGamerTagBigText(gamerTagId: number, string: string | null): void;
|
|
356
|
+
/**
|
|
357
|
+
* @param prompt
|
|
358
|
+
* @param radius
|
|
359
|
+
*/
|
|
360
|
+
static uiPromptContextSetRadius(prompt: number, radius: number): void;
|
|
361
|
+
/**
|
|
362
|
+
* @param prompt
|
|
363
|
+
* @param toggle
|
|
364
|
+
*/
|
|
365
|
+
static uiPromptSetVisible(prompt: number, toggle: boolean): void;
|
|
366
|
+
/**
|
|
367
|
+
* @param prompt
|
|
368
|
+
* @param p1
|
|
369
|
+
*/
|
|
370
|
+
static N_0x53CE46C01A089DA1(prompt: number, p1: boolean): void;
|
|
371
|
+
/**
|
|
372
|
+
* @param p0
|
|
269
373
|
* @returns
|
|
270
374
|
*/
|
|
271
|
-
static
|
|
375
|
+
static uiGetSceneUiobject(p0: any): any;
|
|
376
|
+
/**
|
|
377
|
+
* @param p0
|
|
378
|
+
* @param p1
|
|
379
|
+
*/
|
|
380
|
+
static N_0x958278B97C4AFFD8(p0: any, p1: any): void;
|
|
272
381
|
/**
|
|
273
382
|
* @param prompt
|
|
383
|
+
* @returns
|
|
274
384
|
*/
|
|
275
|
-
static
|
|
385
|
+
static uiPromptGetProgress(prompt: number): number;
|
|
276
386
|
/**
|
|
277
|
-
*
|
|
387
|
+
* @param prompt
|
|
388
|
+
* @returns
|
|
278
389
|
*/
|
|
279
|
-
static
|
|
390
|
+
static uiPromptIsPressed(prompt: number): boolean;
|
|
280
391
|
/**
|
|
281
|
-
*
|
|
392
|
+
* Note: you must use VAR_STRING. Byte code very similar to TEXT_COMMAND_DISPLAY_TEXT in V
|
|
393
|
+
* Old name: _GET_TEXT_SUBSTRING
|
|
282
394
|
*
|
|
283
|
-
* @param
|
|
395
|
+
* @param text
|
|
396
|
+
* @param position
|
|
397
|
+
* @param length
|
|
398
|
+
* @returns
|
|
284
399
|
*/
|
|
285
|
-
static
|
|
286
|
-
|
|
400
|
+
static getCharacterFromAudioConversationFilename(text: string | null, position: number, length: number): string | null;
|
|
401
|
+
/**
|
|
402
|
+
* @param p0
|
|
403
|
+
* @param p1
|
|
404
|
+
*/
|
|
405
|
+
static N_0x9D37EB5003E0F2CF(p0: any, p1: any): void;
|
|
406
|
+
static uiPromptClearPromptPriorityPreference(): void;
|
|
407
|
+
/**
|
|
408
|
+
* @param prompt
|
|
409
|
+
* @param depletionTimeMs
|
|
410
|
+
*/
|
|
411
|
+
static uiPromptSetPressedTimedMode(prompt: number, depletionTimeMs: number): void;
|
|
412
|
+
/**
|
|
413
|
+
* @param prompt
|
|
414
|
+
* @param toggle
|
|
415
|
+
*/
|
|
416
|
+
static uiPromptSetEnabled(prompt: number, toggle: boolean): void;
|
|
417
|
+
static uiPromptFilterClear(): void;
|
|
418
|
+
/**
|
|
419
|
+
* tabIndex: specifies tab of prompt
|
|
420
|
+
*
|
|
421
|
+
* @param prompt
|
|
422
|
+
* @param groupId
|
|
423
|
+
* @param tabIndex
|
|
424
|
+
*/
|
|
425
|
+
static uiPromptSetGroup(prompt: number, groupId: number, tabIndex: number): void;
|
|
426
|
+
/**
|
|
427
|
+
* @param text
|
|
428
|
+
*/
|
|
429
|
+
static busyspinnerSetText(text: string | null): void;
|
|
430
|
+
/**
|
|
431
|
+
* Returns the hash of the currently highlighted item in the weapon wheel.
|
|
432
|
+
* 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.
|
|
433
|
+
*
|
|
434
|
+
* @returns
|
|
435
|
+
*/
|
|
436
|
+
static weaponWheelGetSelectedItemHash(): any;
|
|
437
|
+
/**
|
|
438
|
+
* @returns
|
|
439
|
+
*/
|
|
440
|
+
static isRadarPreferenceSwitchedOn(): boolean;
|
|
441
|
+
static clearAllHelpMessages(): void;
|
|
287
442
|
/**
|
|
288
443
|
* @param p0
|
|
289
444
|
* @returns
|
|
@@ -471,64 +626,147 @@ export declare class Hud {
|
|
|
471
626
|
*/
|
|
472
627
|
static setTextCentre(align: boolean): void;
|
|
473
628
|
/**
|
|
474
|
-
* @param
|
|
629
|
+
* @param p0
|
|
475
630
|
* @returns
|
|
476
631
|
*/
|
|
477
|
-
static
|
|
632
|
+
static N_0xD6BD313CFA41E57A(p0: any): any;
|
|
478
633
|
/**
|
|
479
|
-
* @param prompt
|
|
480
634
|
* @returns
|
|
481
635
|
*/
|
|
482
|
-
static
|
|
636
|
+
static isMultiplayerChatActive(): boolean;
|
|
637
|
+
static disableFrontendThisFrame(): void;
|
|
483
638
|
/**
|
|
484
639
|
* @param prompt
|
|
485
640
|
* @returns
|
|
486
641
|
*/
|
|
487
|
-
static
|
|
642
|
+
static uiPromptGetMashModeProgress(prompt: number): number;
|
|
488
643
|
/**
|
|
489
|
-
* @param
|
|
490
|
-
* @param
|
|
644
|
+
* @param groupId
|
|
645
|
+
* @param volume
|
|
646
|
+
* @param p2
|
|
647
|
+
* @param p3
|
|
648
|
+
* @param p4
|
|
649
|
+
* @param p5
|
|
650
|
+
* @returns
|
|
491
651
|
*/
|
|
492
|
-
static
|
|
652
|
+
static N_0x8B55B324A9123F6B(groupId: number, volume: Volume, p2: string | null, p3: any, p4: any, p5: any): any;
|
|
493
653
|
/**
|
|
494
|
-
* @param
|
|
654
|
+
* @param entity
|
|
655
|
+
* @returns
|
|
495
656
|
*/
|
|
496
|
-
static
|
|
657
|
+
static uiPromptGetGroupIdForTargetEntity(entity: Entity): number;
|
|
497
658
|
/**
|
|
498
|
-
*
|
|
659
|
+
* Old name: _ALLOW_PAUSE_MENU_WHEN_DEAD_THIS_FRAME
|
|
499
660
|
*/
|
|
500
|
-
static
|
|
661
|
+
static allowPauseWhenNotInStateOfPlayThisFrame(): void;
|
|
501
662
|
/**
|
|
502
|
-
* This native accepts 1 as parameter in the decompiles
|
|
503
|
-
* returns the nearest horse handle if within 2 3 meters of the player, if not close enough returns false NOTE: if type is 0 returns PlayerPedId always?
|
|
504
|
-
*
|
|
505
663
|
* @param p0
|
|
664
|
+
* @param p1
|
|
506
665
|
* @returns
|
|
507
666
|
*/
|
|
508
|
-
static
|
|
667
|
+
static uiPromptGetGroupIdForScenarioPoint(p0: any, p1: number): number;
|
|
509
668
|
/**
|
|
510
|
-
*
|
|
669
|
+
* nullsub, doesn't do anything
|
|
670
|
+
*
|
|
671
|
+
* @param gamerTagId
|
|
672
|
+
* @param allow
|
|
511
673
|
*/
|
|
512
|
-
static
|
|
674
|
+
static setMpGamerTagUnkAllowLocalized(gamerTagId: number, allow: boolean): void;
|
|
513
675
|
/**
|
|
514
|
-
* @param
|
|
515
|
-
* @param mashes
|
|
516
|
-
* @param p2
|
|
517
|
-
* @param p3
|
|
676
|
+
* @param ped
|
|
518
677
|
*/
|
|
519
|
-
static
|
|
678
|
+
static uiPromptSetPromptPriorityPreference(ped: Ped): void;
|
|
520
679
|
/**
|
|
521
|
-
* @param
|
|
522
|
-
* @param p1
|
|
523
|
-
* @param p2
|
|
524
|
-
* @returns
|
|
680
|
+
* @param textBlock
|
|
525
681
|
*/
|
|
526
|
-
static
|
|
682
|
+
static textBlockDelete(textBlock: string | null): void;
|
|
527
683
|
/**
|
|
528
|
-
*
|
|
684
|
+
* Returns true when either Pause Menu, a Frontend Menu, Online Policies menu or Social Club menu is active.
|
|
685
|
+
*
|
|
529
686
|
* @returns
|
|
530
687
|
*/
|
|
531
|
-
static
|
|
688
|
+
static isPauseMenuActive(): boolean;
|
|
689
|
+
/**
|
|
690
|
+
* @param controlAction
|
|
691
|
+
* @returns
|
|
692
|
+
*/
|
|
693
|
+
static uiPromptIsControlActionActive(controlAction: string | number): any;
|
|
694
|
+
/**
|
|
695
|
+
* @param textBlock
|
|
696
|
+
* @returns
|
|
697
|
+
*/
|
|
698
|
+
static textBlockIsStreamed(textBlock: string | null): any;
|
|
699
|
+
/**
|
|
700
|
+
* @param worldX
|
|
701
|
+
* @param worldY
|
|
702
|
+
* @param worldZ
|
|
703
|
+
* @returns screenX; screenY
|
|
704
|
+
*/
|
|
705
|
+
static getHudScreenPositionFromWorldPosition(worldX: number, worldY: number, worldZ: number): [boolean, number, number];
|
|
706
|
+
/**
|
|
707
|
+
* @param prompt
|
|
708
|
+
* @returns
|
|
709
|
+
*/
|
|
710
|
+
static uiPromptHasHoldMode(prompt: number): any;
|
|
711
|
+
/**
|
|
712
|
+
* @param prompt
|
|
713
|
+
* @returns
|
|
714
|
+
*/
|
|
715
|
+
static uiPromptHasMashModeFailed(prompt: number): boolean;
|
|
716
|
+
/**
|
|
717
|
+
* @param prompt
|
|
718
|
+
* @returns
|
|
719
|
+
*/
|
|
720
|
+
static uiPromptHasManualMashMode(prompt: number): any;
|
|
721
|
+
/**
|
|
722
|
+
* @param prompt
|
|
723
|
+
* @returns
|
|
724
|
+
*/
|
|
725
|
+
static uiPromptHasMashModeCompleted(prompt: number): boolean;
|
|
726
|
+
/**
|
|
727
|
+
* @param prompt
|
|
728
|
+
* @param p1
|
|
729
|
+
*/
|
|
730
|
+
static uiPromptSetSpinnerPosition(prompt: number, p1: any): void;
|
|
731
|
+
/**
|
|
732
|
+
* @param p0
|
|
733
|
+
*/
|
|
734
|
+
static journalWriteEntry(p0: any): void;
|
|
735
|
+
/**
|
|
736
|
+
* @param state
|
|
737
|
+
*/
|
|
738
|
+
static showHorseCores(state: boolean): void;
|
|
739
|
+
/**
|
|
740
|
+
* This native accepts 1 as parameter in the decompiles
|
|
741
|
+
* returns the nearest horse handle if within 2 3 meters of the player, if not close enough returns false NOTE: if type is 0 returns PlayerPedId always?
|
|
742
|
+
*
|
|
743
|
+
* @param p0
|
|
744
|
+
* @returns
|
|
745
|
+
*/
|
|
746
|
+
static getNearHorse(p0: number): any;
|
|
747
|
+
/**
|
|
748
|
+
* @param prompt
|
|
749
|
+
*/
|
|
750
|
+
static uiPromptRestartModes(prompt: number): void;
|
|
751
|
+
/**
|
|
752
|
+
* @param prompt
|
|
753
|
+
* @param mashes
|
|
754
|
+
* @param p2
|
|
755
|
+
* @param p3
|
|
756
|
+
*/
|
|
757
|
+
static uiPromptSetMashWithResistanceMode(prompt: number, mashes: number, p2: number, p3: number): void;
|
|
758
|
+
/**
|
|
759
|
+
* @param p0
|
|
760
|
+
* @param p1
|
|
761
|
+
* @param p2
|
|
762
|
+
* @returns
|
|
763
|
+
*/
|
|
764
|
+
static N_0x806862E5D266CF38(p0: any, p1: any, p2: any): any;
|
|
765
|
+
/**
|
|
766
|
+
* @param gamerTagId
|
|
767
|
+
* @returns
|
|
768
|
+
*/
|
|
769
|
+
static isMpGamerTagActive(gamerTagId: number): boolean;
|
|
532
770
|
/**
|
|
533
771
|
* Hashes: SHORT_TIMED_EVENT_MP, SHORT_TIMED_EVENT, MEDIUM_TIMED_EVENT, LONG_TIMED_EVENT, RUSTLING_CALM_TIMING, PLAYER_FOCUS_TIMING, PLAYER_REACTION_TIMING
|
|
534
772
|
*
|
|
@@ -653,406 +891,168 @@ export declare class Hud {
|
|
|
653
891
|
*/
|
|
654
892
|
static uiPromptClearHorizontalOrientation(id: number): void;
|
|
655
893
|
/**
|
|
656
|
-
* @param
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
*
|
|
661
|
-
*
|
|
662
|
-
* punitive (been hit) rate: 0.14f
|
|
663
|
-
*
|
|
664
|
-
* @param prompt
|
|
665
|
-
* @param speed
|
|
666
|
-
*/
|
|
667
|
-
static uiPromptSetMashManualModeDecaySpeed(prompt: number, speed: number): void;
|
|
668
|
-
/**
|
|
669
|
-
* @param hash
|
|
670
|
-
* @returns
|
|
671
|
-
*/
|
|
672
|
-
static uiPromptDoesAmbientGroupExist(hash: string | number): boolean;
|
|
673
|
-
/**
|
|
674
|
-
* @param p0
|
|
894
|
+
* @param player
|
|
895
|
+
* @param username
|
|
896
|
+
* @param pointedClanTag
|
|
897
|
+
* @param isRockstarClan
|
|
898
|
+
* @param clanTag
|
|
899
|
+
* @param clanFlag
|
|
675
900
|
* @returns
|
|
676
901
|
*/
|
|
677
|
-
static
|
|
678
|
-
/**
|
|
679
|
-
* nullsub, doesn't do anything
|
|
680
|
-
*/
|
|
681
|
-
static N_0xBFFF81E12A745A5F(): void;
|
|
902
|
+
static createMpGamerTag(player: Player, username: string | null, pointedClanTag: boolean, isRockstarClan: boolean, clanTag: string | null, clanFlag: number): number;
|
|
682
903
|
/**
|
|
683
|
-
* @param
|
|
904
|
+
* @param state
|
|
684
905
|
*/
|
|
685
|
-
static
|
|
906
|
+
static showPlayerCores(state: boolean): void;
|
|
686
907
|
/**
|
|
687
|
-
*
|
|
908
|
+
* Params: p2 is 304000 in R* SP Script coachrobberies
|
|
688
909
|
*
|
|
689
|
-
* @param text
|
|
690
|
-
* @param xPos
|
|
691
|
-
* @param yPos
|
|
692
|
-
*/
|
|
693
|
-
static displayText(text: string | null, xPos: number, yPos: number): void;
|
|
694
|
-
/**
|
|
695
|
-
* @param prompt
|
|
696
|
-
* @returns
|
|
697
|
-
*/
|
|
698
|
-
static uiPromptIsJustPressed(prompt: number): boolean;
|
|
699
|
-
/**
|
|
700
|
-
* @param gamerTagId
|
|
701
|
-
* @param text
|
|
702
|
-
*/
|
|
703
|
-
static setMpGamerTagNamePosse(gamerTagId: number, text: string | null): void;
|
|
704
|
-
/**
|
|
705
|
-
* @returns
|
|
706
|
-
*/
|
|
707
|
-
static isSubtitlePreferenceSwitchedOn(): boolean;
|
|
708
|
-
/**
|
|
709
910
|
* @param prompt
|
|
710
|
-
* @
|
|
711
|
-
*/
|
|
712
|
-
static uiPromptIsActive(prompt: number): boolean;
|
|
713
|
-
/**
|
|
714
|
-
* @param prompt
|
|
715
|
-
* @param mashes
|
|
911
|
+
* @param holdTimeMs
|
|
716
912
|
*/
|
|
717
|
-
static
|
|
718
|
-
static hideHudThisFrame(): void;
|
|
913
|
+
static uiPromptSetHoldMode(prompt: number, holdTimeMs: number): void;
|
|
719
914
|
/**
|
|
720
915
|
* @param prompt
|
|
721
|
-
* @param releaseMode
|
|
722
|
-
*/
|
|
723
|
-
static uiPromptSetStandardMode(prompt: number, releaseMode: boolean): void;
|
|
724
|
-
/**
|
|
725
|
-
* @param hash
|
|
726
|
-
* @returns
|
|
727
|
-
*/
|
|
728
|
-
static uiPromptGetGroupActivePage(hash: string | number): number;
|
|
729
|
-
/**
|
|
730
|
-
* Enables reduced time scale while menus such as weapon wheel and satchel are open.
|
|
731
|
-
*/
|
|
732
|
-
static enableReducedMenuTimeScale(): void;
|
|
733
|
-
/**
|
|
734
|
-
* @param p0
|
|
735
|
-
* @returns
|
|
736
916
|
*/
|
|
737
|
-
static
|
|
917
|
+
static uiPromptSetHoldIndefinitelyMode(prompt: number): void;
|
|
918
|
+
static hideLoadingOnFadeThisFrame(): void;
|
|
738
919
|
/**
|
|
739
|
-
* @
|
|
920
|
+
* @param gamerTagId
|
|
921
|
+
* @param colour
|
|
740
922
|
*/
|
|
741
|
-
static
|
|
742
|
-
static
|
|
923
|
+
static setMpGamerTagColour(gamerTagId: number, colour: string | number): void;
|
|
924
|
+
static N_0x160825DADF1B04B3(): void;
|
|
743
925
|
/**
|
|
744
926
|
* @param prompt
|
|
745
|
-
* @
|
|
746
|
-
*/
|
|
747
|
-
static uiPromptGetMashModeProgress(prompt: number): number;
|
|
748
|
-
/**
|
|
749
|
-
* @param groupId
|
|
750
|
-
* @param volume
|
|
927
|
+
* @param p1
|
|
751
928
|
* @param p2
|
|
752
929
|
* @param p3
|
|
753
930
|
* @param p4
|
|
754
|
-
* @param p5
|
|
755
|
-
* @returns
|
|
756
|
-
*/
|
|
757
|
-
static N_0x8B55B324A9123F6B(groupId: number, volume: Volume, p2: string | null, p3: any, p4: any, p5: any): any;
|
|
758
|
-
/**
|
|
759
|
-
* @param entity
|
|
760
|
-
* @returns
|
|
761
|
-
*/
|
|
762
|
-
static uiPromptGetGroupIdForTargetEntity(entity: Entity): number;
|
|
763
|
-
/**
|
|
764
|
-
* Old name: _ALLOW_PAUSE_MENU_WHEN_DEAD_THIS_FRAME
|
|
765
|
-
*/
|
|
766
|
-
static allowPauseWhenNotInStateOfPlayThisFrame(): void;
|
|
767
|
-
/**
|
|
768
|
-
* @param p0
|
|
769
|
-
* @param p1
|
|
770
|
-
* @returns
|
|
771
|
-
*/
|
|
772
|
-
static uiPromptGetGroupIdForScenarioPoint(p0: any, p1: number): number;
|
|
773
|
-
/**
|
|
774
|
-
* nullsub, doesn't do anything
|
|
775
|
-
*
|
|
776
|
-
* @param gamerTagId
|
|
777
|
-
* @param allow
|
|
778
|
-
*/
|
|
779
|
-
static setMpGamerTagUnkAllowLocalized(gamerTagId: number, allow: boolean): void;
|
|
780
|
-
/**
|
|
781
|
-
* @param ped
|
|
782
931
|
*/
|
|
783
|
-
static
|
|
784
|
-
/**
|
|
785
|
-
* @param textBlock
|
|
786
|
-
*/
|
|
787
|
-
static textBlockDelete(textBlock: string | null): void;
|
|
932
|
+
static uiPromptSetMashManualMode(prompt: number, p1: number, p2: number, p3: number, p4: any): void;
|
|
788
933
|
/**
|
|
789
|
-
*
|
|
934
|
+
* attribute: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eUIPromptAttribute
|
|
790
935
|
*
|
|
791
|
-
* @returns
|
|
792
|
-
*/
|
|
793
|
-
static isPauseMenuActive(): boolean;
|
|
794
|
-
/**
|
|
795
|
-
* @param controlAction
|
|
796
|
-
* @returns
|
|
797
|
-
*/
|
|
798
|
-
static uiPromptIsControlActionActive(controlAction: string | number): any;
|
|
799
|
-
/**
|
|
800
|
-
* @param textBlock
|
|
801
|
-
* @returns
|
|
802
|
-
*/
|
|
803
|
-
static textBlockIsStreamed(textBlock: string | null): any;
|
|
804
|
-
/**
|
|
805
|
-
* @param worldX
|
|
806
|
-
* @param worldY
|
|
807
|
-
* @param worldZ
|
|
808
|
-
* @returns screenX; screenY
|
|
809
|
-
*/
|
|
810
|
-
static getHudScreenPositionFromWorldPosition(worldX: number, worldY: number, worldZ: number): [boolean, number, number];
|
|
811
|
-
/**
|
|
812
936
|
* @param prompt
|
|
813
|
-
* @
|
|
814
|
-
|
|
815
|
-
static uiPromptHasHoldMode(prompt: number): any;
|
|
816
|
-
/**
|
|
817
|
-
* @param p0
|
|
818
|
-
* @param name
|
|
819
|
-
*/
|
|
820
|
-
static setMissionNameForUgcMission(p0: boolean, name: string | null): void;
|
|
821
|
-
/**
|
|
822
|
-
* @returns
|
|
823
|
-
*/
|
|
824
|
-
static busyspinnerIsOn(): boolean;
|
|
825
|
-
/**
|
|
826
|
-
* @param prompt
|
|
827
|
-
* @param p1
|
|
828
|
-
*/
|
|
829
|
-
static uiPromptSetTag(prompt: number, p1: any): void;
|
|
830
|
-
/**
|
|
831
|
-
* @param gamerTagId
|
|
832
|
-
* @param string
|
|
833
|
-
*/
|
|
834
|
-
static setMpGamerTagName(gamerTagId: number, string: string | null): void;
|
|
835
|
-
/**
|
|
836
|
-
* @param prompt
|
|
837
|
-
* @param progress
|
|
838
|
-
*/
|
|
839
|
-
static uiPromptSetTargetModeProgress(prompt: number, progress: number): void;
|
|
840
|
-
/**
|
|
841
|
-
* @param prompt
|
|
842
|
-
*/
|
|
843
|
-
static uiPromptSetMashIndefinitelyMode(prompt: number): void;
|
|
844
|
-
static uiPromptDisablePromptsThisFrame(): void;
|
|
845
|
-
/**
|
|
846
|
-
* @param prompt
|
|
847
|
-
* @param toggle
|
|
937
|
+
* @param attribute
|
|
938
|
+
* @param enabled
|
|
848
939
|
*/
|
|
849
|
-
static
|
|
940
|
+
static uiPromptSetAttribute(prompt: number, attribute: number, enabled: boolean): void;
|
|
850
941
|
/**
|
|
851
|
-
*
|
|
852
|
-
* tabAmount: specifies number of tabs in prompt group
|
|
853
|
-
* tabDefaultIndex: specifies starting index
|
|
854
|
-
* p3 if is set > 3 you can no longer press Q to change tab if there are more than one tab set in tabAmount
|
|
942
|
+
* priority: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/ePromptPriority
|
|
855
943
|
*
|
|
856
|
-
* @param hash
|
|
857
|
-
* @param name
|
|
858
|
-
* @param tabAmount
|
|
859
|
-
* @param tabDefaultIndex
|
|
860
|
-
* @param p4
|
|
861
944
|
* @param prompt
|
|
862
|
-
* @
|
|
945
|
+
* @param priority
|
|
863
946
|
*/
|
|
864
|
-
static
|
|
947
|
+
static uiPromptSetPriority(prompt: number, priority: number): void;
|
|
865
948
|
/**
|
|
949
|
+
* https://github.com/femga/rdr3_discoveries/tree/master/graphics/HUD/prompts/prompt_types
|
|
950
|
+
*
|
|
866
951
|
* @param p0
|
|
867
|
-
* @param p1
|
|
868
|
-
* @param p2
|
|
869
|
-
* @returns
|
|
870
952
|
*/
|
|
871
|
-
static
|
|
953
|
+
static uiPromptEnablePromptTypeThisFrame(p0: number): void;
|
|
872
954
|
/**
|
|
873
|
-
*
|
|
955
|
+
* Returns the length of the string passed (much like strlen).
|
|
956
|
+
*
|
|
957
|
+
* @param string
|
|
874
958
|
* @returns
|
|
875
959
|
*/
|
|
876
|
-
static
|
|
960
|
+
static getLengthOfLiteralString(string: string | null): number;
|
|
877
961
|
/**
|
|
878
962
|
* @param prompt
|
|
879
|
-
* @returns
|
|
880
963
|
*/
|
|
881
|
-
static
|
|
964
|
+
static uiPromptRegisterEnd(prompt: number): void;
|
|
882
965
|
/**
|
|
883
|
-
*
|
|
884
|
-
* @param size
|
|
966
|
+
* nullsub, doesn't do anything
|
|
885
967
|
*/
|
|
886
|
-
static
|
|
968
|
+
static N_0x2F7BB105144ACF30(): void;
|
|
887
969
|
/**
|
|
888
|
-
*
|
|
970
|
+
* Old name: _DISPLAY_HUD_COMPONENT
|
|
889
971
|
*
|
|
890
|
-
* @param
|
|
891
|
-
* @param icon
|
|
892
|
-
*/
|
|
893
|
-
static setMpGamerTagSecondaryIcon(gamerTagId: number, icon: string | number): void;
|
|
894
|
-
/**
|
|
895
|
-
* Disables reduced time scale while menus such as weapon wheel and satchel are open.
|
|
896
|
-
*/
|
|
897
|
-
static disableReducedMenuTimeScale(): void;
|
|
898
|
-
/**
|
|
899
|
-
* @param prompt
|
|
900
|
-
* @param p1
|
|
901
|
-
*/
|
|
902
|
-
static uiPromptSetBeatModeGrayedOut(prompt: number, p1: any): void;
|
|
903
|
-
/**
|
|
904
|
-
* @param prompt
|
|
905
|
-
* @param p1
|
|
906
|
-
*/
|
|
907
|
-
static N_0x53CE46C01A089DA1(prompt: number, p1: boolean): void;
|
|
908
|
-
/**
|
|
909
|
-
* @param p0
|
|
910
|
-
* @returns
|
|
972
|
+
* @param component
|
|
911
973
|
*/
|
|
912
|
-
static
|
|
974
|
+
static disableHudContext(component: string | number): void;
|
|
975
|
+
static forceCloseTextInputBox(): void;
|
|
913
976
|
/**
|
|
914
977
|
* @param p0
|
|
915
978
|
* @param p1
|
|
916
|
-
*/
|
|
917
|
-
static N_0x958278B97C4AFFD8(p0: any, p1: any): void;
|
|
918
|
-
/**
|
|
919
|
-
* @param prompt
|
|
920
979
|
* @returns
|
|
921
980
|
*/
|
|
922
|
-
static
|
|
923
|
-
/**
|
|
924
|
-
* @param prompt
|
|
925
|
-
* @returns
|
|
926
|
-
*/
|
|
927
|
-
static uiPromptIsPressed(prompt: number): boolean;
|
|
981
|
+
static uiRequestScene(p0: any, p1: any): any;
|
|
928
982
|
/**
|
|
929
|
-
*
|
|
930
|
-
* Old name: _GET_TEXT_SUBSTRING
|
|
931
|
-
*
|
|
983
|
+
* @param entity
|
|
932
984
|
* @param text
|
|
933
|
-
* @param position
|
|
934
|
-
* @param length
|
|
935
985
|
* @returns
|
|
936
986
|
*/
|
|
937
|
-
static
|
|
987
|
+
static createMpGamerTagOnEntity(entity: Entity, text: string | null): number;
|
|
938
988
|
/**
|
|
939
989
|
* @param p0
|
|
940
|
-
* @param p1
|
|
941
|
-
*/
|
|
942
|
-
static N_0x9D37EB5003E0F2CF(p0: any, p1: any): void;
|
|
943
|
-
static uiPromptClearPromptPriorityPreference(): void;
|
|
944
|
-
/**
|
|
945
|
-
* @param prompt
|
|
946
|
-
* @param depletionTimeMs
|
|
947
|
-
*/
|
|
948
|
-
static uiPromptSetPressedTimedMode(prompt: number, depletionTimeMs: number): void;
|
|
949
|
-
/**
|
|
950
|
-
* @param prompt
|
|
951
|
-
* @param toggle
|
|
952
|
-
*/
|
|
953
|
-
static uiPromptSetEnabled(prompt: number, toggle: boolean): void;
|
|
954
|
-
static uiPromptFilterClear(): void;
|
|
955
|
-
/**
|
|
956
|
-
* tabIndex: specifies tab of prompt
|
|
957
|
-
*
|
|
958
|
-
* @param prompt
|
|
959
|
-
* @param groupId
|
|
960
|
-
* @param tabIndex
|
|
961
|
-
*/
|
|
962
|
-
static uiPromptSetGroup(prompt: number, groupId: number, tabIndex: number): void;
|
|
963
|
-
/**
|
|
964
|
-
* @param text
|
|
965
|
-
*/
|
|
966
|
-
static busyspinnerSetText(text: string | null): void;
|
|
967
|
-
/**
|
|
968
|
-
* Returns the hash of the currently highlighted item in the weapon wheel.
|
|
969
|
-
* 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.
|
|
970
|
-
*
|
|
971
|
-
* @returns
|
|
972
|
-
*/
|
|
973
|
-
static weaponWheelGetSelectedItemHash(): any;
|
|
974
|
-
/**
|
|
975
990
|
* @returns
|
|
976
991
|
*/
|
|
977
|
-
static
|
|
978
|
-
static clearAllHelpMessages(): void;
|
|
992
|
+
static journalCanWriteEntry(p0: any): any;
|
|
979
993
|
/**
|
|
980
|
-
* TM_ANY = 0,
|
|
981
|
-
* TM_ON_FOOT,
|
|
982
|
-
* TM_IN_VEHICLE
|
|
983
|
-
*
|
|
984
994
|
* @param prompt
|
|
985
|
-
* @param
|
|
995
|
+
* @param p1
|
|
986
996
|
*/
|
|
987
|
-
static
|
|
997
|
+
static uiPromptSetManualResolved(prompt: number, p1: any): void;
|
|
988
998
|
/**
|
|
999
|
+
* @param inputHash
|
|
1000
|
+
* @param labelName
|
|
1001
|
+
* @param p2
|
|
1002
|
+
* @param p3
|
|
1003
|
+
* @param p4
|
|
1004
|
+
* @param p5
|
|
989
1005
|
* @returns
|
|
990
1006
|
*/
|
|
991
|
-
static
|
|
1007
|
+
static uiPromptCreate(inputHash: string | number, labelName: string | null, p2: any, p3: any, p4: any, p5: number): number;
|
|
992
1008
|
/**
|
|
993
|
-
*
|
|
994
|
-
*
|
|
995
|
-
* @returns
|
|
1009
|
+
* @param prompt
|
|
1010
|
+
* @param p1
|
|
996
1011
|
*/
|
|
997
|
-
static
|
|
1012
|
+
static uiPromptSetSpinnerSpeed(prompt: number, p1: any): void;
|
|
998
1013
|
/**
|
|
999
|
-
* @param
|
|
1014
|
+
* @param name
|
|
1000
1015
|
* @returns
|
|
1001
1016
|
*/
|
|
1002
|
-
static
|
|
1017
|
+
static isNamedRendertargetRegistered(name: string | null): boolean;
|
|
1003
1018
|
/**
|
|
1004
1019
|
* @param p0
|
|
1005
1020
|
* @param p1
|
|
1006
1021
|
*/
|
|
1007
|
-
static
|
|
1008
|
-
/**
|
|
1009
|
-
* @param p0
|
|
1010
|
-
* @returns
|
|
1011
|
-
*/
|
|
1012
|
-
static journalGetEntryAtIndex(p0: any): any;
|
|
1022
|
+
static N_0x052D4AC0922AF91A(p0: any, p1: any): void;
|
|
1013
1023
|
/**
|
|
1014
|
-
* Attaches a Volume
|
|
1015
|
-
*
|
|
1016
1024
|
* @param prompt
|
|
1017
|
-
* @param volume
|
|
1018
1025
|
*/
|
|
1019
|
-
static
|
|
1026
|
+
static uiPromptDelete(prompt: number): void;
|
|
1020
1027
|
/**
|
|
1021
|
-
*
|
|
1028
|
+
* Gets a string literal from a label name. Old name: _GET_LABEL_TEXT
|
|
1022
1029
|
*
|
|
1023
|
-
* @param
|
|
1024
|
-
* @param p1
|
|
1030
|
+
* @param labelName
|
|
1025
1031
|
* @returns
|
|
1026
1032
|
*/
|
|
1027
|
-
static
|
|
1033
|
+
static getFilenameForAudioConversation(labelName: string | null): string | null;
|
|
1034
|
+
static N_0x5651516D947ABC53(): void;
|
|
1028
1035
|
/**
|
|
1029
|
-
* @param
|
|
1030
|
-
* @returns
|
|
1036
|
+
* @param renderId
|
|
1031
1037
|
*/
|
|
1032
|
-
static
|
|
1038
|
+
static setTextRenderId(renderId: number): void;
|
|
1033
1039
|
/**
|
|
1034
|
-
*
|
|
1035
|
-
*
|
|
1036
|
-
* @param
|
|
1040
|
+
* @param distance
|
|
1041
|
+
* @param r
|
|
1042
|
+
* @param g
|
|
1043
|
+
* @param b
|
|
1044
|
+
* @param a
|
|
1037
1045
|
*/
|
|
1038
|
-
static
|
|
1046
|
+
static setTextDropshadow(distance: number, r: number, g: number, b: number, a: number): void;
|
|
1039
1047
|
/**
|
|
1048
|
+
* @param label
|
|
1040
1049
|
* @returns
|
|
1041
1050
|
*/
|
|
1042
|
-
static
|
|
1043
|
-
/**
|
|
1044
|
-
* @param gamerTagId
|
|
1045
|
-
*/
|
|
1046
|
-
static removeMpGamerTag(gamerTagId: number): void;
|
|
1047
|
-
/**
|
|
1048
|
-
* @param prompt
|
|
1049
|
-
* @param action
|
|
1050
|
-
*/
|
|
1051
|
-
static uiPromptSetAllowedAction(prompt: number, action: string | number): void;
|
|
1051
|
+
static getLabelText2(label: string | null): string | null;
|
|
1052
1052
|
/**
|
|
1053
|
-
* @
|
|
1054
|
-
* @param name
|
|
1053
|
+
* @returns
|
|
1055
1054
|
*/
|
|
1056
|
-
static
|
|
1055
|
+
static journalGetEntryCount(): any;
|
|
1056
|
+
static journalClearAllProgress(): void;
|
|
1057
1057
|
}
|
|
1058
1058
|
//# sourceMappingURL=Hud.d.ts.map
|