@nativewrappers/redm-codegen 0.0.4 → 0.0.5

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 +96 -96
  2. package/dist/classes/AnimScene.d.ts.map +1 -1
  3. package/dist/classes/AnimScene.js +137 -137
  4. package/dist/classes/BaseModel.d.ts +19 -19
  5. package/dist/classes/BaseModel.d.ts.map +1 -1
  6. package/dist/classes/BaseModel.js +33 -33
  7. package/dist/classes/BaseTask.d.ts +33 -33
  8. package/dist/classes/BaseTask.d.ts.map +1 -1
  9. package/dist/classes/BaseTask.js +40 -40
  10. package/dist/classes/Cam.d.ts +85 -85
  11. package/dist/classes/Cam.d.ts.map +1 -1
  12. package/dist/classes/Cam.js +108 -108
  13. package/dist/classes/Entity.d.ts +288 -283
  14. package/dist/classes/Entity.d.ts.map +1 -1
  15. package/dist/classes/Entity.js +410 -401
  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 +729 -729
  29. package/dist/classes/PedTask.d.ts.map +1 -1
  30. package/dist/classes/PedTask.js +935 -935
  31. package/dist/classes/PersChar.d.ts +13 -13
  32. package/dist/classes/PersChar.d.ts.map +1 -1
  33. package/dist/classes/PersChar.js +19 -19
  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 +13 -13
  37. package/dist/classes/Player.d.ts +343 -339
  38. package/dist/classes/Player.d.ts.map +1 -1
  39. package/dist/classes/Player.js +495 -489
  40. package/dist/classes/Prop.d.ts +64 -64
  41. package/dist/classes/Prop.d.ts.map +1 -1
  42. package/dist/classes/Prop.js +94 -94
  43. package/dist/classes/PropSet.d.ts +18 -18
  44. package/dist/classes/PropSet.d.ts.map +1 -1
  45. package/dist/classes/PropSet.js +27 -27
  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 +24 -24
  53. package/dist/classes/VehicleTask.d.ts.map +1 -1
  54. package/dist/classes/VehicleTask.js +30 -30
  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 +351 -351
  59. package/dist/classes/Weapon.d.ts.map +1 -1
  60. package/dist/classes/Weapon.js +486 -486
  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 +48 -48
  68. package/dist/namespaces/Animscene.d.ts.map +1 -1
  69. package/dist/namespaces/Animscene.js +65 -65
  70. package/dist/namespaces/Audio.d.ts +476 -476
  71. package/dist/namespaces/Audio.d.ts.map +1 -1
  72. package/dist/namespaces/Audio.js +692 -692
  73. package/dist/namespaces/Bounty.d.ts +57 -57
  74. package/dist/namespaces/Bounty.d.ts.map +1 -1
  75. package/dist/namespaces/Bounty.js +90 -90
  76. package/dist/namespaces/CamStatics.d.ts +432 -432
  77. package/dist/namespaces/CamStatics.d.ts.map +1 -1
  78. package/dist/namespaces/CamStatics.js +606 -606
  79. package/dist/namespaces/Collection.d.ts +78 -78
  80. package/dist/namespaces/Collection.d.ts.map +1 -1
  81. package/dist/namespaces/Collection.js +111 -111
  82. package/dist/namespaces/Companion.d.ts +22 -22
  83. package/dist/namespaces/Companion.d.ts.map +1 -1
  84. package/dist/namespaces/Companion.js +30 -30
  85. package/dist/namespaces/Compapp.js +1 -1
  86. package/dist/namespaces/Compendium.d.ts +58 -58
  87. package/dist/namespaces/Compendium.d.ts.map +1 -1
  88. package/dist/namespaces/Compendium.js +83 -83
  89. package/dist/namespaces/Crashlog.d.ts +10 -10
  90. package/dist/namespaces/Crashlog.d.ts.map +1 -1
  91. package/dist/namespaces/Crashlog.js +21 -21
  92. package/dist/namespaces/Crew.js +4 -4
  93. package/dist/namespaces/Databinding.d.ts +154 -154
  94. package/dist/namespaces/Databinding.d.ts.map +1 -1
  95. package/dist/namespaces/Databinding.js +222 -222
  96. package/dist/namespaces/Datafile.js +4 -4
  97. package/dist/namespaces/Decorator.d.ts +19 -19
  98. package/dist/namespaces/Decorator.d.ts.map +1 -1
  99. package/dist/namespaces/Decorator.js +34 -34
  100. package/dist/namespaces/Dlc.d.ts +5 -5
  101. package/dist/namespaces/Dlc.d.ts.map +1 -1
  102. package/dist/namespaces/Dlc.js +9 -9
  103. package/dist/namespaces/EntityStatics.d.ts +80 -80
  104. package/dist/namespaces/EntityStatics.d.ts.map +1 -1
  105. package/dist/namespaces/EntityStatics.js +113 -113
  106. package/dist/namespaces/Event.js +4 -4
  107. package/dist/namespaces/Fire.d.ts +89 -89
  108. package/dist/namespaces/Fire.d.ts.map +1 -1
  109. package/dist/namespaces/Fire.js +115 -115
  110. package/dist/namespaces/Flock.js +2 -2
  111. package/dist/namespaces/Gang.js +2 -2
  112. package/dist/namespaces/GoogleAnalytics.js +2 -2
  113. package/dist/namespaces/Graphics.d.ts +781 -781
  114. package/dist/namespaces/Graphics.d.ts.map +1 -1
  115. package/dist/namespaces/Graphics.js +1207 -1207
  116. package/dist/namespaces/Hud.d.ts +483 -483
  117. package/dist/namespaces/Hud.d.ts.map +1 -1
  118. package/dist/namespaces/Hud.js +678 -678
  119. package/dist/namespaces/Ik.js +1 -1
  120. package/dist/namespaces/Interaction.js +3 -3
  121. package/dist/namespaces/InteriorStatics.d.ts +40 -40
  122. package/dist/namespaces/InteriorStatics.d.ts.map +1 -1
  123. package/dist/namespaces/InteriorStatics.js +57 -57
  124. package/dist/namespaces/Inventory.d.ts +211 -211
  125. package/dist/namespaces/Inventory.d.ts.map +1 -1
  126. package/dist/namespaces/Inventory.js +291 -291
  127. package/dist/namespaces/Itemdatabase.js +3 -3
  128. package/dist/namespaces/Itemset.js +2 -2
  129. package/dist/namespaces/Law.d.ts +1 -1
  130. package/dist/namespaces/Law.d.ts.map +1 -1
  131. package/dist/namespaces/Law.js +19 -19
  132. package/dist/namespaces/Localization.js +1 -1
  133. package/dist/namespaces/Map.js +3 -3
  134. package/dist/namespaces/Minigame.d.ts +65 -65
  135. package/dist/namespaces/Minigame.d.ts.map +1 -1
  136. package/dist/namespaces/Minigame.js +105 -105
  137. package/dist/namespaces/Misc.d.ts +3 -3
  138. package/dist/namespaces/Misc.d.ts.map +1 -1
  139. package/dist/namespaces/Misc.js +35 -35
  140. package/dist/namespaces/Missiondata.d.ts +15 -15
  141. package/dist/namespaces/Missiondata.d.ts.map +1 -1
  142. package/dist/namespaces/Missiondata.js +24 -24
  143. package/dist/namespaces/Money.js +3 -3
  144. package/dist/namespaces/Netshopping.d.ts +58 -58
  145. package/dist/namespaces/Netshopping.d.ts.map +1 -1
  146. package/dist/namespaces/Netshopping.js +89 -89
  147. package/dist/namespaces/Network.d.ts +1067 -1067
  148. package/dist/namespaces/Network.d.ts.map +1 -1
  149. package/dist/namespaces/Network.js +1586 -1586
  150. package/dist/namespaces/Object.d.ts +231 -231
  151. package/dist/namespaces/Object.d.ts.map +1 -1
  152. package/dist/namespaces/Object.js +337 -337
  153. package/dist/namespaces/Pad.d.ts +42 -42
  154. package/dist/namespaces/Pad.d.ts.map +1 -1
  155. package/dist/namespaces/Pad.js +68 -68
  156. package/dist/namespaces/Pathfind.js +10 -10
  157. package/dist/namespaces/PedStatics.d.ts +2 -2
  158. package/dist/namespaces/PedStatics.d.ts.map +1 -1
  159. package/dist/namespaces/PedStatics.js +10 -10
  160. package/dist/namespaces/Perschar.d.ts +54 -54
  161. package/dist/namespaces/Perschar.d.ts.map +1 -1
  162. package/dist/namespaces/Perschar.js +84 -84
  163. package/dist/namespaces/Physics.d.ts +121 -121
  164. package/dist/namespaces/Physics.d.ts.map +1 -1
  165. package/dist/namespaces/Physics.js +155 -155
  166. package/dist/namespaces/PlayerStatics.d.ts +97 -97
  167. package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
  168. package/dist/namespaces/PlayerStatics.js +142 -142
  169. package/dist/namespaces/Population.d.ts +11 -11
  170. package/dist/namespaces/Population.d.ts.map +1 -1
  171. package/dist/namespaces/Population.js +15 -15
  172. package/dist/namespaces/Posse.d.ts +33 -33
  173. package/dist/namespaces/Posse.d.ts.map +1 -1
  174. package/dist/namespaces/Posse.js +51 -51
  175. package/dist/namespaces/Propset.d.ts +59 -59
  176. package/dist/namespaces/Propset.d.ts.map +1 -1
  177. package/dist/namespaces/Propset.js +81 -81
  178. package/dist/namespaces/Replay.d.ts +1 -1
  179. package/dist/namespaces/Replay.d.ts.map +1 -1
  180. package/dist/namespaces/Replay.js +2 -2
  181. package/dist/namespaces/Scripts.d.ts +1 -1
  182. package/dist/namespaces/Scripts.d.ts.map +1 -1
  183. package/dist/namespaces/Scripts.js +12 -12
  184. package/dist/namespaces/Shapetest.d.ts +11 -11
  185. package/dist/namespaces/Shapetest.d.ts.map +1 -1
  186. package/dist/namespaces/Shapetest.js +13 -13
  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 +191 -191
  191. package/dist/namespaces/Stats.d.ts.map +1 -1
  192. package/dist/namespaces/Stats.js +281 -281
  193. package/dist/namespaces/Streaming.d.ts +84 -84
  194. package/dist/namespaces/Streaming.d.ts.map +1 -1
  195. package/dist/namespaces/Streaming.js +137 -137
  196. package/dist/namespaces/Task.d.ts +347 -347
  197. package/dist/namespaces/Task.d.ts.map +1 -1
  198. package/dist/namespaces/Task.js +488 -488
  199. package/dist/namespaces/Telemetry.d.ts +151 -151
  200. package/dist/namespaces/Telemetry.d.ts.map +1 -1
  201. package/dist/namespaces/Telemetry.js +206 -206
  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.d.ts +15 -15
  208. package/dist/namespaces/Uifeed.d.ts.map +1 -1
  209. package/dist/namespaces/Uifeed.js +25 -25
  210. package/dist/namespaces/Uistickyfeed.d.ts +16 -16
  211. package/dist/namespaces/Uistickyfeed.d.ts.map +1 -1
  212. package/dist/namespaces/Uistickyfeed.js +21 -21
  213. package/dist/namespaces/Unlock.js +5 -5
  214. package/dist/namespaces/VehicleStatics.js +12 -12
  215. package/dist/namespaces/Voice.d.ts +38 -38
  216. package/dist/namespaces/Voice.d.ts.map +1 -1
  217. package/dist/namespaces/Voice.js +61 -61
  218. package/dist/namespaces/VolumeStatics.d.ts +99 -99
  219. package/dist/namespaces/VolumeStatics.d.ts.map +1 -1
  220. package/dist/namespaces/VolumeStatics.js +137 -137
  221. package/dist/namespaces/WeaponStatics.d.ts +276 -276
  222. package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
  223. package/dist/namespaces/WeaponStatics.js +371 -371
  224. package/dist/types/NativeAliases.d.ts +3 -1
  225. package/dist/types/NativeAliases.d.ts.map +1 -1
  226. package/dist/types/NativeAliases.js +3 -1
  227. package/package.json +1 -1
  228. package/src/classes/AnimScene.ts +159 -159
  229. package/src/classes/BaseModel.ts +37 -37
  230. package/src/classes/BaseTask.ts +41 -41
  231. package/src/classes/Cam.ts +111 -111
  232. package/src/classes/Entity.ts +422 -411
  233. package/src/classes/Interior.ts +43 -43
  234. package/src/classes/ItemSet.ts +3 -3
  235. package/src/classes/Ped.ts +432 -432
  236. package/src/classes/PedModel.ts +2 -2
  237. package/src/classes/PedTask.ts +957 -957
  238. package/src/classes/PersChar.ts +22 -22
  239. package/src/classes/Pickup.ts +14 -14
  240. package/src/classes/Player.ts +994 -987
  241. package/src/classes/Prop.ts +106 -106
  242. package/src/classes/PropSet.ts +29 -29
  243. package/src/classes/Vehicle.ts +147 -147
  244. package/src/classes/VehicleModel.ts +2 -2
  245. package/src/classes/VehicleTask.ts +31 -31
  246. package/src/classes/Volume.ts +62 -62
  247. package/src/classes/Weapon.ts +511 -511
  248. package/src/namespaces/Aicoverpoint.ts +40 -40
  249. package/src/namespaces/Aitransport.ts +104 -104
  250. package/src/namespaces/Animscene.ts +71 -71
  251. package/src/namespaces/Audio.ts +725 -725
  252. package/src/namespaces/Bounty.ts +102 -102
  253. package/src/namespaces/CamStatics.ts +700 -700
  254. package/src/namespaces/Collection.ts +113 -113
  255. package/src/namespaces/Companion.ts +34 -34
  256. package/src/namespaces/Compapp.ts +1 -1
  257. package/src/namespaces/Compendium.ts +94 -94
  258. package/src/namespaces/Crashlog.ts +23 -23
  259. package/src/namespaces/Crew.ts +4 -4
  260. package/src/namespaces/Databinding.ts +237 -237
  261. package/src/namespaces/Datafile.ts +4 -4
  262. package/src/namespaces/Decorator.ts +37 -37
  263. package/src/namespaces/Dlc.ts +9 -9
  264. package/src/namespaces/EntityStatics.ts +117 -117
  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 +1218 -1218
  271. package/src/namespaces/Hud.ts +696 -696
  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 +294 -294
  276. package/src/namespaces/Itemdatabase.ts +3 -3
  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 +3 -3
  281. package/src/namespaces/Minigame.ts +109 -109
  282. package/src/namespaces/Misc.ts +38 -38
  283. package/src/namespaces/Missiondata.ts +28 -28
  284. package/src/namespaces/Money.ts +3 -3
  285. package/src/namespaces/Netshopping.ts +99 -99
  286. package/src/namespaces/Network.ts +1616 -1616
  287. package/src/namespaces/Object.ts +344 -344
  288. package/src/namespaces/Pad.ts +76 -76
  289. package/src/namespaces/Pathfind.ts +10 -10
  290. package/src/namespaces/PedStatics.ts +12 -12
  291. package/src/namespaces/Perschar.ts +86 -86
  292. package/src/namespaces/Physics.ts +171 -171
  293. package/src/namespaces/PlayerStatics.ts +162 -162
  294. package/src/namespaces/Population.ts +17 -17
  295. package/src/namespaces/Posse.ts +54 -54
  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/Shapetest.ts +14 -14
  300. package/src/namespaces/Socialclub.ts +8 -8
  301. package/src/namespaces/Socialclubfeed.ts +1 -1
  302. package/src/namespaces/Spactionproxy.ts +4 -4
  303. package/src/namespaces/Stats.ts +287 -287
  304. package/src/namespaces/Streaming.ts +159 -159
  305. package/src/namespaces/Task.ts +517 -517
  306. package/src/namespaces/Telemetry.ts +224 -224
  307. package/src/namespaces/Txd.ts +1 -1
  308. package/src/namespaces/Uiapps.ts +43 -43
  309. package/src/namespaces/Uievents.ts +1 -1
  310. package/src/namespaces/Uifeed.ts +28 -28
  311. package/src/namespaces/Uistickyfeed.ts +23 -23
  312. package/src/namespaces/Unlock.ts +5 -5
  313. package/src/namespaces/VehicleStatics.ts +12 -12
  314. package/src/namespaces/Voice.ts +70 -70
  315. package/src/namespaces/VolumeStatics.ts +143 -143
  316. package/src/namespaces/WeaponStatics.ts +383 -383
  317. package/src/types/NativeAliases.ts +6 -1
