@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.
Files changed (248) hide show
  1. package/dist/classes/AnimScene.d.ts +101 -101
  2. package/dist/classes/AnimScene.d.ts.map +1 -1
  3. package/dist/classes/AnimScene.js +147 -147
  4. package/dist/classes/BaseModel.d.ts +12 -12
  5. package/dist/classes/BaseModel.d.ts.map +1 -1
  6. package/dist/classes/BaseModel.js +18 -18
  7. package/dist/classes/BaseTask.d.ts +22 -22
  8. package/dist/classes/BaseTask.d.ts.map +1 -1
  9. package/dist/classes/BaseTask.js +29 -29
  10. package/dist/classes/Cam.d.ts +86 -86
  11. package/dist/classes/Cam.d.ts.map +1 -1
  12. package/dist/classes/Cam.js +116 -116
  13. package/dist/classes/Entity.d.ts +426 -425
  14. package/dist/classes/Entity.d.ts.map +1 -1
  15. package/dist/classes/Entity.js +594 -589
  16. package/dist/classes/Interior.d.ts +1 -1
  17. package/dist/classes/Interior.d.ts.map +1 -1
  18. package/dist/classes/Ped.d.ts +13 -12
  19. package/dist/classes/Ped.d.ts.map +1 -1
  20. package/dist/classes/Ped.js +5 -0
  21. package/dist/classes/PedTask.d.ts +729 -729
  22. package/dist/classes/PedTask.d.ts.map +1 -1
  23. package/dist/classes/PedTask.js +951 -951
  24. package/dist/classes/PersChar.d.ts +11 -11
  25. package/dist/classes/PersChar.d.ts.map +1 -1
  26. package/dist/classes/PersChar.js +17 -17
  27. package/dist/classes/Pickup.d.ts +3 -3
  28. package/dist/classes/Pickup.d.ts.map +1 -1
  29. package/dist/classes/Pickup.js +7 -7
  30. package/dist/classes/Player.d.ts +164 -164
  31. package/dist/classes/Player.d.ts.map +1 -1
  32. package/dist/classes/Player.js +218 -218
  33. package/dist/classes/Prop.d.ts +87 -86
  34. package/dist/classes/Prop.d.ts.map +1 -1
  35. package/dist/classes/Prop.js +131 -126
  36. package/dist/classes/PropSet.d.ts +18 -18
  37. package/dist/classes/PropSet.d.ts.map +1 -1
  38. package/dist/classes/PropSet.js +25 -25
  39. package/dist/classes/Vehicle.d.ts +1 -0
  40. package/dist/classes/Vehicle.d.ts.map +1 -1
  41. package/dist/classes/Vehicle.js +5 -0
  42. package/dist/classes/VehicleTask.d.ts +18 -18
  43. package/dist/classes/VehicleTask.d.ts.map +1 -1
  44. package/dist/classes/VehicleTask.js +26 -26
  45. package/dist/classes/Volume.d.ts +1 -1
  46. package/dist/classes/Volume.d.ts.map +1 -1
  47. package/dist/classes/Weapon.d.ts +277 -277
  48. package/dist/classes/Weapon.d.ts.map +1 -1
  49. package/dist/classes/Weapon.js +398 -398
  50. package/dist/namespaces/Aitransport.d.ts +77 -77
  51. package/dist/namespaces/Aitransport.d.ts.map +1 -1
  52. package/dist/namespaces/Aitransport.js +94 -94
  53. package/dist/namespaces/Animscene.d.ts +51 -51
  54. package/dist/namespaces/Animscene.d.ts.map +1 -1
  55. package/dist/namespaces/Animscene.js +69 -69
  56. package/dist/namespaces/Audio.d.ts +2 -2
  57. package/dist/namespaces/Audio.d.ts.map +1 -1
  58. package/dist/namespaces/Bounty.d.ts +57 -57
  59. package/dist/namespaces/Bounty.d.ts.map +1 -1
  60. package/dist/namespaces/Bounty.js +90 -90
  61. package/dist/namespaces/Brain.d.ts +15 -15
  62. package/dist/namespaces/Brain.d.ts.map +1 -1
  63. package/dist/namespaces/Brain.js +20 -20
  64. package/dist/namespaces/CamStatics.d.ts +317 -317
  65. package/dist/namespaces/CamStatics.d.ts.map +1 -1
  66. package/dist/namespaces/CamStatics.js +449 -449
  67. package/dist/namespaces/Collection.d.ts +13 -13
  68. package/dist/namespaces/Collection.d.ts.map +1 -1
  69. package/dist/namespaces/Collection.js +8 -8
  70. package/dist/namespaces/Companion.d.ts +22 -22
  71. package/dist/namespaces/Companion.d.ts.map +1 -1
  72. package/dist/namespaces/Companion.js +30 -30
  73. package/dist/namespaces/Compendium.d.ts +60 -60
  74. package/dist/namespaces/Compendium.d.ts.map +1 -1
  75. package/dist/namespaces/Compendium.js +80 -80
  76. package/dist/namespaces/Crashlog.d.ts +10 -10
  77. package/dist/namespaces/Crashlog.d.ts.map +1 -1
  78. package/dist/namespaces/Crashlog.js +14 -14
  79. package/dist/namespaces/Databinding.d.ts +173 -173
  80. package/dist/namespaces/Databinding.d.ts.map +1 -1
  81. package/dist/namespaces/Databinding.js +263 -263
  82. package/dist/namespaces/Dlc.d.ts +5 -5
  83. package/dist/namespaces/Dlc.d.ts.map +1 -1
  84. package/dist/namespaces/Dlc.js +9 -9
  85. package/dist/namespaces/EntityStatics.d.ts +178 -178
  86. package/dist/namespaces/EntityStatics.d.ts.map +1 -1
  87. package/dist/namespaces/EntityStatics.js +242 -242
  88. package/dist/namespaces/Event.d.ts +62 -62
  89. package/dist/namespaces/Event.d.ts.map +1 -1
  90. package/dist/namespaces/Event.js +82 -82
  91. package/dist/namespaces/Fire.d.ts +7 -7
  92. package/dist/namespaces/Fire.d.ts.map +1 -1
  93. package/dist/namespaces/Fire.js +9 -9
  94. package/dist/namespaces/Graphics.d.ts +797 -797
  95. package/dist/namespaces/Graphics.d.ts.map +1 -1
  96. package/dist/namespaces/Graphics.js +1095 -1095
  97. package/dist/namespaces/Hud.d.ts +477 -477
  98. package/dist/namespaces/Hud.d.ts.map +1 -1
  99. package/dist/namespaces/Hud.js +721 -721
  100. package/dist/namespaces/InteriorStatics.d.ts +2 -2
  101. package/dist/namespaces/InteriorStatics.d.ts.map +1 -1
  102. package/dist/namespaces/Inventory.d.ts +216 -216
  103. package/dist/namespaces/Inventory.d.ts.map +1 -1
  104. package/dist/namespaces/Inventory.js +301 -301
  105. package/dist/namespaces/Itemdatabase.d.ts +8 -8
  106. package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
  107. package/dist/namespaces/Itemdatabase.js +7 -7
  108. package/dist/namespaces/Law.d.ts +2 -2
  109. package/dist/namespaces/Law.d.ts.map +1 -1
  110. package/dist/namespaces/Map.d.ts +65 -65
  111. package/dist/namespaces/Map.d.ts.map +1 -1
  112. package/dist/namespaces/Map.js +91 -91
  113. package/dist/namespaces/Minigame.d.ts +17 -17
  114. package/dist/namespaces/Minigame.d.ts.map +1 -1
  115. package/dist/namespaces/Minigame.js +25 -25
  116. package/dist/namespaces/Misc.d.ts +5 -5
  117. package/dist/namespaces/Misc.d.ts.map +1 -1
  118. package/dist/namespaces/Missiondata.d.ts +3 -3
  119. package/dist/namespaces/Missiondata.d.ts.map +1 -1
  120. package/dist/namespaces/Netshopping.d.ts +1 -1
  121. package/dist/namespaces/Netshopping.d.ts.map +1 -1
  122. package/dist/namespaces/Network.d.ts +1302 -1310
  123. package/dist/namespaces/Network.d.ts.map +1 -1
  124. package/dist/namespaces/Network.js +1910 -1918
  125. package/dist/namespaces/Object.d.ts +170 -170
  126. package/dist/namespaces/Object.d.ts.map +1 -1
  127. package/dist/namespaces/Object.js +232 -232
  128. package/dist/namespaces/Pad.d.ts +103 -103
  129. package/dist/namespaces/Pad.d.ts.map +1 -1
  130. package/dist/namespaces/Pad.js +134 -134
  131. package/dist/namespaces/PedStatics.d.ts +3 -3
  132. package/dist/namespaces/PedStatics.d.ts.map +1 -1
  133. package/dist/namespaces/Perschar.d.ts +71 -71
  134. package/dist/namespaces/Perschar.d.ts.map +1 -1
  135. package/dist/namespaces/Perschar.js +106 -106
  136. package/dist/namespaces/Persistence.d.ts +30 -30
  137. package/dist/namespaces/Persistence.d.ts.map +1 -1
  138. package/dist/namespaces/Persistence.js +42 -42
  139. package/dist/namespaces/PlayerStatics.d.ts +52 -52
  140. package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
  141. package/dist/namespaces/PlayerStatics.js +71 -71
  142. package/dist/namespaces/Population.d.ts +3 -3
  143. package/dist/namespaces/Population.d.ts.map +1 -1
  144. package/dist/namespaces/Posse.d.ts +28 -28
  145. package/dist/namespaces/Posse.d.ts.map +1 -1
  146. package/dist/namespaces/Posse.js +44 -44
  147. package/dist/namespaces/Propset.d.ts +59 -59
  148. package/dist/namespaces/Propset.d.ts.map +1 -1
  149. package/dist/namespaces/Propset.js +81 -81
  150. package/dist/namespaces/Scripts.d.ts +3 -3
  151. package/dist/namespaces/Scripts.d.ts.map +1 -1
  152. package/dist/namespaces/Socialclub.d.ts +1 -1
  153. package/dist/namespaces/Socialclub.d.ts.map +1 -1
  154. package/dist/namespaces/Stats.d.ts +85 -85
  155. package/dist/namespaces/Stats.d.ts.map +1 -1
  156. package/dist/namespaces/Stats.js +113 -113
  157. package/dist/namespaces/Streaming.d.ts +35 -35
  158. package/dist/namespaces/Streaming.d.ts.map +1 -1
  159. package/dist/namespaces/Streaming.js +53 -53
  160. package/dist/namespaces/Task.d.ts +367 -367
  161. package/dist/namespaces/Task.d.ts.map +1 -1
  162. package/dist/namespaces/Task.js +508 -508
  163. package/dist/namespaces/Telemetry.d.ts +198 -198
  164. package/dist/namespaces/Telemetry.d.ts.map +1 -1
  165. package/dist/namespaces/Telemetry.js +274 -274
  166. package/dist/namespaces/Uiapps.d.ts +24 -24
  167. package/dist/namespaces/Uiapps.d.ts.map +1 -1
  168. package/dist/namespaces/Uiapps.js +33 -33
  169. package/dist/namespaces/Uistickyfeed.d.ts +16 -16
  170. package/dist/namespaces/Uistickyfeed.d.ts.map +1 -1
  171. package/dist/namespaces/Uistickyfeed.js +21 -21
  172. package/dist/namespaces/VehicleStatics.d.ts +2 -2
  173. package/dist/namespaces/VehicleStatics.d.ts.map +1 -1
  174. package/dist/namespaces/Water.d.ts +27 -27
  175. package/dist/namespaces/Water.d.ts.map +1 -1
  176. package/dist/namespaces/Water.js +41 -41
  177. package/dist/namespaces/WeaponStatics.d.ts +250 -250
  178. package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
  179. package/dist/namespaces/WeaponStatics.js +372 -372
  180. package/dist/namespaces/Zone.d.ts +8 -8
  181. package/dist/namespaces/Zone.d.ts.map +1 -1
  182. package/dist/namespaces/Zone.js +9 -9
  183. package/package.json +1 -1
  184. package/src/classes/AnimScene.ts +170 -170
  185. package/src/classes/BaseModel.ts +21 -21
  186. package/src/classes/BaseTask.ts +31 -31
  187. package/src/classes/Cam.ts +124 -124
  188. package/src/classes/Entity.ts +619 -614
  189. package/src/classes/Interior.ts +1 -1
  190. package/src/classes/Ped.ts +17 -12
  191. package/src/classes/PedTask.ts +1011 -1011
  192. package/src/classes/PersChar.ts +19 -19
  193. package/src/classes/Pickup.ts +8 -8
  194. package/src/classes/Player.ts +227 -227
  195. package/src/classes/Prop.ts +146 -141
  196. package/src/classes/PropSet.ts +29 -29
  197. package/src/classes/Vehicle.ts +5 -0
  198. package/src/classes/VehicleTask.ts +30 -30
  199. package/src/classes/Volume.ts +1 -1
  200. package/src/classes/Weapon.ts +414 -414
  201. package/src/namespaces/Aitransport.ts +102 -102
  202. package/src/namespaces/Animscene.ts +78 -78
  203. package/src/namespaces/Audio.ts +2 -2
  204. package/src/namespaces/Bounty.ts +102 -102
  205. package/src/namespaces/Brain.ts +22 -22
  206. package/src/namespaces/CamStatics.ts +501 -501
  207. package/src/namespaces/Collection.ts +16 -16
  208. package/src/namespaces/Companion.ts +34 -34
  209. package/src/namespaces/Compendium.ts +93 -93
  210. package/src/namespaces/Crashlog.ts +16 -16
  211. package/src/namespaces/Databinding.ts +280 -280
  212. package/src/namespaces/Dlc.ts +9 -9
  213. package/src/namespaces/EntityStatics.ts +249 -249
  214. package/src/namespaces/Event.ts +92 -92
  215. package/src/namespaces/Fire.ts +10 -10
  216. package/src/namespaces/Graphics.ts +1155 -1155
  217. package/src/namespaces/Hud.ts +763 -763
  218. package/src/namespaces/InteriorStatics.ts +2 -2
  219. package/src/namespaces/Inventory.ts +321 -321
  220. package/src/namespaces/Itemdatabase.ts +11 -11
  221. package/src/namespaces/Law.ts +2 -2
  222. package/src/namespaces/Map.ts +104 -104
  223. package/src/namespaces/Minigame.ts +29 -29
  224. package/src/namespaces/Misc.ts +5 -5
  225. package/src/namespaces/Missiondata.ts +3 -3
  226. package/src/namespaces/Netshopping.ts +1 -1
  227. package/src/namespaces/Network.ts +1921 -1929
  228. package/src/namespaces/Object.ts +237 -237
  229. package/src/namespaces/Pad.ts +151 -151
  230. package/src/namespaces/PedStatics.ts +3 -3
  231. package/src/namespaces/Perschar.ts +116 -116
  232. package/src/namespaces/Persistence.ts +48 -48
  233. package/src/namespaces/PlayerStatics.ts +75 -75
  234. package/src/namespaces/Population.ts +3 -3
  235. package/src/namespaces/Posse.ts +47 -47
  236. package/src/namespaces/Propset.ts +92 -92
  237. package/src/namespaces/Scripts.ts +3 -3
  238. package/src/namespaces/Socialclub.ts +1 -1
  239. package/src/namespaces/Stats.ts +129 -129
  240. package/src/namespaces/Streaming.ts +62 -62
  241. package/src/namespaces/Task.ts +538 -538
  242. package/src/namespaces/Telemetry.ts +295 -295
  243. package/src/namespaces/Uiapps.ts +39 -39
  244. package/src/namespaces/Uistickyfeed.ts +23 -23
  245. package/src/namespaces/VehicleStatics.ts +2 -2
  246. package/src/namespaces/Water.ts +47 -47
  247. package/src/namespaces/WeaponStatics.ts +394 -394
  248. package/src/namespaces/Zone.ts +11 -11
