@nativewrappers/redm-codegen 0.0.4 → 0.0.6

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