@@ -5,292 +5,100 @@ import type { Volume } from '../classes/Volume';
5
5
  import { Vector3 } from '../types/Vector3';
6
6
  export declare class Hud {
7
7
  /**
8
- * @param modelHash
9
- */
10
- static linkNamedRendertarget(modelHash: string | number): void;
11
- /**
12
- * Returns the label text given the hash. Old name: _GET_LABEL_TEXT_BY_HASH
8
+ * For startProgress, 0.0f - 1.0f is a percentage value, so 0.5f = 50% progress. Range: 0.0f - 1.0f
9
+ * 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.
13
10
  *
14
- * @param labelHash
15
- * @returns
16
- */
17
- static getStringFromHashKey(labelHash: string | number): string | null;
18
- /**
19
- * @param textBlock
20
- * @returns
21
- */
22
- static textBlockIsLoaded(textBlock: string | null): any;
23
- /**
24
11
  * @param prompt
25
- * @returns
26
- */
27
- static uiPromptHasMashMode(prompt: number): any;
28
- /**
29
- * @param p0
30
- * @returns
31
- */
32
- static N_0xD6BD313CFA41E57A(p0: any): any;
33
- /**
34
- * @returns
12
+ * @param mashes
13
+ * @param decreaseSpeed
14
+ * @param startProgress
35
15
  */
36
- static isMultiplayerChatActive(): boolean;
37
- static disableFrontendThisFrame(): void;
16
+ static uiPromptSetMashWithResistanceCanFailMode(prompt: number, mashes: number, decreaseSpeed: number, startProgress: number): void;
38
17
  /**
39
18
  * @param prompt
40
- * @returns
19
+ * @param p1
20
+ * @param p2
41
21
  */
42
- static uiPromptGetMashModeProgress(prompt: number): number;
22
+ static uiPromptSetTargetModeTarget(prompt: number, p1: number, p2: number): void;
43
23
  /**
44
- * @param groupId
45
- * @param volume
24
+ * @param prompt
25
+ * @param p1
46
26
  * @param p2
47
27
  * @param p3
48
28
  * @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
29
  */
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
- /**
112
- * @param p0
113
- * @param name
114
- */
115
- static setMissionNameForUgcMission(p0: boolean, name: string | null): void;
116
- /**
117
- * @returns
118
- */
119
- static busyspinnerIsOn(): boolean;
30
+ static uiPromptSetMashManualCanFailMode(prompt: number, p1: number, p2: number, p3: number, p4: any): void;
120
31
  /**
121
32
  * @param prompt
122
33
  * @param p1
34
+ * @param p2
35
+ * @param p3
123
36
  */
124
- static uiPromptSetTag(prompt: number, p1: any): void;
125
- /**
126
- * @param gamerTagId
127
- * @param string
128
- */
129
- static setMpGamerTagName(gamerTagId: number, string: string | null): void;
130
- /**
131
- * @param prompt
132
- * @param progress
133
- */
134
- static uiPromptSetTargetModeProgress(prompt: number, progress: number): void;
37
+ static uiPromptSetTargetMode(prompt: number, p1: number, p2: number, p3: any): void;
135
38
  /**
136
39
  * @param prompt
40
+ * @param autoFillTimeMs
41
+ * @param mashes
137
42
  */
138
- static uiPromptSetMashIndefinitelyMode(prompt: number): void;
139
- static uiPromptDisablePromptsThisFrame(): void;
43
+ static uiPromptSetMashAutoFillMode(prompt: number, autoFillTimeMs: number, mashes: number): void;
140
44
  /**
141
45
  * @param prompt
142
46
  * @param toggle
143
47
  */
144
- static uiPromptSetUrgentPulsingEnabled(prompt: number, toggle: boolean): void;
48
+ static uiPromptSetBeatMode(prompt: number, toggle: boolean): void;
145
49
  /**
146
- * Note: you must use VAR_STRING for p1 if string is not part of text database
147
- * tabAmount: specifies number of tabs in prompt group
148
- * tabDefaultIndex: specifies starting index
149
- * p3 if is set > 3 you can no longer press Q to change tab if there are more than one tab set in tabAmount
50
+ * Similar to 0x9D7E12EC6A1EE4E5(GET_TEXT_SUBSTRING) but starts at the beginning of the string
150
51
  *
151
- * @param hash
152
- * @param name
153
- * @param tabAmount
154
- * @param tabDefaultIndex
155
- * @param p4
156
- * @param prompt
52
+ * @param text
53
+ * @param length
157
54
  * @returns
158
55
  */
159
- static uiPromptSetActiveGroupThisFrame(hash: string | number, name: string | null, tabAmount: number, tabDefaultIndex: number, p4: number, prompt: number): any;
56
+ static getTextSubstring2(text: string | null, length: number): string | null;
160
57
  /**
161
58
  * @param p0
162
- * @param p1
163
- * @param p2
164
- * @returns
165
- */
166
- static journalGetTextureWithLayout(p0: any, p1: any, p2: any): any;
167
- /**
168
- * @param prompt
169
- * @returns
170
- */
171
- static uiPromptIsEnabled(prompt: number): any;
172
- /**
173
59
  * @param prompt
174
- * @returns
175
- */
176
- static uiPromptGetUrgentPulsingEnabled(prompt: number): boolean;
177
- /**
178
- * @param scale
179
- * @param size
60
+ * @param p2
180
61
  */
181
- static setTextScale(scale: number, size: number): void;
62
+ static uiPromptAddGroupLink(p0: any, prompt: number, p2: any): void;
182
63
  /**
183
- * Found icons: SPEAKER, THROPY
184
- *
185
64
  * @param gamerTagId
186
- * @param icon
187
- */
188
- static setMpGamerTagSecondaryIcon(gamerTagId: number, icon: string | number): void;
189
- /**
190
- * Disables reduced time scale while menus such as weapon wheel and satchel are open.
191
- */
192
- static disableReducedMenuTimeScale(): void;
193
- /**
194
- * @param prompt
195
- * @param p1
196
65
  */
197
- static uiPromptSetBeatModeGrayedOut(prompt: number, p1: any): void;
66
+ static mpGamerTagEnableReviveTopIcon(gamerTagId: number): void;
198
67
  /**
199
68
  * @param p0
200
- * @returns
201
- */
202
- static journalGetGrimeAtIndex(p0: any): any;
203
- /**
204
- * @param prompt
205
69
  * @param p1
206
70
  */
207
- static uiPromptRemoveGroup(prompt: number, p1: any): void;
208
- /**
209
- * This native does nothing since build 1436, use _BG_SET_TEXT_COLOR (0x16FA5CE47F184F1E) instead.
210
- *
211
- * @param r
212
- * @param g
213
- * @param b
214
- * @param a
215
- */
216
- static setTextColor(r: number, g: number, b: number, a: number): void;
217
- /**
218
- * @returns
219
- */
220
- static isRadarHiddenByScript(): any;
221
- static hideHudAndRadarThisFrame(): void;
222
- /**
223
- * @param ped
224
- * @param username
225
- * @param pointedClanTag
226
- * @param isRockstarClan
227
- * @param clanTag
228
- * @param clanFlag
229
- * @returns
230
- */
231
- static createFakeMpGamerTag(ped: Ped, username: string | null, pointedClanTag: boolean, isRockstarClan: boolean, clanTag: string | null, clanFlag: number): number;
71
+ static N_0x8A59D44189AF2BC5(p0: any, p1: any): void;
232
72
  /**
233
73
  * @param prompt
234
- * @returns
235
- */
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
74
+ * @param p1
250
75
  */
251
- static getNamedRendertargetRenderId(name: string | null): number;
76
+ static uiPromptSetOrderingAsInputType(prompt: number, p1: any): void;
252
77
  /**
253
78
  * @param p0
254
79
  */
255
- static uiPromptDisablePromptTypeThisFrame(p0: number): void;
80
+ static journalMarkRead(p0: any): void;
256
81
  /**
82
+ * @param gamerTagId
257
83
  * @param entity
258
- * @param p1
259
- * @param p2
260
- * @param p3
261
- * @param p4
262
- * @param name
263
- * @param p6
264
84
  * @returns
265
85
  */
266
- static uiPromptSetAmbientGroupThisFrame(entity: Entity, p1: number, p2: number, p3: number, p4: string | number, name: string | null, p6: number): any;
267
- /**
268
- * @param prompt
269
- * @returns
270
- */
271
- static uiPromptIsHoldModeRunning(prompt: number): boolean;
86
+ static isMpGamerTagActiveOnEntity(gamerTagId: number, entity: Entity): any;
272
87
  /**
273
- * @param prompt
274
- * @returns Returns `true` if the mash mode has just been pressed.
88
+ * @param gamerTagId
89
+ * @param string
275
90
  */
276
- static uiPromptHasMashModeJustPressed(prompt: number): boolean;
91
+ static setMpGamerTagBigText(gamerTagId: number, string: string | null): void;
277
92
  /**
278
93
  * @param prompt
279
- * @param autoFillTimeMs
280
- * @param holdTimeMs
94
+ * @param radius
281
95
  */
282
- static uiPromptSetHoldAutoFillMode(prompt: number, autoFillTimeMs: number, holdTimeMs: number): void;
96
+ static uiPromptContextSetRadius(prompt: number, radius: number): void;
283
97
  /**
284
98
  * @param prompt
285
- * @returns
286
- */
287
- static uiPromptHasHoldModeCompleted(prompt: number): boolean;
288
- /**
289
- * id is the return value from 0xD9459157EB22C895.
290
- *
291
- * @param id
99
+ * @param toggle
292
100
  */
293
- static uiPromptClearHorizontalOrientation(id: number): void;
101
+ static uiPromptSetVisible(prompt: number, toggle: boolean): void;
294
102
  /**
295
103
  * @param p0
296
104
  * @param p1
@@ -373,95 +181,26 @@ export declare class Hud {
373
181
  static journalGetEntryCount(): any;
374
182
  static journalClearAllProgress(): void;
375
183
  /**
376
- * @param prompt
377
- * @param text
378
- */
379
- static uiPromptSetText(prompt: number, text: string | null): void;
380
- /**
381
- * @param prompt
382
- * @returns
184
+ * @param modelHash
383
185
  */
384
- static uiPromptIsJustReleased(prompt: number): boolean;
186
+ static linkNamedRendertarget(modelHash: string | number): void;
385
187
  /**
386
- * Found icons: https://pastebin.com/xx6rEgiG
188
+ * Returns the label text given the hash. Old name: _GET_LABEL_TEXT_BY_HASH
387
189
  *
388
- * @param gamerTagId
389
- * @param icon
390
- */
391
- static setMpGamerTagTopIcon(gamerTagId: number, icon: string | number): void;
392
- /**
393
- * @param prompt
394
- * @returns
395
- */
396
- static uiPromptIsReleased(prompt: number): boolean;
397
- /**
398
- * @param active
399
- */
400
- static setFrontendActive(active: boolean): void;
401
- /**
402
- * @param name
403
- * @param p1
404
- * @returns
405
- */
406
- static registerNamedRendertarget(name: string | null, p1: boolean): boolean;
407
- /**
408
- * @param prompt
409
- * @param autoFillTimeMs
410
- * @param holdTimeMs
411
- */
412
- static uiPromptSetHoldAutoFillWithDecayMode(prompt: number, autoFillTimeMs: number, holdTimeMs: number): void;
413
- /**
414
- * @param p0
415
- * @param p1
190
+ * @param labelHash
416
191
  * @returns
417
192
  */
418
- static N_0xF1AD3DD218E6558A(p0: any, p1: any): any;
419
- /**
420
- * Used for controllers
421
- *
422
- * @param prompt
423
- * @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
432
- */
433
- static setMpGamerTagType(gamerTagId: number, type: string | number): void;
193
+ static getStringFromHashKey(labelHash: string | number): string | null;
434
194
  /**
435
- * @param prompt
436
- * @param action
195
+ * @param textBlock
437
196
  * @returns
438
197
  */
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
445
- */
446
- static enableHudContext(component: string | number): void;
198
+ static textBlockIsLoaded(textBlock: string | null): any;
447
199
  /**
448
200
  * @param prompt
449
201
  * @returns
450
202
  */
451
- static uiPromptHasPressedTimedModeFailed(prompt: number): any;
452
- /**
453
- * Removes the loading prompt at the bottom right of the screen.
454
- */
455
- static busyspinnerOff(): void;
456
- /**
457
- * @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;
203
+ static uiPromptHasMashMode(prompt: number): any;
465
204
  /**
466
205
  * @param player
467
206
  * @param username
@@ -546,272 +285,373 @@ export declare class Hud {
546
285
  static disableHudContext(component: string | number): void;
547
286
  static forceCloseTextInputBox(): void;
548
287
  /**
288
+ * @param p0
289
+ * @returns
290
+ */
291
+ static N_0x28AE29D909C8FDCE(p0: any): any;
292
+ /**
293
+ * @param p0
294
+ * @param prompt
295
+ */
296
+ static uiPromptAddGroupReturnLink(p0: any, prompt: number): void;
297
+ /**
298
+ * 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)
299
+ *
549
300
  * @param prompt
301
+ * @param type
302
+ */
303
+ static uiPromptSetType(prompt: number, type: number): void;
304
+ /**
305
+ * @param textBlock
306
+ */
307
+ static textBlockRequest(textBlock: string | null): void;
308
+ /**
309
+ * Checks if the passed gxt name exists in the game files.
310
+ *
311
+ * @param label
312
+ * @returns
313
+ */
314
+ static doesTextLabelExist(label: string | null): boolean;
315
+ /**
316
+ * @returns
317
+ */
318
+ static N_0x066725A9D52B3641(): any;
319
+ /**
320
+ * standard (prompt not held) rate: (1f / 128f)
321
+ * fast (prompt held) rate: (1f / 64f)
322
+ * punitive (been hit) rate: (1f / 128f)
323
+ *
324
+ * @param prompt
325
+ * @param rate
326
+ */
327
+ static uiPromptSetMashManualModeIncreasePerPress(prompt: number, rate: number): void;
328
+ /**
329
+ * @param prompt
330
+ * @param speed
331
+ */
332
+ static uiPromptSetMashManualModePressedGrowthSpeed(prompt: number, speed: number): void;
333
+ /**
334
+ * @param string
335
+ * @returns
336
+ */
337
+ static getLengthOfLiteralStringInBytes(string: string | null): number;
338
+ /**
339
+ * @param name
340
+ * @returns
341
+ */
342
+ static releaseNamedRendertarget(name: string | null): boolean;
343
+ /**
344
+ * @param textDatabase
345
+ * @returns
346
+ */
347
+ static doesTextBlockExist(textDatabase: string | null): any;
348
+ /**
349
+ * @param p0
550
350
  * @param p1
351
+ * @returns
551
352
  */
552
- static N_0x53CE46C01A089DA1(prompt: number, p1: boolean): void;
353
+ static journalGetEntryInfo(p0: any, p1: any): any;
354
+ /**
355
+ * @param p0
356
+ */
357
+ static N_0x3FE4FB41EF7D2196(p0: any): void;
358
+ /**
359
+ * colorNameHash: https://alloc8or.re/rdr3/doc/enums/eColor.txt
360
+ *
361
+ * @param colorNameHash
362
+ * @returns red; green; blue; alpha
363
+ */
364
+ static getColorFromName(colorNameHash: string | number): [number, number, number, number];
365
+ /**
366
+ * visibility:
367
+ * enum eUIGamertagVisibility
368
+ * {
369
+ * UIGAMERTAGVISIBILITY_NONE,
370
+ * UIGAMERTAGVISIBILITY_ICON,
371
+ * UIGAMERTAGVISIBILITY_SIMPLE,
372
+ * UIGAMERTAGVISIBILITY_COMPLEX
373
+ * };
374
+ *
375
+ * @param gamerTagId
376
+ * @param visibility
377
+ */
378
+ static setMpGamerTagVisibility(gamerTagId: number, visibility: number): void;
379
+ /**
380
+ * @param component
381
+ */
382
+ static enableHudContextThisFrame(component: string | number): void;
383
+ /**
384
+ * @param prompt
385
+ * @param text
386
+ */
387
+ static uiPromptSetText(prompt: number, text: string | null): void;
553
388
  /**
554
- * @param p0
389
+ * @param prompt
555
390
  * @returns
556
391
  */
557
- static uiGetSceneUiobject(p0: any): any;
392
+ static uiPromptIsJustReleased(prompt: number): boolean;
558
393
  /**
559
- * @param p0
560
- * @param p1
394
+ * Found icons: https://pastebin.com/xx6rEgiG
395
+ *
396
+ * @param gamerTagId
397
+ * @param icon
561
398
  */
562
- static N_0x958278B97C4AFFD8(p0: any, p1: any): void;
399
+ static setMpGamerTagTopIcon(gamerTagId: number, icon: string | number): void;
563
400
  /**
564
401
  * @param prompt
565
402
  * @returns
566
403
  */
567
- static uiPromptGetProgress(prompt: number): number;
404
+ static uiPromptIsReleased(prompt: number): boolean;
568
405
  /**
569
- * @param prompt
570
- * @returns
406
+ * @param active
571
407
  */
572
- static uiPromptIsPressed(prompt: number): boolean;
408
+ static setFrontendActive(active: boolean): void;
573
409
  /**
574
- * Note: you must use VAR_STRING. Byte code very similar to TEXT_COMMAND_DISPLAY_TEXT in V
575
- * Old name: _GET_TEXT_SUBSTRING
576
- *
577
- * @param text
578
- * @param position
579
- * @param length
410
+ * @param name
411
+ * @param p1
580
412
  * @returns
581
413
  */
582
- static getCharacterFromAudioConversationFilename(text: string | null, position: number, length: number): string | null;
414
+ static registerNamedRendertarget(name: string | null, p1: boolean): boolean;
415
+ /**
416
+ * @param prompt
417
+ * @param autoFillTimeMs
418
+ * @param holdTimeMs
419
+ */
420
+ static uiPromptSetHoldAutoFillWithDecayMode(prompt: number, autoFillTimeMs: number, holdTimeMs: number): void;
583
421
  /**
584
422
  * @param p0
585
423
  * @param p1
424
+ * @returns
586
425
  */
587
- static N_0x9D37EB5003E0F2CF(p0: any, p1: any): void;
588
- static uiPromptClearPromptPriorityPreference(): void;
426
+ static N_0xF1AD3DD218E6558A(p0: any, p1: any): any;
589
427
  /**
428
+ * Used for controllers
429
+ *
590
430
  * @param prompt
591
- * @param depletionTimeMs
431
+ * @param p1
432
+ * @param counterclockwise
592
433
  */
593
- static uiPromptSetPressedTimedMode(prompt: number, depletionTimeMs: number): void;
434
+ static uiPromptSetRotateMode(prompt: number, p1: number, counterclockwise: boolean): void;
435
+ /**
436
+ * Found types: GENERIC_PLAYER, DEADDROP, HOTPROPERTY, MINIGAMES
437
+ *
438
+ * @param gamerTagId
439
+ * @param type
440
+ */
441
+ static setMpGamerTagType(gamerTagId: number, type: string | number): void;
594
442
  /**
595
443
  * @param prompt
596
- * @param toggle
444
+ * @param action
445
+ * @returns
597
446
  */
598
- static uiPromptSetEnabled(prompt: number, toggle: boolean): void;
599
- static uiPromptFilterClear(): void;
447
+ static uiPromptSetControlAction(prompt: number, action: string | number): any;
600
448
  /**
601
- * tabIndex: specifies tab of prompt
449
+ * https://github.com/femga/rdr3_discoveries/tree/master/graphics/HUD/hud_presets
450
+ * Old name: _HIDE_HUD_COMPONENT
602
451
  *
452
+ * @param component
453
+ */
454
+ static enableHudContext(component: string | number): void;
455
+ /**
603
456
  * @param prompt
604
- * @param groupId
605
- * @param tabIndex
457
+ * @returns
606
458
  */
607
- static uiPromptSetGroup(prompt: number, groupId: number, tabIndex: number): void;
459
+ static uiPromptHasPressedTimedModeFailed(prompt: number): any;
608
460
  /**
609
- * @param text
461
+ * Removes the loading prompt at the bottom right of the screen.
610
462
  */
611
- static busyspinnerSetText(text: string | null): void;
463
+ static busyspinnerOff(): void;
612
464
  /**
613
- * Returns the hash of the currently highlighted item in the weapon wheel.
614
- * Only works while the wheel is open will return false Use in conjunction with IS_CONTROL_JUST_RELEASED(0, 'INPUT_OPEN_WHEEL_MENU') to detect item selection/usage.
615
- *
616
- * @returns
465
+ * @param prompt
466
+ * @param pos
617
467
  */
618
- static weaponWheelGetSelectedItemHash(): any;
468
+ static uiPromptContextSetPoint(prompt: number, pos: Vector3): void;
619
469
  /**
620
- * @returns
470
+ * @param align
621
471
  */
622
- static isRadarPreferenceSwitchedOn(): boolean;
623
- static clearAllHelpMessages(): void;
472
+ static setTextCentre(align: boolean): void;
624
473
  /**
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
474
  * @param prompt
629
- * @param mashes
630
- * @param decreaseSpeed
631
- * @param startProgress
475
+ * @returns
632
476
  */
633
- static uiPromptSetMashWithResistanceCanFailMode(prompt: number, mashes: number, decreaseSpeed: number, startProgress: number): void;
477
+ static uiPromptHasMashModeFailed(prompt: number): boolean;
634
478
  /**
635
479
  * @param prompt
636
- * @param p1
637
- * @param p2
480
+ * @returns
638
481
  */
639
- static uiPromptSetTargetModeTarget(prompt: number, p1: number, p2: number): void;
482
+ static uiPromptHasManualMashMode(prompt: number): any;
640
483
  /**
641
484
  * @param prompt
642
- * @param p1
643
- * @param p2
644
- * @param p3
645
- * @param p4
485
+ * @returns
646
486
  */
647
- static uiPromptSetMashManualCanFailMode(prompt: number, p1: number, p2: number, p3: number, p4: any): void;
487
+ static uiPromptHasMashModeCompleted(prompt: number): boolean;
648
488
  /**
649
489
  * @param prompt
650
490
  * @param p1
651
- * @param p2
652
- * @param p3
653
491
  */
654
- static uiPromptSetTargetMode(prompt: number, p1: number, p2: number, p3: any): void;
492
+ static uiPromptSetSpinnerPosition(prompt: number, p1: any): void;
655
493
  /**
656
- * @param prompt
657
- * @param autoFillTimeMs
658
- * @param mashes
494
+ * @param p0
659
495
  */
660
- static uiPromptSetMashAutoFillMode(prompt: number, autoFillTimeMs: number, mashes: number): void;
496
+ static journalWriteEntry(p0: any): void;
661
497
  /**
662
- * @param prompt
663
- * @param toggle
498
+ * @param state
664
499
  */
665
- static uiPromptSetBeatMode(prompt: number, toggle: boolean): void;
500
+ static showHorseCores(state: boolean): void;
666
501
  /**
667
- * Similar to 0x9D7E12EC6A1EE4E5(GET_TEXT_SUBSTRING) but starts at the beginning of the string
502
+ * This native accepts 1 as parameter in the decompiles
503
+ * returns the nearest horse handle if within 2 3 meters of the player, if not close enough returns false NOTE: if type is 0 returns PlayerPedId always?
668
504
  *
669
- * @param text
670
- * @param length
505
+ * @param p0
671
506
  * @returns
672
507
  */
673
- static getTextSubstring2(text: string | null, length: number): string | null;
508
+ static getNearHorse(p0: number): any;
674
509
  /**
675
- * @param p0
676
510
  * @param prompt
677
- * @param p2
678
511
  */
679
- static uiPromptAddGroupLink(p0: any, prompt: number, p2: any): void;
512
+ static uiPromptRestartModes(prompt: number): void;
680
513
  /**
681
- * @param gamerTagId
514
+ * @param prompt
515
+ * @param mashes
516
+ * @param p2
517
+ * @param p3
682
518
  */
683
- static mpGamerTagEnableReviveTopIcon(gamerTagId: number): void;
519
+ static uiPromptSetMashWithResistanceMode(prompt: number, mashes: number, p2: number, p3: number): void;
684
520
  /**
685
521
  * @param p0
686
522
  * @param p1
523
+ * @param p2
524
+ * @returns
687
525
  */
688
- static N_0x8A59D44189AF2BC5(p0: any, p1: any): void;
526
+ static N_0x806862E5D266CF38(p0: any, p1: any, p2: any): any;
689
527
  /**
690
- * @param prompt
691
- * @param p1
528
+ * @param gamerTagId
529
+ * @returns
692
530
  */
693
- static uiPromptSetOrderingAsInputType(prompt: number, p1: any): void;
531
+ static isMpGamerTagActive(gamerTagId: number): boolean;
694
532
  /**
695
- * @param p0
533
+ * Hashes: SHORT_TIMED_EVENT_MP, SHORT_TIMED_EVENT, MEDIUM_TIMED_EVENT, LONG_TIMED_EVENT, RUSTLING_CALM_TIMING, PLAYER_FOCUS_TIMING, PLAYER_REACTION_TIMING
534
+ *
535
+ * @param prompt
536
+ * @param timedEventHash
696
537
  */
697
- static journalMarkRead(p0: any): void;
538
+ static uiPromptSetStandardizedHoldMode(prompt: number, timedEventHash: string | number): void;
698
539
  /**
699
- * @param gamerTagId
700
- * @param entity
540
+ * @param modelHash
701
541
  * @returns
702
542
  */
703
- static isMpGamerTagActiveOnEntity(gamerTagId: number, entity: Entity): any;
704
- /**
705
- * @param gamerTagId
706
- * @param string
707
- */
708
- static setMpGamerTagBigText(gamerTagId: number, string: string | null): void;
543
+ static isNamedRendertargetLinked(modelHash: string | number): boolean;
709
544
  /**
710
545
  * @param prompt
711
- * @param radius
546
+ * @returns
712
547
  */
713
- static uiPromptContextSetRadius(prompt: number, radius: number): void;
548
+ static uiPromptWasBeatModePressedInTimeWindow(prompt: number): boolean;
714
549
  /**
715
- * @param prompt
716
- * @param toggle
550
+ * @returns
717
551
  */
718
- static uiPromptSetVisible(prompt: number, toggle: boolean): void;
552
+ static isHudHidden(): boolean;
719
553
  /**
720
554
  * @param p0
555
+ * @param p1
721
556
  * @returns
722
557
  */
723
- static N_0x28AE29D909C8FDCE(p0: any): any;
558
+ static N_0x100157D6D7FE32CA(p0: any, p1: any): any;
724
559
  /**
725
560
  * @param p0
726
- * @param prompt
561
+ * @returns
727
562
  */
728
- static uiPromptAddGroupReturnLink(p0: any, prompt: number): void;
563
+ static journalGetGrimeAtIndex(p0: any): any;
729
564
  /**
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
565
  * @param prompt
733
- * @param type
566
+ * @param p1
734
567
  */
735
- static uiPromptSetType(prompt: number, type: number): void;
568
+ static uiPromptRemoveGroup(prompt: number, p1: any): void;
736
569
  /**
737
- * @param textBlock
570
+ * This native does nothing since build 1436, use _BG_SET_TEXT_COLOR (0x16FA5CE47F184F1E) instead.
571
+ *
572
+ * @param r
573
+ * @param g
574
+ * @param b
575
+ * @param a
738
576
  */
739
- static textBlockRequest(textBlock: string | null): void;
577
+ static setTextColor(r: number, g: number, b: number, a: number): void;
740
578
  /**
741
- * Checks if the passed gxt name exists in the game files.
742
- *
743
- * @param label
744
579
  * @returns
745
580
  */
746
- static doesTextLabelExist(label: string | null): boolean;
581
+ static isRadarHiddenByScript(): boolean;
582
+ static hideHudAndRadarThisFrame(): void;
747
583
  /**
584
+ * @param ped
585
+ * @param username
586
+ * @param pointedClanTag
587
+ * @param isRockstarClan
588
+ * @param clanTag
589
+ * @param clanFlag
748
590
  * @returns
749
591
  */
750
- static N_0x066725A9D52B3641(): any;
592
+ static createFakeMpGamerTag(ped: Ped, username: string | null, pointedClanTag: boolean, isRockstarClan: boolean, clanTag: string | null, clanFlag: number): number;
751
593
  /**
752
- * standard (prompt not held) rate: (1f / 128f)
753
- * fast (prompt held) rate: (1f / 64f)
754
- * punitive (been hit) rate: (1f / 128f)
755
- *
756
594
  * @param prompt
757
- * @param rate
595
+ * @returns
758
596
  */
759
- static uiPromptSetMashManualModeIncreasePerPress(prompt: number, rate: number): void;
597
+ static uiPromptHasHoldAutoFillMode(prompt: number): boolean;
760
598
  /**
761
- * @param prompt
762
- * @param speed
599
+ * string1 is the only string used in the scripts, the others are null (0)
600
+ *
601
+ * @param active
602
+ * @param string1
603
+ * @param string2
604
+ * @param string3
605
+ * @param string4
763
606
  */
764
- static uiPromptSetMashManualModePressedGrowthSpeed(prompt: number, speed: number): void;
607
+ static setCurrentUgcMissionDescription(active: boolean, string1: string | null, string2: string | null, string3: string | null, string4: string | null): void;
765
608
  /**
766
- * @param string
609
+ * @param name
767
610
  * @returns
768
611
  */
769
- static getLengthOfLiteralStringInBytes(string: string | null): number;
612
+ static getNamedRendertargetRenderId(name: string | null): number;
770
613
  /**
771
- * @param name
772
- * @returns
614
+ * @param p0
773
615
  */
774
- static releaseNamedRendertarget(name: string | null): boolean;
616
+ static uiPromptDisablePromptTypeThisFrame(p0: number): void;
775
617
  /**
776
- * @param textDatabase
618
+ * @param entity
619
+ * @param p1
620
+ * @param p2
621
+ * @param p3
622
+ * @param p4
623
+ * @param name
624
+ * @param p6
777
625
  * @returns
778
626
  */
779
- static doesTextBlockExist(textDatabase: string | null): any;
627
+ static uiPromptSetAmbientGroupThisFrame(entity: Entity, p1: number, p2: number, p3: number, p4: string | number, name: string | null, p6: number): any;
780
628
  /**
781
- * @param p0
782
- * @param p1
629
+ * @param prompt
783
630
  * @returns
784
631
  */
785
- static journalGetEntryInfo(p0: any, p1: any): any;
632
+ static uiPromptIsHoldModeRunning(prompt: number): boolean;
786
633
  /**
787
- * @param p0
634
+ * @param prompt
635
+ * @returns Returns `true` if the mash mode has just been pressed.
788
636
  */
789
- static N_0x3FE4FB41EF7D2196(p0: any): void;
637
+ static uiPromptHasMashModeJustPressed(prompt: number): boolean;
790
638
  /**
791
- * colorNameHash: https://alloc8or.re/rdr3/doc/enums/eColor.txt
792
- *
793
- * @param colorNameHash
794
- * @returns red; green; blue; alpha
639
+ * @param prompt
640
+ * @param autoFillTimeMs
641
+ * @param holdTimeMs
795
642
  */
796
- static getColorFromName(colorNameHash: string | number): [number, number, number, number];
643
+ static uiPromptSetHoldAutoFillMode(prompt: number, autoFillTimeMs: number, holdTimeMs: number): void;
797
644
  /**
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
645
+ * @param prompt
646
+ * @returns
809
647
  */
810
- static setMpGamerTagVisibility(gamerTagId: number, visibility: number): void;
648
+ static uiPromptHasHoldModeCompleted(prompt: number): boolean;
811
649
  /**
812
- * @param component
650
+ * id is the return value from 0xD9459157EB22C895.
651
+ *
652
+ * @param id
813
653
  */
814
- static enableHudContextThisFrame(component: string | number): void;
654
+ static uiPromptClearHorizontalOrientation(id: number): void;
815
655
  /**
816
656
  * @param gamerTagId
817
657
  */
@@ -891,91 +731,251 @@ export declare class Hud {
891
731
  */
892
732
  static enableReducedMenuTimeScale(): void;
893
733
  /**
894
- * @param prompt
734
+ * @param p0
895
735
  * @returns
896
736
  */
897
- static uiPromptHasMashModeFailed(prompt: number): boolean;
737
+ static N_0xD6BD313CFA41E57A(p0: any): any;
898
738
  /**
899
- * @param prompt
900
739
  * @returns
901
740
  */
902
- static uiPromptHasManualMashMode(prompt: number): any;
741
+ static isMultiplayerChatActive(): boolean;
742
+ static disableFrontendThisFrame(): void;
903
743
  /**
904
744
  * @param prompt
905
745
  * @returns
906
746
  */
907
- static uiPromptHasMashModeCompleted(prompt: number): boolean;
747
+ static uiPromptGetMashModeProgress(prompt: number): number;
908
748
  /**
909
- * @param prompt
910
- * @param p1
749
+ * @param groupId
750
+ * @param volume
751
+ * @param p2
752
+ * @param p3
753
+ * @param p4
754
+ * @param p5
755
+ * @returns
911
756
  */
912
- static uiPromptSetSpinnerPosition(prompt: number, p1: any): void;
757
+ static N_0x8B55B324A9123F6B(groupId: number, volume: Volume, p2: string | null, p3: any, p4: any, p5: any): any;
758
+ /**
759
+ * @param entity
760
+ * @returns
761
+ */
762
+ static uiPromptGetGroupIdForTargetEntity(entity: Entity): number;
763
+ /**
764
+ * Old name: _ALLOW_PAUSE_MENU_WHEN_DEAD_THIS_FRAME
765
+ */
766
+ static allowPauseWhenNotInStateOfPlayThisFrame(): void;
913
767
  /**
914
768
  * @param p0
769
+ * @param p1
770
+ * @returns
915
771
  */
916
- static journalWriteEntry(p0: any): void;
772
+ static uiPromptGetGroupIdForScenarioPoint(p0: any, p1: number): number;
917
773
  /**
918
- * @param state
774
+ * nullsub, doesn't do anything
775
+ *
776
+ * @param gamerTagId
777
+ * @param allow
919
778
  */
920
- static showHorseCores(state: boolean): void;
779
+ static setMpGamerTagUnkAllowLocalized(gamerTagId: number, allow: boolean): void;
921
780
  /**
922
- * This native accepts 1 as parameter in the decompiles
923
- * returns the nearest horse handle if within 2 3 meters of the player, if not close enough returns false NOTE: if type is 0 returns PlayerPedId always?
781
+ * @param ped
782
+ */
783
+ static uiPromptSetPromptPriorityPreference(ped: Ped): void;
784
+ /**
785
+ * @param textBlock
786
+ */
787
+ static textBlockDelete(textBlock: string | null): void;
788
+ /**
789
+ * Returns true when either Pause Menu, a Frontend Menu, Online Policies menu or Social Club menu is active.
924
790
  *
791
+ * @returns
792
+ */
793
+ static isPauseMenuActive(): boolean;
794
+ /**
795
+ * @param controlAction
796
+ * @returns
797
+ */
798
+ static uiPromptIsControlActionActive(controlAction: string | number): any;
799
+ /**
800
+ * @param textBlock
801
+ * @returns
802
+ */
803
+ static textBlockIsStreamed(textBlock: string | null): any;
804
+ /**
805
+ * @param worldX
806
+ * @param worldY
807
+ * @param worldZ
808
+ * @returns screenX; screenY
809
+ */
810
+ static getHudScreenPositionFromWorldPosition(worldX: number, worldY: number, worldZ: number): [boolean, number, number];
811
+ /**
812
+ * @param prompt
813
+ * @returns
814
+ */
815
+ static uiPromptHasHoldMode(prompt: number): any;
816
+ /**
925
817
  * @param p0
818
+ * @param name
819
+ */
820
+ static setMissionNameForUgcMission(p0: boolean, name: string | null): void;
821
+ /**
926
822
  * @returns
927
823
  */
928
- static getNearHorse(p0: number): any;
824
+ static busyspinnerIsOn(): boolean;
929
825
  /**
930
826
  * @param prompt
827
+ * @param p1
931
828
  */
932
- static uiPromptRestartModes(prompt: number): void;
829
+ static uiPromptSetTag(prompt: number, p1: any): void;
830
+ /**
831
+ * @param gamerTagId
832
+ * @param string
833
+ */
834
+ static setMpGamerTagName(gamerTagId: number, string: string | null): void;
933
835
  /**
934
836
  * @param prompt
935
- * @param mashes
936
- * @param p2
937
- * @param p3
837
+ * @param progress
938
838
  */
939
- static uiPromptSetMashWithResistanceMode(prompt: number, mashes: number, p2: number, p3: number): void;
839
+ static uiPromptSetTargetModeProgress(prompt: number, progress: number): void;
840
+ /**
841
+ * @param prompt
842
+ */
843
+ static uiPromptSetMashIndefinitelyMode(prompt: number): void;
844
+ static uiPromptDisablePromptsThisFrame(): void;
845
+ /**
846
+ * @param prompt
847
+ * @param toggle
848
+ */
849
+ static uiPromptSetUrgentPulsingEnabled(prompt: number, toggle: boolean): void;
850
+ /**
851
+ * Note: you must use VAR_STRING for p1 if string is not part of text database
852
+ * tabAmount: specifies number of tabs in prompt group
853
+ * tabDefaultIndex: specifies starting index
854
+ * p3 if is set > 3 you can no longer press Q to change tab if there are more than one tab set in tabAmount
855
+ *
856
+ * @param hash
857
+ * @param name
858
+ * @param tabAmount
859
+ * @param tabDefaultIndex
860
+ * @param p4
861
+ * @param prompt
862
+ * @returns
863
+ */
864
+ static uiPromptSetActiveGroupThisFrame(hash: string | number, name: string | null, tabAmount: number, tabDefaultIndex: number, p4: number, prompt: number): any;
940
865
  /**
941
866
  * @param p0
942
867
  * @param p1
943
868
  * @param p2
944
869
  * @returns
945
870
  */
946
- static N_0x806862E5D266CF38(p0: any, p1: any, p2: any): any;
871
+ static journalGetTextureWithLayout(p0: any, p1: any, p2: any): any;
947
872
  /**
948
- * @param gamerTagId
873
+ * @param prompt
949
874
  * @returns
950
875
  */
951
- static isMpGamerTagActive(gamerTagId: number): boolean;
876
+ static uiPromptIsEnabled(prompt: number): any;
952
877
  /**
953
- * Hashes: SHORT_TIMED_EVENT_MP, SHORT_TIMED_EVENT, MEDIUM_TIMED_EVENT, LONG_TIMED_EVENT, RUSTLING_CALM_TIMING, PLAYER_FOCUS_TIMING, PLAYER_REACTION_TIMING
878
+ * @param prompt
879
+ * @returns
880
+ */
881
+ static uiPromptGetUrgentPulsingEnabled(prompt: number): boolean;
882
+ /**
883
+ * @param scale
884
+ * @param size
885
+ */
886
+ static setTextScale(scale: number, size: number): void;
887
+ /**
888
+ * Found icons: SPEAKER, THROPY
954
889
  *
890
+ * @param gamerTagId
891
+ * @param icon
892
+ */
893
+ static setMpGamerTagSecondaryIcon(gamerTagId: number, icon: string | number): void;
894
+ /**
895
+ * Disables reduced time scale while menus such as weapon wheel and satchel are open.
896
+ */
897
+ static disableReducedMenuTimeScale(): void;
898
+ /**
955
899
  * @param prompt
956
- * @param timedEventHash
900
+ * @param p1
957
901
  */
958
- static uiPromptSetStandardizedHoldMode(prompt: number, timedEventHash: string | number): void;
902
+ static uiPromptSetBeatModeGrayedOut(prompt: number, p1: any): void;
959
903
  /**
960
- * @param modelHash
904
+ * @param prompt
905
+ * @param p1
906
+ */
907
+ static N_0x53CE46C01A089DA1(prompt: number, p1: boolean): void;
908
+ /**
909
+ * @param p0
961
910
  * @returns
962
911
  */
963
- static isNamedRendertargetLinked(modelHash: string | number): boolean;
912
+ static uiGetSceneUiobject(p0: any): any;
913
+ /**
914
+ * @param p0
915
+ * @param p1
916
+ */
917
+ static N_0x958278B97C4AFFD8(p0: any, p1: any): void;
964
918
  /**
965
919
  * @param prompt
966
920
  * @returns
967
921
  */
968
- static uiPromptWasBeatModePressedInTimeWindow(prompt: number): boolean;
922
+ static uiPromptGetProgress(prompt: number): number;
969
923
  /**
924
+ * @param prompt
970
925
  * @returns
971
926
  */
972
- static isHudHidden(): boolean;
927
+ static uiPromptIsPressed(prompt: number): boolean;
928
+ /**
929
+ * Note: you must use VAR_STRING. Byte code very similar to TEXT_COMMAND_DISPLAY_TEXT in V
930
+ * Old name: _GET_TEXT_SUBSTRING
931
+ *
932
+ * @param text
933
+ * @param position
934
+ * @param length
935
+ * @returns
936
+ */
937
+ static getCharacterFromAudioConversationFilename(text: string | null, position: number, length: number): string | null;
973
938
  /**
974
939
  * @param p0
975
940
  * @param p1
941
+ */
942
+ static N_0x9D37EB5003E0F2CF(p0: any, p1: any): void;
943
+ static uiPromptClearPromptPriorityPreference(): void;
944
+ /**
945
+ * @param prompt
946
+ * @param depletionTimeMs
947
+ */
948
+ static uiPromptSetPressedTimedMode(prompt: number, depletionTimeMs: number): void;
949
+ /**
950
+ * @param prompt
951
+ * @param toggle
952
+ */
953
+ static uiPromptSetEnabled(prompt: number, toggle: boolean): void;
954
+ static uiPromptFilterClear(): void;
955
+ /**
956
+ * tabIndex: specifies tab of prompt
957
+ *
958
+ * @param prompt
959
+ * @param groupId
960
+ * @param tabIndex
961
+ */
962
+ static uiPromptSetGroup(prompt: number, groupId: number, tabIndex: number): void;
963
+ /**
964
+ * @param text
965
+ */
966
+ static busyspinnerSetText(text: string | null): void;
967
+ /**
968
+ * Returns the hash of the currently highlighted item in the weapon wheel.
969
+ * Only works while the wheel is open will return false Use in conjunction with IS_CONTROL_JUST_RELEASED(0, 'INPUT_OPEN_WHEEL_MENU') to detect item selection/usage.
970
+ *
976
971
  * @returns
977
972
  */
978
- static N_0x100157D6D7FE32CA(p0: any, p1: any): any;
973
+ static weaponWheelGetSelectedItemHash(): any;
974
+ /**
975
+ * @returns
976
+ */
977
+ static isRadarPreferenceSwitchedOn(): boolean;
978
+ static clearAllHelpMessages(): void;
979
979
  /**
980
980
  * TM_ANY = 0,
981
981
  * TM_ON_FOOT,