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