@nativewrappers/redm-codegen 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. package/dist/classes/AnimScene.d.ts +126 -126
  2. package/dist/classes/AnimScene.d.ts.map +1 -1
  3. package/dist/classes/AnimScene.js +184 -184
  4. package/dist/classes/BaseModel.d.ts +17 -17
  5. package/dist/classes/BaseModel.d.ts.map +1 -1
  6. package/dist/classes/BaseModel.js +25 -25
  7. package/dist/classes/BaseTask.d.ts +12 -12
  8. package/dist/classes/BaseTask.d.ts.map +1 -1
  9. package/dist/classes/BaseTask.js +14 -14
  10. package/dist/classes/Cam.d.ts +94 -94
  11. package/dist/classes/Cam.d.ts.map +1 -1
  12. package/dist/classes/Cam.js +126 -126
  13. package/dist/classes/Entity.d.ts +471 -471
  14. package/dist/classes/Entity.d.ts.map +1 -1
  15. package/dist/classes/Entity.js +672 -672
  16. package/dist/classes/PedTask.d.ts +155 -155
  17. package/dist/classes/PedTask.d.ts.map +1 -1
  18. package/dist/classes/PedTask.js +204 -204
  19. package/dist/classes/PersChar.d.ts +9 -9
  20. package/dist/classes/PersChar.d.ts.map +1 -1
  21. package/dist/classes/PersChar.js +21 -21
  22. package/dist/classes/Pickup.d.ts +5 -5
  23. package/dist/classes/Pickup.d.ts.map +1 -1
  24. package/dist/classes/Pickup.js +9 -9
  25. package/dist/classes/Player.d.ts +687 -687
  26. package/dist/classes/Player.d.ts.map +1 -1
  27. package/dist/classes/Player.js +1013 -1013
  28. package/dist/classes/Prop.d.ts +87 -87
  29. package/dist/classes/Prop.d.ts.map +1 -1
  30. package/dist/classes/Prop.js +121 -121
  31. package/dist/classes/PropSet.d.ts +4 -4
  32. package/dist/classes/PropSet.d.ts.map +1 -1
  33. package/dist/classes/PropSet.js +6 -6
  34. package/dist/classes/VehicleTask.d.ts +17 -17
  35. package/dist/classes/VehicleTask.d.ts.map +1 -1
  36. package/dist/classes/VehicleTask.js +21 -21
  37. package/dist/classes/Weapon.d.ts +306 -306
  38. package/dist/classes/Weapon.d.ts.map +1 -1
  39. package/dist/classes/Weapon.js +411 -411
  40. package/dist/namespaces/Animscene.d.ts +59 -59
  41. package/dist/namespaces/Animscene.d.ts.map +1 -1
  42. package/dist/namespaces/Animscene.js +77 -77
  43. package/dist/namespaces/Audio.d.ts +569 -569
  44. package/dist/namespaces/Audio.d.ts.map +1 -1
  45. package/dist/namespaces/Audio.js +728 -728
  46. package/dist/namespaces/Bounty.d.ts +70 -70
  47. package/dist/namespaces/Bounty.d.ts.map +1 -1
  48. package/dist/namespaces/Bounty.js +115 -115
  49. package/dist/namespaces/Brain.d.ts +15 -15
  50. package/dist/namespaces/Brain.d.ts.map +1 -1
  51. package/dist/namespaces/Brain.js +20 -20
  52. package/dist/namespaces/CamStatics.d.ts +399 -399
  53. package/dist/namespaces/CamStatics.d.ts.map +1 -1
  54. package/dist/namespaces/CamStatics.js +574 -574
  55. package/dist/namespaces/Clock.d.ts +51 -51
  56. package/dist/namespaces/Clock.d.ts.map +1 -1
  57. package/dist/namespaces/Clock.js +73 -73
  58. package/dist/namespaces/Collection.d.ts +76 -76
  59. package/dist/namespaces/Collection.d.ts.map +1 -1
  60. package/dist/namespaces/Collection.js +108 -108
  61. package/dist/namespaces/Companion.d.ts +22 -22
  62. package/dist/namespaces/Companion.d.ts.map +1 -1
  63. package/dist/namespaces/Companion.js +30 -30
  64. package/dist/namespaces/Compendium.d.ts +38 -38
  65. package/dist/namespaces/Compendium.d.ts.map +1 -1
  66. package/dist/namespaces/Compendium.js +52 -52
  67. package/dist/namespaces/Crashlog.d.ts +10 -10
  68. package/dist/namespaces/Crashlog.d.ts.map +1 -1
  69. package/dist/namespaces/Crashlog.js +14 -14
  70. package/dist/namespaces/Crew.d.ts +9 -9
  71. package/dist/namespaces/Crew.d.ts.map +1 -1
  72. package/dist/namespaces/Crew.js +14 -14
  73. package/dist/namespaces/Databinding.d.ts +177 -177
  74. package/dist/namespaces/Databinding.d.ts.map +1 -1
  75. package/dist/namespaces/Databinding.js +271 -271
  76. package/dist/namespaces/Dlc.d.ts +5 -5
  77. package/dist/namespaces/Dlc.d.ts.map +1 -1
  78. package/dist/namespaces/Dlc.js +9 -9
  79. package/dist/namespaces/EntityStatics.d.ts +193 -193
  80. package/dist/namespaces/EntityStatics.d.ts.map +1 -1
  81. package/dist/namespaces/EntityStatics.js +263 -263
  82. package/dist/namespaces/Fire.d.ts +7 -7
  83. package/dist/namespaces/Fire.d.ts.map +1 -1
  84. package/dist/namespaces/Fire.js +9 -9
  85. package/dist/namespaces/Graphics.d.ts +820 -820
  86. package/dist/namespaces/Graphics.d.ts.map +1 -1
  87. package/dist/namespaces/Graphics.js +1118 -1118
  88. package/dist/namespaces/Hud.d.ts +494 -494
  89. package/dist/namespaces/Hud.d.ts.map +1 -1
  90. package/dist/namespaces/Hud.js +789 -789
  91. package/dist/namespaces/Inventory.d.ts +180 -180
  92. package/dist/namespaces/Inventory.d.ts.map +1 -1
  93. package/dist/namespaces/Inventory.js +239 -239
  94. package/dist/namespaces/Itemdatabase.d.ts +78 -78
  95. package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
  96. package/dist/namespaces/Itemdatabase.js +106 -106
  97. package/dist/namespaces/Map.d.ts +156 -156
  98. package/dist/namespaces/Map.d.ts.map +1 -1
  99. package/dist/namespaces/Map.js +207 -207
  100. package/dist/namespaces/Minigame.d.ts +78 -78
  101. package/dist/namespaces/Minigame.d.ts.map +1 -1
  102. package/dist/namespaces/Minigame.js +116 -116
  103. package/dist/namespaces/Missiondata.d.ts +15 -15
  104. package/dist/namespaces/Missiondata.d.ts.map +1 -1
  105. package/dist/namespaces/Missiondata.js +23 -23
  106. package/dist/namespaces/Network.d.ts +636 -636
  107. package/dist/namespaces/Network.d.ts.map +1 -1
  108. package/dist/namespaces/Network.js +915 -915
  109. package/dist/namespaces/Object.d.ts +121 -121
  110. package/dist/namespaces/Object.d.ts.map +1 -1
  111. package/dist/namespaces/Object.js +162 -162
  112. package/dist/namespaces/Pad.d.ts +94 -94
  113. package/dist/namespaces/Pad.d.ts.map +1 -1
  114. package/dist/namespaces/Pad.js +127 -127
  115. package/dist/namespaces/Perschar.d.ts +44 -44
  116. package/dist/namespaces/Perschar.d.ts.map +1 -1
  117. package/dist/namespaces/Perschar.js +68 -68
  118. package/dist/namespaces/Physics.d.ts +158 -158
  119. package/dist/namespaces/Physics.d.ts.map +1 -1
  120. package/dist/namespaces/Physics.js +207 -207
  121. package/dist/namespaces/PlayerStatics.d.ts +127 -127
  122. package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
  123. package/dist/namespaces/PlayerStatics.js +177 -177
  124. package/dist/namespaces/Population.d.ts +75 -75
  125. package/dist/namespaces/Population.d.ts.map +1 -1
  126. package/dist/namespaces/Population.js +101 -101
  127. package/dist/namespaces/Posse.d.ts +38 -38
  128. package/dist/namespaces/Posse.d.ts.map +1 -1
  129. package/dist/namespaces/Posse.js +62 -62
  130. package/dist/namespaces/Propset.d.ts +30 -30
  131. package/dist/namespaces/Propset.d.ts.map +1 -1
  132. package/dist/namespaces/Propset.js +38 -38
  133. package/dist/namespaces/Shapetest.d.ts +11 -11
  134. package/dist/namespaces/Shapetest.d.ts.map +1 -1
  135. package/dist/namespaces/Shapetest.js +13 -13
  136. package/dist/namespaces/Stats.d.ts +88 -88
  137. package/dist/namespaces/Stats.d.ts.map +1 -1
  138. package/dist/namespaces/Stats.js +123 -123
  139. package/dist/namespaces/Streaming.d.ts +58 -58
  140. package/dist/namespaces/Streaming.d.ts.map +1 -1
  141. package/dist/namespaces/Streaming.js +92 -92
  142. package/dist/namespaces/Task.d.ts +62 -62
  143. package/dist/namespaces/Task.d.ts.map +1 -1
  144. package/dist/namespaces/Task.js +90 -90
  145. package/dist/namespaces/Telemetry.d.ts +172 -172
  146. package/dist/namespaces/Telemetry.d.ts.map +1 -1
  147. package/dist/namespaces/Telemetry.js +240 -240
  148. package/dist/namespaces/Uifeed.d.ts +15 -15
  149. package/dist/namespaces/Uifeed.d.ts.map +1 -1
  150. package/dist/namespaces/Uifeed.js +24 -24
  151. package/dist/namespaces/Voice.d.ts +38 -38
  152. package/dist/namespaces/Voice.d.ts.map +1 -1
  153. package/dist/namespaces/Voice.js +56 -56
  154. package/dist/namespaces/Water.d.ts +27 -27
  155. package/dist/namespaces/Water.d.ts.map +1 -1
  156. package/dist/namespaces/Water.js +41 -41
  157. package/dist/namespaces/WeaponStatics.d.ts +250 -250
  158. package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
  159. package/dist/namespaces/WeaponStatics.js +346 -346
  160. package/package.json +1 -1
  161. package/src/classes/AnimScene.ts +199 -199
  162. package/src/classes/BaseModel.ts +29 -29
  163. package/src/classes/BaseTask.ts +15 -15
  164. package/src/classes/Cam.ts +135 -135
  165. package/src/classes/Entity.ts +687 -687
  166. package/src/classes/PedTask.ts +223 -223
  167. package/src/classes/PersChar.ts +24 -24
  168. package/src/classes/Pickup.ts +10 -10
  169. package/src/classes/Player.ts +1024 -1024
  170. package/src/classes/Prop.ts +136 -136
  171. package/src/classes/PropSet.ts +7 -7
  172. package/src/classes/VehicleTask.ts +23 -23
  173. package/src/classes/Weapon.ts +429 -429
  174. package/src/namespaces/Animscene.ts +86 -86
  175. package/src/namespaces/Audio.ts +804 -804
  176. package/src/namespaces/Bounty.ts +131 -131
  177. package/src/namespaces/Brain.ts +22 -22
  178. package/src/namespaces/CamStatics.ts +599 -599
  179. package/src/namespaces/Clock.ts +82 -82
  180. package/src/namespaces/Collection.ts +109 -109
  181. package/src/namespaces/Companion.ts +34 -34
  182. package/src/namespaces/Compendium.ts +59 -59
  183. package/src/namespaces/Crashlog.ts +16 -16
  184. package/src/namespaces/Crew.ts +16 -16
  185. package/src/namespaces/Databinding.ts +286 -286
  186. package/src/namespaces/Dlc.ts +9 -9
  187. package/src/namespaces/EntityStatics.ts +279 -279
  188. package/src/namespaces/Fire.ts +10 -10
  189. package/src/namespaces/Graphics.ts +1196 -1196
  190. package/src/namespaces/Hud.ts +799 -799
  191. package/src/namespaces/Inventory.ts +245 -245
  192. package/src/namespaces/Itemdatabase.ts +118 -118
  193. package/src/namespaces/Map.ts +215 -215
  194. package/src/namespaces/Minigame.ts +132 -132
  195. package/src/namespaces/Missiondata.ts +27 -27
  196. package/src/namespaces/Network.ts +951 -951
  197. package/src/namespaces/Object.ts +171 -171
  198. package/src/namespaces/Pad.ts +127 -127
  199. package/src/namespaces/Perschar.ts +72 -72
  200. package/src/namespaces/Physics.ts +231 -231
  201. package/src/namespaces/PlayerStatics.ts +202 -202
  202. package/src/namespaces/Population.ts +114 -114
  203. package/src/namespaces/Posse.ts +62 -62
  204. package/src/namespaces/Propset.ts +42 -42
  205. package/src/namespaces/Shapetest.ts +14 -14
  206. package/src/namespaces/Stats.ts +139 -139
  207. package/src/namespaces/Streaming.ts +104 -104
  208. package/src/namespaces/Task.ts +100 -100
  209. package/src/namespaces/Telemetry.ts +265 -265
  210. package/src/namespaces/Uifeed.ts +27 -27
  211. package/src/namespaces/Voice.ts +65 -65
  212. package/src/namespaces/Water.ts +47 -47
  213. package/src/namespaces/WeaponStatics.ts +365 -365