@@ -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 p0
9
- * @param name
8
+ * @param modelHash
10
9
  */
11
- static setMissionNameForUgcMission(p0: boolean, name: string | null): void;
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 busyspinnerIsOn(): boolean;
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 prompt
38
- * @param toggle
19
+ * @param textBlock
20
+ * @returns
39
21
  */
40
- static uiPromptSetUrgentPulsingEnabled(prompt: number, toggle: boolean): void;
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 uiPromptSetActiveGroupThisFrame(hash: string | number, name: string | null, tabAmount: number, tabDefaultIndex: number, p4: number, prompt: number): any;
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 journalGetTextureWithLayout(p0: any, p1: any, p2: any): any;
32
+ static N_0xD6BD313CFA41E57A(p0: any): any;
63
33
  /**
64
- * @param prompt
65
34
  * @returns
66
35
  */
67
- static uiPromptIsEnabled(prompt: number): any;
36
+ static isMultiplayerChatActive(): boolean;
37
+ static disableFrontendThisFrame(): void;
68
38
  /**
69
39
  * @param prompt
70
40
  * @returns
71
41
  */
72
- static uiPromptGetUrgentPulsingEnabled(prompt: number): boolean;
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 uiPromptRegisterBegin(): number;
52
+ static N_0x8B55B324A9123F6B(groupId: number, volume: Volume, p2: string | null, p3: any, p4: any, p5: any): any;
107
53
  /**
108
- * This returns an id that can be used with 0x6095358C4142932A.
109
- *
54
+ * @param entity
110
55
  * @returns
111
56
  */
