@nativewrappers/redm-codegen 0.0.2 → 0.0.3

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 (254) hide show
  1. package/dist/classes/AnimScene.d.ts +142 -142
  2. package/dist/classes/AnimScene.d.ts.map +1 -1
  3. package/dist/classes/AnimScene.js +203 -203
  4. package/dist/classes/BaseModel.d.ts +29 -29
  5. package/dist/classes/BaseModel.d.ts.map +1 -1
  6. package/dist/classes/BaseModel.js +43 -43
  7. package/dist/classes/BaseTask.d.ts +34 -34
  8. package/dist/classes/BaseTask.d.ts.map +1 -1
  9. package/dist/classes/BaseTask.js +42 -42
  10. package/dist/classes/Cam.d.ts +71 -71
  11. package/dist/classes/Cam.d.ts.map +1 -1
  12. package/dist/classes/Cam.js +102 -102
  13. package/dist/classes/Entity.d.ts +387 -386
  14. package/dist/classes/Entity.d.ts.map +1 -1
  15. package/dist/classes/Entity.js +509 -504
  16. package/dist/classes/Interior.d.ts +27 -27
  17. package/dist/classes/Interior.d.ts.map +1 -1
  18. package/dist/classes/Interior.js +42 -42
  19. package/dist/classes/Ped.d.ts +67 -66
  20. package/dist/classes/Ped.d.ts.map +1 -1
  21. package/dist/classes/Ped.js +80 -75
  22. package/dist/classes/PedTask.d.ts +1518 -1518
  23. package/dist/classes/PedTask.d.ts.map +1 -1
  24. package/dist/classes/PedTask.js +1930 -1930
  25. package/dist/classes/PersChar.d.ts +11 -11
  26. package/dist/classes/PersChar.d.ts.map +1 -1
  27. package/dist/classes/PersChar.js +23 -23
  28. package/dist/classes/Pickup.d.ts +7 -7
  29. package/dist/classes/Pickup.d.ts.map +1 -1
  30. package/dist/classes/Pickup.js +13 -13
  31. package/dist/classes/Player.d.ts +237 -237
  32. package/dist/classes/Player.d.ts.map +1 -1
  33. package/dist/classes/Player.js +319 -319
  34. package/dist/classes/Prop.d.ts +105 -104
  35. package/dist/classes/Prop.d.ts.map +1 -1
  36. package/dist/classes/Prop.js +155 -150
  37. package/dist/classes/PropSet.d.ts +1 -1
  38. package/dist/classes/PropSet.d.ts.map +1 -1
  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 +21 -21
  43. package/dist/classes/VehicleTask.d.ts.map +1 -1
  44. package/dist/classes/VehicleTask.js +27 -27
  45. package/dist/classes/Volume.d.ts +40 -40
  46. package/dist/classes/Volume.d.ts.map +1 -1
  47. package/dist/classes/Volume.js +54 -54
  48. package/dist/classes/Weapon.d.ts +364 -364
  49. package/dist/classes/Weapon.d.ts.map +1 -1
  50. package/dist/classes/Weapon.js +515 -515
  51. package/dist/namespaces/Aitransport.d.ts +77 -77
  52. package/dist/namespaces/Aitransport.d.ts.map +1 -1
  53. package/dist/namespaces/Aitransport.js +94 -94
  54. package/dist/namespaces/Animscene.d.ts +65 -65
  55. package/dist/namespaces/Animscene.d.ts.map +1 -1
  56. package/dist/namespaces/Animscene.js +83 -83
  57. package/dist/namespaces/Audio.d.ts +464 -464
  58. package/dist/namespaces/Audio.d.ts.map +1 -1
  59. package/dist/namespaces/Audio.js +651 -651
  60. package/dist/namespaces/Bounty.d.ts +23 -23
  61. package/dist/namespaces/Bounty.d.ts.map +1 -1
  62. package/dist/namespaces/Bounty.js +40 -40
  63. package/dist/namespaces/Brain.d.ts +15 -15
  64. package/dist/namespaces/Brain.d.ts.map +1 -1
  65. package/dist/namespaces/Brain.js +20 -20
  66. package/dist/namespaces/CamStatics.d.ts +459 -459
  67. package/dist/namespaces/CamStatics.d.ts.map +1 -1
  68. package/dist/namespaces/CamStatics.js +719 -719
  69. package/dist/namespaces/Collection.d.ts +78 -78
  70. package/dist/namespaces/Collection.d.ts.map +1 -1
  71. package/dist/namespaces/Collection.js +109 -109
  72. package/dist/namespaces/Companion.d.ts +22 -22
  73. package/dist/namespaces/Companion.d.ts.map +1 -1
  74. package/dist/namespaces/Companion.js +30 -30
  75. package/dist/namespaces/Compendium.d.ts +94 -94
  76. package/dist/namespaces/Compendium.d.ts.map +1 -1
  77. package/dist/namespaces/Compendium.js +126 -126
  78. package/dist/namespaces/Databinding.d.ts +113 -113
  79. package/dist/namespaces/Databinding.d.ts.map +1 -1
  80. package/dist/namespaces/Databinding.js +167 -167
  81. package/dist/namespaces/Dlc.d.ts +5 -5
  82. package/dist/namespaces/Dlc.d.ts.map +1 -1
  83. package/dist/namespaces/Dlc.js +9 -9
  84. package/dist/namespaces/EntityStatics.d.ts +164 -164
  85. package/dist/namespaces/EntityStatics.d.ts.map +1 -1
  86. package/dist/namespaces/EntityStatics.js +225 -225
  87. package/dist/namespaces/Event.d.ts +62 -62
  88. package/dist/namespaces/Event.d.ts.map +1 -1
  89. package/dist/namespaces/Event.js +82 -82
  90. package/dist/namespaces/Fire.d.ts +7 -7
  91. package/dist/namespaces/Fire.d.ts.map +1 -1
  92. package/dist/namespaces/Fire.js +9 -9
  93. package/dist/namespaces/Graphics.d.ts +688 -688
  94. package/dist/namespaces/Graphics.d.ts.map +1 -1
  95. package/dist/namespaces/Graphics.js +876 -876
  96. package/dist/namespaces/Hud.d.ts +456 -456
  97. package/dist/namespaces/Hud.d.ts.map +1 -1
  98. package/dist/namespaces/Hud.js +598 -598
  99. package/dist/namespaces/InteriorStatics.d.ts +42 -42
  100. package/dist/namespaces/InteriorStatics.d.ts.map +1 -1
  101. package/dist/namespaces/InteriorStatics.js +56 -56
  102. package/dist/namespaces/Inventory.d.ts +156 -156
  103. package/dist/namespaces/Inventory.d.ts.map +1 -1
  104. package/dist/namespaces/Inventory.js +210 -210
  105. package/dist/namespaces/Itemdatabase.d.ts +3 -3
  106. package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
  107. package/dist/namespaces/Law.d.ts +2 -2
  108. package/dist/namespaces/Law.d.ts.map +1 -1
  109. package/dist/namespaces/Map.d.ts +128 -128
  110. package/dist/namespaces/Map.d.ts.map +1 -1
  111. package/dist/namespaces/Map.js +180 -180
  112. package/dist/namespaces/Minigame.d.ts +60 -60
  113. package/dist/namespaces/Minigame.d.ts.map +1 -1
  114. package/dist/namespaces/Minigame.js +88 -88
  115. package/dist/namespaces/Misc.d.ts +5 -5
  116. package/dist/namespaces/Misc.d.ts.map +1 -1
  117. package/dist/namespaces/Missiondata.d.ts +3 -3
  118. package/dist/namespaces/Missiondata.d.ts.map +1 -1
  119. package/dist/namespaces/Netshopping.d.ts +1 -1
  120. package/dist/namespaces/Netshopping.d.ts.map +1 -1
  121. package/dist/namespaces/Network.d.ts +1528 -1536
  122. package/dist/namespaces/Network.d.ts.map +1 -1
  123. package/dist/namespaces/Network.js +2196 -2204
  124. package/dist/namespaces/Object.d.ts +244 -244
  125. package/dist/namespaces/Object.d.ts.map +1 -1
  126. package/dist/namespaces/Object.js +355 -355
  127. package/dist/namespaces/Pad.d.ts +43 -43
  128. package/dist/namespaces/Pad.d.ts.map +1 -1
  129. package/dist/namespaces/Pad.js +58 -58
  130. package/dist/namespaces/PedStatics.d.ts +21 -21
  131. package/dist/namespaces/PedStatics.d.ts.map +1 -1
  132. package/dist/namespaces/PedStatics.js +26 -26
  133. package/dist/namespaces/Perschar.d.ts +62 -62
  134. package/dist/namespaces/Perschar.d.ts.map +1 -1
  135. package/dist/namespaces/Perschar.js +91 -91
  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/Physics.d.ts +207 -207
  140. package/dist/namespaces/Physics.d.ts.map +1 -1
  141. package/dist/namespaces/Physics.js +310 -310
  142. package/dist/namespaces/PlayerStatics.d.ts +72 -72
  143. package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
  144. package/dist/namespaces/PlayerStatics.js +103 -103
  145. package/dist/namespaces/Population.d.ts +88 -88
  146. package/dist/namespaces/Population.d.ts.map +1 -1
  147. package/dist/namespaces/Population.js +116 -116
  148. package/dist/namespaces/Posse.d.ts +49 -49
  149. package/dist/namespaces/Posse.d.ts.map +1 -1
  150. package/dist/namespaces/Posse.js +79 -79
  151. package/dist/namespaces/Propset.d.ts +1 -1
  152. package/dist/namespaces/Propset.d.ts.map +1 -1
  153. package/dist/namespaces/Scripts.d.ts +3 -3
  154. package/dist/namespaces/Scripts.d.ts.map +1 -1
  155. package/dist/namespaces/Shapetest.d.ts +11 -11
  156. package/dist/namespaces/Shapetest.d.ts.map +1 -1
  157. package/dist/namespaces/Shapetest.js +13 -13
  158. package/dist/namespaces/Socialclub.d.ts +1 -1
  159. package/dist/namespaces/Socialclub.d.ts.map +1 -1
  160. package/dist/namespaces/Stats.d.ts +174 -174
  161. package/dist/namespaces/Stats.d.ts.map +1 -1
  162. package/dist/namespaces/Stats.js +240 -240
  163. package/dist/namespaces/Streaming.d.ts +127 -127
  164. package/dist/namespaces/Streaming.d.ts.map +1 -1
  165. package/dist/namespaces/Streaming.js +193 -193
  166. package/dist/namespaces/Task.d.ts +220 -220
  167. package/dist/namespaces/Task.d.ts.map +1 -1
  168. package/dist/namespaces/Task.js +299 -299
  169. package/dist/namespaces/Telemetry.d.ts +188 -188
  170. package/dist/namespaces/Telemetry.d.ts.map +1 -1
  171. package/dist/namespaces/Telemetry.js +249 -249
  172. package/dist/namespaces/Uiapps.d.ts +24 -24
  173. package/dist/namespaces/Uiapps.d.ts.map +1 -1
  174. package/dist/namespaces/Uiapps.js +33 -33
  175. package/dist/namespaces/Uistickyfeed.d.ts +16 -16
  176. package/dist/namespaces/Uistickyfeed.d.ts.map +1 -1
  177. package/dist/namespaces/Uistickyfeed.js +21 -21
  178. package/dist/namespaces/VehicleStatics.d.ts +2 -2
  179. package/dist/namespaces/VehicleStatics.d.ts.map +1 -1
  180. package/dist/namespaces/VolumeStatics.d.ts +64 -64
  181. package/dist/namespaces/VolumeStatics.d.ts.map +1 -1
  182. package/dist/namespaces/VolumeStatics.js +85 -85
  183. package/dist/namespaces/WeaponStatics.d.ts +262 -262
  184. package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
  185. package/dist/namespaces/WeaponStatics.js +361 -361
  186. package/dist/namespaces/Zone.d.ts +2 -2
  187. package/dist/namespaces/Zone.d.ts.map +1 -1
  188. package/package.json +1 -1
  189. package/src/classes/AnimScene.ts +230 -230
  190. package/src/classes/BaseModel.ts +50 -50
  191. package/src/classes/BaseTask.ts +46 -46
  192. package/src/classes/Cam.ts +113 -113
  193. package/src/classes/Entity.ts +537 -532
  194. package/src/classes/Interior.ts +43 -43
  195. package/src/classes/Ped.ts +100 -95
  196. package/src/classes/PedTask.ts +1969 -1969
  197. package/src/classes/PersChar.ts +28 -28
  198. package/src/classes/Pickup.ts +13 -13
  199. package/src/classes/Player.ts +364 -364
  200. package/src/classes/Prop.ts +167 -162
  201. package/src/classes/PropSet.ts +1 -1
  202. package/src/classes/Vehicle.ts +5 -0
  203. package/src/classes/VehicleTask.ts +30 -30
  204. package/src/classes/Volume.ts +62 -62
  205. package/src/classes/Weapon.ts +517 -517
  206. package/src/namespaces/Aitransport.ts +102 -102
  207. package/src/namespaces/Animscene.ts +92 -92
  208. package/src/namespaces/Audio.ts +765 -765
  209. package/src/namespaces/Bounty.ts +46 -46
  210. package/src/namespaces/Brain.ts +22 -22
  211. package/src/namespaces/CamStatics.ts +747 -747
  212. package/src/namespaces/Collection.ts +112 -112
  213. package/src/namespaces/Companion.ts +34 -34
  214. package/src/namespaces/Compendium.ts +131 -131
  215. package/src/namespaces/Databinding.ts +170 -170
  216. package/src/namespaces/Dlc.ts +9 -9
  217. package/src/namespaces/EntityStatics.ts +237 -237
  218. package/src/namespaces/Event.ts +92 -92
  219. package/src/namespaces/Fire.ts +10 -10
  220. package/src/namespaces/Graphics.ts +1206 -1206
  221. package/src/namespaces/Hud.ts +647 -647
  222. package/src/namespaces/InteriorStatics.ts +66 -66
  223. package/src/namespaces/Inventory.ts +237 -237
  224. package/src/namespaces/Itemdatabase.ts +3 -3
  225. package/src/namespaces/Law.ts +2 -2
  226. package/src/namespaces/Map.ts +204 -204
  227. package/src/namespaces/Minigame.ts +100 -100
  228. package/src/namespaces/Misc.ts +5 -5
  229. package/src/namespaces/Missiondata.ts +3 -3
  230. package/src/namespaces/Netshopping.ts +1 -1
  231. package/src/namespaces/Network.ts +2217 -2225
  232. package/src/namespaces/Object.ts +381 -381
  233. package/src/namespaces/Pad.ts +67 -67
  234. package/src/namespaces/PedStatics.ts +33 -33
  235. package/src/namespaces/Perschar.ts +105 -105
  236. package/src/namespaces/Persistence.ts +48 -48
  237. package/src/namespaces/Physics.ts +326 -326
  238. package/src/namespaces/PlayerStatics.ts +113 -113
  239. package/src/namespaces/Population.ts +133 -133
  240. package/src/namespaces/Posse.ts +80 -80
  241. package/src/namespaces/Propset.ts +1 -1
  242. package/src/namespaces/Scripts.ts +3 -3
  243. package/src/namespaces/Shapetest.ts +14 -14
  244. package/src/namespaces/Socialclub.ts +1 -1
  245. package/src/namespaces/Stats.ts +266 -266
  246. package/src/namespaces/Streaming.ts +226 -226
  247. package/src/namespaces/Task.ts +527 -527
  248. package/src/namespaces/Telemetry.ts +300 -300
  249. package/src/namespaces/Uiapps.ts +39 -39
  250. package/src/namespaces/Uistickyfeed.ts +23 -23
  251. package/src/namespaces/VehicleStatics.ts +2 -2
  252. package/src/namespaces/VolumeStatics.ts +87 -87
  253. package/src/namespaces/WeaponStatics.ts +365 -365
  254. package/src/namespaces/Zone.ts +2 -2