@@ -5,285 +5,440 @@ import type { Volume } from '../classes/Volume';
5
5
  import { Vector3 } from '../types/Vector3';
6
6
  export declare class Hud {
7
7
  /**
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.
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
10
13
  *
11
- * @param prompt
12
- * @param mashes
13
- * @param decreaseSpeed
14
- * @param startProgress
14
+ * @param labelHash
15
+ * @returns
15
16
  */
16
- static uiPromptSetMashWithResistanceCanFailMode(prompt: number, mashes: number, decreaseSpeed: number, startProgress: number): void;
17
+ static getStringFromHashKey(labelHash: string | number): string | null;
18
+ /**
19
+ * @param textBlock
20
+ * @returns
21
+ */
22
+ static textBlockIsLoaded(textBlock: string | null): any;
17
23
  /**
18
24
  * @param prompt
19
- * @param p1
20
- * @param p2
25
+ * @returns
21
26
  */
22
- static uiPromptSetTargetModeTarget(prompt: number, p1: number, p2: number): void;
27
+ static uiPromptHasMashMode(prompt: number): any;
28
+ /**
29
+ * @param p0
30
+ * @param name
31
+ */
32
+ static setMissionNameForUgcMission(p0: boolean, name: string | null): void;
33
+ /**
34
+ * @returns
35
+ */
36
+ static busyspinnerIsOn(): boolean;
23
37
  /**
24
38
  * @param prompt
25
39
  * @param p1
26
- * @param p2
27
- * @param p3
28
- * @param p4
29
40
  */
30
- static uiPromptSetMashManualCanFailMode(prompt: number, p1: number, p2: number, p3: number, p4: any): void;
41
+ static uiPromptSetTag(prompt: number, p1: any): void;
42
+ /**
43
+ * @param gamerTagId
44
+ * @param string
45
+ */
46
+ static setMpGamerTagName(gamerTagId: number, string: string | null): void;
31
47
  /**
32
48
  * @param prompt
33
- * @param p1
34
- * @param p2
35
- * @param p3
49
+ * @param progress
36
50
  */
37
- static uiPromptSetTargetMode(prompt: number, p1: number, p2: number, p3: any): void;
51
+ static uiPromptSetTargetModeProgress(prompt: number, progress: number): void;
38
52
  /**
39
53
  * @param prompt
40
- * @param autoFillTimeMs
41
- * @param mashes
42
54
  */
43
- static uiPromptSetMashAutoFillMode(prompt: number, autoFillTimeMs: number, mashes: number): void;
55
+ static uiPromptSetMashIndefinitelyMode(prompt: number): void;
56
+ static uiPromptDisablePromptsThisFrame(): void;
44
57
  /**
45
58
  * @param prompt
46
59
  * @param toggle
47
60
  */
48
- static uiPromptSetBeatMode(prompt: number, toggle: boolean): void;
61
+ static uiPromptSetUrgentPulsingEnabled(prompt: number, toggle: boolean): void;
49
62
  /**
50
- * Similar to 0x9D7E12EC6A1EE4E5(GET_TEXT_SUBSTRING) but starts at the beginning of the string
63
+ * Note: you must use VAR_STRING for p1 if string is not part of text database
64
+ * tabAmount: specifies number of tabs in prompt group
65
+ * tabDefaultIndex: specifies starting index
66
+ * p3 if is set > 3 you can no longer press Q to change tab if there are more than one tab set in tabAmount
51
67
  *
52
- * @param text
53
- * @param length
68
+ * @param hash
69
+ * @param name
70
+ * @param tabAmount
71
+ * @param tabDefaultIndex
72
+ * @param p4
73
+ * @param prompt
54
74
  * @returns
55
75
  */
56
- static getTextSubstring2(text: string | null, length: number): string | null;
76
+ static uiPromptSetActiveGroupThisFrame(hash: string | number, name: string | null, tabAmount: number, tabDefaultIndex: number, p4: number, prompt: number): any;
57
77
  /**
58
78
  * @param p0
59
- * @param prompt
79
+ * @param p1
60
80
  * @param p2
81
+ * @returns
61
82
  */
62
- static uiPromptAddGroupLink(p0: any, prompt: number, p2: any): void;
63
- /**
64
- * @param gamerTagId
65
- */
66
- static mpGamerTagEnableReviveTopIcon(gamerTagId: number): void;
83
+ static journalGetTextureWithLayout(p0: any, p1: any, p2: any): any;
67
84
  /**
68
- * @param p0
69
- * @param p1
85
+ * @param prompt
86
+ * @returns
70
87
  */
71
- static N_0x8A59D44189AF2BC5(p0: any, p1: any): void;
88
+ static uiPromptIsEnabled(prompt: number): any;
72
89
  /**
73
90
  * @param prompt
74
- * @param p1
91
+ * @returns
75
92
  */
76
- static uiPromptSetOrderingAsInputType(prompt: number, p1: any): void;
93
+ static uiPromptGetUrgentPulsingEnabled(prompt: number): boolean;
77
94
  /**
78
- * @param p0
95
+ * @param scale
96
+ * @param size
79
97
  */
80
- static journalMarkRead(p0: any): void;
98
+ static setTextScale(scale: number, size: number): void;
81
99
  /**
100
+ * Found icons: SPEAKER, THROPY
101
+ *
82
102
  * @param gamerTagId
83
- * @param entity
84
- * @returns
103
+ * @param icon
85
104
  */
86
- static isMpGamerTagActiveOnEntity(gamerTagId: number, entity: Entity): any;
105
+ static setMpGamerTagSecondaryIcon(gamerTagId: number, icon: string | number): void;
87
106
  /**
88
- * @param gamerTagId
89
- * @param string
107
+ * Disables reduced time scale while menus such as weapon wheel and satchel are open.
90
108
  */
91
- static setMpGamerTagBigText(gamerTagId: number, string: string | null): void;
109
+ static disableReducedMenuTimeScale(): void;
92
110
  /**
93
111
  * @param prompt
94
- * @param radius
112
+ * @param p1
95
113
  */
96
- static uiPromptContextSetRadius(prompt: number, radius: number): void;
114
+ static uiPromptSetBeatModeGrayedOut(prompt: number, p1: any): void;
97
115
  /**
116
+ * TM_ANY = 0,
117
+ * TM_ON_FOOT,
118
+ * TM_IN_VEHICLE
119
+ *
98
120
  * @param prompt
99
- * @param toggle
121
+ * @param mode
100
122
  */
101
- static uiPromptSetVisible(prompt: number, toggle: boolean): void;
123
+ static uiPromptSetTransportMode(prompt: number, mode: number): void;
102
124
  /**
103
- * @param p0
104
- * @param p1
105
125
  * @returns
106
126
  */
107
- static uiRequestScene(p0: any, p1: any): any;
127
+ static uiPromptRegisterBegin(): number;
108
128
  /**
109
- * @param entity
110
- * @param text
129
+ * This returns an id that can be used with 0x6095358C4142932A.
130
+ *
111
131
  * @returns
112
132
  */
113
- static createMpGamerTagOnEntity(entity: Entity, text: string | null): number;
133
+ static uiPromptSetRegisterHorizontalOrientation(): number;
114
134
  /**
115
- * @param p0
135
+ * @param prompt
116
136
  * @returns
117
137
  */
118
- static journalCanWriteEntry(p0: any): any;
138
+ static uiPromptHasPressedTimedModeCompleted(prompt: number): any;
119
139
  /**
120
- * @param prompt
140
+ * @param p0
121
141
  * @param p1
122
142
  */
123
- static uiPromptSetManualResolved(prompt: number, p1: any): void;
143
+ static uiMovieviewSetRenderTarget(p0: any, p1: any): void;
124
144
  /**
125
- * @param inputHash
126
- * @param labelName
127
- * @param p2
128
- * @param p3
129
- * @param p4
130
- * @param p5
145
+ * @param p0
131
146
  * @returns
132
147
  */
133
- static uiPromptCreate(inputHash: string | number, labelName: string | null, p2: any, p3: any, p4: any, p5: number): number;
148
+ static journalGetEntryAtIndex(p0: any): any;
134
149
  /**
150
+ * Attaches a Volume
151
+ *
135
152
  * @param prompt
136
- * @param p1
137
- */
138
- static uiPromptSetSpinnerSpeed(prompt: number, p1: any): void;
139
- /**
140
- * @param name
141
- * @returns
153
+ * @param volume
142
154
  */
143
- static isNamedRendertargetRegistered(name: string | null): boolean;
155
+ static uiPromptContextSetVolume(prompt: number, volume: Volume): void;
144
156
  /**
145
- * @param p0
157
+ * Params: p1 is 0
158
+ *
159
+ * @param prompt
146
160
  * @param p1
161
+ * @returns
147
162
  */
148
- static N_0x052D4AC0922AF91A(p0: any, p1: any): void;
163
+ static uiPromptHasStandardModeCompleted(prompt: number, p1: number): boolean;
149
164
  /**
150
165
  * @param prompt
166
+ * @returns
151
167
  */
152
- static uiPromptDelete(prompt: number): void;
168
+ static uiPromptIsValid(prompt: number): boolean;
153
169
  /**
154
- * Gets a string literal from a label name. Old name: _GET_LABEL_TEXT
170
+ * If Hud should be displayed
155
171
  *
156
- * @param labelName
157
- * @returns
172
+ * @param toggle
158
173
  */
159
- static getFilenameForAudioConversation(labelName: string | null): string | null;
160
- static N_0x5651516D947ABC53(): void;
174
+ static displayHud(toggle: boolean): void;
161
175
  /**
162
- * @param renderId
176
+ * @returns
163
177
  */
164
- static setTextRenderId(renderId: number): void;
178
+ static isRadarHidden(): boolean;
165
179
  /**
166
- * @param distance
167
- * @param r
168
- * @param g
169
- * @param b
170
- * @param a
180
+ * @param gamerTagId
171
181
  */
172
- static setTextDropshadow(distance: number, r: number, g: number, b: number, a: number): void;
182
+ static removeMpGamerTag(gamerTagId: number): void;
173
183
  /**
174
- * @param label
175
- * @returns
184
+ * @param prompt
185
+ * @param action
176
186
  */
177
- static getLabelText2(label: string | null): string | null;
187
+ static uiPromptSetAllowedAction(prompt: number, action: string | number): void;
178
188
  /**
179
- * @returns
189
+ * @param p0
190
+ * @param name
180
191
  */
181
- static journalGetEntryCount(): any;
182
- static journalClearAllProgress(): void;
192
+ static setMissionName(p0: boolean, name: string | null): void;
183
193
  /**
184
- * @param modelHash
194
+ * @param gamerTagId
185
195
  */
186
- static linkNamedRendertarget(modelHash: string | number): void;
196
+ static mpGamerTagDisableReviveTopIcon(gamerTagId: number): void;
187
197
  /**
188
- * Returns the label text given the hash. Old name: _GET_LABEL_TEXT_BY_HASH
198
+ * standard (prompt not held) rate: 0.035f
199
+ * fast (prompt held) rate: 0.015f
200
+ * punitive (been hit) rate: 0.14f
189
201
  *
190
- * @param labelHash
191
- * @returns
202
+ * @param prompt
203
+ * @param speed
192
204
  */
193
- static getStringFromHashKey(labelHash: string | number): string | null;
205
+ static uiPromptSetMashManualModeDecaySpeed(prompt: number, speed: number): void;
194
206
  /**
195
- * @param textBlock
207
+ * @param hash
196
208
  * @returns
197
209
  */
198
- static textBlockIsLoaded(textBlock: string | null): any;
210
+ static uiPromptDoesAmbientGroupExist(hash: string | number): boolean;
199
211
  /**
200
- * @param prompt
212
+ * @param p0
201
213
  * @returns
202
214
  */
203
- static uiPromptHasMashMode(prompt: number): any;
215
+ static N_0x7EC0D68233E391AC(p0: number): number;
204
216
  /**
205
- * @param player
206
- * @param username
207
- * @param pointedClanTag
208
- * @param isRockstarClan
209
- * @param clanTag
210
- * @param clanFlag
211
- * @returns
217
+ * nullsub, doesn't do anything
212
218
  */
213
- static createMpGamerTag(player: Player, username: string | null, pointedClanTag: boolean, isRockstarClan: boolean, clanTag: string | null, clanFlag: number): number;
219
+ static N_0xBFFF81E12A745A5F(): void;
214
220
  /**
215
- * @param state
221
+ * @param uiscene
216
222
  */
217
- static showPlayerCores(state: boolean): void;
223
+ static N_0xF1E6979C0B779985(uiscene: number): void;
218
224
  /**
219
- * Params: p2 is 304000 in R* SP Script coachrobberies
225
+ * nullsub, this native does nothing since build 1436, use _BG_DISPLAY_TEXT instead.
220
226
  *
221
- * @param prompt
222
- * @param holdTimeMs
227
+ * @param text
228
+ * @param xPos
229
+ * @param yPos
223
230
  */
224
- static uiPromptSetHoldMode(prompt: number, holdTimeMs: number): void;
231
+ static displayText(text: string | null, xPos: number, yPos: number): void;
225
232
  /**
226
233
  * @param prompt
234
+ * @returns
227
235
  */
228
- static uiPromptSetHoldIndefinitelyMode(prompt: number): void;
229
- static hideLoadingOnFadeThisFrame(): void;
236
+ static uiPromptIsJustPressed(prompt: number): boolean;
230
237
  /**
231
238
  * @param gamerTagId
232
- * @param colour
239
+ * @param text
233
240
  */
234
- static setMpGamerTagColour(gamerTagId: number, colour: string | number): void;
235
- static N_0x160825DADF1B04B3(): void;
241
+ static setMpGamerTagNamePosse(gamerTagId: number, text: string | null): void;
236
242
  /**
237
- * @param prompt
238
- * @param p1
243
+ * @returns
244
+ */
245
+ static isSubtitlePreferenceSwitchedOn(): boolean;
246
+ /**
247
+ * @param prompt
248
+ * @returns
249
+ */
250
+ static uiPromptIsActive(prompt: number): boolean;
251
+ /**
252
+ * @param prompt
253
+ * @param mashes
254
+ */
255
+ static uiPromptSetMashMode(prompt: number, mashes: number): void;
256
+ static hideHudThisFrame(): void;
257
+ /**
258
+ * @param prompt
259
+ * @param releaseMode
260
+ */
261
+ static uiPromptSetStandardMode(prompt: number, releaseMode: boolean): void;
262
+ /**
263
+ * @param hash
264
+ * @returns
265
+ */
266
+ static uiPromptGetGroupActivePage(hash: string | number): number;
267
+ /**
268
+ * Enables reduced time scale while menus such as weapon wheel and satchel are open.
269
+ */
270
+ static enableReducedMenuTimeScale(): void;
271
+ /**
272
+ * For startProgress, 0.0f - 1.0f is a percentage value, so 0.5f = 50% progress. Range: 0.0f - 1.0f
273
+ * For decreaseSpeed, 0.0f will result in the prompt not showing the mash progress at all. 0.01f - ?.0f. At speeds around 7.0f to 8.0f the prompt basically fails immediately if you don't start mashing right away.
274
+ *
275
+ * @param prompt
276
+ * @param mashes
277
+ * @param decreaseSpeed
278
+ * @param startProgress
279
+ */
280
+ static uiPromptSetMashWithResistanceCanFailMode(prompt: number, mashes: number, decreaseSpeed: number, startProgress: number): void;
281
+ /**
282
+ * @param prompt
283
+ * @param p1
284
+ * @param p2
285
+ */
286
+ static uiPromptSetTargetModeTarget(prompt: number, p1: number, p2: number): void;
287
+ /**
288
+ * @param prompt
289
+ * @param p1
239
290
  * @param p2
240
291
  * @param p3
241
292
  * @param p4
242
293
  */
243
- static uiPromptSetMashManualMode(prompt: number, p1: number, p2: number, p3: number, p4: any): void;
294
+ static uiPromptSetMashManualCanFailMode(prompt: number, p1: number, p2: number, p3: number, p4: any): void;
244
295
  /**
245
- * attribute: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eUIPromptAttribute
246
- *
247
296
  * @param prompt
248
- * @param attribute
249
- * @param enabled
297
+ * @param p1
298
+ * @param p2
299
+ * @param p3
250
300
  */
251
- static uiPromptSetAttribute(prompt: number, attribute: number, enabled: boolean): void;
301
+ static uiPromptSetTargetMode(prompt: number, p1: number, p2: number, p3: any): void;
252
302
  /**
253
- * priority: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/ePromptPriority
254
- *
255
303
  * @param prompt
256
- * @param priority
304
+ * @param autoFillTimeMs
305
+ * @param mashes
257
306
  */
258
- static uiPromptSetPriority(prompt: number, priority: number): void;
307
+ static uiPromptSetMashAutoFillMode(prompt: number, autoFillTimeMs: number, mashes: number): void;
259
308
  /**
260
- * https://github.com/femga/rdr3_discoveries/tree/master/graphics/HUD/prompts/prompt_types
309
+ * @param prompt
310
+ * @param toggle
311
+ */
312
+ static uiPromptSetBeatMode(prompt: number, toggle: boolean): void;
313
+ /**
314
+ * Similar to 0x9D7E12EC6A1EE4E5(GET_TEXT_SUBSTRING) but starts at the beginning of the string
261
315
  *
316
+ * @param text
317
+ * @param length
318
+ * @returns
319
+ */
320
+ static getTextSubstring2(text: string | null, length: number): string | null;
321
+ /**
322
+ * @param p0
323
+ * @param prompt
324
+ * @param p2
325
+ */
326
+ static uiPromptAddGroupLink(p0: any, prompt: number, p2: any): void;
327
+ /**
328
+ * @param gamerTagId
329
+ */
330
+ static mpGamerTagEnableReviveTopIcon(gamerTagId: number): void;
331
+ /**
262
332
  * @param p0
333
+ * @param p1
263
334
  */
264
- static uiPromptEnablePromptTypeThisFrame(p0: number): void;
335
+ static N_0x8A59D44189AF2BC5(p0: any, p1: any): void;
265
336
  /**
266
- * Returns the length of the string passed (much like strlen).
267
- *
337
+ * @param prompt
338
+ * @param p1
339
+ */
340
+ static uiPromptSetOrderingAsInputType(prompt: number, p1: any): void;
341
+ /**
342
+ * @param p0
343
+ */
344
+ static journalMarkRead(p0: any): void;
345
+ /**
346
+ * @param gamerTagId
347
+ * @param entity
348
+ * @returns
349
+ */
350
+ static isMpGamerTagActiveOnEntity(gamerTagId: number, entity: Entity): any;
351
+ /**
352
+ * @param gamerTagId
268
353
  * @param string
354
+ */
355
+ static setMpGamerTagBigText(gamerTagId: number, string: string | null): void;
356
+ /**
357
+ * @param prompt
358
+ * @param radius
359
+ */
360
+ static uiPromptContextSetRadius(prompt: number, radius: number): void;
361
+ /**
362
+ * @param prompt
363
+ * @param toggle
364
+ */
365
+ static uiPromptSetVisible(prompt: number, toggle: boolean): void;
366
+ /**
367
+ * @param prompt
368
+ * @param p1
369
+ */
370
+ static N_0x53CE46C01A089DA1(prompt: number, p1: boolean): void;
371
+ /**
372
+ * @param p0
269
373
  * @returns
270
374
  */
271
- static getLengthOfLiteralString(string: string | null): number;
375
+ static uiGetSceneUiobject(p0: any): any;
376
+ /**
377
+ * @param p0
378
+ * @param p1
379
+ */
380
+ static N_0x958278B97C4AFFD8(p0: any, p1: any): void;
272
381
  /**
273
382
  * @param prompt
383
+ * @returns
274
384
  */
275
- static uiPromptRegisterEnd(prompt: number): void;
385
+ static uiPromptGetProgress(prompt: number): number;
276
386
  /**
277
- * nullsub, doesn't do anything
387
+ * @param prompt
388
+ * @returns
278
389
  */
279
- static N_0x2F7BB105144ACF30(): void;
390
+ static uiPromptIsPressed(prompt: number): boolean;
280
391
  /**
281
- * Old name: _DISPLAY_HUD_COMPONENT
392
+ * Note: you must use VAR_STRING. Byte code very similar to TEXT_COMMAND_DISPLAY_TEXT in V
393
+ * Old name: _GET_TEXT_SUBSTRING
282
394
  *
283
- * @param component
395
+ * @param text
396
+ * @param position
397
+ * @param length
398
+ * @returns
284
399
  */
285
- static disableHudContext(component: string | number): void;
286
- static forceCloseTextInputBox(): void;
400
+ static getCharacterFromAudioConversationFilename(text: string | null, position: number, length: number): string | null;
401
+ /**
402
+ * @param p0
403
+ * @param p1
404
+ */
405
+ static N_0x9D37EB5003E0F2CF(p0: any, p1: any): void;
406
+ static uiPromptClearPromptPriorityPreference(): void;
407
+ /**
408
+ * @param prompt
409
+ * @param depletionTimeMs
410
+ */
411
+ static uiPromptSetPressedTimedMode(prompt: number, depletionTimeMs: number): void;
412
+ /**
413
+ * @param prompt
414
+ * @param toggle
415
+ */
416
+ static uiPromptSetEnabled(prompt: number, toggle: boolean): void;
417
+ static uiPromptFilterClear(): void;
418
+ /**
419
+ * tabIndex: specifies tab of prompt
420
+ *
421
+ * @param prompt
422
+ * @param groupId
423
+ * @param tabIndex
424
+ */
425
+ static uiPromptSetGroup(prompt: number, groupId: number, tabIndex: number): void;
426
+ /**
427
+ * @param text
428
+ */
429
+ static busyspinnerSetText(text: string | null): void;
430
+ /**
431
+ * Returns the hash of the currently highlighted item in the weapon wheel.
432
+ * 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.
433
+ *
434
+ * @returns
435
+ */
436
+ static weaponWheelGetSelectedItemHash(): any;
437
+ /**
438
+ * @returns
439
+ */
440
+ static isRadarPreferenceSwitchedOn(): boolean;
441
+ static clearAllHelpMessages(): void;
287
442
  /**
288
443
  * @param p0
289
444
  * @returns
@@ -471,64 +626,147 @@ export declare class Hud {
471
626
  */
472
627
  static setTextCentre(align: boolean): void;
473
628
  /**
474
- * @param prompt
629
+ * @param p0
475
630
  * @returns
476
631
  */
477
- static uiPromptHasMashModeFailed(prompt: number): boolean;
632
+ static N_0xD6BD313CFA41E57A(p0: any): any;
478
633
  /**
479
- * @param prompt
480
634
  * @returns
481
635
  */
482
- static uiPromptHasManualMashMode(prompt: number): any;
636
+ static isMultiplayerChatActive(): boolean;
637
+ static disableFrontendThisFrame(): void;
483
638
  /**
484
639
  * @param prompt
485
640
  * @returns
486
641
  */
487
- static uiPromptHasMashModeCompleted(prompt: number): boolean;
642
+ static uiPromptGetMashModeProgress(prompt: number): number;
488
643
  /**
489
- * @param prompt
490
- * @param p1
644
+ * @param groupId
645
+ * @param volume
646
+ * @param p2
647
+ * @param p3
648
+ * @param p4
649
+ * @param p5
650
+ * @returns
491
651
  */
492
- static uiPromptSetSpinnerPosition(prompt: number, p1: any): void;
652
+ static N_0x8B55B324A9123F6B(groupId: number, volume: Volume, p2: string | null, p3: any, p4: any, p5: any): any;
493
653
  /**
494
- * @param p0
654
+ * @param entity
655
+ * @returns
495
656
  */
496
- static journalWriteEntry(p0: any): void;
657
+ static uiPromptGetGroupIdForTargetEntity(entity: Entity): number;
497
658
  /**
498
- * @param state
659
+ * Old name: _ALLOW_PAUSE_MENU_WHEN_DEAD_THIS_FRAME
499
660
  */
500
- static showHorseCores(state: boolean): void;
661
+ static allowPauseWhenNotInStateOfPlayThisFrame(): void;
501
662
  /**
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?
504
- *
505
663
  * @param p0
664
+ * @param p1
506
665
  * @returns
507
666
  */
508
- static getNearHorse(p0: number): any;
667
+ static uiPromptGetGroupIdForScenarioPoint(p0: any, p1: number): number;
509
668
  /**
510
- * @param prompt
669
+ * nullsub, doesn't do anything
670
+ *
671
+ * @param gamerTagId
672
+ * @param allow
511
673
  */
512
- static uiPromptRestartModes(prompt: number): void;
674
+ static setMpGamerTagUnkAllowLocalized(gamerTagId: number, allow: boolean): void;
513
675
  /**
514
- * @param prompt
515
- * @param mashes
516
- * @param p2
517
- * @param p3
676
+ * @param ped
518
677
  */
519
- static uiPromptSetMashWithResistanceMode(prompt: number, mashes: number, p2: number, p3: number): void;
678
+ static uiPromptSetPromptPriorityPreference(ped: Ped): void;
520
679
  /**
521
- * @param p0
522
- * @param p1
523
- * @param p2
524
- * @returns
680
+ * @param textBlock
525
681
  */
526
- static N_0x806862E5D266CF38(p0: any, p1: any, p2: any): any;
682
+ static textBlockDelete(textBlock: string | null): void;
527
683
  /**
528
- * @param gamerTagId
684
+ * Returns true when either Pause Menu, a Frontend Menu, Online Policies menu or Social Club menu is active.
685
+ *
529
686
  * @returns
530
687
  */
531
- static isMpGamerTagActive(gamerTagId: number): boolean;
688
+ static isPauseMenuActive(): boolean;
689
+ /**
690
+ * @param controlAction
691
+ * @returns
692
+ */
693
+ static uiPromptIsControlActionActive(controlAction: string | number): any;
694
+ /**
695
+ * @param textBlock
696
+ * @returns
697
+ */
698
+ static textBlockIsStreamed(textBlock: string | null): any;
699
+ /**
700
+ * @param worldX
701
+ * @param worldY
702
+ * @param worldZ
703
+ * @returns screenX; screenY
704
+ */
705
+ static getHudScreenPositionFromWorldPosition(worldX: number, worldY: number, worldZ: number): [boolean, number, number];
706
+ /**
707
+ * @param prompt
708
+ * @returns
709
+ */
710
+ static uiPromptHasHoldMode(prompt: number): any;
711
+ /**
712
+ * @param prompt
713
+ * @returns
714
+ */
715
+ static uiPromptHasMashModeFailed(prompt: number): boolean;
716
+ /**
717
+ * @param prompt
718
+ * @returns
719
+ */
720
+ static uiPromptHasManualMashMode(prompt: number): any;
721
+ /**
722
+ * @param prompt
723
+ * @returns
724
+ */
725
+ static uiPromptHasMashModeCompleted(prompt: number): boolean;
726
+ /**
727
+ * @param prompt
728
+ * @param p1
729
+ */
730
+ static uiPromptSetSpinnerPosition(prompt: number, p1: any): void;
731
+ /**
732
+ * @param p0
733
+ */
734
+ static journalWriteEntry(p0: any): void;
735
+ /**
736
+ * @param state
737
+ */
738
+ static showHorseCores(state: boolean): void;
739
+ /**
740
+ * This native accepts 1 as parameter in the decompiles
741
+ * 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?
742
+ *
743
+ * @param p0
744
+ * @returns
745
+ */
746
+ static getNearHorse(p0: number): any;
747
+ /**
748
+ * @param prompt
749
+ */
750
+ static uiPromptRestartModes(prompt: number): void;
751
+ /**
752
+ * @param prompt
753
+ * @param mashes
754
+ * @param p2
755
+ * @param p3
756
+ */
757
+ static uiPromptSetMashWithResistanceMode(prompt: number, mashes: number, p2: number, p3: number): void;
758
+ /**
759
+ * @param p0
760
+ * @param p1
761
+ * @param p2
762
+ * @returns
763
+ */
764
+ static N_0x806862E5D266CF38(p0: any, p1: any, p2: any): any;
765
+ /**
766
+ * @param gamerTagId
767
+ * @returns
768
+ */
769
+ static isMpGamerTagActive(gamerTagId: number): boolean;
532
770
  /**
533
771
  * Hashes: SHORT_TIMED_EVENT_MP, SHORT_TIMED_EVENT, MEDIUM_TIMED_EVENT, LONG_TIMED_EVENT, RUSTLING_CALM_TIMING, PLAYER_FOCUS_TIMING, PLAYER_REACTION_TIMING
534
772
  *
@@ -653,406 +891,168 @@ export declare class Hud {
653
891
  */
654
892
  static uiPromptClearHorizontalOrientation(id: number): void;
655
893
  /**
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
- *
664
- * @param prompt
665
- * @param speed
666
- */
667
- static uiPromptSetMashManualModeDecaySpeed(prompt: number, speed: number): void;
668
- /**
669
- * @param hash
670
- * @returns
671
- */
672
- static uiPromptDoesAmbientGroupExist(hash: string | number): boolean;
673
- /**
674
- * @param p0
894
+ * @param player
895
+ * @param username
896
+ * @param pointedClanTag
897
+ * @param isRockstarClan
898
+ * @param clanTag
899
+ * @param clanFlag
675
900
  * @returns
676
901
  */
677
- static N_0x7EC0D68233E391AC(p0: number): number;
678
- /**
679
- * nullsub, doesn't do anything
680
- */
681
- static N_0xBFFF81E12A745A5F(): void;
902
+ static createMpGamerTag(player: Player, username: string | null, pointedClanTag: boolean, isRockstarClan: boolean, clanTag: string | null, clanFlag: number): number;
682
903
  /**
683
- * @param uiscene
904
+ * @param state
684
905
  */
685
- static N_0xF1E6979C0B779985(uiscene: number): void;
906
+ static showPlayerCores(state: boolean): void;
686
907
  /**
687
- * nullsub, this native does nothing since build 1436, use _BG_DISPLAY_TEXT instead.
908
+ * Params: p2 is 304000 in R* SP Script coachrobberies
688
909
  *
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
696
- * @returns
697
- */
698
- static uiPromptIsJustPressed(prompt: number): boolean;
699
- /**
700
- * @param gamerTagId
701
- * @param text
702
- */
703
- static setMpGamerTagNamePosse(gamerTagId: number, text: string | null): void;
704
- /**
705
- * @returns
706
- */
707
- static isSubtitlePreferenceSwitchedOn(): boolean;
708
- /**
709
910
  * @param prompt
710
- * @returns
711
- */
712
- static uiPromptIsActive(prompt: number): boolean;
713
- /**
714
- * @param prompt
715
- * @param mashes
911
+ * @param holdTimeMs
716
912
  */
717
- static uiPromptSetMashMode(prompt: number, mashes: number): void;
718
- static hideHudThisFrame(): void;
913
+ static uiPromptSetHoldMode(prompt: number, holdTimeMs: number): void;
719
914
  /**
720
915
  * @param prompt
721
- * @param releaseMode
722
- */
723
- static uiPromptSetStandardMode(prompt: number, releaseMode: boolean): void;
724
- /**
725
- * @param hash
726
- * @returns
727
- */
728
- static uiPromptGetGroupActivePage(hash: string | number): number;
729
- /**
730
- * Enables reduced time scale while menus such as weapon wheel and satchel are open.
731
- */
732
- static enableReducedMenuTimeScale(): void;
733
- /**
734
- * @param p0
735
- * @returns
736
916
  */
737
- static N_0xD6BD313CFA41E57A(p0: any): any;
917
+ static uiPromptSetHoldIndefinitelyMode(prompt: number): void;
918
+ static hideLoadingOnFadeThisFrame(): void;
738
919
  /**
739
- * @returns
920
+ * @param gamerTagId
921
+ * @param colour
740
922
  */
741
- static isMultiplayerChatActive(): boolean;
742
- static disableFrontendThisFrame(): void;
923
+ static setMpGamerTagColour(gamerTagId: number, colour: string | number): void;
924
+ static N_0x160825DADF1B04B3(): void;
743
925
  /**
744
926
  * @param prompt
745
- * @returns
746
- */
747
- static uiPromptGetMashModeProgress(prompt: number): number;
748
- /**
749
- * @param groupId
750
- * @param volume
927
+ * @param p1
751
928
  * @param p2
752
929
  * @param p3
753
930
  * @param p4
754
- * @param p5
755
- * @returns
756
- */
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;
767
- /**
768
- * @param p0
769
- * @param p1
770
- * @returns
771
- */
772
- static uiPromptGetGroupIdForScenarioPoint(p0: any, p1: number): number;
773
- /**
774
- * nullsub, doesn't do anything
775
- *
776
- * @param gamerTagId
777
- * @param allow
778
- */
779
- static setMpGamerTagUnkAllowLocalized(gamerTagId: number, allow: boolean): void;
780
- /**
781
- * @param ped
782
931
  */
783
- static uiPromptSetPromptPriorityPreference(ped: Ped): void;
784
- /**
785
- * @param textBlock
786
- */
787
- static textBlockDelete(textBlock: string | null): void;
932
+ static uiPromptSetMashManualMode(prompt: number, p1: number, p2: number, p3: number, p4: any): void;
788
933
  /**
789
- * Returns true when either Pause Menu, a Frontend Menu, Online Policies menu or Social Club menu is active.
934
+ * attribute: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eUIPromptAttribute
790
935
  *
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
936
  * @param prompt
813
- * @returns
814
- */
815
- static uiPromptHasHoldMode(prompt: number): any;
816
- /**
817
- * @param p0
818
- * @param name
819
- */
820
- static setMissionNameForUgcMission(p0: boolean, name: string | null): void;
821
- /**
822
- * @returns
823
- */
824
- static busyspinnerIsOn(): boolean;
825
- /**
826
- * @param prompt
827
- * @param p1
828
- */
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;
835
- /**
836
- * @param prompt
837
- * @param progress
838
- */
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
937
+ * @param attribute
938
+ * @param enabled
848
939
  */
849
- static uiPromptSetUrgentPulsingEnabled(prompt: number, toggle: boolean): void;
940
+ static uiPromptSetAttribute(prompt: number, attribute: number, enabled: boolean): void;
850
941
  /**
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
942
+ * priority: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/ePromptPriority
855
943
  *
856
- * @param hash
857
- * @param name
858
- * @param tabAmount
859
- * @param tabDefaultIndex
860
- * @param p4
861
944
  * @param prompt
862
- * @returns
945
+ * @param priority
863
946
  */
864
- static uiPromptSetActiveGroupThisFrame(hash: string | number, name: string | null, tabAmount: number, tabDefaultIndex: number, p4: number, prompt: number): any;
947
+ static uiPromptSetPriority(prompt: number, priority: number): void;
865
948
  /**
949
+ * https://github.com/femga/rdr3_discoveries/tree/master/graphics/HUD/prompts/prompt_types
950
+ *
866
951
  * @param p0
867
- * @param p1
868
- * @param p2
869
- * @returns
870
952
  */
871
- static journalGetTextureWithLayout(p0: any, p1: any, p2: any): any;
953
+ static uiPromptEnablePromptTypeThisFrame(p0: number): void;
872
954
  /**
873
- * @param prompt
955
+ * Returns the length of the string passed (much like strlen).
956
+ *
957
+ * @param string
874
958
  * @returns
875
959
  */
876
- static uiPromptIsEnabled(prompt: number): any;
960
+ static getLengthOfLiteralString(string: string | null): number;
877
961
  /**
878
962
  * @param prompt
879
- * @returns
880
963
  */
881
- static uiPromptGetUrgentPulsingEnabled(prompt: number): boolean;
964
+ static uiPromptRegisterEnd(prompt: number): void;
882
965
  /**
883
- * @param scale
884
- * @param size
966
+ * nullsub, doesn't do anything
885
967
  */
886
- static setTextScale(scale: number, size: number): void;
968
+ static N_0x2F7BB105144ACF30(): void;
887
969
  /**
888
- * Found icons: SPEAKER, THROPY
970
+ * Old name: _DISPLAY_HUD_COMPONENT
889
971
  *
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
- /**
899
- * @param prompt
900
- * @param p1
901
- */
902
- static uiPromptSetBeatModeGrayedOut(prompt: number, p1: any): void;
903
- /**
904
- * @param prompt
905
- * @param p1
906
- */
907
- static N_0x53CE46C01A089DA1(prompt: number, p1: boolean): void;
908
- /**
909
- * @param p0
910
- * @returns
972
+ * @param component
911
973
  */
912
- static uiGetSceneUiobject(p0: any): any;
974
+ static disableHudContext(component: string | number): void;
975
+ static forceCloseTextInputBox(): void;
913
976
  /**
914
977
  * @param p0
915
978
  * @param p1
916
- */
917
- static N_0x958278B97C4AFFD8(p0: any, p1: any): void;
918
- /**
919
- * @param prompt
920
979
  * @returns
921
980
  */
922
- static uiPromptGetProgress(prompt: number): number;
923
- /**
924
- * @param prompt
925
- * @returns
926
- */
927
- static uiPromptIsPressed(prompt: number): boolean;
981
+ static uiRequestScene(p0: any, p1: any): any;
928
982
  /**
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
- *
983
+ * @param entity
932
984
  * @param text
933
- * @param position
934
- * @param length
935
985
  * @returns
936
986
  */
937
- static getCharacterFromAudioConversationFilename(text: string | null, position: number, length: number): string | null;
987
+ static createMpGamerTagOnEntity(entity: Entity, text: string | null): number;
938
988
  /**
939
989
  * @param p0
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
- *
971
- * @returns
972
- */
973
- static weaponWheelGetSelectedItemHash(): any;
974
- /**
975
990
  * @returns
976
991
  */
977
- static isRadarPreferenceSwitchedOn(): boolean;
978
- static clearAllHelpMessages(): void;
992
+ static journalCanWriteEntry(p0: any): any;
979
993
  /**
980
- * TM_ANY = 0,
981
- * TM_ON_FOOT,
982
- * TM_IN_VEHICLE
983
- *
984
994
  * @param prompt
985
- * @param mode
995
+ * @param p1
986
996
  */
987
- static uiPromptSetTransportMode(prompt: number, mode: number): void;
997
+ static uiPromptSetManualResolved(prompt: number, p1: any): void;
988
998
  /**
999
+ * @param inputHash
1000
+ * @param labelName
1001
+ * @param p2
1002
+ * @param p3
1003
+ * @param p4
1004
+ * @param p5
989
1005
  * @returns
990
1006
  */
991
- static uiPromptRegisterBegin(): number;
1007
+ static uiPromptCreate(inputHash: string | number, labelName: string | null, p2: any, p3: any, p4: any, p5: number): number;
992
1008
  /**
993
- * This returns an id that can be used with 0x6095358C4142932A.
994
- *
995
- * @returns
1009
+ * @param prompt
1010
+ * @param p1
996
1011
  */
997
- static uiPromptSetRegisterHorizontalOrientation(): number;
1012
+ static uiPromptSetSpinnerSpeed(prompt: number, p1: any): void;
998
1013
  /**
999
- * @param prompt
1014
+ * @param name
1000
1015
  * @returns
1001
1016
  */
1002
- static uiPromptHasPressedTimedModeCompleted(prompt: number): any;
1017
+ static isNamedRendertargetRegistered(name: string | null): boolean;
1003
1018
  /**
1004
1019
  * @param p0
1005
1020
  * @param p1
1006
1021
  */
1007
- static uiMovieviewSetRenderTarget(p0: any, p1: any): void;
1008
- /**
1009
- * @param p0
1010
- * @returns
1011
- */
1012
- static journalGetEntryAtIndex(p0: any): any;
1022
+ static N_0x052D4AC0922AF91A(p0: any, p1: any): void;
1013
1023
  /**
1014
- * Attaches a Volume
1015
- *
1016
1024
  * @param prompt
1017
- * @param volume
1018
1025
  */
1019
- static uiPromptContextSetVolume(prompt: number, volume: Volume): void;
1026
+ static uiPromptDelete(prompt: number): void;
1020
1027
  /**
1021
- * Params: p1 is 0
1028
+ * Gets a string literal from a label name. Old name: _GET_LABEL_TEXT
1022
1029
  *
1023
- * @param prompt
1024
- * @param p1
1030
+ * @param labelName
1025
1031
  * @returns
1026
1032
  */
1027
- static uiPromptHasStandardModeCompleted(prompt: number, p1: number): boolean;
1033
+ static getFilenameForAudioConversation(labelName: string | null): string | null;
1034
+ static N_0x5651516D947ABC53(): void;
1028
1035
  /**
1029
- * @param prompt
1030
- * @returns
1036
+ * @param renderId
1031
1037
  */
1032
- static uiPromptIsValid(prompt: number): boolean;
1038
+ static setTextRenderId(renderId: number): void;
1033
1039
  /**
1034
- * If Hud should be displayed
1035
- *
1036
- * @param toggle
1040
+ * @param distance
1041
+ * @param r
1042
+ * @param g
1043
+ * @param b
1044
+ * @param a
1037
1045
  */
1038
- static displayHud(toggle: boolean): void;
1046
+ static setTextDropshadow(distance: number, r: number, g: number, b: number, a: number): void;
1039
1047
  /**
1048
+ * @param label
1040
1049
  * @returns
1041
1050
  */
1042
- static isRadarHidden(): boolean;
1043
- /**
1044
- * @param gamerTagId
1045
- */
1046
- static removeMpGamerTag(gamerTagId: number): void;
1047
- /**
1048
- * @param prompt
1049
- * @param action
1050
- */
1051
- static uiPromptSetAllowedAction(prompt: number, action: string | number): void;
1051
+ static getLabelText2(label: string | null): string | null;
1052
1052
  /**
1053
- * @param p0
1054
- * @param name
1053
+ * @returns
1055
1054
  */
1056
- static setMissionName(p0: boolean, name: string | null): void;
1055
+ static journalGetEntryCount(): any;
1056
+ static journalClearAllProgress(): void;
1057
1057
  }
1058
1058
  //# sourceMappingURL=Hud.d.ts.map