112
- static uiPromptSetRegisterHorizontalOrientation(): number;
57
+ static uiPromptGetGroupIdForTargetEntity(entity: Entity): number;
113
58
  /**
114
- * @param prompt
115
- * @returns
59
+ * Old name: _ALLOW_PAUSE_MENU_WHEN_DEAD_THIS_FRAME
116
60
  */
117
- static uiPromptHasPressedTimedModeCompleted(prompt: number): any;
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 journalGetEntryAtIndex(p0: any): any;
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
- * If Hud should be displayed
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 removeMpGamerTag(gamerTagId: number): void;
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 p0
169
- * @param name
76
+ * @param ped
170
77
  */
171
- static setMissionName(p0: boolean, name: string | null): void;
78
+ static uiPromptSetPromptPriorityPreference(ped: Ped): void;
172
79
  /**
173
- * @param gamerTagId
80
+ * @param textBlock
174
81
  */
175
- static mpGamerTagDisableReviveTopIcon(gamerTagId: number): void;
82
+ static textBlockDelete(textBlock: string | null): void;
176
83
  /**
177
- * standard (prompt not held) rate: 0.035f
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 uiPromptDoesAmbientGroupExist(hash: string | number): boolean;
88
+ static isPauseMenuActive(): boolean;
190
89
  /**
191
- * @param p0
90
+ * @param controlAction
192
91
  * @returns
193
92
  */
