@nativewrappers/redm-codegen 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/classes/AnimScene.d.ts +109 -109
- package/dist/classes/AnimScene.d.ts.map +1 -1
- package/dist/classes/AnimScene.js +158 -158
- package/dist/classes/BaseModel.d.ts +34 -34
- package/dist/classes/BaseModel.d.ts.map +1 -1
- package/dist/classes/BaseModel.js +53 -53
- package/dist/classes/BaseTask.d.ts +36 -36
- package/dist/classes/BaseTask.d.ts.map +1 -1
- package/dist/classes/BaseTask.js +44 -44
- package/dist/classes/Cam.d.ts +91 -91
- package/dist/classes/Cam.d.ts.map +1 -1
- package/dist/classes/Cam.js +124 -124
- package/dist/classes/Entity.d.ts +507 -502
- package/dist/classes/Entity.d.ts.map +1 -1
- package/dist/classes/Entity.js +723 -714
- package/dist/classes/Interior.d.ts +27 -27
- package/dist/classes/Interior.d.ts.map +1 -1
- package/dist/classes/Interior.js +42 -42
- package/dist/classes/ItemSet.d.ts +2 -2
- package/dist/classes/ItemSet.d.ts.map +1 -1
- package/dist/classes/ItemSet.js +3 -3
- package/dist/classes/Ped.d.ts +286 -286
- package/dist/classes/Ped.d.ts.map +1 -1
- package/dist/classes/Ped.js +425 -425
- package/dist/classes/PedModel.d.ts +1 -1
- package/dist/classes/PedModel.d.ts.map +1 -1
- package/dist/classes/PedModel.js +2 -2
- package/dist/classes/PedTask.d.ts +770 -770
- package/dist/classes/PedTask.d.ts.map +1 -1
- package/dist/classes/PedTask.js +985 -985
- package/dist/classes/PersChar.d.ts +11 -11
- package/dist/classes/PersChar.d.ts.map +1 -1
- package/dist/classes/PersChar.js +23 -23
- package/dist/classes/Pickup.d.ts +6 -6
- package/dist/classes/Pickup.d.ts.map +1 -1
- package/dist/classes/Pickup.js +12 -12
- package/dist/classes/Player.d.ts +237 -233
- package/dist/classes/Player.d.ts.map +1 -1
- package/dist/classes/Player.js +309 -303
- package/dist/classes/Prop.d.ts +126 -126
- package/dist/classes/Prop.d.ts.map +1 -1
- package/dist/classes/Prop.js +180 -180
- package/dist/classes/PropSet.d.ts +16 -16
- package/dist/classes/PropSet.d.ts.map +1 -1
- package/dist/classes/PropSet.js +22 -22
- package/dist/classes/Vehicle.d.ts +122 -122
- package/dist/classes/Vehicle.d.ts.map +1 -1
- package/dist/classes/Vehicle.js +147 -147
- package/dist/classes/VehicleModel.d.ts +1 -1
- package/dist/classes/VehicleModel.d.ts.map +1 -1
- package/dist/classes/VehicleModel.js +2 -2
- package/dist/classes/VehicleTask.d.ts +17 -17
- package/dist/classes/VehicleTask.d.ts.map +1 -1
- package/dist/classes/VehicleTask.js +24 -24
- package/dist/classes/Volume.d.ts +44 -44
- package/dist/classes/Volume.d.ts.map +1 -1
- package/dist/classes/Volume.js +58 -58
- package/dist/classes/Weapon.d.ts +243 -243
- package/dist/classes/Weapon.d.ts.map +1 -1
- package/dist/classes/Weapon.js +339 -339
- package/dist/namespaces/Aicoverpoint.d.ts +23 -23
- package/dist/namespaces/Aicoverpoint.d.ts.map +1 -1
- package/dist/namespaces/Aicoverpoint.js +35 -35
- package/dist/namespaces/Aitransport.d.ts +78 -78
- package/dist/namespaces/Aitransport.d.ts.map +1 -1
- package/dist/namespaces/Aitransport.js +95 -95
- package/dist/namespaces/Animscene.d.ts +37 -37
- package/dist/namespaces/Animscene.d.ts.map +1 -1
- package/dist/namespaces/Animscene.js +51 -51
- package/dist/namespaces/Audio.d.ts +395 -395
- package/dist/namespaces/Audio.d.ts.map +1 -1
- package/dist/namespaces/Audio.js +530 -530
- package/dist/namespaces/Bounty.d.ts +23 -23
- package/dist/namespaces/Bounty.d.ts.map +1 -1
- package/dist/namespaces/Bounty.js +40 -40
- package/dist/namespaces/Brain.d.ts +15 -15
- package/dist/namespaces/Brain.d.ts.map +1 -1
- package/dist/namespaces/Brain.js +20 -20
- package/dist/namespaces/CamStatics.d.ts +483 -483
- package/dist/namespaces/CamStatics.d.ts.map +1 -1
- package/dist/namespaces/CamStatics.js +693 -693
- package/dist/namespaces/Clock.d.ts +51 -51
- package/dist/namespaces/Clock.d.ts.map +1 -1
- package/dist/namespaces/Clock.js +73 -73
- package/dist/namespaces/Collection.d.ts +6 -6
- package/dist/namespaces/Collection.d.ts.map +1 -1
- package/dist/namespaces/Collection.js +11 -11
- package/dist/namespaces/Compapp.js +1 -1
- package/dist/namespaces/Compendium.d.ts +58 -58
- package/dist/namespaces/Compendium.d.ts.map +1 -1
- package/dist/namespaces/Compendium.js +83 -83
- package/dist/namespaces/Crashlog.js +9 -9
- package/dist/namespaces/Crew.d.ts +9 -9
- package/dist/namespaces/Crew.d.ts.map +1 -1
- package/dist/namespaces/Crew.js +18 -18
- package/dist/namespaces/Databinding.d.ts +146 -146
- package/dist/namespaces/Databinding.d.ts.map +1 -1
- package/dist/namespaces/Databinding.js +218 -218
- package/dist/namespaces/Datafile.js +4 -4
- package/dist/namespaces/Decorator.d.ts +19 -19
- package/dist/namespaces/Decorator.d.ts.map +1 -1
- package/dist/namespaces/Decorator.js +34 -34
- package/dist/namespaces/Dlc.js +2 -2
- package/dist/namespaces/EntityStatics.d.ts +186 -186
- package/dist/namespaces/EntityStatics.d.ts.map +1 -1
- package/dist/namespaces/EntityStatics.js +249 -249
- package/dist/namespaces/Event.js +4 -4
- package/dist/namespaces/Fire.d.ts +89 -89
- package/dist/namespaces/Fire.d.ts.map +1 -1
- package/dist/namespaces/Fire.js +115 -115
- package/dist/namespaces/Flock.js +2 -2
- package/dist/namespaces/Gang.js +2 -2
- package/dist/namespaces/GoogleAnalytics.js +2 -2
- package/dist/namespaces/Graphics.d.ts +776 -776
- package/dist/namespaces/Graphics.d.ts.map +1 -1
- package/dist/namespaces/Graphics.js +1120 -1120
- package/dist/namespaces/Hud.d.ts +497 -497
- package/dist/namespaces/Hud.d.ts.map +1 -1
- package/dist/namespaces/Hud.js +748 -748
- package/dist/namespaces/Ik.js +1 -1
- package/dist/namespaces/Interaction.js +3 -3
- package/dist/namespaces/InteriorStatics.d.ts +40 -40
- package/dist/namespaces/InteriorStatics.d.ts.map +1 -1
- package/dist/namespaces/InteriorStatics.js +57 -57
- package/dist/namespaces/Inventory.d.ts +205 -205
- package/dist/namespaces/Inventory.d.ts.map +1 -1
- package/dist/namespaces/Inventory.js +340 -340
- package/dist/namespaces/Itemdatabase.d.ts +78 -78
- package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
- package/dist/namespaces/Itemdatabase.js +109 -109
- package/dist/namespaces/Itemset.js +2 -2
- package/dist/namespaces/Law.d.ts +1 -1
- package/dist/namespaces/Law.d.ts.map +1 -1
- package/dist/namespaces/Law.js +19 -19
- package/dist/namespaces/Localization.js +1 -1
- package/dist/namespaces/Map.d.ts +156 -156
- package/dist/namespaces/Map.d.ts.map +1 -1
- package/dist/namespaces/Map.js +209 -209
- package/dist/namespaces/Minigame.d.ts +66 -66
- package/dist/namespaces/Minigame.d.ts.map +1 -1
- package/dist/namespaces/Minigame.js +111 -111
- package/dist/namespaces/Misc.d.ts +3 -3
- package/dist/namespaces/Misc.d.ts.map +1 -1
- package/dist/namespaces/Misc.js +35 -35
- package/dist/namespaces/Missiondata.js +1 -1
- package/dist/namespaces/Money.js +3 -3
- package/dist/namespaces/Netshopping.d.ts +58 -58
- package/dist/namespaces/Netshopping.d.ts.map +1 -1
- package/dist/namespaces/Netshopping.js +89 -89
- package/dist/namespaces/Network.d.ts +1199 -1199
- package/dist/namespaces/Network.d.ts.map +1 -1
- package/dist/namespaces/Network.js +1650 -1650
- package/dist/namespaces/Object.d.ts +262 -262
- package/dist/namespaces/Object.d.ts.map +1 -1
- package/dist/namespaces/Object.js +367 -367
- package/dist/namespaces/Pad.d.ts +102 -102
- package/dist/namespaces/Pad.d.ts.map +1 -1
- package/dist/namespaces/Pad.js +141 -141
- package/dist/namespaces/Pathfind.js +10 -10
- package/dist/namespaces/PedStatics.d.ts +2 -2
- package/dist/namespaces/PedStatics.d.ts.map +1 -1
- package/dist/namespaces/PedStatics.js +10 -10
- package/dist/namespaces/Perschar.d.ts +42 -42
- package/dist/namespaces/Perschar.d.ts.map +1 -1
- package/dist/namespaces/Perschar.js +59 -59
- package/dist/namespaces/Physics.d.ts +37 -37
- package/dist/namespaces/Physics.d.ts.map +1 -1
- package/dist/namespaces/Physics.js +54 -54
- package/dist/namespaces/PlayerStatics.d.ts +68 -68
- package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
- package/dist/namespaces/PlayerStatics.js +104 -104
- package/dist/namespaces/Population.d.ts +86 -86
- package/dist/namespaces/Population.d.ts.map +1 -1
- package/dist/namespaces/Population.js +116 -116
- package/dist/namespaces/Posse.d.ts +48 -48
- package/dist/namespaces/Posse.d.ts.map +1 -1
- package/dist/namespaces/Posse.js +78 -78
- package/dist/namespaces/Propset.d.ts +59 -59
- package/dist/namespaces/Propset.d.ts.map +1 -1
- package/dist/namespaces/Propset.js +81 -81
- package/dist/namespaces/Replay.d.ts +1 -1
- package/dist/namespaces/Replay.d.ts.map +1 -1
- package/dist/namespaces/Replay.js +2 -2
- package/dist/namespaces/Scripts.d.ts +1 -1
- package/dist/namespaces/Scripts.d.ts.map +1 -1
- package/dist/namespaces/Scripts.js +12 -12
- package/dist/namespaces/Socialclub.js +8 -8
- package/dist/namespaces/Socialclubfeed.js +1 -1
- package/dist/namespaces/Spactionproxy.js +4 -4
- package/dist/namespaces/Stats.d.ts +203 -203
- package/dist/namespaces/Stats.d.ts.map +1 -1
- package/dist/namespaces/Stats.js +294 -294
- package/dist/namespaces/Streaming.d.ts +128 -128
- package/dist/namespaces/Streaming.d.ts.map +1 -1
- package/dist/namespaces/Streaming.js +202 -202
- package/dist/namespaces/Task.d.ts +366 -366
- package/dist/namespaces/Task.d.ts.map +1 -1
- package/dist/namespaces/Task.js +517 -517
- package/dist/namespaces/Telemetry.d.ts +83 -83
- package/dist/namespaces/Telemetry.d.ts.map +1 -1
- package/dist/namespaces/Telemetry.js +111 -111
- package/dist/namespaces/Txd.js +1 -1
- package/dist/namespaces/Uiapps.d.ts +25 -25
- package/dist/namespaces/Uiapps.d.ts.map +1 -1
- package/dist/namespaces/Uiapps.js +36 -36
- package/dist/namespaces/Uievents.js +1 -1
- package/dist/namespaces/Uifeed.js +1 -1
- package/dist/namespaces/Uistickyfeed.d.ts +16 -16
- package/dist/namespaces/Uistickyfeed.d.ts.map +1 -1
- package/dist/namespaces/Uistickyfeed.js +21 -21
- package/dist/namespaces/Unlock.js +5 -5
- package/dist/namespaces/VehicleStatics.js +12 -12
- package/dist/namespaces/Voice.js +7 -7
- package/dist/namespaces/VolumeStatics.d.ts +99 -99
- package/dist/namespaces/VolumeStatics.d.ts.map +1 -1
- package/dist/namespaces/VolumeStatics.js +137 -137
- package/dist/namespaces/Water.d.ts +27 -27
- package/dist/namespaces/Water.d.ts.map +1 -1
- package/dist/namespaces/Water.js +41 -41
- package/dist/namespaces/WeaponStatics.d.ts +206 -206
- package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
- package/dist/namespaces/WeaponStatics.js +303 -303
- package/dist/types/NativeAliases.d.ts +3 -1
- package/dist/types/NativeAliases.d.ts.map +1 -1
- package/dist/types/NativeAliases.js +3 -1
- package/package.json +1 -1
- package/src/classes/AnimScene.ts +164 -164
- package/src/classes/BaseModel.ts +60 -60
- package/src/classes/BaseTask.ts +46 -46
- package/src/classes/Cam.ts +136 -136
- package/src/classes/Entity.ts +738 -727
- package/src/classes/Interior.ts +43 -43
- package/src/classes/ItemSet.ts +3 -3
- package/src/classes/Ped.ts +432 -432
- package/src/classes/PedModel.ts +2 -2
- package/src/classes/PedTask.ts +1023 -1023
- package/src/classes/PersChar.ts +28 -28
- package/src/classes/Pickup.ts +13 -13
- package/src/classes/Player.ts +326 -319
- package/src/classes/Prop.ts +185 -185
- package/src/classes/PropSet.ts +25 -25
- package/src/classes/Vehicle.ts +147 -147
- package/src/classes/VehicleModel.ts +2 -2
- package/src/classes/VehicleTask.ts +27 -27
- package/src/classes/Volume.ts +62 -62
- package/src/classes/Weapon.ts +358 -358
- package/src/namespaces/Aicoverpoint.ts +40 -40
- package/src/namespaces/Aitransport.ts +104 -104
- package/src/namespaces/Animscene.ts +55 -55
- package/src/namespaces/Audio.ts +565 -565
- package/src/namespaces/Bounty.ts +46 -46
- package/src/namespaces/Brain.ts +22 -22
- package/src/namespaces/CamStatics.ts +706 -706
- package/src/namespaces/Clock.ts +82 -82
- package/src/namespaces/Collection.ts +12 -12
- package/src/namespaces/Compapp.ts +1 -1
- package/src/namespaces/Compendium.ts +94 -94
- package/src/namespaces/Crashlog.ts +9 -9
- package/src/namespaces/Crew.ts +20 -20
- package/src/namespaces/Databinding.ts +222 -222
- package/src/namespaces/Datafile.ts +4 -4
- package/src/namespaces/Decorator.ts +37 -37
- package/src/namespaces/Dlc.ts +2 -2
- package/src/namespaces/EntityStatics.ts +259 -259
- package/src/namespaces/Event.ts +4 -4
- package/src/namespaces/Fire.ts +127 -127
- package/src/namespaces/Flock.ts +2 -2
- package/src/namespaces/Gang.ts +2 -2
- package/src/namespaces/GoogleAnalytics.ts +2 -2
- package/src/namespaces/Graphics.ts +1081 -1081
- package/src/namespaces/Hud.ts +767 -767
- package/src/namespaces/Ik.ts +1 -1
- package/src/namespaces/Interaction.ts +3 -3
- package/src/namespaces/InteriorStatics.ts +65 -65
- package/src/namespaces/Inventory.ts +352 -352
- package/src/namespaces/Itemdatabase.ts +121 -121
- package/src/namespaces/Itemset.ts +2 -2
- package/src/namespaces/Law.ts +20 -20
- package/src/namespaces/Localization.ts +1 -1
- package/src/namespaces/Map.ts +217 -217
- package/src/namespaces/Minigame.ts +119 -119
- package/src/namespaces/Misc.ts +38 -38
- package/src/namespaces/Missiondata.ts +1 -1
- package/src/namespaces/Money.ts +3 -3
- package/src/namespaces/Netshopping.ts +99 -99
- package/src/namespaces/Network.ts +1738 -1738
- package/src/namespaces/Object.ts +370 -370
- package/src/namespaces/Pad.ts +155 -155
- package/src/namespaces/Pathfind.ts +10 -10
- package/src/namespaces/PedStatics.ts +12 -12
- package/src/namespaces/Perschar.ts +67 -67
- package/src/namespaces/Physics.ts +62 -62
- package/src/namespaces/PlayerStatics.ts +112 -112
- package/src/namespaces/Population.ts +131 -131
- package/src/namespaces/Posse.ts +81 -81
- package/src/namespaces/Propset.ts +92 -92
- package/src/namespaces/Replay.ts +3 -3
- package/src/namespaces/Scripts.ts +13 -13
- package/src/namespaces/Socialclub.ts +8 -8
- package/src/namespaces/Socialclubfeed.ts +1 -1
- package/src/namespaces/Spactionproxy.ts +4 -4
- package/src/namespaces/Stats.ts +296 -296
- package/src/namespaces/Streaming.ts +236 -236
- package/src/namespaces/Task.ts +583 -583
- package/src/namespaces/Telemetry.ts +125 -125
- package/src/namespaces/Txd.ts +1 -1
- package/src/namespaces/Uiapps.ts +43 -43
- package/src/namespaces/Uievents.ts +1 -1
- package/src/namespaces/Uifeed.ts +1 -1
- package/src/namespaces/Uistickyfeed.ts +23 -23
- package/src/namespaces/Unlock.ts +5 -5
- package/src/namespaces/VehicleStatics.ts +12 -12
- package/src/namespaces/Voice.ts +7 -7
- package/src/namespaces/VolumeStatics.ts +143 -143
- package/src/namespaces/Water.ts +47 -47
- package/src/namespaces/WeaponStatics.ts +311 -311
- package/src/types/NativeAliases.ts +6 -1
package/src/namespaces/Hud.ts
CHANGED
|
@@ -44,138 +44,6 @@ export class Hud {
|
|
|
44
44
|
return inv<number>('0xCD072523791DDC1B', prompt);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
/**
|
|
48
|
-
* @param p0
|
|
49
|
-
* @returns
|
|
50
|
-
*/
|
|
51
|
-
static N_0xD6BD313CFA41E57A(p0: any): any {
|
|
52
|
-
return inv<number>('0xD6BD313CFA41E57A', p0);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @returns
|
|
57
|
-
*/
|
|
58
|
-
static isMultiplayerChatActive(): boolean {
|
|
59
|
-
return inv<boolean>('0xBC19069D5FBB5C46', rai());
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
static disableFrontendThisFrame(): void {
|
|
63
|
-
inv<void>('0x56CE42A528156A67');
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* @param prompt
|
|
68
|
-
* @returns
|
|
69
|
-
*/
|
|
70
|
-
static uiPromptGetMashModeProgress(prompt: number): number {
|
|
71
|
-
return inv<number>('0x8A9585293863B8A5', prompt, raf());
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* @param groupId
|
|
76
|
-
* @param volume
|
|
77
|
-
* @param p2
|
|
78
|
-
* @param p3
|
|
79
|
-
* @param p4
|
|
80
|
-
* @param p5
|
|
81
|
-
* @returns
|
|
82
|
-
*/
|
|
83
|
-
static N_0x8B55B324A9123F6B(groupId: number, volume: Volume, p2: string | null, p3: any, p4: any, p5: any): any {
|
|
84
|
-
return inv<number>('0x8B55B324A9123F6B', groupId, volume.handle, p2, p3, p4, p5);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* @param entity
|
|
89
|
-
* @returns
|
|
90
|
-
*/
|
|
91
|
-
static uiPromptGetGroupIdForTargetEntity(entity: Entity): number {
|
|
92
|
-
return inv<number>('0xB796970BD125FCE8', entity.handle, rai());
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* Old name: _ALLOW_PAUSE_MENU_WHEN_DEAD_THIS_FRAME
|
|
97
|
-
*/
|
|
98
|
-
static allowPauseWhenNotInStateOfPlayThisFrame(): void {
|
|
99
|
-
inv<void>('0x30996422DF1EE561');
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* @param p0
|
|
104
|
-
* @param p1
|
|
105
|
-
* @returns
|
|
106
|
-
*/
|
|
107
|
-
static uiPromptGetGroupIdForScenarioPoint(p0: any, p1: number): number {
|
|
108
|
-
return inv<number>('0xCB73D7521E7103F0', p0, p1, rai());
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* nullsub, doesn't do anything
|
|
113
|
-
*
|
|
114
|
-
* @param gamerTagId
|
|
115
|
-
* @param allow
|
|
116
|
-
*/
|
|
117
|
-
static setMpGamerTagUnkAllowLocalized(gamerTagId: number, allow: boolean): void {
|
|
118
|
-
inv<void>('0xEF7AB1A0E8C86170', gamerTagId, allow);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* @param ped
|
|
123
|
-
*/
|
|
124
|
-
static uiPromptSetPromptPriorityPreference(ped: Ped): void {
|
|
125
|
-
inv<void>('0x530A428705BE5DEF', ped.handle);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* @param textBlock
|
|
130
|
-
*/
|
|
131
|
-
static textBlockDelete(textBlock: string | null): void {
|
|
132
|
-
inv<void>('0xAA03F130A637D923', textBlock);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* Returns true when either Pause Menu, a Frontend Menu, Online Policies menu or Social Club menu is active.
|
|
137
|
-
*
|
|
138
|
-
* @returns
|
|
139
|
-
*/
|
|
140
|
-
static isPauseMenuActive(): boolean {
|
|
141
|
-
return inv<boolean>('0x535384D6067BA42E', rai());
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* @param controlAction
|
|
146
|
-
* @returns
|
|
147
|
-
*/
|
|
148
|
-
static uiPromptIsControlActionActive(controlAction: string | number): any {
|
|
149
|
-
return inv<number>('0x1BE19185B8AFE299', _h(controlAction));
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* @param textBlock
|
|
154
|
-
* @returns
|
|
155
|
-
*/
|
|
156
|
-
static textBlockIsStreamed(textBlock: string | null): any {
|
|
157
|
-
return inv<number>('0x3CF96E16265B7DC8', textBlock);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* @param worldX
|
|
162
|
-
* @param worldY
|
|
163
|
-
* @param worldZ
|
|
164
|
-
* @returns screenX; screenY
|
|
165
|
-
*/
|
|
166
|
-
static getHudScreenPositionFromWorldPosition(worldX: number, worldY: number, worldZ: number): [boolean, number, number] {
|
|
167
|
-
const result = inv<[boolean, number, number]>('0xB39C81628EF10B42', f(worldX), f(worldY), f(worldZ), pvf(), pvf(), rai());
|
|
168
|
-
return [!!result[0], result[1], result[2]];
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* @param prompt
|
|
173
|
-
* @returns
|
|
174
|
-
*/
|
|
175
|
-
static uiPromptHasHoldMode(prompt: number): any {
|
|
176
|
-
return inv<number>('0xB60C9F9ED47ABB76', prompt);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
47
|
/**
|
|
180
48
|
* @param p0
|
|
181
49
|
* @param name
|
|
@@ -188,7 +56,7 @@ export class Hud {
|
|
|
188
56
|
* @returns
|
|
189
57
|
*/
|
|
190
58
|
static busyspinnerIsOn(): boolean {
|
|
191
|
-
return inv<boolean>('0x823BF7B1DF613A21', rai());
|
|
59
|
+
return !!inv<boolean>('0x823BF7B1DF613A21', rai());
|
|
192
60
|
}
|
|
193
61
|
|
|
194
62
|
/**
|
|
@@ -275,7 +143,7 @@ export class Hud {
|
|
|
275
143
|
* @returns
|
|
276
144
|
*/
|
|
277
145
|
static uiPromptGetUrgentPulsingEnabled(prompt: number): boolean {
|
|
278
|
-
return inv<boolean>('0x1FBA0DABECDDB52B', prompt, rai());
|
|
146
|
+
return !!inv<boolean>('0x1FBA0DABECDDB52B', prompt, rai());
|
|
279
147
|
}
|
|
280
148
|
|
|
281
149
|
/**
|
|
@@ -312,1337 +180,1469 @@ export class Hud {
|
|
|
312
180
|
}
|
|
313
181
|
|
|
314
182
|
/**
|
|
315
|
-
*
|
|
316
|
-
*
|
|
183
|
+
* TM_ANY = 0,
|
|
184
|
+
* TM_ON_FOOT,
|
|
185
|
+
* TM_IN_VEHICLE
|
|
186
|
+
*
|
|
187
|
+
* @param prompt
|
|
188
|
+
* @param mode
|
|
317
189
|
*/
|
|
318
|
-
static
|
|
319
|
-
|
|
190
|
+
static uiPromptSetTransportMode(prompt: number, mode: number): void {
|
|
191
|
+
inv<void>('0x876E4A35C73A6655', prompt, mode);
|
|
320
192
|
}
|
|
321
193
|
|
|
322
194
|
/**
|
|
323
|
-
* @
|
|
324
|
-
* @param p1
|
|
195
|
+
* @returns
|
|
325
196
|
*/
|
|
326
|
-
static
|
|
327
|
-
inv<
|
|
197
|
+
static uiPromptRegisterBegin(): number {
|
|
198
|
+
return inv<number>('0x04F97DE45A519419', rai());
|
|
328
199
|
}
|
|
329
200
|
|
|
330
201
|
/**
|
|
331
|
-
* This
|
|
202
|
+
* This returns an id that can be used with 0x6095358C4142932A.
|
|
332
203
|
*
|
|
333
|
-
* @
|
|
334
|
-
* @param g
|
|
335
|
-
* @param b
|
|
336
|
-
* @param a
|
|
204
|
+
* @returns
|
|
337
205
|
*/
|
|
338
|
-
static
|
|
339
|
-
inv<
|
|
206
|
+
static uiPromptSetRegisterHorizontalOrientation(): number {
|
|
207
|
+
return inv<number>('0xD9459157EB22C895', rai());
|
|
340
208
|
}
|
|
341
209
|
|
|
342
210
|
/**
|
|
211
|
+
* @param prompt
|
|
343
212
|
* @returns
|
|
344
213
|
*/
|
|
345
|
-
static
|
|
346
|
-
return inv<number>('
|
|
214
|
+
static uiPromptHasPressedTimedModeCompleted(prompt: number): any {
|
|
215
|
+
return inv<number>('0x3CE854D250A88DAF', prompt);
|
|
347
216
|
}
|
|
348
217
|
|
|
349
|
-
|
|
350
|
-
|
|
218
|
+
/**
|
|
219
|
+
* @param p0
|
|
220
|
+
* @param p1
|
|
221
|
+
*/
|
|
222
|
+
static uiMovieviewSetRenderTarget(p0: any, p1: any): void {
|
|
223
|
+
inv<void>('0x51DE09A2196BD951', p0, p1);
|
|
351
224
|
}
|
|
352
225
|
|
|
353
226
|
/**
|
|
354
|
-
* @param
|
|
355
|
-
* @param username
|
|
356
|
-
* @param pointedClanTag
|
|
357
|
-
* @param isRockstarClan
|
|
358
|
-
* @param clanTag
|
|
359
|
-
* @param clanFlag
|
|
227
|
+
* @param p0
|
|
360
228
|
* @returns
|
|
361
229
|
*/
|
|
362
|
-
static
|
|
363
|
-
return inv<number>('
|
|
230
|
+
static journalGetEntryAtIndex(p0: any): any {
|
|
231
|
+
return inv<number>('0x3D16ABD7A1FD8C96', p0);
|
|
364
232
|
}
|
|
365
233
|
|
|
366
234
|
/**
|
|
235
|
+
* Attaches a Volume
|
|
236
|
+
*
|
|
367
237
|
* @param prompt
|
|
368
|
-
* @
|
|
238
|
+
* @param volume
|
|
369
239
|
*/
|
|
370
|
-
static
|
|
371
|
-
|
|
240
|
+
static uiPromptContextSetVolume(prompt: number, volume: Volume): void {
|
|
241
|
+
inv<void>('0x4D107406667423BE', prompt, volume.handle);
|
|
372
242
|
}
|
|
373
243
|
|
|
374
244
|
/**
|
|
375
|
-
*
|
|
245
|
+
* Params: p1 is 0
|
|
376
246
|
*
|
|
377
|
-
* @param
|
|
378
|
-
* @param
|
|
379
|
-
* @
|
|
380
|
-
* @param string3
|
|
381
|
-
* @param string4
|
|
247
|
+
* @param prompt
|
|
248
|
+
* @param p1
|
|
249
|
+
* @returns
|
|
382
250
|
*/
|
|
383
|
-
static
|
|
384
|
-
inv<
|
|
251
|
+
static uiPromptHasStandardModeCompleted(prompt: number, p1: number): boolean {
|
|
252
|
+
return !!inv<boolean>('0xC92AC953F0A982AE', prompt, p1, rai());
|
|
385
253
|
}
|
|
386
254
|
|
|
387
255
|
/**
|
|
388
|
-
* @param
|
|
256
|
+
* @param prompt
|
|
389
257
|
* @returns
|
|
390
258
|
*/
|
|
391
|
-
static
|
|
392
|
-
return inv<
|
|
259
|
+
static uiPromptIsValid(prompt: number): boolean {
|
|
260
|
+
return !!inv<boolean>('0x347469FBDD1589A9', prompt, rai());
|
|
393
261
|
}
|
|
394
262
|
|
|
395
263
|
/**
|
|
396
|
-
*
|
|
264
|
+
* If Hud should be displayed
|
|
265
|
+
*
|
|
266
|
+
* @param toggle
|
|
397
267
|
*/
|
|
398
|
-
static
|
|
399
|
-
inv<void>('
|
|
268
|
+
static displayHud(toggle: boolean): void {
|
|
269
|
+
inv<void>('0xD63FE3AF9FB3D53F', toggle);
|
|
400
270
|
}
|
|
401
271
|
|
|
402
272
|
/**
|
|
403
|
-
* @param entity
|
|
404
|
-
* @param p1
|
|
405
|
-
* @param p2
|
|
406
|
-
* @param p3
|
|
407
|
-
* @param p4
|
|
408
|
-
* @param name
|
|
409
|
-
* @param p6
|
|
410
273
|
* @returns
|
|
411
274
|
*/
|
|
412
|
-
static
|
|
413
|
-
return inv<
|
|
275
|
+
static isRadarHidden(): boolean {
|
|
276
|
+
return !!inv<boolean>('0x1B82FD5FFA4D666E', rai());
|
|
414
277
|
}
|
|
415
278
|
|
|
416
279
|
/**
|
|
417
|
-
* @param
|
|
418
|
-
* @returns
|
|
280
|
+
* @param gamerTagId
|
|
419
281
|
*/
|
|
420
|
-
static
|
|
421
|
-
|
|
282
|
+
static removeMpGamerTag(gamerTagId: number): void {
|
|
283
|
+
inv<void>('0x839BFD7D7E49FE09', gamerTagId);
|
|
422
284
|
}
|
|
423
285
|
|
|
424
286
|
/**
|
|
425
287
|
* @param prompt
|
|
426
|
-
* @
|
|
288
|
+
* @param action
|
|
427
289
|
*/
|
|
428
|
-
static
|
|
429
|
-
|
|
290
|
+
static uiPromptSetAllowedAction(prompt: number, action: string | number): void {
|
|
291
|
+
inv<void>('0x565C1CE183CB0EAF', prompt, _h(action));
|
|
430
292
|
}
|
|
431
293
|
|
|
432
294
|
/**
|
|
433
|
-
* @param
|
|
434
|
-
* @param
|
|
435
|
-
* @param holdTimeMs
|
|
295
|
+
* @param p0
|
|
296
|
+
* @param name
|
|
436
297
|
*/
|
|
437
|
-
static
|
|
438
|
-
inv<void>('
|
|
298
|
+
static setMissionName(p0: boolean, name: string | null): void {
|
|
299
|
+
inv<void>('0x402669A4BDAA72DA', p0, name);
|
|
439
300
|
}
|
|
440
301
|
|
|
441
302
|
/**
|
|
442
|
-
* @param
|
|
443
|
-
* @returns
|
|
303
|
+
* @param gamerTagId
|
|
444
304
|
*/
|
|
445
|
-
static
|
|
446
|
-
|
|
305
|
+
static mpGamerTagDisableReviveTopIcon(gamerTagId: number): void {
|
|
306
|
+
inv<void>('0x1F9A64C2804B3471', gamerTagId);
|
|
447
307
|
}
|
|
448
308
|
|
|
449
309
|
/**
|
|
450
|
-
*
|
|
310
|
+
* standard (prompt not held) rate: 0.035f
|
|
311
|
+
* fast (prompt held) rate: 0.015f
|
|
312
|
+
* punitive (been hit) rate: 0.14f
|
|
451
313
|
*
|
|
452
|
-
* @param
|
|
314
|
+
* @param prompt
|
|
315
|
+
* @param speed
|
|
453
316
|
*/
|
|
454
|
-
static
|
|
455
|
-
inv<void>('
|
|
317
|
+
static uiPromptSetMashManualModeDecaySpeed(prompt: number, speed: number): void {
|
|
318
|
+
inv<void>('0x7D393C247FB9B431', prompt, f(speed));
|
|
456
319
|
}
|
|
457
320
|
|
|
458
321
|
/**
|
|
459
|
-
* @param
|
|
460
|
-
* @param p1
|
|
322
|
+
* @param hash
|
|
461
323
|
* @returns
|
|
462
324
|
*/
|
|
463
|
-
static
|
|
464
|
-
return inv<
|
|
325
|
+
static uiPromptDoesAmbientGroupExist(hash: string | number): boolean {
|
|
326
|
+
return !!inv<boolean>('0xEB550B927B34A1BB', _h(hash), rai());
|
|
465
327
|
}
|
|
466
328
|
|
|
467
329
|
/**
|
|
468
|
-
* @param
|
|
469
|
-
* @param text
|
|
330
|
+
* @param p0
|
|
470
331
|
* @returns
|
|
471
332
|
*/
|
|
472
|
-
static
|
|
473
|
-
return inv<number>('
|
|
333
|
+
static N_0x7EC0D68233E391AC(p0: number): number {
|
|
334
|
+
return inv<number>('0x7EC0D68233E391AC', p0, rai());
|
|
474
335
|
}
|
|
475
336
|
|
|
476
337
|
/**
|
|
477
|
-
*
|
|
478
|
-
* @returns
|
|
338
|
+
* nullsub, doesn't do anything
|
|
479
339
|
*/
|
|
480
|
-
static
|
|
481
|
-
|
|
340
|
+
static N_0xBFFF81E12A745A5F(): void {
|
|
341
|
+
inv<void>('0xBFFF81E12A745A5F');
|
|
482
342
|
}
|
|
483
343
|
|
|
484
344
|
/**
|
|
485
|
-
* @param
|
|
486
|
-
* @param p1
|
|
345
|
+
* @param uiscene
|
|
487
346
|
*/
|
|
488
|
-
static
|
|
489
|
-
inv<void>('
|
|
347
|
+
static N_0xF1E6979C0B779985(uiscene: number): void {
|
|
348
|
+
inv<void>('0xF1E6979C0B779985', uiscene);
|
|
490
349
|
}
|
|
491
350
|
|
|
492
351
|
/**
|
|
493
|
-
*
|
|
494
|
-
*
|
|
495
|
-
* @param
|
|
496
|
-
* @param
|
|
497
|
-
* @param
|
|
498
|
-
* @param p5
|
|
499
|
-
* @returns
|
|
352
|
+
* nullsub, this native does nothing since build 1436, use _BG_DISPLAY_TEXT instead.
|
|
353
|
+
*
|
|
354
|
+
* @param text
|
|
355
|
+
* @param xPos
|
|
356
|
+
* @param yPos
|
|
500
357
|
*/
|
|
501
|
-
static
|
|
502
|
-
|
|
358
|
+
static displayText(text: string | null, xPos: number, yPos: number): void {
|
|
359
|
+
inv<void>('0xD79334A4BB99BAD1', text, f(xPos), f(yPos));
|
|
503
360
|
}
|
|
504
361
|
|
|
505
362
|
/**
|
|
506
363
|
* @param prompt
|
|
507
|
-
* @
|
|
364
|
+
* @returns
|
|
508
365
|
*/
|
|
509
|
-
static
|
|
510
|
-
inv<
|
|
366
|
+
static uiPromptIsJustPressed(prompt: number): boolean {
|
|
367
|
+
return !!inv<boolean>('0x2787CC611D3FACC5', prompt, rai());
|
|
511
368
|
}
|
|
512
369
|
|
|
513
370
|
/**
|
|
514
|
-
* @param
|
|
515
|
-
* @
|
|
371
|
+
* @param gamerTagId
|
|
372
|
+
* @param text
|
|
516
373
|
*/
|
|
517
|
-
static
|
|
518
|
-
|
|
374
|
+
static setMpGamerTagNamePosse(gamerTagId: number, text: string | null): void {
|
|
375
|
+
inv<void>('0x1EA716E0628A6F44', gamerTagId, text);
|
|
519
376
|
}
|
|
520
377
|
|
|
521
378
|
/**
|
|
522
|
-
* @
|
|
523
|
-
* @param p1
|
|
379
|
+
* @returns
|
|
524
380
|
*/
|
|
525
|
-
static
|
|
526
|
-
inv<
|
|
381
|
+
static isSubtitlePreferenceSwitchedOn(): boolean {
|
|
382
|
+
return !!inv<boolean>('0x7C4AC9573587F2DF', rai());
|
|
527
383
|
}
|
|
528
384
|
|
|
529
385
|
/**
|
|
530
386
|
* @param prompt
|
|
387
|
+
* @returns
|
|
531
388
|
*/
|
|
532
|
-
static
|
|
533
|
-
inv<
|
|
389
|
+
static uiPromptIsActive(prompt: number): boolean {
|
|
390
|
+
return !!inv<boolean>('0x546E342E01DE71CF', prompt, rai());
|
|
534
391
|
}
|
|
535
392
|
|
|
536
393
|
/**
|
|
537
|
-
*
|
|
538
|
-
*
|
|
539
|
-
* @param labelName
|
|
540
|
-
* @returns
|
|
394
|
+
* @param prompt
|
|
395
|
+
* @param mashes
|
|
541
396
|
*/
|
|
542
|
-
static
|
|
543
|
-
|
|
397
|
+
static uiPromptSetMashMode(prompt: number, mashes: number): void {
|
|
398
|
+
inv<void>('0xDF6423BF071C7F71', prompt, mashes);
|
|
544
399
|
}
|
|
545
400
|
|
|
546
|
-
static
|
|
547
|
-
inv<void>('
|
|
401
|
+
static hideHudThisFrame(): void {
|
|
402
|
+
inv<void>('0xBF4F34A85CA2970D');
|
|
548
403
|
}
|
|
549
404
|
|
|
550
405
|
/**
|
|
551
|
-
* @param
|
|
406
|
+
* @param prompt
|
|
407
|
+
* @param releaseMode
|
|
552
408
|
*/
|
|
553
|
-
static
|
|
554
|
-
inv<void>('
|
|
409
|
+
static uiPromptSetStandardMode(prompt: number, releaseMode: boolean): void {
|
|
410
|
+
inv<void>('0xCC6656799977741B', prompt, releaseMode);
|
|
555
411
|
}
|
|
556
412
|
|
|
557
413
|
/**
|
|
558
|
-
* @param
|
|
559
|
-
* @
|
|
560
|
-
* @param g
|
|
561
|
-
* @param b
|
|
562
|
-
* @param a
|
|
414
|
+
* @param hash
|
|
415
|
+
* @returns
|
|
563
416
|
*/
|
|
564
|
-
static
|
|
565
|
-
inv<
|
|
417
|
+
static uiPromptGetGroupActivePage(hash: string | number): number {
|
|
418
|
+
return inv<number>('0xC1FCC36C3F7286C8', _h(hash), rai());
|
|
566
419
|
}
|
|
567
420
|
|
|
568
421
|
/**
|
|
569
|
-
*
|
|
570
|
-
* @returns
|
|
422
|
+
* Enables reduced time scale while menus such as weapon wheel and satchel are open.
|
|
571
423
|
*/
|
|
572
|
-
static
|
|
573
|
-
|
|
424
|
+
static enableReducedMenuTimeScale(): void {
|
|
425
|
+
inv<void>('0x26F6BBEA2CE3E3DC');
|
|
574
426
|
}
|
|
575
427
|
|
|
576
428
|
/**
|
|
577
|
-
*
|
|
429
|
+
* For startProgress, 0.0f - 1.0f is a percentage value, so 0.5f = 50% progress. Range: 0.0f - 1.0f
|
|
430
|
+
* 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.
|
|
431
|
+
*
|
|
432
|
+
* @param prompt
|
|
433
|
+
* @param mashes
|
|
434
|
+
* @param decreaseSpeed
|
|
435
|
+
* @param startProgress
|
|
578
436
|
*/
|
|
579
|
-
static
|
|
580
|
-
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
static journalClearAllProgress(): void {
|
|
584
|
-
inv<void>('0xF402978DE6F88D6E');
|
|
437
|
+
static uiPromptSetMashWithResistanceCanFailMode(prompt: number, mashes: number, decreaseSpeed: number, startProgress: number): void {
|
|
438
|
+
inv<void>('0xDC0CB602DEADBA53', prompt, mashes, f(decreaseSpeed), f(startProgress));
|
|
585
439
|
}
|
|
586
440
|
|
|
587
441
|
/**
|
|
588
442
|
* @param prompt
|
|
589
|
-
* @param
|
|
443
|
+
* @param p1
|
|
444
|
+
* @param p2
|
|
590
445
|
*/
|
|
591
|
-
static
|
|
592
|
-
inv<void>('
|
|
446
|
+
static uiPromptSetTargetModeTarget(prompt: number, p1: number, p2: number): void {
|
|
447
|
+
inv<void>('0x5E019C45DD3B6A14', prompt, f(p1), f(p2));
|
|
593
448
|
}
|
|
594
449
|
|
|
595
450
|
/**
|
|
596
451
|
* @param prompt
|
|
597
|
-
* @
|
|
452
|
+
* @param p1
|
|
453
|
+
* @param p2
|
|
454
|
+
* @param p3
|
|
455
|
+
* @param p4
|
|
598
456
|
*/
|
|
599
|
-
static
|
|
600
|
-
|
|
457
|
+
static uiPromptSetMashManualCanFailMode(prompt: number, p1: number, p2: number, p3: number, p4: any): void {
|
|
458
|
+
inv<void>('0x179DCF71F705DA20', prompt, f(p1), f(p2), f(p3), p4);
|
|
601
459
|
}
|
|
602
460
|
|
|
603
461
|
/**
|
|
604
|
-
*
|
|
605
|
-
*
|
|
606
|
-
* @param
|
|
607
|
-
* @param
|
|
462
|
+
* @param prompt
|
|
463
|
+
* @param p1
|
|
464
|
+
* @param p2
|
|
465
|
+
* @param p3
|
|
608
466
|
*/
|
|
609
|
-
static
|
|
610
|
-
inv<void>('
|
|
467
|
+
static uiPromptSetTargetMode(prompt: number, p1: number, p2: number, p3: any): void {
|
|
468
|
+
inv<void>('0x5F6503D9CD2754EB', prompt, f(p1), f(p2), p3);
|
|
611
469
|
}
|
|
612
470
|
|
|
613
471
|
/**
|
|
614
472
|
* @param prompt
|
|
615
|
-
* @
|
|
473
|
+
* @param autoFillTimeMs
|
|
474
|
+
* @param mashes
|
|
616
475
|
*/
|
|
617
|
-
static
|
|
618
|
-
|
|
476
|
+
static uiPromptSetMashAutoFillMode(prompt: number, autoFillTimeMs: number, mashes: number): void {
|
|
477
|
+
inv<void>('0x6C39587D7CC66801', prompt, autoFillTimeMs, mashes);
|
|
619
478
|
}
|
|
620
479
|
|
|
621
480
|
/**
|
|
622
|
-
* @param
|
|
481
|
+
* @param prompt
|
|
482
|
+
* @param toggle
|
|
623
483
|
*/
|
|
624
|
-
static
|
|
625
|
-
inv<void>('
|
|
484
|
+
static uiPromptSetBeatMode(prompt: number, toggle: boolean): void {
|
|
485
|
+
inv<void>('0xF957A1654C6322FE', prompt, toggle);
|
|
626
486
|
}
|
|
627
487
|
|
|
628
488
|
/**
|
|
629
|
-
*
|
|
630
|
-
*
|
|
489
|
+
* Similar to 0x9D7E12EC6A1EE4E5(GET_TEXT_SUBSTRING) but starts at the beginning of the string
|
|
490
|
+
*
|
|
491
|
+
* @param text
|
|
492
|
+
* @param length
|
|
631
493
|
* @returns
|
|
632
494
|
*/
|
|
633
|
-
static
|
|
634
|
-
return inv<
|
|
495
|
+
static getTextSubstring2(text: string | null, length: number): string | null {
|
|
496
|
+
return inv<string>('0xD8402B858F4DDD88', text, length, ras());
|
|
635
497
|
}
|
|
636
498
|
|
|
637
499
|
/**
|
|
500
|
+
* @param p0
|
|
638
501
|
* @param prompt
|
|
639
|
-
* @param
|
|
640
|
-
* @param holdTimeMs
|
|
502
|
+
* @param p2
|
|
641
503
|
*/
|
|
642
|
-
static
|
|
643
|
-
inv<void>('
|
|
504
|
+
static uiPromptAddGroupLink(p0: any, prompt: number, p2: any): void {
|
|
505
|
+
inv<void>('0x684C96CC7C66E8EF', p0, prompt, p2);
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* @param gamerTagId
|
|
510
|
+
*/
|
|
511
|
+
static mpGamerTagEnableReviveTopIcon(gamerTagId: number): void {
|
|
512
|
+
inv<void>('0xFFF6579CF0139FCE', gamerTagId);
|
|
644
513
|
}
|
|
645
514
|
|
|
646
515
|
/**
|
|
647
516
|
* @param p0
|
|
648
517
|
* @param p1
|
|
649
|
-
* @returns
|
|
650
518
|
*/
|
|
651
|
-
static
|
|
652
|
-
|
|
519
|
+
static N_0x8A59D44189AF2BC5(p0: any, p1: any): void {
|
|
520
|
+
inv<void>('0x8A59D44189AF2BC5', p0, p1);
|
|
653
521
|
}
|
|
654
522
|
|
|
655
523
|
/**
|
|
656
|
-
* Used for controllers
|
|
657
|
-
*
|
|
658
524
|
* @param prompt
|
|
659
525
|
* @param p1
|
|
660
|
-
* @param counterclockwise
|
|
661
526
|
*/
|
|
662
|
-
static
|
|
663
|
-
inv<void>('
|
|
527
|
+
static uiPromptSetOrderingAsInputType(prompt: number, p1: any): void {
|
|
528
|
+
inv<void>('0x2F385ECC5200938D', prompt, p1);
|
|
664
529
|
}
|
|
665
530
|
|
|
666
531
|
/**
|
|
667
|
-
*
|
|
668
|
-
*
|
|
669
|
-
* @param gamerTagId
|
|
670
|
-
* @param type
|
|
532
|
+
* @param p0
|
|
671
533
|
*/
|
|
672
|
-
static
|
|
673
|
-
inv<void>('
|
|
534
|
+
static journalMarkRead(p0: any): void {
|
|
535
|
+
inv<void>('0xE4509BABE59BD24E', p0);
|
|
674
536
|
}
|
|
675
537
|
|
|
676
538
|
/**
|
|
677
|
-
* @param
|
|
678
|
-
* @param
|
|
539
|
+
* @param gamerTagId
|
|
540
|
+
* @param entity
|
|
679
541
|
* @returns
|
|
680
542
|
*/
|
|
681
|
-
static
|
|
682
|
-
return inv<number>('
|
|
543
|
+
static isMpGamerTagActiveOnEntity(gamerTagId: number, entity: Entity): any {
|
|
544
|
+
return inv<number>('0x502E1591A504F843', gamerTagId, entity.handle);
|
|
683
545
|
}
|
|
684
546
|
|
|
685
547
|
/**
|
|
686
|
-
*
|
|
687
|
-
*
|
|
688
|
-
*
|
|
689
|
-
* @param component
|
|
548
|
+
* @param gamerTagId
|
|
549
|
+
* @param string
|
|
690
550
|
*/
|
|
691
|
-
static
|
|
692
|
-
inv<void>('
|
|
551
|
+
static setMpGamerTagBigText(gamerTagId: number, string: string | null): void {
|
|
552
|
+
inv<void>('0xA0D7CE5F83259663', gamerTagId, string);
|
|
693
553
|
}
|
|
694
554
|
|
|
695
555
|
/**
|
|
696
556
|
* @param prompt
|
|
697
|
-
* @
|
|
557
|
+
* @param radius
|
|
698
558
|
*/
|
|
699
|
-
static
|
|
700
|
-
|
|
559
|
+
static uiPromptContextSetRadius(prompt: number, radius: number): void {
|
|
560
|
+
inv<void>('0x0C718001B77CA468', prompt, f(radius));
|
|
701
561
|
}
|
|
702
562
|
|
|
703
563
|
/**
|
|
704
|
-
*
|
|
564
|
+
* @param prompt
|
|
565
|
+
* @param toggle
|
|
705
566
|
*/
|
|
706
|
-
static
|
|
707
|
-
inv<void>('
|
|
567
|
+
static uiPromptSetVisible(prompt: number, toggle: boolean): void {
|
|
568
|
+
inv<void>('0x71215ACCFDE075EE', prompt, toggle);
|
|
708
569
|
}
|
|
709
570
|
|
|
710
571
|
/**
|
|
711
572
|
* @param prompt
|
|
712
|
-
* @param
|
|
573
|
+
* @param p1
|
|
713
574
|
*/
|
|
714
|
-
static
|
|
715
|
-
inv<void>('
|
|
575
|
+
static N_0x53CE46C01A089DA1(prompt: number, p1: boolean): void {
|
|
576
|
+
inv<void>('0x53CE46C01A089DA1', prompt, p1);
|
|
716
577
|
}
|
|
717
578
|
|
|
718
579
|
/**
|
|
719
|
-
* @param
|
|
580
|
+
* @param p0
|
|
581
|
+
* @returns
|
|
720
582
|
*/
|
|
721
|
-
static
|
|
722
|
-
inv<
|
|
583
|
+
static uiGetSceneUiobject(p0: any): any {
|
|
584
|
+
return inv<number>('0xBE1067CD1C9570F6', p0);
|
|
723
585
|
}
|
|
724
586
|
|
|
725
587
|
/**
|
|
726
|
-
* @param
|
|
727
|
-
* @param
|
|
728
|
-
* @param pointedClanTag
|
|
729
|
-
* @param isRockstarClan
|
|
730
|
-
* @param clanTag
|
|
731
|
-
* @param clanFlag
|
|
732
|
-
* @returns
|
|
588
|
+
* @param p0
|
|
589
|
+
* @param p1
|
|
733
590
|
*/
|
|
734
|
-
static
|
|
735
|
-
|
|
591
|
+
static N_0x958278B97C4AFFD8(p0: any, p1: any): void {
|
|
592
|
+
inv<void>('0x958278B97C4AFFD8', p0, p1);
|
|
736
593
|
}
|
|
737
594
|
|
|
738
595
|
/**
|
|
739
|
-
* @param
|
|
596
|
+
* @param prompt
|
|
597
|
+
* @returns
|
|
740
598
|
*/
|
|
741
|
-
static
|
|
742
|
-
inv<
|
|
599
|
+
static uiPromptGetProgress(prompt: number): number {
|
|
600
|
+
return inv<number>('0x81801291806DBC50', prompt, raf());
|
|
743
601
|
}
|
|
744
602
|
|
|
745
603
|
/**
|
|
746
|
-
* Params: p2 is 304000 in R* SP Script coachrobberies
|
|
747
|
-
*
|
|
748
604
|
* @param prompt
|
|
749
|
-
* @
|
|
605
|
+
* @returns
|
|
750
606
|
*/
|
|
751
|
-
static
|
|
752
|
-
inv<
|
|
607
|
+
static uiPromptIsPressed(prompt: number): boolean {
|
|
608
|
+
return !!inv<boolean>('0x21E60E230086697F', prompt, rai());
|
|
753
609
|
}
|
|
754
610
|
|
|
755
611
|
/**
|
|
756
|
-
*
|
|
612
|
+
* Note: you must use VAR_STRING. Byte code very similar to TEXT_COMMAND_DISPLAY_TEXT in V
|
|
613
|
+
* Old name: _GET_TEXT_SUBSTRING
|
|
614
|
+
*
|
|
615
|
+
* @param text
|
|
616
|
+
* @param position
|
|
617
|
+
* @param length
|
|
618
|
+
* @returns
|
|
757
619
|
*/
|
|
758
|
-
static
|
|
759
|
-
inv<
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
static hideLoadingOnFadeThisFrame(): void {
|
|
763
|
-
inv<void>('0xEA600AABAF4B9084');
|
|
620
|
+
static getCharacterFromAudioConversationFilename(text: string | null, position: number, length: number): string | null {
|
|
621
|
+
return inv<string>('0x9D7E12EC6A1EE4E5', text, position, length, ras());
|
|
764
622
|
}
|
|
765
623
|
|
|
766
624
|
/**
|
|
767
|
-
* @param
|
|
768
|
-
* @param
|
|
625
|
+
* @param p0
|
|
626
|
+
* @param p1
|
|
769
627
|
*/
|
|
770
|
-
static
|
|
771
|
-
inv<void>('
|
|
628
|
+
static N_0x9D37EB5003E0F2CF(p0: any, p1: any): void {
|
|
629
|
+
inv<void>('0x9D37EB5003E0F2CF', p0, p1);
|
|
772
630
|
}
|
|
773
631
|
|
|
774
|
-
static
|
|
775
|
-
inv<void>('
|
|
632
|
+
static uiPromptClearPromptPriorityPreference(): void {
|
|
633
|
+
inv<void>('0x51259AE5C72D4A1B');
|
|
776
634
|
}
|
|
777
635
|
|
|
778
636
|
/**
|
|
779
637
|
* @param prompt
|
|
780
|
-
* @param
|
|
781
|
-
* @param p2
|
|
782
|
-
* @param p3
|
|
783
|
-
* @param p4
|
|
638
|
+
* @param depletionTimeMs
|
|
784
639
|
*/
|
|
785
|
-
static
|
|
786
|
-
inv<void>('
|
|
640
|
+
static uiPromptSetPressedTimedMode(prompt: number, depletionTimeMs: number): void {
|
|
641
|
+
inv<void>('0x1473D3AF51D54276', prompt, depletionTimeMs);
|
|
787
642
|
}
|
|
788
643
|
|
|
789
644
|
/**
|
|
790
|
-
* attribute: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eUIPromptAttribute
|
|
791
|
-
*
|
|
792
645
|
* @param prompt
|
|
793
|
-
* @param
|
|
794
|
-
* @param enabled
|
|
646
|
+
* @param toggle
|
|
795
647
|
*/
|
|
796
|
-
static
|
|
797
|
-
inv<void>('
|
|
648
|
+
static uiPromptSetEnabled(prompt: number, toggle: boolean): void {
|
|
649
|
+
inv<void>('0x8A0FB4D03A630D21', prompt, toggle);
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
static uiPromptFilterClear(): void {
|
|
653
|
+
inv<void>('0x6A2F820452017EA2');
|
|
798
654
|
}
|
|
799
655
|
|
|
800
656
|
/**
|
|
801
|
-
*
|
|
657
|
+
* tabIndex: specifies tab of prompt
|
|
802
658
|
*
|
|
803
659
|
* @param prompt
|
|
804
|
-
* @param
|
|
660
|
+
* @param groupId
|
|
661
|
+
* @param tabIndex
|
|
805
662
|
*/
|
|
806
|
-
static
|
|
807
|
-
inv<void>('
|
|
663
|
+
static uiPromptSetGroup(prompt: number, groupId: number, tabIndex: number): void {
|
|
664
|
+
inv<void>('0x2F11D3A254169EA4', prompt, groupId, tabIndex);
|
|
808
665
|
}
|
|
809
666
|
|
|
810
667
|
/**
|
|
811
|
-
*
|
|
812
|
-
*
|
|
813
|
-
* @param p0
|
|
668
|
+
* @param text
|
|
814
669
|
*/
|
|
815
|
-
static
|
|
816
|
-
inv<void>('
|
|
670
|
+
static busyspinnerSetText(text: string | null): void {
|
|
671
|
+
inv<void>('0x7F78CD75CC4539E4', text);
|
|
817
672
|
}
|
|
818
673
|
|
|
819
674
|
/**
|
|
820
|
-
* Returns the
|
|
675
|
+
* Returns the hash of the currently highlighted item in the weapon wheel.
|
|
676
|
+
* 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.
|
|
821
677
|
*
|
|
822
|
-
* @param string
|
|
823
678
|
* @returns
|
|
824
679
|
*/
|
|
825
|
-
static
|
|
826
|
-
return inv<number>('
|
|
680
|
+
static weaponWheelGetSelectedItemHash(): any {
|
|
681
|
+
return inv<number>('0x9C409BBC492CB5B1');
|
|
827
682
|
}
|
|
828
683
|
|
|
829
684
|
/**
|
|
830
|
-
* @
|
|
685
|
+
* @returns
|
|
831
686
|
*/
|
|
832
|
-
static
|
|
833
|
-
inv<
|
|
687
|
+
static isRadarPreferenceSwitchedOn(): boolean {
|
|
688
|
+
return !!inv<boolean>('0x81E47F0EE1F2B21E', rai());
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
static clearAllHelpMessages(): void {
|
|
692
|
+
inv<void>('0x916ED8321F087059');
|
|
834
693
|
}
|
|
835
694
|
|
|
836
695
|
/**
|
|
837
|
-
*
|
|
696
|
+
* @param p0
|
|
697
|
+
* @returns
|
|
838
698
|
*/
|
|
839
|
-
static
|
|
840
|
-
inv<
|
|
699
|
+
static N_0x28AE29D909C8FDCE(p0: any): any {
|
|
700
|
+
return inv<number>('0x28AE29D909C8FDCE', p0);
|
|
841
701
|
}
|
|
842
702
|
|
|
843
703
|
/**
|
|
844
|
-
*
|
|
704
|
+
* @param p0
|
|
705
|
+
* @param prompt
|
|
706
|
+
*/
|
|
707
|
+
static uiPromptAddGroupReturnLink(p0: any, prompt: number): void {
|
|
708
|
+
inv<void>('0x837972ED28159536', p0, prompt);
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* 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)
|
|
845
713
|
*
|
|
846
|
-
* @param
|
|
714
|
+
* @param prompt
|
|
715
|
+
* @param type
|
|
847
716
|
*/
|
|
848
|
-
static
|
|
849
|
-
inv<void>('
|
|
717
|
+
static uiPromptSetType(prompt: number, type: number): void {
|
|
718
|
+
inv<void>('0xF4A5C4509BF923B1', prompt, type);
|
|
850
719
|
}
|
|
851
720
|
|
|
852
|
-
|
|
853
|
-
|
|
721
|
+
/**
|
|
722
|
+
* @param textBlock
|
|
723
|
+
*/
|
|
724
|
+
static textBlockRequest(textBlock: string | null): void {
|
|
725
|
+
inv<void>('0xF66090013DE648D5', textBlock);
|
|
854
726
|
}
|
|
855
727
|
|
|
856
728
|
/**
|
|
857
|
-
*
|
|
858
|
-
*
|
|
729
|
+
* Checks if the passed gxt name exists in the game files.
|
|
730
|
+
*
|
|
731
|
+
* @param label
|
|
732
|
+
* @returns
|
|
859
733
|
*/
|
|
860
|
-
static
|
|
861
|
-
inv<
|
|
734
|
+
static doesTextLabelExist(label: string | null): boolean {
|
|
735
|
+
return !!inv<boolean>('0x73C258C68D6F55B6', label, rai());
|
|
862
736
|
}
|
|
863
737
|
|
|
864
738
|
/**
|
|
865
|
-
* @param p0
|
|
866
739
|
* @returns
|
|
867
740
|
*/
|
|
868
|
-
static
|
|
869
|
-
return inv<number>('
|
|
741
|
+
static N_0x066725A9D52B3641(): any {
|
|
742
|
+
return inv<number>('0x066725A9D52B3641');
|
|
870
743
|
}
|
|
871
744
|
|
|
872
745
|
/**
|
|
873
|
-
*
|
|
874
|
-
*
|
|
746
|
+
* standard (prompt not held) rate: (1f / 128f)
|
|
747
|
+
* fast (prompt held) rate: (1f / 64f)
|
|
748
|
+
* punitive (been hit) rate: (1f / 128f)
|
|
749
|
+
*
|
|
750
|
+
* @param prompt
|
|
751
|
+
* @param rate
|
|
875
752
|
*/
|
|
876
|
-
static
|
|
877
|
-
inv<void>('
|
|
753
|
+
static uiPromptSetMashManualModeIncreasePerPress(prompt: number, rate: number): void {
|
|
754
|
+
inv<void>('0xA0D1D79C6036A855', prompt, f(rate));
|
|
878
755
|
}
|
|
879
756
|
|
|
880
757
|
/**
|
|
881
758
|
* @param prompt
|
|
759
|
+
* @param speed
|
|
760
|
+
*/
|
|
761
|
+
static uiPromptSetMashManualModePressedGrowthSpeed(prompt: number, speed: number): void {
|
|
762
|
+
inv<void>('0x56DBB26F98582C29', prompt, f(speed));
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* @param string
|
|
882
767
|
* @returns
|
|
883
768
|
*/
|
|
884
|
-
static
|
|
885
|
-
return inv<number>('
|
|
769
|
+
static getLengthOfLiteralStringInBytes(string: string | null): number {
|
|
770
|
+
return inv<number>('0xDC5AD6B7AB8184F5', string, rai());
|
|
886
771
|
}
|
|
887
772
|
|
|
888
773
|
/**
|
|
889
|
-
* @param
|
|
774
|
+
* @param name
|
|
890
775
|
* @returns
|
|
891
776
|
*/
|
|
892
|
-
static
|
|
893
|
-
return inv<boolean>('
|
|
777
|
+
static releaseNamedRendertarget(name: string | null): boolean {
|
|
778
|
+
return !!inv<boolean>('0x0E692EE61761361F', name, rai());
|
|
894
779
|
}
|
|
895
780
|
|
|
896
781
|
/**
|
|
897
|
-
*
|
|
898
|
-
* Old name: _GET_TEXT_SUBSTRING
|
|
899
|
-
*
|
|
900
|
-
* @param text
|
|
901
|
-
* @param position
|
|
902
|
-
* @param length
|
|
782
|
+
* @param textDatabase
|
|
903
783
|
* @returns
|
|
904
784
|
*/
|
|
905
|
-
static
|
|
906
|
-
return inv<
|
|
785
|
+
static doesTextBlockExist(textDatabase: string | null): any {
|
|
786
|
+
return inv<number>('0x2C729F2B94CEA911', textDatabase);
|
|
907
787
|
}
|
|
908
788
|
|
|
909
789
|
/**
|
|
910
790
|
* @param p0
|
|
911
791
|
* @param p1
|
|
792
|
+
* @returns
|
|
912
793
|
*/
|
|
913
|
-
static
|
|
914
|
-
inv<
|
|
794
|
+
static journalGetEntryInfo(p0: any, p1: any): any {
|
|
795
|
+
return inv<number>('0x5514C3E60673530F', p0, p1);
|
|
915
796
|
}
|
|
916
797
|
|
|
917
|
-
|
|
918
|
-
|
|
798
|
+
/**
|
|
799
|
+
* @param p0
|
|
800
|
+
*/
|
|
801
|
+
static N_0x3FE4FB41EF7D2196(p0: any): void {
|
|
802
|
+
inv<void>('0x3FE4FB41EF7D2196', p0);
|
|
919
803
|
}
|
|
920
804
|
|
|
921
805
|
/**
|
|
922
|
-
*
|
|
923
|
-
*
|
|
806
|
+
* colorNameHash: https://alloc8or.re/rdr3/doc/enums/eColor.txt
|
|
807
|
+
*
|
|
808
|
+
* @param colorNameHash
|
|
809
|
+
* @returns red; green; blue; alpha
|
|
924
810
|
*/
|
|
925
|
-
static
|
|
926
|
-
inv<
|
|
811
|
+
static getColorFromName(colorNameHash: string | number): [number, number, number, number] {
|
|
812
|
+
const result = inv<[number, number, number, number]>('0xB981DD2DFAF9B1C9', _h(colorNameHash), pvi(), pvi(), pvi(), pvi());
|
|
813
|
+
return [result[0], result[1], result[2], result[3]];
|
|
927
814
|
}
|
|
928
815
|
|
|
929
816
|
/**
|
|
930
|
-
*
|
|
931
|
-
*
|
|
817
|
+
* visibility:
|
|
818
|
+
* enum eUIGamertagVisibility
|
|
819
|
+
* {
|
|
820
|
+
* UIGAMERTAGVISIBILITY_NONE,
|
|
821
|
+
* UIGAMERTAGVISIBILITY_ICON,
|
|
822
|
+
* UIGAMERTAGVISIBILITY_SIMPLE,
|
|
823
|
+
* UIGAMERTAGVISIBILITY_COMPLEX
|
|
824
|
+
* };
|
|
825
|
+
*
|
|
826
|
+
* @param gamerTagId
|
|
827
|
+
* @param visibility
|
|
932
828
|
*/
|
|
933
|
-
static
|
|
934
|
-
inv<void>('
|
|
829
|
+
static setMpGamerTagVisibility(gamerTagId: number, visibility: number): void {
|
|
830
|
+
inv<void>('0x93171DDDAB274EB8', gamerTagId, visibility);
|
|
935
831
|
}
|
|
936
832
|
|
|
937
|
-
|
|
938
|
-
|
|
833
|
+
/**
|
|
834
|
+
* @param component
|
|
835
|
+
*/
|
|
836
|
+
static enableHudContextThisFrame(component: string | number): void {
|
|
837
|
+
inv<void>('0xC9CAEAEEC1256E54', _h(component));
|
|
939
838
|
}
|
|
940
839
|
|
|
941
840
|
/**
|
|
942
|
-
* tabIndex: specifies tab of prompt
|
|
943
|
-
*
|
|
944
841
|
* @param prompt
|
|
945
|
-
* @param
|
|
946
|
-
* @param tabIndex
|
|
842
|
+
* @param text
|
|
947
843
|
*/
|
|
948
|
-
static
|
|
949
|
-
inv<void>('
|
|
844
|
+
static uiPromptSetText(prompt: number, text: string | null): void {
|
|
845
|
+
inv<void>('0x5DD02A8318420DD7', prompt, text);
|
|
950
846
|
}
|
|
951
847
|
|
|
952
848
|
/**
|
|
953
|
-
* @param
|
|
849
|
+
* @param prompt
|
|
850
|
+
* @returns
|
|
954
851
|
*/
|
|
955
|
-
static
|
|
956
|
-
inv<
|
|
852
|
+
static uiPromptIsJustReleased(prompt: number): boolean {
|
|
853
|
+
return !!inv<boolean>('0x635CC82FA297A827', prompt, rai());
|
|
957
854
|
}
|
|
958
855
|
|
|
959
856
|
/**
|
|
960
|
-
*
|
|
961
|
-
* 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.
|
|
857
|
+
* Found icons: https://pastebin.com/xx6rEgiG
|
|
962
858
|
*
|
|
963
|
-
* @
|
|
859
|
+
* @param gamerTagId
|
|
860
|
+
* @param icon
|
|
964
861
|
*/
|
|
965
|
-
static
|
|
966
|
-
|
|
862
|
+
static setMpGamerTagTopIcon(gamerTagId: number, icon: string | number): void {
|
|
863
|
+
inv<void>('0x5F57522BC1EB9D9D', gamerTagId, _h(icon));
|
|
967
864
|
}
|
|
968
865
|
|
|
969
866
|
/**
|
|
867
|
+
* @param prompt
|
|
970
868
|
* @returns
|
|
971
869
|
*/
|
|
972
|
-
static
|
|
973
|
-
return inv<boolean>('
|
|
870
|
+
static uiPromptIsReleased(prompt: number): boolean {
|
|
871
|
+
return !!inv<boolean>('0xAFC887BA7A7756D6', prompt, rai());
|
|
974
872
|
}
|
|
975
873
|
|
|
976
|
-
|
|
977
|
-
|
|
874
|
+
/**
|
|
875
|
+
* @param active
|
|
876
|
+
*/
|
|
877
|
+
static setFrontendActive(active: boolean): void {
|
|
878
|
+
inv<void>('0xCE47C21C0687EBC2', active);
|
|
978
879
|
}
|
|
979
880
|
|
|
980
881
|
/**
|
|
981
|
-
*
|
|
982
|
-
*
|
|
983
|
-
*
|
|
984
|
-
* @param prompt
|
|
985
|
-
* @param mashes
|
|
986
|
-
* @param decreaseSpeed
|
|
987
|
-
* @param startProgress
|
|
882
|
+
* @param name
|
|
883
|
+
* @param p1
|
|
884
|
+
* @returns
|
|
988
885
|
*/
|
|
989
|
-
static
|
|
990
|
-
inv<
|
|
886
|
+
static registerNamedRendertarget(name: string | null, p1: boolean): boolean {
|
|
887
|
+
return !!inv<boolean>('0x98AF2BB6F62BD588', name, p1, rai());
|
|
991
888
|
}
|
|
992
889
|
|
|
993
890
|
/**
|
|
994
891
|
* @param prompt
|
|
995
|
-
* @param
|
|
996
|
-
* @param
|
|
892
|
+
* @param autoFillTimeMs
|
|
893
|
+
* @param holdTimeMs
|
|
997
894
|
*/
|
|
998
|
-
static
|
|
999
|
-
inv<void>('
|
|
895
|
+
static uiPromptSetHoldAutoFillWithDecayMode(prompt: number, autoFillTimeMs: number, holdTimeMs: number): void {
|
|
896
|
+
inv<void>('0xA3F2149AA24F3D8E', prompt, autoFillTimeMs, holdTimeMs);
|
|
1000
897
|
}
|
|
1001
898
|
|
|
1002
899
|
/**
|
|
1003
|
-
* @param
|
|
900
|
+
* @param p0
|
|
1004
901
|
* @param p1
|
|
1005
|
-
* @
|
|
1006
|
-
* @param p3
|
|
1007
|
-
* @param p4
|
|
902
|
+
* @returns
|
|
1008
903
|
*/
|
|
1009
|
-
static
|
|
1010
|
-
inv<
|
|
904
|
+
static N_0xF1AD3DD218E6558A(p0: any, p1: any): any {
|
|
905
|
+
return inv<number>('0xF1AD3DD218E6558A', p0, p1);
|
|
1011
906
|
}
|
|
1012
907
|
|
|
1013
908
|
/**
|
|
909
|
+
* Used for controllers
|
|
910
|
+
*
|
|
1014
911
|
* @param prompt
|
|
1015
912
|
* @param p1
|
|
1016
|
-
* @param
|
|
1017
|
-
* @param p3
|
|
913
|
+
* @param counterclockwise
|
|
1018
914
|
*/
|
|
1019
|
-
static
|
|
1020
|
-
inv<void>('
|
|
915
|
+
static uiPromptSetRotateMode(prompt: number, p1: number, counterclockwise: boolean): void {
|
|
916
|
+
inv<void>('0x7ABE7095FB3D2581', prompt, f(p1), counterclockwise);
|
|
1021
917
|
}
|
|
1022
918
|
|
|
1023
919
|
/**
|
|
1024
|
-
*
|
|
1025
|
-
*
|
|
1026
|
-
* @param
|
|
920
|
+
* Found types: GENERIC_PLAYER, DEADDROP, HOTPROPERTY, MINIGAMES
|
|
921
|
+
*
|
|
922
|
+
* @param gamerTagId
|
|
923
|
+
* @param type
|
|
1027
924
|
*/
|
|
1028
|
-
static
|
|
1029
|
-
inv<void>('
|
|
925
|
+
static setMpGamerTagType(gamerTagId: number, type: string | number): void {
|
|
926
|
+
inv<void>('0x25B9C78A25105C35', gamerTagId, _h(type));
|
|
1030
927
|
}
|
|
1031
928
|
|
|
1032
929
|
/**
|
|
1033
930
|
* @param prompt
|
|
1034
|
-
* @param
|
|
931
|
+
* @param action
|
|
932
|
+
* @returns
|
|
1035
933
|
*/
|
|
1036
|
-
static
|
|
1037
|
-
inv<
|
|
934
|
+
static uiPromptSetControlAction(prompt: number, action: string | number): any {
|
|
935
|
+
return inv<number>('0xB5352B7494A08258', prompt, _h(action));
|
|
1038
936
|
}
|
|
1039
937
|
|
|
1040
938
|
/**
|
|
1041
|
-
*
|
|
939
|
+
* https://github.com/femga/rdr3_discoveries/tree/master/graphics/HUD/hud_presets
|
|
940
|
+
* Old name: _HIDE_HUD_COMPONENT
|
|
1042
941
|
*
|
|
1043
|
-
* @param
|
|
1044
|
-
|
|
942
|
+
* @param component
|
|
943
|
+
*/
|
|
944
|
+
static enableHudContext(component: string | number): void {
|
|
945
|
+
inv<void>('0x4CC5F2FC1332577F', _h(component));
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
/**
|
|
949
|
+
* @param prompt
|
|
1045
950
|
* @returns
|
|
1046
951
|
*/
|
|
1047
|
-
static
|
|
1048
|
-
return inv<
|
|
952
|
+
static uiPromptHasPressedTimedModeFailed(prompt: number): any {
|
|
953
|
+
return inv<number>('0x1A17B9ECFF617562', prompt);
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* Removes the loading prompt at the bottom right of the screen.
|
|
958
|
+
*/
|
|
959
|
+
static busyspinnerOff(): void {
|
|
960
|
+
inv<void>('0x58F441B90EA84D06');
|
|
1049
961
|
}
|
|
1050
962
|
|
|
1051
963
|
/**
|
|
1052
|
-
* @param p0
|
|
1053
964
|
* @param prompt
|
|
1054
|
-
* @param
|
|
965
|
+
* @param pos
|
|
1055
966
|
*/
|
|
1056
|
-
static
|
|
1057
|
-
inv<void>('
|
|
967
|
+
static uiPromptContextSetPoint(prompt: number, pos: Vector3): void {
|
|
968
|
+
inv<void>('0xAE84C5EE2C384FB3', prompt, f(pos.x), f(pos.y), f(pos.z));
|
|
1058
969
|
}
|
|
1059
970
|
|
|
1060
971
|
/**
|
|
1061
|
-
* @param
|
|
972
|
+
* @param align
|
|
1062
973
|
*/
|
|
1063
|
-
static
|
|
1064
|
-
inv<void>('
|
|
974
|
+
static setTextCentre(align: boolean): void {
|
|
975
|
+
inv<void>('0xBE5261939FBECB8C', align);
|
|
1065
976
|
}
|
|
1066
977
|
|
|
1067
978
|
/**
|
|
1068
979
|
* @param p0
|
|
1069
|
-
* @
|
|
980
|
+
* @returns
|
|
1070
981
|
*/
|
|
1071
|
-
static
|
|
1072
|
-
inv<
|
|
982
|
+
static N_0xD6BD313CFA41E57A(p0: any): any {
|
|
983
|
+
return inv<number>('0xD6BD313CFA41E57A', p0);
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
/**
|
|
987
|
+
* @returns
|
|
988
|
+
*/
|
|
989
|
+
static isMultiplayerChatActive(): boolean {
|
|
990
|
+
return !!inv<boolean>('0xBC19069D5FBB5C46', rai());
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
static disableFrontendThisFrame(): void {
|
|
994
|
+
inv<void>('0x56CE42A528156A67');
|
|
1073
995
|
}
|
|
1074
996
|
|
|
1075
997
|
/**
|
|
1076
998
|
* @param prompt
|
|
1077
|
-
* @
|
|
999
|
+
* @returns
|
|
1078
1000
|
*/
|
|
1079
|
-
static
|
|
1080
|
-
inv<
|
|
1001
|
+
static uiPromptGetMashModeProgress(prompt: number): number {
|
|
1002
|
+
return inv<number>('0x8A9585293863B8A5', prompt, raf());
|
|
1081
1003
|
}
|
|
1082
1004
|
|
|
1083
1005
|
/**
|
|
1084
|
-
* @param
|
|
1006
|
+
* @param groupId
|
|
1007
|
+
* @param volume
|
|
1008
|
+
* @param p2
|
|
1009
|
+
* @param p3
|
|
1010
|
+
* @param p4
|
|
1011
|
+
* @param p5
|
|
1012
|
+
* @returns
|
|
1085
1013
|
*/
|
|
1086
|
-
static
|
|
1087
|
-
inv<
|
|
1014
|
+
static N_0x8B55B324A9123F6B(groupId: number, volume: Volume, p2: string | null, p3: any, p4: any, p5: any): any {
|
|
1015
|
+
return inv<number>('0x8B55B324A9123F6B', groupId, volume.handle, p2, p3, p4, p5);
|
|
1088
1016
|
}
|
|
1089
1017
|
|
|
1090
1018
|
/**
|
|
1091
|
-
* @param gamerTagId
|
|
1092
1019
|
* @param entity
|
|
1093
1020
|
* @returns
|
|
1094
1021
|
*/
|
|
1095
|
-
static
|
|
1096
|
-
return inv<number>('
|
|
1022
|
+
static uiPromptGetGroupIdForTargetEntity(entity: Entity): number {
|
|
1023
|
+
return inv<number>('0xB796970BD125FCE8', entity.handle, rai());
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* Old name: _ALLOW_PAUSE_MENU_WHEN_DEAD_THIS_FRAME
|
|
1028
|
+
*/
|
|
1029
|
+
static allowPauseWhenNotInStateOfPlayThisFrame(): void {
|
|
1030
|
+
inv<void>('0x30996422DF1EE561');
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
/**
|
|
1034
|
+
* @param p0
|
|
1035
|
+
* @param p1
|
|
1036
|
+
* @returns
|
|
1037
|
+
*/
|
|
1038
|
+
static uiPromptGetGroupIdForScenarioPoint(p0: any, p1: number): number {
|
|
1039
|
+
return inv<number>('0xCB73D7521E7103F0', p0, p1, rai());
|
|
1097
1040
|
}
|
|
1098
1041
|
|
|
1099
1042
|
/**
|
|
1043
|
+
* nullsub, doesn't do anything
|
|
1044
|
+
*
|
|
1100
1045
|
* @param gamerTagId
|
|
1101
|
-
* @param
|
|
1046
|
+
* @param allow
|
|
1102
1047
|
*/
|
|
1103
|
-
static
|
|
1104
|
-
inv<void>('
|
|
1048
|
+
static setMpGamerTagUnkAllowLocalized(gamerTagId: number, allow: boolean): void {
|
|
1049
|
+
inv<void>('0xEF7AB1A0E8C86170', gamerTagId, allow);
|
|
1105
1050
|
}
|
|
1106
1051
|
|
|
1107
1052
|
/**
|
|
1108
|
-
* @param
|
|
1109
|
-
* @param radius
|
|
1053
|
+
* @param ped
|
|
1110
1054
|
*/
|
|
1111
|
-
static
|
|
1112
|
-
inv<void>('
|
|
1055
|
+
static uiPromptSetPromptPriorityPreference(ped: Ped): void {
|
|
1056
|
+
inv<void>('0x530A428705BE5DEF', ped.handle);
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* @param textBlock
|
|
1061
|
+
*/
|
|
1062
|
+
static textBlockDelete(textBlock: string | null): void {
|
|
1063
|
+
inv<void>('0xAA03F130A637D923', textBlock);
|
|
1113
1064
|
}
|
|
1114
1065
|
|
|
1115
1066
|
/**
|
|
1116
|
-
*
|
|
1117
|
-
*
|
|
1067
|
+
* Returns true when either Pause Menu, a Frontend Menu, Online Policies menu or Social Club menu is active.
|
|
1068
|
+
*
|
|
1069
|
+
* @returns
|
|
1118
1070
|
*/
|
|
1119
|
-
static
|
|
1120
|
-
inv<
|
|
1071
|
+
static isPauseMenuActive(): boolean {
|
|
1072
|
+
return !!inv<boolean>('0x535384D6067BA42E', rai());
|
|
1121
1073
|
}
|
|
1122
1074
|
|
|
1123
1075
|
/**
|
|
1124
|
-
* @param
|
|
1076
|
+
* @param controlAction
|
|
1125
1077
|
* @returns
|
|
1126
1078
|
*/
|
|
1127
|
-
static
|
|
1128
|
-
return inv<number>('
|
|
1079
|
+
static uiPromptIsControlActionActive(controlAction: string | number): any {
|
|
1080
|
+
return inv<number>('0x1BE19185B8AFE299', _h(controlAction));
|
|
1129
1081
|
}
|
|
1130
1082
|
|
|
1131
1083
|
/**
|
|
1132
|
-
* @param
|
|
1133
|
-
* @
|
|
1084
|
+
* @param textBlock
|
|
1085
|
+
* @returns
|
|
1134
1086
|
*/
|
|
1135
|
-
static
|
|
1136
|
-
inv<
|
|
1087
|
+
static textBlockIsStreamed(textBlock: string | null): any {
|
|
1088
|
+
return inv<number>('0x3CF96E16265B7DC8', textBlock);
|
|
1137
1089
|
}
|
|
1138
1090
|
|
|
1139
1091
|
/**
|
|
1140
|
-
*
|
|
1141
|
-
*
|
|
1142
|
-
* @param
|
|
1143
|
-
* @
|
|
1092
|
+
* @param worldX
|
|
1093
|
+
* @param worldY
|
|
1094
|
+
* @param worldZ
|
|
1095
|
+
* @returns screenX; screenY
|
|
1144
1096
|
*/
|
|
1145
|
-
static
|
|
1146
|
-
inv<
|
|
1097
|
+
static getHudScreenPositionFromWorldPosition(worldX: number, worldY: number, worldZ: number): [boolean, number, number] {
|
|
1098
|
+
const result = inv<[boolean, number, number]>('0xB39C81628EF10B42', f(worldX), f(worldY), f(worldZ), pvf(), pvf(), rai());
|
|
1099
|
+
return [!!result[0], result[1], result[2]];
|
|
1147
1100
|
}
|
|
1148
1101
|
|
|
1149
1102
|
/**
|
|
1150
|
-
* @param
|
|
1103
|
+
* @param prompt
|
|
1104
|
+
* @returns
|
|
1151
1105
|
*/
|
|
1152
|
-
static
|
|
1153
|
-
inv<
|
|
1106
|
+
static uiPromptHasHoldMode(prompt: number): any {
|
|
1107
|
+
return inv<number>('0xB60C9F9ED47ABB76', prompt);
|
|
1154
1108
|
}
|
|
1155
1109
|
|
|
1156
1110
|
/**
|
|
1157
|
-
*
|
|
1158
|
-
*
|
|
1159
|
-
* @param label
|
|
1111
|
+
* @param prompt
|
|
1160
1112
|
* @returns
|
|
1161
1113
|
*/
|
|
1162
|
-
static
|
|
1163
|
-
return inv<boolean>('
|
|
1114
|
+
static uiPromptHasMashModeFailed(prompt: number): boolean {
|
|
1115
|
+
return !!inv<boolean>('0x25B18E530CF39D6F', prompt, rai());
|
|
1164
1116
|
}
|
|
1165
1117
|
|
|
1166
1118
|
/**
|
|
1119
|
+
* @param prompt
|
|
1167
1120
|
* @returns
|
|
1168
1121
|
*/
|
|
1169
|
-
static
|
|
1170
|
-
return inv<number>('
|
|
1122
|
+
static uiPromptHasManualMashMode(prompt: number): any {
|
|
1123
|
+
return inv<number>('0xA6C6A4ADB3BAC409', prompt);
|
|
1171
1124
|
}
|
|
1172
1125
|
|
|
1173
1126
|
/**
|
|
1174
|
-
* standard (prompt not held) rate: (1f / 128f)
|
|
1175
|
-
* fast (prompt held) rate: (1f / 64f)
|
|
1176
|
-
* punitive (been hit) rate: (1f / 128f)
|
|
1177
|
-
*
|
|
1178
1127
|
* @param prompt
|
|
1179
|
-
* @
|
|
1128
|
+
* @returns
|
|
1180
1129
|
*/
|
|
1181
|
-
static
|
|
1182
|
-
inv<
|
|
1130
|
+
static uiPromptHasMashModeCompleted(prompt: number): boolean {
|
|
1131
|
+
return !!inv<boolean>('0x845CE958416DC473', prompt, rai());
|
|
1183
1132
|
}
|
|
1184
1133
|
|
|
1185
1134
|
/**
|
|
1186
1135
|
* @param prompt
|
|
1187
|
-
* @param
|
|
1136
|
+
* @param p1
|
|
1188
1137
|
*/
|
|
1189
|
-
static
|
|
1190
|
-
inv<void>('
|
|
1138
|
+
static uiPromptSetSpinnerPosition(prompt: number, p1: any): void {
|
|
1139
|
+
inv<void>('0x832CB510DE546282', prompt, p1);
|
|
1191
1140
|
}
|
|
1192
1141
|
|
|
1193
1142
|
/**
|
|
1194
|
-
* @param
|
|
1195
|
-
* @returns
|
|
1143
|
+
* @param p0
|
|
1196
1144
|
*/
|
|
1197
|
-
static
|
|
1198
|
-
|
|
1145
|
+
static journalWriteEntry(p0: any): void {
|
|
1146
|
+
inv<void>('0x6DFDD665E416B093', p0);
|
|
1199
1147
|
}
|
|
1200
1148
|
|
|
1201
1149
|
/**
|
|
1202
|
-
* @param
|
|
1203
|
-
* @returns
|
|
1150
|
+
* @param state
|
|
1204
1151
|
*/
|
|
1205
|
-
static
|
|
1206
|
-
|
|
1152
|
+
static showHorseCores(state: boolean): void {
|
|
1153
|
+
inv<void>('0xD4EE21B7CC7FD350', state);
|
|
1207
1154
|
}
|
|
1208
1155
|
|
|
1209
1156
|
/**
|
|
1210
|
-
*
|
|
1157
|
+
* This native accepts 1 as parameter in the decompiles
|
|
1158
|
+
* 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?
|
|
1159
|
+
*
|
|
1160
|
+
* @param p0
|
|
1211
1161
|
* @returns
|
|
1212
1162
|
*/
|
|
1213
|
-
static
|
|
1214
|
-
return inv<number>('
|
|
1163
|
+
static getNearHorse(p0: number): any {
|
|
1164
|
+
return inv<number>('0x0501D52D24EA8934', p0);
|
|
1215
1165
|
}
|
|
1216
1166
|
|
|
1217
1167
|
/**
|
|
1218
|
-
* @param
|
|
1219
|
-
* @param p1
|
|
1220
|
-
* @returns
|
|
1168
|
+
* @param prompt
|
|
1221
1169
|
*/
|
|
1222
|
-
static
|
|
1223
|
-
|
|
1170
|
+
static uiPromptRestartModes(prompt: number): void {
|
|
1171
|
+
inv<void>('0xDC6C55DFA2C24EE5', prompt);
|
|
1224
1172
|
}
|
|
1225
1173
|
|
|
1226
1174
|
/**
|
|
1227
|
-
* @param
|
|
1175
|
+
* @param prompt
|
|
1176
|
+
* @param mashes
|
|
1177
|
+
* @param p2
|
|
1178
|
+
* @param p3
|
|
1228
1179
|
*/
|
|
1229
|
-
static
|
|
1230
|
-
inv<void>('
|
|
1180
|
+
static uiPromptSetMashWithResistanceMode(prompt: number, mashes: number, p2: number, p3: number): void {
|
|
1181
|
+
inv<void>('0xCD1BDFF15EFA79F5', prompt, mashes, f(p2), f(p3));
|
|
1231
1182
|
}
|
|
1232
1183
|
|
|
1233
1184
|
/**
|
|
1234
|
-
*
|
|
1235
|
-
*
|
|
1236
|
-
* @param
|
|
1237
|
-
* @returns
|
|
1185
|
+
* @param p0
|
|
1186
|
+
* @param p1
|
|
1187
|
+
* @param p2
|
|
1188
|
+
* @returns
|
|
1238
1189
|
*/
|
|
1239
|
-
static
|
|
1240
|
-
|
|
1241
|
-
return [result[0], result[1], result[2], result[3]];
|
|
1190
|
+
static N_0x806862E5D266CF38(p0: any, p1: any, p2: any): any {
|
|
1191
|
+
return inv<number>('0x806862E5D266CF38', p0, p1, p2);
|
|
1242
1192
|
}
|
|
1243
1193
|
|
|
1244
1194
|
/**
|
|
1245
|
-
* visibility:
|
|
1246
|
-
* enum eUIGamertagVisibility
|
|
1247
|
-
* {
|
|
1248
|
-
* UIGAMERTAGVISIBILITY_NONE,
|
|
1249
|
-
* UIGAMERTAGVISIBILITY_ICON,
|
|
1250
|
-
* UIGAMERTAGVISIBILITY_SIMPLE,
|
|
1251
|
-
* UIGAMERTAGVISIBILITY_COMPLEX
|
|
1252
|
-
* };
|
|
1253
|
-
*
|
|
1254
1195
|
* @param gamerTagId
|
|
1255
|
-
* @
|
|
1196
|
+
* @returns
|
|
1256
1197
|
*/
|
|
1257
|
-
static
|
|
1258
|
-
inv<
|
|
1198
|
+
static isMpGamerTagActive(gamerTagId: number): boolean {
|
|
1199
|
+
return !!inv<boolean>('0x6E1C31E14C7A5F97', gamerTagId, rai());
|
|
1259
1200
|
}
|
|
1260
1201
|
|
|
1261
1202
|
/**
|
|
1262
|
-
*
|
|
1203
|
+
* Hashes: SHORT_TIMED_EVENT_MP, SHORT_TIMED_EVENT, MEDIUM_TIMED_EVENT, LONG_TIMED_EVENT, RUSTLING_CALM_TIMING, PLAYER_FOCUS_TIMING, PLAYER_REACTION_TIMING
|
|
1204
|
+
*
|
|
1205
|
+
* @param prompt
|
|
1206
|
+
* @param timedEventHash
|
|
1263
1207
|
*/
|
|
1264
|
-
static
|
|
1265
|
-
inv<void>('
|
|
1208
|
+
static uiPromptSetStandardizedHoldMode(prompt: number, timedEventHash: string | number): void {
|
|
1209
|
+
inv<void>('0x74C7D7B72ED0D3CF', prompt, _h(timedEventHash));
|
|
1266
1210
|
}
|
|
1267
1211
|
|
|
1268
1212
|
/**
|
|
1269
|
-
* @param
|
|
1213
|
+
* @param modelHash
|
|
1214
|
+
* @returns
|
|
1270
1215
|
*/
|
|
1271
|
-
static
|
|
1272
|
-
inv<
|
|
1216
|
+
static isNamedRendertargetLinked(modelHash: string | number): boolean {
|
|
1217
|
+
return !!inv<boolean>('0x707032835FF09AE7', _h(modelHash), rai());
|
|
1273
1218
|
}
|
|
1274
1219
|
|
|
1275
1220
|
/**
|
|
1276
|
-
* standard (prompt not held) rate: 0.035f
|
|
1277
|
-
* fast (prompt held) rate: 0.015f
|
|
1278
|
-
* punitive (been hit) rate: 0.14f
|
|
1279
|
-
*
|
|
1280
1221
|
* @param prompt
|
|
1281
|
-
* @
|
|
1222
|
+
* @returns
|
|
1282
1223
|
*/
|
|
1283
|
-
static
|
|
1284
|
-
inv<
|
|
1224
|
+
static uiPromptWasBeatModePressedInTimeWindow(prompt: number): boolean {
|
|
1225
|
+
return !!inv<boolean>('0x1FE4788AB1430C55', prompt, rai());
|
|
1285
1226
|
}
|
|
1286
1227
|
|
|
1287
1228
|
/**
|
|
1288
|
-
* @param hash
|
|
1289
1229
|
* @returns
|
|
1290
1230
|
*/
|
|
1291
|
-
static
|
|
1292
|
-
return inv<boolean>('
|
|
1231
|
+
static isHudHidden(): boolean {
|
|
1232
|
+
return !!inv<boolean>('0x71B72B478F8189DC', rai());
|
|
1293
1233
|
}
|
|
1294
1234
|
|
|
1295
1235
|
/**
|
|
1296
1236
|
* @param p0
|
|
1237
|
+
* @param p1
|
|
1297
1238
|
* @returns
|
|
1298
1239
|
*/
|
|
1299
|
-
static
|
|
1300
|
-
return inv<number>('
|
|
1240
|
+
static N_0x100157D6D7FE32CA(p0: any, p1: any): any {
|
|
1241
|
+
return inv<number>('0x100157D6D7FE32CA', p0, p1);
|
|
1301
1242
|
}
|
|
1302
1243
|
|
|
1303
1244
|
/**
|
|
1304
|
-
*
|
|
1245
|
+
* @param p0
|
|
1246
|
+
* @returns
|
|
1305
1247
|
*/
|
|
1306
|
-
static
|
|
1307
|
-
inv<
|
|
1248
|
+
static journalGetGrimeAtIndex(p0: any): any {
|
|
1249
|
+
return inv<number>('0xCB5945E1B855852F', p0);
|
|
1308
1250
|
}
|
|
1309
1251
|
|
|
1310
1252
|
/**
|
|
1311
|
-
* @param
|
|
1253
|
+
* @param prompt
|
|
1254
|
+
* @param p1
|
|
1312
1255
|
*/
|
|
1313
|
-
static
|
|
1314
|
-
inv<void>('
|
|
1256
|
+
static uiPromptRemoveGroup(prompt: number, p1: any): void {
|
|
1257
|
+
inv<void>('0x4E52C800A28F7BE8', prompt, p1);
|
|
1315
1258
|
}
|
|
1316
1259
|
|
|
1317
1260
|
/**
|
|
1318
|
-
*
|
|
1261
|
+
* This native does nothing since build 1436, use _BG_SET_TEXT_COLOR (0x16FA5CE47F184F1E) instead.
|
|
1319
1262
|
*
|
|
1320
|
-
* @param
|
|
1321
|
-
* @param
|
|
1322
|
-
* @param
|
|
1263
|
+
* @param r
|
|
1264
|
+
* @param g
|
|
1265
|
+
* @param b
|
|
1266
|
+
* @param a
|
|
1323
1267
|
*/
|
|
1324
|
-
static
|
|
1325
|
-
inv<void>('
|
|
1268
|
+
static setTextColor(r: number, g: number, b: number, a: number): void {
|
|
1269
|
+
inv<void>('0x50A41AD966910F03', r, g, b, a);
|
|
1326
1270
|
}
|
|
1327
1271
|
|
|
1328
1272
|
/**
|
|
1329
|
-
* @param prompt
|
|
1330
1273
|
* @returns
|
|
1331
1274
|
*/
|
|
1332
|
-
static
|
|
1333
|
-
return inv<boolean>('
|
|
1275
|
+
static isRadarHiddenByScript(): boolean {
|
|
1276
|
+
return !!inv<boolean>('0x66F35DD9D2B58579', rai());
|
|
1334
1277
|
}
|
|
1335
1278
|
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
* @param text
|
|
1339
|
-
*/
|
|
1340
|
-
static setMpGamerTagNamePosse(gamerTagId: number, text: string | null): void {
|
|
1341
|
-
inv<void>('0x1EA716E0628A6F44', gamerTagId, text);
|
|
1279
|
+
static hideHudAndRadarThisFrame(): void {
|
|
1280
|
+
inv<void>('0x36CDD81627A6FCD2');
|
|
1342
1281
|
}
|
|
1343
1282
|
|
|
1344
1283
|
/**
|
|
1284
|
+
* @param ped
|
|
1285
|
+
* @param username
|
|
1286
|
+
* @param pointedClanTag
|
|
1287
|
+
* @param isRockstarClan
|
|
1288
|
+
* @param clanTag
|
|
1289
|
+
* @param clanFlag
|
|
1345
1290
|
* @returns
|
|
1346
1291
|
*/
|
|
1347
|
-
static
|
|
1348
|
-
return inv<
|
|
1292
|
+
static createFakeMpGamerTag(ped: Ped, username: string | null, pointedClanTag: boolean, isRockstarClan: boolean, clanTag: string | null, clanFlag: number): number {
|
|
1293
|
+
return inv<number>('0x53CB4B502E1C57EA', ped.handle, username, pointedClanTag, isRockstarClan, clanTag, clanFlag, rai());
|
|
1349
1294
|
}
|
|
1350
1295
|
|
|
1351
1296
|
/**
|
|
1352
1297
|
* @param prompt
|
|
1353
1298
|
* @returns
|
|
1354
1299
|
*/
|
|
1355
|
-
static
|
|
1356
|
-
return inv<boolean>('
|
|
1300
|
+
static uiPromptHasHoldAutoFillMode(prompt: number): boolean {
|
|
1301
|
+
return !!inv<boolean>('0x8010BEBD0D5ED5BC', prompt, rai());
|
|
1357
1302
|
}
|
|
1358
1303
|
|
|
1359
1304
|
/**
|
|
1360
|
-
*
|
|
1361
|
-
*
|
|
1305
|
+
* string1 is the only string used in the scripts, the others are null (0)
|
|
1306
|
+
*
|
|
1307
|
+
* @param active
|
|
1308
|
+
* @param string1
|
|
1309
|
+
* @param string2
|
|
1310
|
+
* @param string3
|
|
1311
|
+
* @param string4
|
|
1362
1312
|
*/
|
|
1363
|
-
static
|
|
1364
|
-
inv<void>('
|
|
1313
|
+
static setCurrentUgcMissionDescription(active: boolean, string1: string | null, string2: string | null, string3: string | null, string4: string | null): void {
|
|
1314
|
+
inv<void>('0xCE0D2F5586627CCE', active, string1, string2, string3, string4);
|
|
1365
1315
|
}
|
|
1366
1316
|
|
|
1367
|
-
|
|
1368
|
-
|
|
1317
|
+
/**
|
|
1318
|
+
* @param name
|
|
1319
|
+
* @returns
|
|
1320
|
+
*/
|
|
1321
|
+
static getNamedRendertargetRenderId(name: string | null): number {
|
|
1322
|
+
return inv<number>('0xB6762A85EE29AA60', name, rai());
|
|
1369
1323
|
}
|
|
1370
1324
|
|
|
1371
1325
|
/**
|
|
1372
|
-
* @param
|
|
1373
|
-
* @param releaseMode
|
|
1326
|
+
* @param p0
|
|
1374
1327
|
*/
|
|
1375
|
-
static
|
|
1376
|
-
inv<void>('
|
|
1328
|
+
static uiPromptDisablePromptTypeThisFrame(p0: number): void {
|
|
1329
|
+
inv<void>('0xFC094EF26DD153FA', p0);
|
|
1377
1330
|
}
|
|
1378
1331
|
|
|
1379
1332
|
/**
|
|
1380
|
-
* @param
|
|
1333
|
+
* @param entity
|
|
1334
|
+
* @param p1
|
|
1335
|
+
* @param p2
|
|
1336
|
+
* @param p3
|
|
1337
|
+
* @param p4
|
|
1338
|
+
* @param name
|
|
1339
|
+
* @param p6
|
|
1381
1340
|
* @returns
|
|
1382
1341
|
*/
|
|
1383
|
-
static
|
|
1384
|
-
return inv<number>('
|
|
1342
|
+
static uiPromptSetAmbientGroupThisFrame(entity: Entity, p1: number, p2: number, p3: number, p4: string | number, name: string | null, p6: number): any {
|
|
1343
|
+
return inv<number>('0x315C81D760609108', entity.handle, f(p1), p2, p3, _h(p4), name, p6);
|
|
1385
1344
|
}
|
|
1386
1345
|
|
|
1387
1346
|
/**
|
|
1388
|
-
*
|
|
1347
|
+
* @param prompt
|
|
1348
|
+
* @returns
|
|
1389
1349
|
*/
|
|
1390
|
-
static
|
|
1391
|
-
inv<
|
|
1350
|
+
static uiPromptIsHoldModeRunning(prompt: number): boolean {
|
|
1351
|
+
return !!inv<boolean>('0xC7D70EAEF92EFF48', prompt, rai());
|
|
1392
1352
|
}
|
|
1393
1353
|
|
|
1394
1354
|
/**
|
|
1395
1355
|
* @param prompt
|
|
1396
|
-
* @returns
|
|
1356
|
+
* @returns Returns `true` if the mash mode has just been pressed.
|
|
1397
1357
|
*/
|
|
1398
|
-
static
|
|
1399
|
-
return inv<boolean>('
|
|
1358
|
+
static uiPromptHasMashModeJustPressed(prompt: number): boolean {
|
|
1359
|
+
return !!inv<boolean>('0xB0E8599243B3F568', prompt, rai());
|
|
1400
1360
|
}
|
|
1401
1361
|
|
|
1402
1362
|
/**
|
|
1403
1363
|
* @param prompt
|
|
1404
|
-
* @
|
|
1364
|
+
* @param autoFillTimeMs
|
|
1365
|
+
* @param holdTimeMs
|
|
1405
1366
|
*/
|
|
1406
|
-
static
|
|
1407
|
-
|
|
1367
|
+
static uiPromptSetHoldAutoFillMode(prompt: number, autoFillTimeMs: number, holdTimeMs: number): void {
|
|
1368
|
+
inv<void>('0x3CE932E737C145D6', prompt, autoFillTimeMs, holdTimeMs);
|
|
1408
1369
|
}
|
|
1409
1370
|
|
|
1410
1371
|
/**
|
|
1411
1372
|
* @param prompt
|
|
1412
1373
|
* @returns
|
|
1413
1374
|
*/
|
|
1414
|
-
static
|
|
1415
|
-
return inv<boolean>('
|
|
1375
|
+
static uiPromptHasHoldModeCompleted(prompt: number): boolean {
|
|
1376
|
+
return !!inv<boolean>('0xE0F65F0640EF0617', prompt, rai());
|
|
1416
1377
|
}
|
|
1417
1378
|
|
|
1418
1379
|
/**
|
|
1419
|
-
*
|
|
1420
|
-
*
|
|
1380
|
+
* id is the return value from 0xD9459157EB22C895.
|
|
1381
|
+
*
|
|
1382
|
+
* @param id
|
|
1421
1383
|
*/
|
|
1422
|
-
static
|
|
1423
|
-
inv<void>('
|
|
1384
|
+
static uiPromptClearHorizontalOrientation(id: number): void {
|
|
1385
|
+
inv<void>('0x6095358C4142932A', id);
|
|
1424
1386
|
}
|
|
1425
1387
|
|
|
1426
1388
|
/**
|
|
1427
|
-
* @param
|
|
1389
|
+
* @param player
|
|
1390
|
+
* @param username
|
|
1391
|
+
* @param pointedClanTag
|
|
1392
|
+
* @param isRockstarClan
|
|
1393
|
+
* @param clanTag
|
|
1394
|
+
* @param clanFlag
|
|
1395
|
+
* @returns
|
|
1428
1396
|
*/
|
|
1429
|
-
static
|
|
1430
|
-
inv<
|
|
1397
|
+
static createMpGamerTag(player: Player, username: string | null, pointedClanTag: boolean, isRockstarClan: boolean, clanTag: string | null, clanFlag: number): number {
|
|
1398
|
+
return inv<number>('0xD877AF112AD2B41B', player.handle, username, pointedClanTag, isRockstarClan, clanTag, clanFlag, rai());
|
|
1431
1399
|
}
|
|
1432
1400
|
|
|
1433
1401
|
/**
|
|
1434
1402
|
* @param state
|
|
1435
1403
|
*/
|
|
1436
|
-
static
|
|
1437
|
-
inv<void>('
|
|
1404
|
+
static showPlayerCores(state: boolean): void {
|
|
1405
|
+
inv<void>('0x50C803A4CD5932C5', state);
|
|
1438
1406
|
}
|
|
1439
1407
|
|
|
1440
1408
|
/**
|
|
1441
|
-
*
|
|
1442
|
-
* 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?
|
|
1409
|
+
* Params: p2 is 304000 in R* SP Script coachrobberies
|
|
1443
1410
|
*
|
|
1444
|
-
* @param
|
|
1445
|
-
* @
|
|
1411
|
+
* @param prompt
|
|
1412
|
+
* @param holdTimeMs
|
|
1446
1413
|
*/
|
|
1447
|
-
static
|
|
1448
|
-
|
|
1414
|
+
static uiPromptSetHoldMode(prompt: number, holdTimeMs: number): void {
|
|
1415
|
+
inv<void>('0x94073D5CA3F16B7B', prompt, holdTimeMs);
|
|
1449
1416
|
}
|
|
1450
1417
|
|
|
1451
1418
|
/**
|
|
1452
1419
|
* @param prompt
|
|
1453
1420
|
*/
|
|
1454
|
-
static
|
|
1455
|
-
inv<void>('
|
|
1421
|
+
static uiPromptSetHoldIndefinitelyMode(prompt: number): void {
|
|
1422
|
+
inv<void>('0xEA5CCF4EEB2F82D1', prompt);
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
static hideLoadingOnFadeThisFrame(): void {
|
|
1426
|
+
inv<void>('0xEA600AABAF4B9084');
|
|
1456
1427
|
}
|
|
1457
1428
|
|
|
1458
1429
|
/**
|
|
1459
|
-
* @param
|
|
1460
|
-
* @param
|
|
1461
|
-
* @param p2
|
|
1462
|
-
* @param p3
|
|
1430
|
+
* @param gamerTagId
|
|
1431
|
+
* @param colour
|
|
1463
1432
|
*/
|
|
1464
|
-
static
|
|
1465
|
-
inv<void>('
|
|
1433
|
+
static setMpGamerTagColour(gamerTagId: number, colour: string | number): void {
|
|
1434
|
+
inv<void>('0x84BD27DDF9575816', gamerTagId, _h(colour));
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
static N_0x160825DADF1B04B3(): void {
|
|
1438
|
+
inv<void>('0x160825DADF1B04B3');
|
|
1466
1439
|
}
|
|
1467
1440
|
|
|
1468
1441
|
/**
|
|
1469
|
-
* @param
|
|
1442
|
+
* @param prompt
|
|
1470
1443
|
* @param p1
|
|
1471
1444
|
* @param p2
|
|
1472
|
-
* @
|
|
1445
|
+
* @param p3
|
|
1446
|
+
* @param p4
|
|
1473
1447
|
*/
|
|
1474
|
-
static
|
|
1475
|
-
|
|
1448
|
+
static uiPromptSetMashManualMode(prompt: number, p1: number, p2: number, p3: number, p4: any): void {
|
|
1449
|
+
inv<void>('0x32DF729D8BD3C1C6', prompt, f(p1), f(p2), f(p3), p4);
|
|
1476
1450
|
}
|
|
1477
1451
|
|
|
1478
1452
|
/**
|
|
1479
|
-
*
|
|
1480
|
-
*
|
|
1453
|
+
* attribute: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eUIPromptAttribute
|
|
1454
|
+
*
|
|
1455
|
+
* @param prompt
|
|
1456
|
+
* @param attribute
|
|
1457
|
+
* @param enabled
|
|
1481
1458
|
*/
|
|
1482
|
-
static
|
|
1483
|
-
|
|
1459
|
+
static uiPromptSetAttribute(prompt: number, attribute: number, enabled: boolean): void {
|
|
1460
|
+
inv<void>('0x560E76D5E2E1803F', prompt, attribute, enabled);
|
|
1484
1461
|
}
|
|
1485
1462
|
|
|
1486
1463
|
/**
|
|
1487
|
-
*
|
|
1464
|
+
* priority: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/ePromptPriority
|
|
1488
1465
|
*
|
|
1489
1466
|
* @param prompt
|
|
1490
|
-
* @param
|
|
1467
|
+
* @param priority
|
|
1491
1468
|
*/
|
|
1492
|
-
static
|
|
1493
|
-
inv<void>('
|
|
1469
|
+
static uiPromptSetPriority(prompt: number, priority: number): void {
|
|
1470
|
+
inv<void>('0xCA24F528D0D16289', prompt, priority);
|
|
1494
1471
|
}
|
|
1495
1472
|
|
|
1496
1473
|
/**
|
|
1497
|
-
*
|
|
1498
|
-
*
|
|
1474
|
+
* https://github.com/femga/rdr3_discoveries/tree/master/graphics/HUD/prompts/prompt_types
|
|
1475
|
+
*
|
|
1476
|
+
* @param p0
|
|
1499
1477
|
*/
|
|
1500
|
-
static
|
|
1501
|
-
|
|
1478
|
+
static uiPromptEnablePromptTypeThisFrame(p0: number): void {
|
|
1479
|
+
inv<void>('0x06565032897BA861', p0);
|
|
1502
1480
|
}
|
|
1503
1481
|
|
|
1504
1482
|
/**
|
|
1505
|
-
*
|
|
1483
|
+
* Returns the length of the string passed (much like strlen).
|
|
1484
|
+
*
|
|
1485
|
+
* @param string
|
|
1506
1486
|
* @returns
|
|
1507
1487
|
*/
|
|
1508
|
-
static
|
|
1509
|
-
return inv<
|
|
1488
|
+
static getLengthOfLiteralString(string: string | null): number {
|
|
1489
|
+
return inv<number>('0x481FBF588B0B76DB', string, rai());
|
|
1510
1490
|
}
|
|
1511
1491
|
|
|
1512
1492
|
/**
|
|
1513
|
-
* @
|
|
1493
|
+
* @param prompt
|
|
1514
1494
|
*/
|
|
1515
|
-
static
|
|
1516
|
-
|
|
1495
|
+
static uiPromptRegisterEnd(prompt: number): void {
|
|
1496
|
+
inv<void>('0xF7AA2696A22AD8B9', prompt);
|
|
1517
1497
|
}
|
|
1518
1498
|
|
|
1519
1499
|
/**
|
|
1520
|
-
*
|
|
1521
|
-
* @param p1
|
|
1522
|
-
* @returns
|
|
1500
|
+
* nullsub, doesn't do anything
|
|
1523
1501
|
*/
|
|
1524
|
-
static
|
|
1525
|
-
|
|
1502
|
+
static N_0x2F7BB105144ACF30(): void {
|
|
1503
|
+
inv<void>('0x2F7BB105144ACF30');
|
|
1526
1504
|
}
|
|
1527
1505
|
|
|
1528
1506
|
/**
|
|
1529
|
-
*
|
|
1530
|
-
* TM_ON_FOOT,
|
|
1531
|
-
* TM_IN_VEHICLE
|
|
1507
|
+
* Old name: _DISPLAY_HUD_COMPONENT
|
|
1532
1508
|
*
|
|
1533
|
-
* @param
|
|
1534
|
-
* @param mode
|
|
1509
|
+
* @param component
|
|
1535
1510
|
*/
|
|
1536
|
-
static
|
|
1537
|
-
inv<void>('
|
|
1511
|
+
static disableHudContext(component: string | number): void {
|
|
1512
|
+
inv<void>('0x8BC7C1F929D07BF3', _h(component));
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
static forceCloseTextInputBox(): void {
|
|
1516
|
+
inv<void>('0xFBBF5943E4C2C992');
|
|
1538
1517
|
}
|
|
1539
1518
|
|
|
1540
1519
|
/**
|
|
1520
|
+
* @param p0
|
|
1521
|
+
* @param p1
|
|
1541
1522
|
* @returns
|
|
1542
1523
|
*/
|
|
1543
|
-
static
|
|
1544
|
-
return inv<number>('
|
|
1524
|
+
static uiRequestScene(p0: any, p1: any): any {
|
|
1525
|
+
return inv<number>('0xB6857100F8FD433C', p0, p1);
|
|
1545
1526
|
}
|
|
1546
1527
|
|
|
1547
1528
|
/**
|
|
1548
|
-
*
|
|
1549
|
-
*
|
|
1529
|
+
* @param entity
|
|
1530
|
+
* @param text
|
|
1550
1531
|
* @returns
|
|
1551
1532
|
*/
|
|
1552
|
-
static
|
|
1553
|
-
return inv<number>('
|
|
1533
|
+
static createMpGamerTagOnEntity(entity: Entity, text: string | null): number {
|
|
1534
|
+
return inv<number>('0xE961BF23EAB76B12', entity.handle, text, rai());
|
|
1554
1535
|
}
|
|
1555
1536
|
|
|
1556
1537
|
/**
|
|
1557
|
-
* @param
|
|
1538
|
+
* @param p0
|
|
1558
1539
|
* @returns
|
|
1559
1540
|
*/
|
|
1560
|
-
static
|
|
1561
|
-
return inv<number>('
|
|
1541
|
+
static journalCanWriteEntry(p0: any): any {
|
|
1542
|
+
return inv<number>('0xCF782691D91F270E', p0);
|
|
1562
1543
|
}
|
|
1563
1544
|
|
|
1564
1545
|
/**
|
|
1565
|
-
* @param
|
|
1546
|
+
* @param prompt
|
|
1566
1547
|
* @param p1
|
|
1567
1548
|
*/
|
|
1568
|
-
static
|
|
1569
|
-
inv<void>('
|
|
1549
|
+
static uiPromptSetManualResolved(prompt: number, p1: any): void {
|
|
1550
|
+
inv<void>('0xA520C7B05FA4EB2A', prompt, p1);
|
|
1570
1551
|
}
|
|
1571
1552
|
|
|
1572
1553
|
/**
|
|
1573
|
-
* @param
|
|
1554
|
+
* @param inputHash
|
|
1555
|
+
* @param labelName
|
|
1556
|
+
* @param p2
|
|
1557
|
+
* @param p3
|
|
1558
|
+
* @param p4
|
|
1559
|
+
* @param p5
|
|
1574
1560
|
* @returns
|
|
1575
1561
|
*/
|
|
1576
|
-
static
|
|
1577
|
-
return inv<number>('
|
|
1562
|
+
static uiPromptCreate(inputHash: string | number, labelName: string | null, p2: any, p3: any, p4: any, p5: number): number {
|
|
1563
|
+
return inv<number>('0x29FA7910726C3889', _h(inputHash), labelName, p2, p3, p4, p5, rai());
|
|
1578
1564
|
}
|
|
1579
1565
|
|
|
1580
1566
|
/**
|
|
1581
|
-
* Attaches a Volume
|
|
1582
|
-
*
|
|
1583
1567
|
* @param prompt
|
|
1584
|
-
* @param
|
|
1568
|
+
* @param p1
|
|
1585
1569
|
*/
|
|
1586
|
-
static
|
|
1587
|
-
inv<void>('
|
|
1570
|
+
static uiPromptSetSpinnerSpeed(prompt: number, p1: any): void {
|
|
1571
|
+
inv<void>('0xAC6586A7FDCD4B68', prompt, p1);
|
|
1588
1572
|
}
|
|
1589
1573
|
|
|
1590
1574
|
/**
|
|
1591
|
-
*
|
|
1592
|
-
*
|
|
1593
|
-
* @param prompt
|
|
1594
|
-
* @param p1
|
|
1575
|
+
* @param name
|
|
1595
1576
|
* @returns
|
|
1596
1577
|
*/
|
|
1597
|
-
static
|
|
1598
|
-
return inv<boolean>('
|
|
1578
|
+
static isNamedRendertargetRegistered(name: string | null): boolean {
|
|
1579
|
+
return !!inv<boolean>('0x3EE32F7964C40FE6', name, rai());
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
/**
|
|
1583
|
+
* @param p0
|
|
1584
|
+
* @param p1
|
|
1585
|
+
*/
|
|
1586
|
+
static N_0x052D4AC0922AF91A(p0: any, p1: any): void {
|
|
1587
|
+
inv<void>('0x052D4AC0922AF91A', p0, p1);
|
|
1599
1588
|
}
|
|
1600
1589
|
|
|
1601
1590
|
/**
|
|
1602
1591
|
* @param prompt
|
|
1603
|
-
* @returns
|
|
1604
1592
|
*/
|
|
1605
|
-
static
|
|
1606
|
-
|
|
1593
|
+
static uiPromptDelete(prompt: number): void {
|
|
1594
|
+
inv<void>('0x00EDE88D4D13CF59', prompt);
|
|
1607
1595
|
}
|
|
1608
1596
|
|
|
1609
1597
|
/**
|
|
1610
|
-
*
|
|
1598
|
+
* Gets a string literal from a label name. Old name: _GET_LABEL_TEXT
|
|
1611
1599
|
*
|
|
1612
|
-
* @param
|
|
1600
|
+
* @param labelName
|
|
1601
|
+
* @returns
|
|
1613
1602
|
*/
|
|
1614
|
-
static
|
|
1615
|
-
inv<
|
|
1603
|
+
static getFilenameForAudioConversation(labelName: string | null): string | null {
|
|
1604
|
+
return inv<string>('0xCFEDCCAD3C5BA90D', labelName, ras());
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1607
|
+
static N_0x5651516D947ABC53(): void {
|
|
1608
|
+
inv<void>('0x5651516D947ABC53');
|
|
1616
1609
|
}
|
|
1617
1610
|
|
|
1618
1611
|
/**
|
|
1619
|
-
* @
|
|
1612
|
+
* @param renderId
|
|
1620
1613
|
*/
|
|
1621
|
-
static
|
|
1622
|
-
|
|
1614
|
+
static setTextRenderId(renderId: number): void {
|
|
1615
|
+
inv<void>('0xE550CDE128D56757', renderId);
|
|
1623
1616
|
}
|
|
1624
1617
|
|
|
1625
1618
|
/**
|
|
1626
|
-
* @param
|
|
1619
|
+
* @param distance
|
|
1620
|
+
* @param r
|
|
1621
|
+
* @param g
|
|
1622
|
+
* @param b
|
|
1623
|
+
* @param a
|
|
1627
1624
|
*/
|
|
1628
|
-
static
|
|
1629
|
-
inv<void>('
|
|
1625
|
+
static setTextDropshadow(distance: number, r: number, g: number, b: number, a: number): void {
|
|
1626
|
+
inv<void>('0x1BE39DBAA7263CA5', distance, r, g, b, a);
|
|
1630
1627
|
}
|
|
1631
1628
|
|
|
1632
1629
|
/**
|
|
1633
|
-
* @param
|
|
1634
|
-
* @
|
|
1630
|
+
* @param label
|
|
1631
|
+
* @returns
|
|
1635
1632
|
*/
|
|
1636
|
-
static
|
|
1637
|
-
inv<
|
|
1633
|
+
static getLabelText2(label: string | null): string | null {
|
|
1634
|
+
return inv<string>('0x3429670F9B9EF2D3', label, ras());
|
|
1638
1635
|
}
|
|
1639
1636
|
|
|
1640
1637
|
/**
|
|
1641
|
-
* @
|
|
1642
|
-
* @param name
|
|
1638
|
+
* @returns
|
|
1643
1639
|
*/
|
|
1644
|
-
static
|
|
1645
|
-
inv<
|
|
1640
|
+
static journalGetEntryCount(): any {
|
|
1641
|
+
return inv<number>('0xE65B5DE53351BE22');
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
static journalClearAllProgress(): void {
|
|
1645
|
+
inv<void>('0xF402978DE6F88D6E');
|
|
1646
1646
|
}
|
|
1647
1647
|
|
|
1648
1648
|
}
|