@@ -4,6 +4,96 @@ import type { Player } from '../classes/Player';
4
4
  import type { Volume } from '../classes/Volume';
5
5
  import { Vector3 } from '../types/Vector3';
6
6
  export declare class Hud {
7
+ /**
8
+ * @param prompt
9
+ * @param text
10
+ */
11
+ static uiPromptSetText(prompt: number, text: string | null): void;
12
+ /**
13
+ * @param prompt
14
+ * @returns
15
+ */
16
+ static uiPromptIsJustReleased(prompt: number): boolean;
17
+ /**
18
+ * Found icons: https://pastebin.com/xx6rEgiG
19
+ *
20
+ * @param gamerTagId
21
+ * @param icon
22
+ */
23
+ static setMpGamerTagTopIcon(gamerTagId: number, icon: string | number): void;
24
+ /**
25
+ * @param prompt
26
+ * @returns
27
+ */
28
+ static uiPromptIsReleased(prompt: number): boolean;
29
+ /**
30
+ * @param active
31
+ */
32
+ static setFrontendActive(active: boolean): void;
33
+ /**
34
+ * @param name
35
+ * @param p1
36
+ * @returns
37
+ */
38
+ static registerNamedRendertarget(name: string | null, p1: boolean): boolean;
39
+ /**
40
+ * @param prompt
41
+ * @param autoFillTimeMs
42
+ * @param holdTimeMs
43
+ */
44
+ static uiPromptSetHoldAutoFillWithDecayMode(prompt: number, autoFillTimeMs: number, holdTimeMs: number): void;
45
+ /**
46
+ * @param p0
47
+ * @param p1
48
+ * @returns
49
+ */
50
+ static N_0xF1AD3DD218E6558A(p0: any, p1: any): any;
51
+ /**
52
+ * Used for controllers
53
+ *
54
+ * @param prompt
55
+ * @param p1
56
+ * @param counterclockwise
57
+ */
58
+ static uiPromptSetRotateMode(prompt: number, p1: number, counterclockwise: boolean): void;
59
+ /**
60
+ * Found types: GENERIC_PLAYER, DEADDROP, HOTPROPERTY, MINIGAMES
61
+ *
62
+ * @param gamerTagId
63
+ * @param type
64
+ */
65
+ static setMpGamerTagType(gamerTagId: number, type: string | number): void;
66
+ /**
67
+ * @param prompt
68
+ * @param action
69
+ * @returns
70
+ */
71
+ static uiPromptSetControlAction(prompt: number, action: string | number): any;
72
+ /**
73
+ * https://github.com/femga/rdr3_discoveries/tree/master/graphics/HUD/hud_presets
74
+ * Old name: _HIDE_HUD_COMPONENT
75
+ *
76
+ * @param component
77
+ */
78
+ static enableHudContext(component: string | number): void;
79
+ /**
80
+ * @param prompt
81
+ * @returns
82
+ */
83
+ static uiPromptHasPressedTimedModeFailed(prompt: number): any;
84
+ /**
85
+ * Removes the loading prompt at the bottom right of the screen.
86
+ */
87
+ static busyspinnerOff(): void;
88
+ /**
89
+ * @param prompt
90
+ * @param pos
91
+ */
92
+ static uiPromptContextSetPoint(prompt: number, pos: Vector3): void;
93
+ /**
94
+ * @param align
95
+ */
96
+ static setTextCentre(align: boolean): void;
7
97
  /**
8
98
  * @param p0
9
99
  * @param name
@@ -92,259 +182,172 @@ export declare class Hud {
92
182
  */
93
183
  static uiPromptSetBeatModeGrayedOut(prompt: number, p1: any): void;
94
184
  /**
95
- * TM_ANY = 0,
96
- * TM_ON_FOOT,
97
- * TM_IN_VEHICLE
98
- *
99
- * @param prompt
100
- * @param mode
185
+ * @param p0
186
+ * @param p1
187
+ * @returns
101
188
  */
102
- static uiPromptSetTransportMode(prompt: number, mode: number): void;
189
+ static uiRequestScene(p0: any, p1: any): any;
103
190
  /**
191
+ * @param entity
192
+ * @param text
104
193
  * @returns
105
194
  */
106
- static uiPromptRegisterBegin(): number;
195
+ static createMpGamerTagOnEntity(entity: Entity, text: string | null): number;
107
196
  /**
108
- * This returns an id that can be used with 0x6095358C4142932A.
109
- *
197
+ * @param p0
110
198
  * @returns
111
199
  */
112
- static uiPromptSetRegisterHorizontalOrientation(): number;
200
+ static journalCanWriteEntry(p0: any): any;
113
201
  /**
114
202
  * @param prompt
203
+ * @param p1
204
+ */
205
+ static uiPromptSetManualResolved(prompt: number, p1: any): void;
206
+ /**
207
+ * @param inputHash
208
+ * @param labelName
209
+ * @param p2
210
+ * @param p3
211
+ * @param p4
212
+ * @param p5
115
213
  * @returns
116
214
  */
117
- static uiPromptHasPressedTimedModeCompleted(prompt: number): any;
215
+ static uiPromptCreate(inputHash: string | number, labelName: string | null, p2: any, p3: any, p4: any, p5: number): number;
118
216
  /**
119
- * @param p0
217
+ * @param prompt
120
218
  * @param p1
121
219
  */
122
- static uiMovieviewSetRenderTarget(p0: any, p1: any): void;
220
+ static uiPromptSetSpinnerSpeed(prompt: number, p1: any): void;
123
221
  /**
124
- * @param p0
222
+ * @param name
125
223
  * @returns
126
224
  */
127
- static journalGetEntryAtIndex(p0: any): any;
225
+ static isNamedRendertargetRegistered(name: string | null): boolean;
128
226
  /**
129
- * Attaches a Volume
130
- *
131
- * @param prompt
132
- * @param volume
227
+ * @param p0
228
+ * @param p1
133
229
  */
134
- static uiPromptContextSetVolume(prompt: number, volume: Volume): void;
230
+ static N_0x052D4AC0922AF91A(p0: any, p1: any): void;
135
231
  /**
136
- * Params: p1 is 0
137
- *
138
232
  * @param prompt
139
- * @param p1
140
- * @returns
141
233
  */
142
- static uiPromptHasStandardModeCompleted(prompt: number, p1: number): boolean;
234
+ static uiPromptDelete(prompt: number): void;
143
235
  /**
144
- * @param prompt
236
+ * Gets a string literal from a label name. Old name: _GET_LABEL_TEXT
237
+ *
238
+ * @param labelName
145
239
  * @returns
146
240
  */
147
- static uiPromptIsValid(prompt: number): boolean;
241
+ static getFilenameForAudioConversation(labelName: string | null): string | null;
242
+ static N_0x5651516D947ABC53(): void;
148
243
  /**
149
- * If Hud should be displayed
150
- *
151
- * @param toggle
244
+ * @param renderId
152
245
  */
153
- static displayHud(toggle: boolean): void;
246
+ static setTextRenderId(renderId: number): void;
154
247
  /**
155
- * @returns
248
+ * @param distance
249
+ * @param r
250
+ * @param g
251
+ * @param b
252
+ * @param a
156
253
  */
157
- static isRadarHidden(): boolean;
254
+ static setTextDropshadow(distance: number, r: number, g: number, b: number, a: number): void;
158
255
  /**
159
- * @param gamerTagId
256
+ * @param label
257
+ * @returns
160
258
  */
161
- static removeMpGamerTag(gamerTagId: number): void;
259
+ static getLabelText2(label: string | null): string | null;
162
260
  /**
163
- * @param prompt
164
- * @param action
261
+ * @returns
165
262
  */
166
- static uiPromptSetAllowedAction(prompt: number, action: string | number): void;
263
+ static journalGetEntryCount(): any;
264
+ static journalClearAllProgress(): void;
167
265
  /**
168
266
  * @param p0
169
- * @param name
267
+ * @returns
170
268
  */
171
- static setMissionName(p0: boolean, name: string | null): void;
269
+ static N_0xD6BD313CFA41E57A(p0: any): any;
172
270
  /**
173
- * @param gamerTagId
271
+ * @returns
174
272
  */
175
- static mpGamerTagDisableReviveTopIcon(gamerTagId: number): void;
273
+ static isMultiplayerChatActive(): boolean;
274
+ static disableFrontendThisFrame(): void;
176
275
  /**
177
- * standard (prompt not held) rate: 0.035f
178
- * fast (prompt held) rate: 0.015f
179
- * punitive (been hit) rate: 0.14f
180
- *
181
276
  * @param prompt
182
- * @param speed
277
+ * @returns
183
278
  */
184
- static uiPromptSetMashManualModeDecaySpeed(prompt: number, speed: number): void;
279
+ static uiPromptGetMashModeProgress(prompt: number): number;
185
280
  /**
186
- * @param hash
281
+ * @param groupId
282
+ * @param volume
283
+ * @param p2
284
+ * @param p3
285
+ * @param p4
286
+ * @param p5
187
287
  * @returns
188
288
  */
189
- static uiPromptDoesAmbientGroupExist(hash: string | number): boolean;
289
+ static N_0x8B55B324A9123F6B(groupId: number, volume: Volume, p2: string | null, p3: any, p4: any, p5: any): any;
290
+ /**
291
+ * @param entity
292
+ * @returns
293
+ */
294
+ static uiPromptGetGroupIdForTargetEntity(entity: Entity): number;
295
+ /**
296
+ * Old name: _ALLOW_PAUSE_MENU_WHEN_DEAD_THIS_FRAME
297
+ */
298
+ static allowPauseWhenNotInStateOfPlayThisFrame(): void;
190
299
  /**
191
300
  * @param p0
301
+ * @param p1
192
302
  * @returns
193
303
  */
194
- static N_0x7EC0D68233E391AC(p0: number): number;
304
+ static uiPromptGetGroupIdForScenarioPoint(p0: any, p1: number): number;
195
305
  /**
196
306
  * nullsub, doesn't do anything
307
+ *
308
+ * @param gamerTagId
309
+ * @param allow
197
310
  */
198
- static N_0xBFFF81E12A745A5F(): void;
311
+ static setMpGamerTagUnkAllowLocalized(gamerTagId: number, allow: boolean): void;
199
312
  /**
200
- * @param uiscene
313
+ * @param ped
201
314
  */
202
- static N_0xF1E6979C0B779985(uiscene: number): void;
315
+ static uiPromptSetPromptPriorityPreference(ped: Ped): void;
203
316
  /**
204
- * nullsub, this native does nothing since build 1436, use _BG_DISPLAY_TEXT instead.
205
- *
206
- * @param text
207
- * @param xPos
208
- * @param yPos
317
+ * @param textBlock
209
318
  */
210
- static displayText(text: string | null, xPos: number, yPos: number): void;
319
+ static textBlockDelete(textBlock: string | null): void;
211
320
  /**
212
- * @param prompt
321
+ * Returns true when either Pause Menu, a Frontend Menu, Online Policies menu or Social Club menu is active.
322
+ *
213
323
  * @returns
214
324
  */
215
- static uiPromptIsJustPressed(prompt: number): boolean;
325
+ static isPauseMenuActive(): boolean;
216
326
  /**
217
- * @param gamerTagId
218
- * @param text
327
+ * @param controlAction
328
+ * @returns
219
329
  */
220
- static setMpGamerTagNamePosse(gamerTagId: number, text: string | null): void;
330
+ static uiPromptIsControlActionActive(controlAction: string | number): any;
221
331
  /**
332
+ * @param textBlock
222
333
  * @returns
223
334
  */
224
- static isSubtitlePreferenceSwitchedOn(): boolean;
335
+ static textBlockIsStreamed(textBlock: string | null): any;
336
+ /**
337
+ * @param worldX
338
+ * @param worldY
339
+ * @param worldZ
340
+ * @returns screenX; screenY
341
+ */
342
+ static getHudScreenPositionFromWorldPosition(worldX: number, worldY: number, worldZ: number): [boolean, number, number];
225
343
  /**
226
344
  * @param prompt
227
345
  * @returns
228
346
  */
229
- static uiPromptIsActive(prompt: number): boolean;
347
+ static uiPromptHasHoldMode(prompt: number): any;
230
348
  /**
231
349
  * @param prompt
232
- * @param mashes
233
- */
234
- static uiPromptSetMashMode(prompt: number, mashes: number): void;
235
- static hideHudThisFrame(): void;
236
- /**
237
- * @param prompt
238
- * @param releaseMode
239
- */
240
- static uiPromptSetStandardMode(prompt: number, releaseMode: boolean): void;
241
- /**
242
- * @param hash
243
- * @returns
244
- */
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;
260
- /**
261
- * @param prompt
262
- * @param p1
263
- * @param p2
264
- */
265
- static uiPromptSetTargetModeTarget(prompt: number, p1: number, p2: number): void;
266
- /**
267
- * @param prompt
268
- * @param p1
269
- * @param p2
270
- * @param p3
271
- * @param p4
272
- */
273
- static uiPromptSetMashManualCanFailMode(prompt: number, p1: number, p2: number, p3: number, p4: any): void;
274
- /**
275
- * @param prompt
276
- * @param p1
277
- * @param p2
278
- * @param p3
279
- */
280
- static uiPromptSetTargetMode(prompt: number, p1: number, p2: number, p3: any): void;
281
- /**
282
- * @param prompt
283
- * @param autoFillTimeMs
284
- * @param mashes
285
- */
286
- static uiPromptSetMashAutoFillMode(prompt: number, autoFillTimeMs: number, mashes: number): void;
287
- /**
288
- * @param prompt
289
- * @param toggle
290
- */
291
- static uiPromptSetBeatMode(prompt: number, toggle: boolean): void;
292
- /**
293
- * Similar to 0x9D7E12EC6A1EE4E5(GET_TEXT_SUBSTRING) but starts at the beginning of the string
294
- *
295
- * @param text
296
- * @param length
297
- * @returns
298
- */
299
- static getTextSubstring2(text: string | null, length: number): string | null;
300
- /**
301
- * @param p0
302
- * @param prompt
303
- * @param p2
304
- */
305
- static uiPromptAddGroupLink(p0: any, prompt: number, p2: any): void;
306
- /**
307
- * @param gamerTagId
308
- */
309
- static mpGamerTagEnableReviveTopIcon(gamerTagId: number): void;
310
- /**
311
- * @param p0
312
- * @param p1
313
- */
314
- static N_0x8A59D44189AF2BC5(p0: any, p1: any): void;
315
- /**
316
- * @param prompt
317
- * @param p1
318
- */
319
- static uiPromptSetOrderingAsInputType(prompt: number, p1: any): void;
320
- /**
321
- * @param p0
322
- */
323
- static journalMarkRead(p0: any): void;
324
- /**
325
- * @param gamerTagId
326
- * @param entity
327
- * @returns
328
- */
329
- static isMpGamerTagActiveOnEntity(gamerTagId: number, entity: Entity): any;
330
- /**
331
- * @param gamerTagId
332
- * @param string
333
- */
334
- static setMpGamerTagBigText(gamerTagId: number, string: string | null): void;
335
- /**
336
- * @param prompt
337
- * @param radius
338
- */
339
- static uiPromptContextSetRadius(prompt: number, radius: number): void;
340
- /**
341
- * @param prompt
342
- * @param toggle
343
- */
344
- static uiPromptSetVisible(prompt: number, toggle: boolean): void;
345
- /**
346
- * @param prompt
347
- * @param p1
350
+ * @param p1
348
351
  */
349
352
  static N_0x53CE46C01A089DA1(prompt: number, p1: boolean): void;
350
353
  /**
@@ -419,191 +422,104 @@ export declare class Hud {
419
422
  static isRadarPreferenceSwitchedOn(): boolean;
420
423
  static clearAllHelpMessages(): void;
421
424
  /**
422
- * @param p0
423
- * @returns
424
- */
425
- static N_0x28AE29D909C8FDCE(p0: any): any;
426
- /**
427
- * @param p0
428
- * @param prompt
425
+ * @param modelHash
429
426
  */
430
- static uiPromptAddGroupReturnLink(p0: any, prompt: number): void;
427
+ static linkNamedRendertarget(modelHash: string | number): void;
431
428
  /**
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)
429
+ * Returns the label text given the hash. Old name: _GET_LABEL_TEXT_BY_HASH
433
430
  *
434
- * @param prompt
435
- * @param type
431
+ * @param labelHash
432
+ * @returns
436
433
  */
437
- static uiPromptSetType(prompt: number, type: number): void;
434
+ static getStringFromHashKey(labelHash: string | number): string | null;
438
435
  /**
439
436
  * @param textBlock
440
- */
441
- static textBlockRequest(textBlock: string | null): void;
442
- /**
443
- * Checks if the passed gxt name exists in the game files.
444
- *
445
- * @param label
446
437
  * @returns
447
438
  */
448
- static doesTextLabelExist(label: string | null): boolean;
439
+ static textBlockIsLoaded(textBlock: string | null): any;
449
440
  /**
441
+ * @param prompt
450
442
  * @returns
451
443
  */
452
- static N_0x066725A9D52B3641(): any;
444
+ static uiPromptHasMashMode(prompt: number): any;
453
445
  /**
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
446
+ * @param gamerTagId
460
447
  */
461
- static uiPromptSetMashManualModeIncreasePerPress(prompt: number, rate: number): void;
448
+ static mpGamerTagDisableReviveTopIcon(gamerTagId: number): void;
462
449
  /**
450
+ * standard (prompt not held) rate: 0.035f
451
+ * fast (prompt held) rate: 0.015f
452
+ * punitive (been hit) rate: 0.14f
453
+ *
463
454
  * @param prompt
464
455
  * @param speed
465
456
  */
466
- static uiPromptSetMashManualModePressedGrowthSpeed(prompt: number, speed: number): void;
467
- /**
468
- * @param string
469
- * @returns
470
- */
471
- static getLengthOfLiteralStringInBytes(string: string | null): number;
472
- /**
473
- * @param name
474
- * @returns
475
- */
476
- static releaseNamedRendertarget(name: string | null): boolean;
457
+ static uiPromptSetMashManualModeDecaySpeed(prompt: number, speed: number): void;
477
458
  /**
478
- * @param textDatabase
459
+ * @param hash
479
460
  * @returns
480
461
  */
481
- static doesTextBlockExist(textDatabase: string | null): any;
462
+ static uiPromptDoesAmbientGroupExist(hash: string | number): boolean;
482
463
  /**
483
464
  * @param p0
484
- * @param p1
485
465
  * @returns
486
466
  */
487
- static journalGetEntryInfo(p0: any, p1: any): any;
467
+ static N_0x7EC0D68233E391AC(p0: number): number;
488
468
  /**
489
- * @param p0
469
+ * nullsub, doesn't do anything
490
470
  */
491
- static N_0x3FE4FB41EF7D2196(p0: any): void;
471
+ static N_0xBFFF81E12A745A5F(): void;
492
472
  /**
493
- * colorNameHash: https://alloc8or.re/rdr3/doc/enums/eColor.txt
494
- *
495
- * @param colorNameHash
496
- * @returns red; green; blue; alpha
473
+ * @param uiscene
497
474
  */
498
- static getColorFromName(colorNameHash: string | number): [number, number, number, number];
475
+ static N_0xF1E6979C0B779985(uiscene: number): void;
499
476
  /**
500
- * visibility:
501
- * enum eUIGamertagVisibility
502
- * {
503
- * UIGAMERTAGVISIBILITY_NONE,
504
- * UIGAMERTAGVISIBILITY_ICON,
505
- * UIGAMERTAGVISIBILITY_SIMPLE,
506
- * UIGAMERTAGVISIBILITY_COMPLEX
507
- * };
477
+ * nullsub, this native does nothing since build 1436, use _BG_DISPLAY_TEXT instead.
508
478
  *
509
- * @param gamerTagId
510
- * @param visibility
511
- */
512
- static setMpGamerTagVisibility(gamerTagId: number, visibility: number): void;
513
- /**
514
- * @param component
515
- */
516
- static enableHudContextThisFrame(component: string | number): void;
517
- /**
518
- * @param prompt
519
479
  * @param text
480
+ * @param xPos
481
+ * @param yPos
520
482
  */
521
- static uiPromptSetText(prompt: number, text: string | null): void;
483
+ static displayText(text: string | null, xPos: number, yPos: number): void;
522
484
  /**
523
485
  * @param prompt
524
486
  * @returns
525
487
  */
526
- static uiPromptIsJustReleased(prompt: number): boolean;
488
+ static uiPromptIsJustPressed(prompt: number): boolean;
527
489
  /**
528
- * Found icons: https://pastebin.com/xx6rEgiG
529
- *
530
490
  * @param gamerTagId
531
- * @param icon
532
- */
533
- static setMpGamerTagTopIcon(gamerTagId: number, icon: string | number): void;
534
- /**
535
- * @param prompt
536
- * @returns
537
- */
538
- static uiPromptIsReleased(prompt: number): boolean;
539
- /**
540
- * @param active
491
+ * @param text
541
492
  */
542
- static setFrontendActive(active: boolean): void;
493
+ static setMpGamerTagNamePosse(gamerTagId: number, text: string | null): void;
543
494
  /**
544
- * @param name
545
- * @param p1
546
495
  * @returns
547
496
  */
548
- static registerNamedRendertarget(name: string | null, p1: boolean): boolean;
497
+ static isSubtitlePreferenceSwitchedOn(): boolean;
549
498
  /**
550
499
  * @param prompt
551
- * @param autoFillTimeMs
552
- * @param holdTimeMs
553
- */
554
- static uiPromptSetHoldAutoFillWithDecayMode(prompt: number, autoFillTimeMs: number, holdTimeMs: number): void;
555
- /**
556
- * @param p0
557
- * @param p1
558
500
  * @returns
559
501
  */
560
- static N_0xF1AD3DD218E6558A(p0: any, p1: any): any;
502
+ static uiPromptIsActive(prompt: number): boolean;
561
503
  /**
562
- * Used for controllers
563
- *
564
504
  * @param prompt
565
- * @param p1
566
- * @param counterclockwise
567
- */
568
- static uiPromptSetRotateMode(prompt: number, p1: number, counterclockwise: boolean): void;
569
- /**
570
- * Found types: GENERIC_PLAYER, DEADDROP, HOTPROPERTY, MINIGAMES
571
- *
572
- * @param gamerTagId
573
- * @param type
505
+ * @param mashes
574
506
  */
575
- static setMpGamerTagType(gamerTagId: number, type: string | number): void;
507
+ static uiPromptSetMashMode(prompt: number, mashes: number): void;
508
+ static hideHudThisFrame(): void;
576
509
  /**
577
510
  * @param prompt
578
- * @param action
579
- * @returns
580
- */
581
- static uiPromptSetControlAction(prompt: number, action: string | number): any;
582
- /**
583
- * https://github.com/femga/rdr3_discoveries/tree/master/graphics/HUD/hud_presets
584
- * Old name: _HIDE_HUD_COMPONENT
585
- *
586
- * @param component
511
+ * @param releaseMode
587
512
  */
588
- static enableHudContext(component: string | number): void;
513
+ static uiPromptSetStandardMode(prompt: number, releaseMode: boolean): void;
589
514
  /**
590
- * @param prompt
515
+ * @param hash
591
516
  * @returns
592
517
  */
593
- static uiPromptHasPressedTimedModeFailed(prompt: number): any;
594
- /**
595
- * Removes the loading prompt at the bottom right of the screen.
596
- */
597
- static busyspinnerOff(): void;
598
- /**
599
- * @param prompt
600
- * @param pos
601
- */
602
- static uiPromptContextSetPoint(prompt: number, pos: Vector3): void;
518
+ static uiPromptGetGroupActivePage(hash: string | number): number;
603
519
  /**
604
- * @param align
520
+ * Enables reduced time scale while menus such as weapon wheel and satchel are open.
605
521
  */
606
- static setTextCentre(align: boolean): void;
522
+ static enableReducedMenuTimeScale(): void;
607
523
  /**
608
524
  * @param player
609
525
  * @param username
@@ -688,190 +604,100 @@ export declare class Hud {
688
604
  static disableHudContext(component: string | number): void;
689
605
  static forceCloseTextInputBox(): void;
690
606
  /**
691
- * @param p0
692
- * @param p1
693
- * @returns
694
- */
695
- static uiRequestScene(p0: any, p1: any): any;
696
- /**
697
- * @param entity
698
- * @param text
699
- * @returns
700
- */
701
- static createMpGamerTagOnEntity(entity: Entity, text: string | null): number;
702
- /**
703
- * @param p0
704
- * @returns
607
+ * For startProgress, 0.0f - 1.0f is a percentage value, so 0.5f = 50% progress. Range: 0.0f - 1.0f
608
+ * 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.
609
+ *
610
+ * @param prompt
611
+ * @param mashes
612
+ * @param decreaseSpeed
613
+ * @param startProgress
705
614
  */
706
- static journalCanWriteEntry(p0: any): any;
615
+ static uiPromptSetMashWithResistanceCanFailMode(prompt: number, mashes: number, decreaseSpeed: number, startProgress: number): void;
707
616
  /**
708
617
  * @param prompt
709
618
  * @param p1
710
- */
711
- static uiPromptSetManualResolved(prompt: number, p1: any): void;
712
- /**
713
- * @param inputHash
714
- * @param labelName
715
619
  * @param p2
716
- * @param p3
717
- * @param p4
718
- * @param p5
719
- * @returns
720
620
  */
721
- static uiPromptCreate(inputHash: string | number, labelName: string | null, p2: any, p3: any, p4: any, p5: number): number;
621
+ static uiPromptSetTargetModeTarget(prompt: number, p1: number, p2: number): void;
722
622
  /**
723
623
  * @param prompt
724
624
  * @param p1
625
+ * @param p2
626
+ * @param p3
627
+ * @param p4
725
628
  */
726
- static uiPromptSetSpinnerSpeed(prompt: number, p1: any): void;
727
- /**
728
- * @param name
729
- * @returns
730
- */
731
- static isNamedRendertargetRegistered(name: string | null): boolean;
732
- /**
733
- * @param p0
734
- * @param p1
735
- */
736
- static N_0x052D4AC0922AF91A(p0: any, p1: any): void;
737
- /**
738
- * @param prompt
739
- */
740
- static uiPromptDelete(prompt: number): void;
741
- /**
742
- * Gets a string literal from a label name. Old name: _GET_LABEL_TEXT
743
- *
744
- * @param labelName
745
- * @returns
746
- */
747
- static getFilenameForAudioConversation(labelName: string | null): string | null;
748
- static N_0x5651516D947ABC53(): void;
749
- /**
750
- * @param renderId
751
- */
752
- static setTextRenderId(renderId: number): void;
753
- /**
754
- * @param distance
755
- * @param r
756
- * @param g
757
- * @param b
758
- * @param a
759
- */
760
- static setTextDropshadow(distance: number, r: number, g: number, b: number, a: number): void;
761
- /**
762
- * @param label
763
- * @returns
764
- */
765
- static getLabelText2(label: string | null): string | null;
766
- /**
767
- * @returns
768
- */
769
- static journalGetEntryCount(): any;
770
- static journalClearAllProgress(): void;
771
- /**
772
- * @param modelHash
773
- */
774
- static linkNamedRendertarget(modelHash: string | number): void;
775
- /**
776
- * Returns the label text given the hash. Old name: _GET_LABEL_TEXT_BY_HASH
777
- *
778
- * @param labelHash
779
- * @returns
780
- */
781
- static getStringFromHashKey(labelHash: string | number): string | null;
782
- /**
783
- * @param textBlock
784
- * @returns
785
- */
786
- static textBlockIsLoaded(textBlock: string | null): any;
787
- /**
788
- * @param prompt
789
- * @returns
790
- */
791
- static uiPromptHasMashMode(prompt: number): any;
792
- /**
793
- * @param p0
794
- * @returns
795
- */
796
- static N_0xD6BD313CFA41E57A(p0: any): any;
797
- /**
798
- * @returns
799
- */
800
- static isMultiplayerChatActive(): boolean;
801
- static disableFrontendThisFrame(): void;
802
- /**
803
- * @param prompt
804
- * @returns
805
- */
806
- static uiPromptGetMashModeProgress(prompt: number): number;
629
+ static uiPromptSetMashManualCanFailMode(prompt: number, p1: number, p2: number, p3: number, p4: any): void;
807
630
  /**
808
- * @param groupId
809
- * @param volume
631
+ * @param prompt
632
+ * @param p1
810
633
  * @param p2
811
634
  * @param p3
812
- * @param p4
813
- * @param p5
814
- * @returns
815
635
  */
816
- static N_0x8B55B324A9123F6B(groupId: number, volume: Volume, p2: string | null, p3: any, p4: any, p5: any): any;
636
+ static uiPromptSetTargetMode(prompt: number, p1: number, p2: number, p3: any): void;
817
637
  /**
818
- * @param entity
819
- * @returns
638
+ * @param prompt
639
+ * @param autoFillTimeMs
640
+ * @param mashes
820
641
  */
821
- static uiPromptGetGroupIdForTargetEntity(entity: Entity): number;
642
+ static uiPromptSetMashAutoFillMode(prompt: number, autoFillTimeMs: number, mashes: number): void;
822
643
  /**
823
- * Old name: _ALLOW_PAUSE_MENU_WHEN_DEAD_THIS_FRAME
644
+ * @param prompt
645
+ * @param toggle
824
646
  */
825
- static allowPauseWhenNotInStateOfPlayThisFrame(): void;
647
+ static uiPromptSetBeatMode(prompt: number, toggle: boolean): void;
826
648
  /**
827
- * @param p0
828
- * @param p1
649
+ * Similar to 0x9D7E12EC6A1EE4E5(GET_TEXT_SUBSTRING) but starts at the beginning of the string
650
+ *
651
+ * @param text
652
+ * @param length
829
653
  * @returns
830
654
  */
831
- static uiPromptGetGroupIdForScenarioPoint(p0: any, p1: number): number;
655
+ static getTextSubstring2(text: string | null, length: number): string | null;
656
+ /**
657
+ * @param p0
658
+ * @param prompt
659
+ * @param p2
660
+ */
661
+ static uiPromptAddGroupLink(p0: any, prompt: number, p2: any): void;
832
662
  /**
833
- * nullsub, doesn't do anything
834
- *
835
663
  * @param gamerTagId
836
- * @param allow
837
664
  */
838
- static setMpGamerTagUnkAllowLocalized(gamerTagId: number, allow: boolean): void;
665
+ static mpGamerTagEnableReviveTopIcon(gamerTagId: number): void;
839
666
  /**
840
- * @param ped
667
+ * @param p0
668
+ * @param p1
841
669
  */
842
- static uiPromptSetPromptPriorityPreference(ped: Ped): void;
670
+ static N_0x8A59D44189AF2BC5(p0: any, p1: any): void;
843
671
  /**
844
- * @param textBlock
672
+ * @param prompt
673
+ * @param p1
845
674
  */
846
- static textBlockDelete(textBlock: string | null): void;
675
+ static uiPromptSetOrderingAsInputType(prompt: number, p1: any): void;
847
676
  /**
848
- * Returns true when either Pause Menu, a Frontend Menu, Online Policies menu or Social Club menu is active.
849
- *
850
- * @returns
677
+ * @param p0
851
678
  */
852
- static isPauseMenuActive(): boolean;
679
+ static journalMarkRead(p0: any): void;
853
680
  /**
854
- * @param controlAction
681
+ * @param gamerTagId
682
+ * @param entity
855
683
  * @returns
856
684
  */
857
- static uiPromptIsControlActionActive(controlAction: string | number): any;
685
+ static isMpGamerTagActiveOnEntity(gamerTagId: number, entity: Entity): any;
858
686
  /**
859
- * @param textBlock
860
- * @returns
687
+ * @param gamerTagId
688
+ * @param string
861
689
  */
862
- static textBlockIsStreamed(textBlock: string | null): any;
690
+ static setMpGamerTagBigText(gamerTagId: number, string: string | null): void;
863
691
  /**
864
- * @param worldX
865
- * @param worldY
866
- * @param worldZ
867
- * @returns screenX; screenY
692
+ * @param prompt
693
+ * @param radius
868
694
  */
869
- static getHudScreenPositionFromWorldPosition(worldX: number, worldY: number, worldZ: number): [boolean, number, number];
695
+ static uiPromptContextSetRadius(prompt: number, radius: number): void;
870
696
  /**
871
697
  * @param prompt
872
- * @returns
698
+ * @param toggle
873
699
  */
874
- static uiPromptHasHoldMode(prompt: number): any;
700
+ static uiPromptSetVisible(prompt: number, toggle: boolean): void;
875
701
  /**
876
702
  * @param prompt
877
703
  * @returns
@@ -958,6 +784,102 @@ export declare class Hud {
958
784
  * @returns
959
785
  */
960
786
  static N_0x100157D6D7FE32CA(p0: any, p1: any): any;
787
+ /**
788
+ * @param p0
789
+ * @returns
790
+ */
791
+ static N_0x28AE29D909C8FDCE(p0: any): any;
792
+ /**
793
+ * @param p0
794
+ * @param prompt
795
+ */
796
+ static uiPromptAddGroupReturnLink(p0: any, prompt: number): void;
797
+ /**
798
+ * 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)
799
+ *
800
+ * @param prompt
801
+ * @param type
802
+ */
803
+ static uiPromptSetType(prompt: number, type: number): void;
804
+ /**
805
+ * @param textBlock
806
+ */
807
+ static textBlockRequest(textBlock: string | null): void;
808
+ /**
809
+ * Checks if the passed gxt name exists in the game files.
810
+ *
811
+ * @param label
812
+ * @returns
813
+ */
814
+ static doesTextLabelExist(label: string | null): boolean;
815
+ /**
816
+ * @returns
817
+ */
818
+ static N_0x066725A9D52B3641(): any;
819
+ /**
820
+ * standard (prompt not held) rate: (1f / 128f)
821
+ * fast (prompt held) rate: (1f / 64f)
822
+ * punitive (been hit) rate: (1f / 128f)
823
+ *
824
+ * @param prompt
825
+ * @param rate
826
+ */
827
+ static uiPromptSetMashManualModeIncreasePerPress(prompt: number, rate: number): void;
828
+ /**
829
+ * @param prompt
830
+ * @param speed
831
+ */
832
+ static uiPromptSetMashManualModePressedGrowthSpeed(prompt: number, speed: number): void;
833
+ /**
834
+ * @param string
835
+ * @returns
836
+ */
837
+ static getLengthOfLiteralStringInBytes(string: string | null): number;
838
+ /**
839
+ * @param name
840
+ * @returns
841
+ */
842
+ static releaseNamedRendertarget(name: string | null): boolean;
843
+ /**
844
+ * @param textDatabase
845
+ * @returns
846
+ */
847
+ static doesTextBlockExist(textDatabase: string | null): any;
848
+ /**
849
+ * @param p0
850
+ * @param p1
851
+ * @returns
852
+ */
853
+ static journalGetEntryInfo(p0: any, p1: any): any;
854
+ /**
855
+ * @param p0
856
+ */
857
+ static N_0x3FE4FB41EF7D2196(p0: any): void;
858
+ /**
859
+ * colorNameHash: https://alloc8or.re/rdr3/doc/enums/eColor.txt
860
+ *
861
+ * @param colorNameHash
862
+ * @returns red; green; blue; alpha
863
+ */
864
+ static getColorFromName(colorNameHash: string | number): [number, number, number, number];
865
+ /**
866
+ * visibility:
867
+ * enum eUIGamertagVisibility
868
+ * {
869
+ * UIGAMERTAGVISIBILITY_NONE,
870
+ * UIGAMERTAGVISIBILITY_ICON,
871
+ * UIGAMERTAGVISIBILITY_SIMPLE,
872
+ * UIGAMERTAGVISIBILITY_COMPLEX
873
+ * };
874
+ *
875
+ * @param gamerTagId
876
+ * @param visibility
877
+ */
878
+ static setMpGamerTagVisibility(gamerTagId: number, visibility: number): void;
879
+ /**
880
+ * @param component
881
+ */
882
+ static enableHudContextThisFrame(component: string | number): void;
961
883
  /**
962
884
  * @param p0
963
885
  * @returns
@@ -1054,5 +976,83 @@ export declare class Hud {
1054
976
  * @param id
1055
977
  */
1056
978
  static uiPromptClearHorizontalOrientation(id: number): void;
979
+ /**
980
+ * TM_ANY = 0,
981
+ * TM_ON_FOOT,
982
+ * TM_IN_VEHICLE
983
+ *
984
+ * @param prompt
985
+ * @param mode
986
+ */
987
+ static uiPromptSetTransportMode(prompt: number, mode: number): void;
988
+ /**
989
+ * @returns
990
+ */
991
+ static uiPromptRegisterBegin(): number;
992
+ /**
993
+ * This returns an id that can be used with 0x6095358C4142932A.
994
+ *
995
+ * @returns
996
+ */
997
+ static uiPromptSetRegisterHorizontalOrientation(): number;
998
+ /**
999
+ * @param prompt
1000
+ * @returns
1001
+ */
1002
+ static uiPromptHasPressedTimedModeCompleted(prompt: number): any;
1003
+ /**
1004
+ * @param p0
1005
+ * @param p1
1006
+ */
1007
+ static uiMovieviewSetRenderTarget(p0: any, p1: any): void;
1008
+ /**
1009
+ * @param p0
1010
+ * @returns
1011
+ */
1012
+ static journalGetEntryAtIndex(p0: any): any;
1013
+ /**
1014
+ * Attaches a Volume
1015
+ *
1016
+ * @param prompt
1017
+ * @param volume
1018
+ */
1019
+ static uiPromptContextSetVolume(prompt: number, volume: Volume): void;
1020
+ /**
1021
+ * Params: p1 is 0
1022
+ *
1023
+ * @param prompt
1024
+ * @param p1
1025
+ * @returns
1026
+ */
1027
+ static uiPromptHasStandardModeCompleted(prompt: number, p1: number): boolean;
1028
+ /**
1029
+ * @param prompt
1030
+ * @returns
1031
+ */
1032
+ static uiPromptIsValid(prompt: number): boolean;
1033
+ /**
1034
+ * If Hud should be displayed
1035
+ *
1036
+ * @param toggle
1037
+ */
1038
+ static displayHud(toggle: boolean): void;
1039
+ /**
1040
+ * @returns
1041
+ */
1042
+ static isRadarHidden(): boolean;
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;
1052
+ /**
1053
+ * @param p0
1054
+ * @param name
1055
+ */
1056
+ static setMissionName(p0: boolean, name: string | null): void;
1057
1057
  }
1058
1058
  //# sourceMappingURL=Hud.d.ts.map