194
- static N_0x7EC0D68233E391AC(p0: number): number;
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 prompt
95
+ * @param textBlock
213
96
  * @returns
214
97
  */
215
- static uiPromptIsJustPressed(prompt: number): boolean;
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
- * @returns
100
+ * @param worldX
101
+ * @param worldY
102
+ * @param worldZ
103
+ * @returns screenX; screenY
223
104
  */
224
- static isSubtitlePreferenceSwitchedOn(): boolean;
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 uiPromptIsActive(prompt: number): boolean;
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 prompt
238
- * @param releaseMode
112
+ * @param p0
113
+ * @param name
239
114
  */
240
- static uiPromptSetStandardMode(prompt: number, releaseMode: boolean): void;
115
+ static setMissionNameForUgcMission(p0: boolean, name: string | null): void;
241
116
  /**
242
- * @param hash
243
117
  * @returns
244
118
  */
245
- static uiPromptGetGroupActivePage(hash: string | number): number;
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 uiPromptSetTargetModeTarget(prompt: number, p1: number, p2: number): void;
124
+ static uiPromptSetTag(prompt: number, p1: any): void;
266
125
  /**
267
- * @param prompt
268
- * @param p1
269
- * @param p2
270
- * @param p3
271
- * @param p4
126
+ * @param gamerTagId
127
+ * @param string
272
128
  */
273
- static uiPromptSetMashManualCanFailMode(prompt: number, p1: number, p2: number, p3: number, p4: any): void;
129
+ static setMpGamerTagName(gamerTagId: number, string: string | null): void;
274
130
  /**
275
131
  * @param prompt
276
- * @param p1
277
- * @param p2
278
- * @param p3
132
+ * @param progress
279
133
  */
280
- static uiPromptSetTargetMode(prompt: number, p1: number, p2: number, p3: any): void;
134
+ static uiPromptSetTargetModeProgress(prompt: number, progress: number): void;
281
135
  /**
282
136
  * @param prompt
283
- * @param autoFillTimeMs
284
- * @param mashes
285
137
  */
286
- static uiPromptSetMashAutoFillMode(prompt: number, autoFillTimeMs: number, mashes: number): void;
138
+ static uiPromptSetMashIndefinitelyMode(prompt: number): void;
139
+ static uiPromptDisablePromptsThisFrame(): void;
287
140
  /**
288
141
  * @param prompt
289
142
  * @param toggle
290
143
  */
291
- static uiPromptSetBeatMode(prompt: number, toggle: boolean): void;
144
+ static uiPromptSetUrgentPulsingEnabled(prompt: number, toggle: boolean): void;
292
145
  /**
293
- * Similar to 0x9D7E12EC6A1EE4E5(GET_TEXT_SUBSTRING) but starts at the beginning of the string
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 text
296
- * @param length
297
- * @returns
298
- */
299
- static getTextSubstring2(text: string | null, length: number): string | null;
300
- /**
301
- * @param p0
151
+ * @param hash
152
+ * @param name
153
+ * @param tabAmount
154
+ * @param tabDefaultIndex
155
+ * @param p4
302
156
  * @param prompt
303
- * @param p2
304
- */
305
- static uiPromptAddGroupLink(p0: any, prompt: number, p2: any): void;
306
- /**
307
- * @param gamerTagId
157
+ * @returns
308
158
  */
309
- static mpGamerTagEnableReviveTopIcon(gamerTagId: number): void;
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 N_0x8A59D44189AF2BC5(p0: any, p1: any): void;
166
+ static journalGetTextureWithLayout(p0: any, p1: any, p2: any): any;
315
167
  /**
316
168
  * @param prompt
317
- * @param p1
318
- */
319
- static uiPromptSetOrderingAsInputType(prompt: number, p1: any): void;
320
- /**
321
- * @param p0
169
+ * @returns
322
170
  */
323
- static journalMarkRead(p0: any): void;
171
+ static uiPromptIsEnabled(prompt: number): any;
324
172
  /**
325
- * @param gamerTagId
326
- * @param entity
173
+ * @param prompt
327
174
  * @returns
328
175
  */
329
- static isMpGamerTagActiveOnEntity(gamerTagId: number, entity: Entity): any;
176
+ static uiPromptGetUrgentPulsingEnabled(prompt: number): boolean;
330
177
  /**
331
- * @param gamerTagId
332
- * @param string
178
+ * @param scale
179
+ * @param size
333
180
  */
334
- static setMpGamerTagBigText(gamerTagId: number, string: string | null): void;
181
+ static setTextScale(scale: number, size: number): void;
335
182
  /**
336
- * @param prompt
337
- * @param radius
183
+ * Found icons: SPEAKER, THROPY
184
+ *
185
+ * @param gamerTagId
186
+ * @param icon
338
187
  */
339
- static uiPromptContextSetRadius(prompt: number, radius: number): void;
188
+ static setMpGamerTagSecondaryIcon(gamerTagId: number, icon: string | number): void;
340
189
  /**
341
- * @param prompt
342
- * @param toggle
190
+ * Disables reduced time scale while menus such as weapon wheel and satchel are open.
343
191
  */
344
- static uiPromptSetVisible(prompt: number, toggle: boolean): void;
192
+ static disableReducedMenuTimeScale(): void;
345
193
  /**
346
194
  * @param prompt
347
195
  * @param p1
348
196
  */
349
- static N_0x53CE46C01A089DA1(prompt: number, p1: boolean): void;
197
+ static uiPromptSetBeatModeGrayedOut(prompt: number, p1: any): void;
350
198
  /**
351
199
  * @param p0
352
200
  * @returns
353
201
  */
354
- static uiGetSceneUiobject(p0: any): any;
202
+ static journalGetGrimeAtIndex(p0: any): any;
355
203
  /**
356
- * @param p0
204
+ * @param prompt
357
205
  * @param p1
358
206
  */
359
- static N_0x958278B97C4AFFD8(p0: any, p1: any): void;
207
+ static uiPromptRemoveGroup(prompt: number, p1: any): void;
360
208
  /**
361
- * @param prompt
362
- * @returns
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 uiPromptGetProgress(prompt: number): number;
216
+ static setTextColor(r: number, g: number, b: number, a: number): void;
365
217
  /**
366
- * @param prompt
367
218
  * @returns
368
219
  */
369
- static uiPromptIsPressed(prompt: number): boolean;
220
+ static isRadarHiddenByScript(): any;
221
+ static hideHudAndRadarThisFrame(): void;
370
222
  /**
371
- * Note: you must use VAR_STRING. Byte code very similar to TEXT_COMMAND_DISPLAY_TEXT in V
372
- * Old name: _GET_TEXT_SUBSTRING
373
- *
374
- * @param text
375
- * @param position
376
- * @param length
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 getCharacterFromAudioConversationFilename(text: string | null, position: number, length: number): string | null;
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
- * @param toggle
234
+ * @returns
394
235
  */
395
- static uiPromptSetEnabled(prompt: number, toggle: boolean): void;
396
- static uiPromptFilterClear(): void;
236
+ static uiPromptHasHoldAutoFillMode(prompt: number): boolean;
397
237
  /**
398
- * tabIndex: specifies tab of prompt
238
+ * string1 is the only string used in the scripts, the others are null (0)
399
239
  *
400
- * @param prompt
401
- * @param groupId
402
- * @param tabIndex
240
+ * @param active
241
+ * @param string1
242
+ * @param string2
243
+ * @param string3
244
+ * @param string4
403
245
  */
404
- static uiPromptSetGroup(prompt: number, groupId: number, tabIndex: number): void;
246
+ static setCurrentUgcMissionDescription(active: boolean, string1: string | null, string2: string | null, string3: string | null, string4: string | null): void;
405
247
  /**
406
- * @param text
248
+ * @param name
249
+ * @returns
407
250
  */
408
- static busyspinnerSetText(text: string | null): void;
251
+ static getNamedRendertargetRenderId(name: string | null): number;
409
252
  /**
410
- * Returns the hash of the currently highlighted item in the weapon wheel.
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 weaponWheelGetSelectedItemHash(): any;
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 isRadarPreferenceSwitchedOn(): boolean;
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 p0
268
+ * @param prompt
423
269
  * @returns
424
270
  */
425
- static N_0x28AE29D909C8FDCE(p0: any): any;
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 uiPromptAddGroupReturnLink(p0: any, prompt: number): void;
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 type
279
+ * @param autoFillTimeMs
280
+ * @param holdTimeMs
436
281
  */
437
- static uiPromptSetType(prompt: number, type: number): void;
282
+ static uiPromptSetHoldAutoFillMode(prompt: number, autoFillTimeMs: number, holdTimeMs: number): void;
438
283
  /**
439
- * @param textBlock
284
+ * @param prompt
285
+ * @returns
440
286
  */
441
- static textBlockRequest(textBlock: string | null): void;
287
+ static uiPromptHasHoldModeCompleted(prompt: number): boolean;
442
288
  /**
443
- * Checks if the passed gxt name exists in the game files.
289
+ * id is the return value from 0xD9459157EB22C895.
444
290
  *
445
- * @param label
291
+ * @param id
292
+ */
293
+ static uiPromptClearHorizontalOrientation(id: number): void;
294
+ /**
295
+ * @param p0
296
+ * @param p1
446
297
  * @returns
447
298
  */
448
- static doesTextLabelExist(label: string | null): boolean;
299
+ static uiRequestScene(p0: any, p1: any): any;
449
300
  /**
301
+ * @param entity
302
+ * @param text
450
303
  * @returns
451
304
  */
452
- static N_0x066725A9D52B3641(): any;
305
+ static createMpGamerTagOnEntity(entity: Entity, text: string | null): number;
453
306
  /**
454
- * standard (prompt not held) rate: (1f / 128f)
455
- * fast (prompt held) rate: (1f / 64f)
456
- * punitive (been hit) rate: (1f / 128f)
457
- *
458
- * @param prompt
459
- * @param rate
307
+ * @param p0
308
+ * @returns
460
309
  */
461
- static uiPromptSetMashManualModeIncreasePerPress(prompt: number, rate: number): void;
310
+ static journalCanWriteEntry(p0: any): any;
462
311
  /**
463
312
  * @param prompt
464
- * @param speed
313
+ * @param p1
465
314
  */
466
- static uiPromptSetMashManualModePressedGrowthSpeed(prompt: number, speed: number): void;
315
+ static uiPromptSetManualResolved(prompt: number, p1: any): void;
467
316
  /**
468
- * @param string
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 getLengthOfLiteralStringInBytes(string: string | null): number;
325
+ static uiPromptCreate(inputHash: string | number, labelName: string | null, p2: any, p3: any, p4: any, p5: number): number;
472
326
  /**
473
- * @param name
474
- * @returns
327
+ * @param prompt
328
+ * @param p1
475
329
  */
476
- static releaseNamedRendertarget(name: string | null): boolean;
330
+ static uiPromptSetSpinnerSpeed(prompt: number, p1: any): void;
477
331
  /**
478
- * @param textDatabase
332
+ * @param name
479
333
  * @returns
480
334
  */
481
- static doesTextBlockExist(textDatabase: string | null): any;
335
+ static isNamedRendertargetRegistered(name: string | null): boolean;
482
336
  /**
483
337
  * @param p0
484
338
  * @param p1
485
- * @returns
486
339
  */
487
- static journalGetEntryInfo(p0: any, p1: any): any;
340
+ static N_0x052D4AC0922AF91A(p0: any, p1: any): void;
488
341
  /**
489
- * @param p0
342
+ * @param prompt
490
343
  */
491
- static N_0x3FE4FB41EF7D2196(p0: any): void;
344
+ static uiPromptDelete(prompt: number): void;
492
345
  /**
493
- * colorNameHash: https://alloc8or.re/rdr3/doc/enums/eColor.txt
346
+ * Gets a string literal from a label name. Old name: _GET_LABEL_TEXT
494
347
  *
495
- * @param colorNameHash
496
- * @returns red; green; blue; alpha
348
+ * @param labelName
349
+ * @returns
497
350
  */
498
- static getColorFromName(colorNameHash: string | number): [number, number, number, number];
351
+ static getFilenameForAudioConversation(labelName: string | null): string | null;
352
+ static N_0x5651516D947ABC53(): void;
499
353
  /**
500
- * visibility:
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 setMpGamerTagVisibility(gamerTagId: number, visibility: number): void;
356
+ static setTextRenderId(renderId: number): void;
513
357
  /**
514
- * @param component
358
+ * @param distance
359
+ * @param r
360
+ * @param g
361
+ * @param b
362
+ * @param a
515
363
  */
516
- static enableHudContextThisFrame(component: string | number): void;
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 uiRequestScene(p0: any, p1: any): any;
567
+ static uiPromptGetProgress(prompt: number): number;
696
568
  /**
697
- * @param entity
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 createMpGamerTagOnEntity(entity: Entity, text: string | null): number;
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 journalCanWriteEntry(p0: any): any;
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 uiPromptSetManualResolved(prompt: number, p1: any): void;
639
+ static uiPromptSetTargetModeTarget(prompt: number, p1: number, p2: number): void;
712
640
  /**
713
- * @param inputHash
714
- * @param labelName
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 uiPromptCreate(inputHash: string | number, labelName: string | null, p2: any, p3: any, p4: any, p5: number): number;
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 uiPromptSetSpinnerSpeed(prompt: number, p1: any): void;
654
+ static uiPromptSetTargetMode(prompt: number, p1: number, p2: number, p3: any): void;
727
655
  /**
728
- * @param name
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 isNamedRendertargetRegistered(name: string | null): boolean;
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 N_0x052D4AC0922AF91A(p0: any, p1: any): void;
688
+ static N_0x8A59D44189AF2BC5(p0: any, p1: any): void;
737
689
  /**
738
690
  * @param prompt
691
+ * @param p1
739
692
  */
740
- static uiPromptDelete(prompt: number): void;
693
+ static uiPromptSetOrderingAsInputType(prompt: number, p1: any): void;
741
694
  /**
742
- * Gets a string literal from a label name. Old name: _GET_LABEL_TEXT
743
- *
744
- * @param labelName
695
+ * @param p0
696
+ */
697
+ static journalMarkRead(p0: any): void;
698
+ /**
699
+ * @param gamerTagId
700
+ * @param entity
745
701
  * @returns
746
702
  */
747
- static getFilenameForAudioConversation(labelName: string | null): string | null;
748
- static N_0x5651516D947ABC53(): void;
703
+ static isMpGamerTagActiveOnEntity(gamerTagId: number, entity: Entity): any;
749
704
  /**
750
- * @param renderId
705
+ * @param gamerTagId
706
+ * @param string
751
707
  */
752
- static setTextRenderId(renderId: number): void;
708
+ static setMpGamerTagBigText(gamerTagId: number, string: string | null): void;
753
709
  /**
754
- * @param distance
755
- * @param r
756
- * @param g
757
- * @param b
758
- * @param a
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 setTextDropshadow(distance: number, r: number, g: number, b: number, a: number): void;
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 getLabelText2(label: string | null): string | null;
746
+ static doesTextLabelExist(label: string | null): boolean;
766
747
  /**
767
748
  * @returns
768
749
  */
769
- static journalGetEntryCount(): any;
770
- static journalClearAllProgress(): void;
750
+ static N_0x066725A9D52B3641(): any;
771
751
  /**
772
- * @param modelHash
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 linkNamedRendertarget(modelHash: string | number): void;
759
+ static uiPromptSetMashManualModeIncreasePerPress(prompt: number, rate: number): void;
775
760
  /**
776
- * Returns the label text given the hash. Old name: _GET_LABEL_TEXT_BY_HASH
777
- *
778
- * @param labelHash
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 getStringFromHashKey(labelHash: string | number): string | null;
769
+ static getLengthOfLiteralStringInBytes(string: string | null): number;
782
770
  /**
783
- * @param textBlock
771
+ * @param name
784
772
  * @returns
785
773
  */
786
- static textBlockIsLoaded(textBlock: string | null): any;
774
+ static releaseNamedRendertarget(name: string | null): boolean;
787
775
  /**
788
- * @param prompt
776
+ * @param textDatabase
789
777
  * @returns
790
778
  */
791
- static uiPromptHasMashMode(prompt: number): any;
779
+ static doesTextBlockExist(textDatabase: string | null): any;
792
780
  /**
793
781
  * @param p0
782
+ * @param p1
794
783
  * @returns
795
784
  */
796
- static N_0xD6BD313CFA41E57A(p0: any): any;
785
+ static journalGetEntryInfo(p0: any, p1: any): any;
797
786
  /**
798
- * @returns
787
+ * @param p0
799
788
  */
800
- static isMultiplayerChatActive(): boolean;
801
- static disableFrontendThisFrame(): void;
789
+ static N_0x3FE4FB41EF7D2196(p0: any): void;
802
790
  /**
803
- * @param prompt
804
- * @returns
791
+ * colorNameHash: https://alloc8or.re/rdr3/doc/enums/eColor.txt
792
+ *
793
+ * @param colorNameHash
794
+ * @returns red; green; blue; alpha
805
795
  */
806
- static uiPromptGetMashModeProgress(prompt: number): number;
796
+ static getColorFromName(colorNameHash: string | number): [number, number, number, number];
807
797
  /**
808
- * @param groupId
809
- * @param volume
810
- * @param p2
811
- * @param p3
812
- * @param p4
813
- * @param p5
814
- * @returns
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 N_0x8B55B324A9123F6B(groupId: number, volume: Volume, p2: string | null, p3: any, p4: any, p5: any): any;
810
+ static setMpGamerTagVisibility(gamerTagId: number, visibility: number): void;
817
811
  /**
818
- * @param entity
819
- * @returns
812
+ * @param component
820
813
  */
821
- static uiPromptGetGroupIdForTargetEntity(entity: Entity): number;
814
+ static enableHudContextThisFrame(component: string | number): void;
822
815
  /**
823
- * Old name: _ALLOW_PAUSE_MENU_WHEN_DEAD_THIS_FRAME
816
+ * @param gamerTagId
824
817
  */
825
- static allowPauseWhenNotInStateOfPlayThisFrame(): void;
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 uiPromptGetGroupIdForScenarioPoint(p0: any, p1: number): number;
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 setMpGamerTagUnkAllowLocalized(gamerTagId: number, allow: boolean): void;
841
+ static N_0xBFFF81E12A745A5F(): void;
839
842
  /**
840
- * @param ped
843
+ * @param uiscene
841
844
  */
842
- static uiPromptSetPromptPriorityPreference(ped: Ped): void;
845
+ static N_0xF1E6979C0B779985(uiscene: number): void;
843
846
  /**
844
- * @param textBlock
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 textBlockDelete(textBlock: string | null): void;
853
+ static displayText(text: string | null, xPos: number, yPos: number): void;
847
854
  /**
848
- * Returns true when either Pause Menu, a Frontend Menu, Online Policies menu or Social Club menu is active.
849
- *
855
+ * @param prompt
850
856
  * @returns
851
857
  */
852
- static isPauseMenuActive(): boolean;
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 uiPromptIsControlActionActive(controlAction: string | number): any;
867
+ static isSubtitlePreferenceSwitchedOn(): boolean;
858
868
  /**
859
- * @param textBlock
869
+ * @param prompt
860
870
  * @returns
861
871
  */
862
- static textBlockIsStreamed(textBlock: string | null): any;
872
+ static uiPromptIsActive(prompt: number): boolean;
863
873
  /**
864
- * @param worldX
865
- * @param worldY
866
- * @param worldZ
867
- * @returns screenX; screenY
874
+ * @param prompt
875
+ * @param mashes
868
876
  */
869
- static getHudScreenPositionFromWorldPosition(worldX: number, worldY: number, worldZ: number): [boolean, number, number];
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 uiPromptHasHoldMode(prompt: number): any;
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
- * @param p0
963
- * @returns
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 r
975
- * @param g
976
- * @param b
977
- * @param a
984
+ * @param prompt
985
+ * @param mode
978
986
  */
979
- static setTextColor(r: number, g: number, b: number, a: number): void;
987
+ static uiPromptSetTransportMode(prompt: number, mode: number): void;
980
988
  /**
981
989
  * @returns
982
990
  */
983
- static isRadarHiddenByScript(): any;
984
- static hideHudAndRadarThisFrame(): void;
991
+ static uiPromptRegisterBegin(): number;
985
992
  /**
986
- * @param ped
987
- * @param username
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 createFakeMpGamerTag(ped: Ped, username: string | null, pointedClanTag: boolean, isRockstarClan: boolean, clanTag: string | null, clanFlag: number): number;
997
+ static uiPromptSetRegisterHorizontalOrientation(): number;
995
998
  /**
996
999
  * @param prompt
997
1000
  * @returns
998
1001
  */
999
- static uiPromptHasHoldAutoFillMode(prompt: number): boolean;
1002
+ static uiPromptHasPressedTimedModeCompleted(prompt: number): any;
1000
1003
  /**
1001
- * string1 is the only string used in the scripts, the others are null (0)
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 setCurrentUgcMissionDescription(active: boolean, string1: string | null, string2: string | null, string3: string | null, string4: string | null): void;
1007
+ static uiMovieviewSetRenderTarget(p0: any, p1: any): void;
1010
1008
  /**
1011
- * @param name
1009
+ * @param p0
1012
1010
  * @returns
1013
1011
  */
1014
- static getNamedRendertargetRenderId(name: string | null): number;
1012
+ static journalGetEntryAtIndex(p0: any): any;
1015
1013
  /**
1016
- * @param p0
1014
+ * Attaches a Volume
1015
+ *
1016
+ * @param prompt
1017
+ * @param volume
1017
1018
  */
1018
- static uiPromptDisablePromptTypeThisFrame(p0: number): void;
1019
+ static uiPromptContextSetVolume(prompt: number, volume: Volume): void;
1019
1020
  /**
1020
- * @param entity
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 uiPromptSetAmbientGroupThisFrame(entity: Entity, p1: number, p2: number, p3: number, p4: string | number, name: string | null, p6: number): any;
1027
+ static uiPromptHasStandardModeCompleted(prompt: number, p1: number): boolean;
1030
1028
  /**
1031
1029
  * @param prompt
1032
1030
  * @returns
1033
1031
  */
1034
- static uiPromptIsHoldModeRunning(prompt: number): boolean;
1032
+ static uiPromptIsValid(prompt: number): boolean;
1035
1033
  /**
1036
- * @param prompt
1037
- * @returns Returns `true` if the mash mode has just been pressed.
1034
+ * If Hud should be displayed
1035
+ *
1036
+ * @param toggle
1038
1037
  */
1039
- static uiPromptHasMashModeJustPressed(prompt: number): boolean;
1038
+ static displayHud(toggle: boolean): void;
1040
1039
  /**
1041
- * @param prompt
1042
- * @param autoFillTimeMs
1043
- * @param holdTimeMs
1040
+ * @returns
1044
1041
  */
1045
- static uiPromptSetHoldAutoFillMode(prompt: number, autoFillTimeMs: number, holdTimeMs: number): void;
1042
+ static isRadarHidden(): boolean;
1043
+ /**
1044
+ * @param gamerTagId
1045
+ */
1046
+ static removeMpGamerTag(gamerTagId: number): void;
1046
1047
  /**
1047
1048
  * @param prompt
1048
- * @returns
1049
+ * @param action
1049
1050
  */
1050
- static uiPromptHasHoldModeCompleted(prompt: number): boolean;
1051
+ static uiPromptSetAllowedAction(prompt: number, action: string | number): void;
1051
1052
  /**
1052
- * id is the return value from 0xD9459157EB22C895.
1053
- *
1054
- * @param id
1053
+ * @param p0
1054
+ * @param name
1055
1055
  */
1056
- static uiPromptClearHorizontalOrientation(id: number): void;
1056
+ static setMissionName(p0: boolean, name: string | null): void;
1057
1057
  }
1058
1058
  //# sourceMappingURL=Hud.d.ts.map