@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
|
@@ -10,221 +10,178 @@ import { Vector3 } from '../types/Vector3';
|
|
|
10
10
|
import { Color } from '../types/Color';
|
|
11
11
|
export declare class Graphics {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
* Stamina Core Effect Filter Potency: p1 = 2
|
|
15
|
-
* Multiple Core Effect Filter Potency: p1 = 3
|
|
13
|
+
* When this is set to ON, shadows only draw as you get nearer. When OFF, they draw from a further distance.
|
|
16
14
|
*
|
|
17
|
-
* @param
|
|
18
|
-
* @param p1
|
|
19
|
-
* @param potency
|
|
20
|
-
*/
|
|
21
|
-
static animpostfxSetPotency(effectName: string | null, p1: number, potency: number): void;
|
|
22
|
-
/**
|
|
23
|
-
* @returns
|
|
15
|
+
* @param toggle
|
|
24
16
|
*/
|
|
25
|
-
static
|
|
17
|
+
static cascadeShadowsEnableEntityTracker(toggle: boolean): void;
|
|
26
18
|
/**
|
|
19
|
+
* Only used in R* Script nb_stalking_hunter
|
|
20
|
+
*
|
|
27
21
|
* @param p0
|
|
28
22
|
*/
|
|
29
|
-
static
|
|
23
|
+
static N_0xD1472AFF30C103D6(p0: number): void;
|
|
30
24
|
/**
|
|
31
|
-
* @param
|
|
32
|
-
* @param
|
|
33
|
-
* @param
|
|
34
|
-
* @
|
|
35
|
-
* @param color
|
|
36
|
-
* @param alpha
|
|
25
|
+
* @param worldX
|
|
26
|
+
* @param worldY
|
|
27
|
+
* @param worldZ
|
|
28
|
+
* @returns screenX; screenY
|
|
37
29
|
*/
|
|
38
|
-
static
|
|
30
|
+
static getScreenCoordFromWorldCoord(worldX: number, worldY: number, worldZ: number): [boolean, number, number];
|
|
39
31
|
/**
|
|
40
|
-
* @param
|
|
32
|
+
* @param point
|
|
33
|
+
* @param pos
|
|
34
|
+
* @param radius
|
|
41
35
|
*/
|
|
42
|
-
static
|
|
36
|
+
static setTrackedPointInfo(point: number, pos: Vector3, radius: number): void;
|
|
43
37
|
/**
|
|
44
|
-
*
|
|
45
|
-
*
|
|
38
|
+
* Draws a 2D sprite on the screen. Parameters:
|
|
39
|
+
* textureDict - Name of texture dictionary to load texture from textureName - Name of texture to load from texture dictionary screenX/Y - Screen offset (0.5 = center)
|
|
40
|
+
* scaleX/Y - Texture scaling. Negative values can be used to flip the texture on that axis. (0.5 = half) heading - Texture rotation in degrees (default = 0.0) positive is clockwise, measured in degrees red,green,blue - Sprite color (default = 255/255/255) alpha - opacity level https://github.com/femga/rdr3_discoveries/tree/master/useful_info_from_rpfs/textures
|
|
41
|
+
*
|
|
42
|
+
* @param textureDict
|
|
43
|
+
* @param textureName
|
|
44
|
+
* @param screenX
|
|
45
|
+
* @param screenY
|
|
46
|
+
* @param width
|
|
47
|
+
* @param height
|
|
48
|
+
* @param heading
|
|
49
|
+
* @param color
|
|
50
|
+
* @param alpha
|
|
51
|
+
* @param p11
|
|
46
52
|
*/
|
|
47
|
-
static
|
|
53
|
+
static drawSprite(textureDict: string | null, textureName: string | null, screenX: number, screenY: number, width: number, height: number, heading: number, color: Color, alpha: number, p11: boolean): void;
|
|
48
54
|
/**
|
|
49
|
-
* _GET_C* - _GET_E*
|
|
50
|
-
*
|
|
51
55
|
* @returns
|
|
52
56
|
*/
|
|
53
|
-
static
|
|
57
|
+
static getCurrentNumberOfLocalPhotos(): number;
|
|
54
58
|
/**
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* @param p0
|
|
59
|
+
* @param ptfxHandle
|
|
60
|
+
* @param p1
|
|
58
61
|
*/
|
|
59
|
-
static
|
|
62
|
+
static removeParticleFx(ptfxHandle: number, p1: boolean): void;
|
|
60
63
|
/**
|
|
61
|
-
*
|
|
64
|
+
* Removes all decals in range from a position, it includes the bullet holes, blood pools, petrol...
|
|
62
65
|
*
|
|
63
|
-
* @param
|
|
66
|
+
* @param pos
|
|
67
|
+
* @param range
|
|
64
68
|
*/
|
|
65
|
-
static
|
|
69
|
+
static removeDecalsInRange(pos: Vector3, range: number): void;
|
|
66
70
|
/**
|
|
67
|
-
* @
|
|
71
|
+
* @param p0
|
|
68
72
|
*/
|
|
69
|
-
static
|
|
73
|
+
static setPhotoOverlayEffectStat(p0: number): void;
|
|
70
74
|
/**
|
|
71
75
|
* @param ptfxHandle
|
|
72
|
-
* @param
|
|
73
|
-
* @param
|
|
74
|
-
* @param
|
|
76
|
+
* @param r
|
|
77
|
+
* @param g
|
|
78
|
+
* @param b
|
|
79
|
+
* @param p4
|
|
75
80
|
*/
|
|
76
|
-
static
|
|
81
|
+
static setParticleFxLoopedColour(ptfxHandle: number, r: number, g: number, b: number, p4: boolean): void;
|
|
77
82
|
/**
|
|
78
|
-
* @param
|
|
79
|
-
* @returns
|
|
83
|
+
* @param effectNameHash
|
|
80
84
|
*/
|
|
81
|
-
static
|
|
85
|
+
static animpostfxStopStackhashPostfx(effectNameHash: string | number): void;
|
|
82
86
|
/**
|
|
83
|
-
* @param
|
|
84
|
-
* @returns
|
|
87
|
+
* @param value
|
|
85
88
|
*/
|
|
86
|
-
static
|
|
89
|
+
static changePhotoModeContrast(value: number): void;
|
|
87
90
|
/**
|
|
88
|
-
* @param
|
|
91
|
+
* @param ptfxHandle
|
|
92
|
+
* @param alpha
|
|
89
93
|
*/
|
|
90
|
-
static
|
|
94
|
+
static setParticleFxLoopedAlpha(ptfxHandle: number, alpha: number): void;
|
|
91
95
|
/**
|
|
92
96
|
* @param p0
|
|
93
97
|
* @param p1
|
|
94
98
|
* @param p2
|
|
95
99
|
* @param p3
|
|
96
|
-
* @param p4
|
|
97
|
-
* @param p5
|
|
98
|
-
* @param p6
|
|
99
100
|
* @returns
|
|
100
101
|
*/
|
|
101
|
-
static
|
|
102
|
-
/**
|
|
103
|
-
* @param pos
|
|
104
|
-
* @param colorR
|
|
105
|
-
* @param colorG
|
|
106
|
-
* @param colorB
|
|
107
|
-
* @param range
|
|
108
|
-
* @param intensity
|
|
109
|
-
*/
|
|
110
|
-
static drawLightWithRange(pos: Vector3, colorR: number, colorG: number, colorB: number, range: number, intensity: number): void;
|
|
111
|
-
/**
|
|
112
|
-
* Only used in guama1 R* SP Script while spawning the ship
|
|
113
|
-
* *SET_ENTITY_QUATERNION** - SET_ENTITY_RENDER_*
|
|
114
|
-
*
|
|
115
|
-
* @param vehicle
|
|
116
|
-
* @param toggle
|
|
117
|
-
*/
|
|
118
|
-
static setEntityRenderGuarmaShip(vehicle: Vehicle, toggle: boolean): void;
|
|
102
|
+
static N_0xA15CCAB8AD038291(p0: any, p1: any, p2: any, p3: any): any;
|
|
119
103
|
/**
|
|
120
|
-
* @param effectName
|
|
121
104
|
* @param entity
|
|
122
|
-
* @param offset
|
|
123
|
-
* @param rot
|
|
124
|
-
* @param scale
|
|
125
|
-
* @param axisX
|
|
126
|
-
* @param axisY
|
|
127
|
-
* @param axisZ
|
|
128
|
-
* @returns
|
|
129
105
|
*/
|
|
130
|
-
static
|
|
106
|
+
static removeEntityFromEntityMask(entity: Entity): void;
|
|
131
107
|
/**
|
|
132
|
-
* @param
|
|
108
|
+
* @param p0
|
|
109
|
+
* @param p1
|
|
110
|
+
* @param p2
|
|
133
111
|
*/
|
|
134
|
-
static
|
|
135
|
-
static N_0x815653A42C5ABE76(): void;
|
|
112
|
+
static setParticleFxNonLoopedEmitterScale(p0: number, p1: number, p2: number): void;
|
|
136
113
|
/**
|
|
137
|
-
* @param
|
|
114
|
+
* @param effectNameHash
|
|
138
115
|
* @returns
|
|
139
116
|
*/
|
|
140
|
-
static
|
|
117
|
+
static animpostfxIsStackhashPlaying(effectNameHash: string | number): any;
|
|
141
118
|
/**
|
|
142
|
-
*
|
|
143
|
-
* {
|
|
144
|
-
* Primary,
|
|
145
|
-
* Secondary,
|
|
146
|
-
* Xmas,
|
|
147
|
-
* XmasSecondary // since b1232
|
|
148
|
-
* };
|
|
149
|
-
*
|
|
150
|
-
* @param type
|
|
119
|
+
* @param p0
|
|
151
120
|
*/
|
|
152
|
-
static
|
|
121
|
+
static N_0x503941F65DBA24EC(p0: any): void;
|
|
153
122
|
/**
|
|
154
|
-
* @param
|
|
123
|
+
* @param p0
|
|
124
|
+
* @param p1
|
|
125
|
+
* @param p2
|
|
126
|
+
* @param p3
|
|
127
|
+
* @param p4
|
|
128
|
+
* @param p5
|
|
129
|
+
* @param p6
|
|
155
130
|
*/
|
|
156
|
-
static
|
|
131
|
+
static N_0x48FE0DB54045B975(p0: any, p1: any, p2: any, p3: any, p4: any, p5: any, p6: any): void;
|
|
132
|
+
static cascadeShadowsClearShadowSampleType(): void;
|
|
157
133
|
/**
|
|
158
|
-
*
|
|
159
|
-
*
|
|
134
|
+
* Draws a rectangle on the screen. -x: The relative X point of the center of the rectangle. (0.0-1.0, 0.0 is the left edge of the screen, 1.0 is the right edge of the screen) -y: The relative Y point of the center of the rectangle. (0.0-1.0, 0.0 is the top edge of the screen, 1.0 is the bottom edge of the screen) -width: The relative width of the rectangle. (0.0-1.0, 1.0 means the whole screen width) -height: The relative height of the rectangle. (0.0-1.0, 1.0 means the whole screen height) -R: Red part of the color. (0-255) -G: Green part of the color. (0-255) -B: Blue part of the color. (0-255) -A: Alpha part of the color. (0-255, 0 means totally transparent, 255 means totally opaque)
|
|
135
|
+
*
|
|
136
|
+
* @param x
|
|
137
|
+
* @param y
|
|
138
|
+
* @param width
|
|
139
|
+
* @param height
|
|
140
|
+
* @param color
|
|
141
|
+
* @param alpha
|
|
142
|
+
* @param p8
|
|
143
|
+
* @param p9
|
|
160
144
|
*/
|
|
161
|
-
static
|
|
145
|
+
static drawRect(x: number, y: number, width: number, height: number, color: Color, alpha: number, p8: boolean, p9: boolean): void;
|
|
162
146
|
/**
|
|
163
|
-
* @param
|
|
164
|
-
* @param
|
|
165
|
-
* @param
|
|
166
|
-
* @param rot
|
|
167
|
-
* @param scale
|
|
168
|
-
* @param xAxis
|
|
169
|
-
* @param yAxis
|
|
170
|
-
* @param zAxis
|
|
171
|
-
* @returns
|
|
147
|
+
* @param tvChannel
|
|
148
|
+
* @param playlistName
|
|
149
|
+
* @param restart
|
|
172
150
|
*/
|
|
173
|
-
static
|
|
151
|
+
static setTvChannelPlaylist(tvChannel: number, playlistName: string | null, restart: boolean): void;
|
|
174
152
|
/**
|
|
175
|
-
* @param
|
|
176
|
-
* @param radius
|
|
153
|
+
* @param checkpoint
|
|
177
154
|
*/
|
|
178
|
-
static
|
|
155
|
+
static deleteCheckpoint(checkpoint: number): void;
|
|
179
156
|
/**
|
|
180
|
-
*
|
|
157
|
+
* *DISABLE**
|
|
181
158
|
*
|
|
182
|
-
* @param
|
|
183
|
-
* @param pos
|
|
184
|
-
* @param rot
|
|
185
|
-
* @param scale
|
|
186
|
-
* @param xAxis
|
|
187
|
-
* @param yAxis
|
|
188
|
-
* @param zAxis
|
|
189
|
-
* @param p11
|
|
190
|
-
* @returns
|
|
159
|
+
* @param p0
|
|
191
160
|
*/
|
|
192
|
-
static
|
|
161
|
+
static N_0xFB680A9B33D0EDBE(p0: boolean): void;
|
|
193
162
|
/**
|
|
194
163
|
* @returns
|
|
195
164
|
*/
|
|
196
|
-
static
|
|
197
|
-
/**
|
|
198
|
-
* nullsub, doesn't do anything
|
|
199
|
-
*
|
|
200
|
-
* @param toggle
|
|
201
|
-
*/
|
|
202
|
-
static enableMovieSubtitles(toggle: boolean): void;
|
|
165
|
+
static N_0xC28F62AC9774FC1B(): any;
|
|
203
166
|
/**
|
|
204
|
-
* @param p0
|
|
205
167
|
* @param p1
|
|
206
168
|
* @param p2
|
|
207
169
|
* @param p3
|
|
208
|
-
* @
|
|
170
|
+
* @returns p0
|
|
209
171
|
*/
|
|
210
|
-
static
|
|
172
|
+
static loadMissionCreatorPhoto(p1: any, p2: any, p3: any): [boolean, number];
|
|
211
173
|
/**
|
|
212
|
-
*
|
|
213
|
-
*
|
|
214
|
-
* @returns
|
|
174
|
+
* @param entity
|
|
175
|
+
* @returns layer0; layer1; layer2; layer3
|
|
215
176
|
*/
|
|
216
|
-
static
|
|
177
|
+
static getEntityMaskLayers(entity: Entity): [boolean, number, number, number, number];
|
|
217
178
|
/**
|
|
218
|
-
*
|
|
219
|
-
* Returns veg modifier handle
|
|
220
|
-
*
|
|
221
|
-
* @param volume
|
|
179
|
+
* @param ped
|
|
222
180
|
* @param p1
|
|
223
|
-
* @param
|
|
181
|
+
* @param size
|
|
224
182
|
* @param p3
|
|
225
|
-
* @returns
|
|
226
183
|
*/
|
|
227
|
-
static
|
|
184
|
+
static addBloodPoolsForPedWithParams(ped: Ped, p1: number, size: number, p3: number): void;
|
|
228
185
|
/**
|
|
229
186
|
* Returns proxyInteriorIndex
|
|
230
187
|
*
|
|
@@ -417,334 +374,300 @@ export declare class Graphics {
|
|
|
417
374
|
static isTextureInDict(txdHash: string | number, dict: string | number): any;
|
|
418
375
|
static N_0x910E260AEAD855DE(): void;
|
|
419
376
|
/**
|
|
420
|
-
*
|
|
421
|
-
*
|
|
422
|
-
* @param ped
|
|
377
|
+
* @param p0
|
|
378
|
+
* @param p1
|
|
423
379
|
*/
|
|
424
|
-
static
|
|
380
|
+
static N_0xC489FE31AC726512(p0: any, p1: any): void;
|
|
425
381
|
/**
|
|
426
|
-
*
|
|
427
|
-
*
|
|
428
|
-
*
|
|
429
|
-
* @
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
* @
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* @param p0
|
|
382
|
+
* https://i.imgur.com/rPITUCV.jpg
|
|
383
|
+
* More customizable and more like quadrants
|
|
384
|
+
*
|
|
385
|
+
* @param pos
|
|
386
|
+
* @param p3
|
|
387
|
+
* @param size
|
|
388
|
+
* @param p5
|
|
389
|
+
* @param permanent
|
|
390
|
+
* @param p7
|
|
391
|
+
* @param p8
|
|
438
392
|
*/
|
|
439
|
-
static
|
|
393
|
+
static addBloodPool2(pos: Vector3, p3: number, size: number, p5: number, permanent: boolean, p7: number, p8: boolean): void;
|
|
440
394
|
/**
|
|
441
|
-
*
|
|
395
|
+
* p1: 0.3f in R* Scripts
|
|
396
|
+
*
|
|
397
|
+
* @param waypointRecording
|
|
398
|
+
* @param p1
|
|
442
399
|
*/
|
|
443
|
-
static
|
|
400
|
+
static bloodTrailForWaypoint(waypointRecording: string | null, p1: number): void;
|
|
444
401
|
/**
|
|
445
|
-
* @param
|
|
446
|
-
* @
|
|
402
|
+
* @param ptfxHandle
|
|
403
|
+
* @param range
|
|
447
404
|
*/
|
|
448
|
-
static
|
|
405
|
+
static setParticleFxLoopedFarClipDist(ptfxHandle: number, range: number): void;
|
|
449
406
|
/**
|
|
450
407
|
* @param p0
|
|
408
|
+
* @param p1
|
|
451
409
|
*/
|
|
452
|
-
static
|
|
453
|
-
/**
|
|
454
|
-
* @param entity
|
|
455
|
-
* @param intensity
|
|
456
|
-
*/
|
|
457
|
-
static setLightsIntensityForEntity(entity: Entity, intensity: number): void;
|
|
458
|
-
/**
|
|
459
|
-
* @param entity
|
|
460
|
-
*/
|
|
461
|
-
static updateLightsOnEntity(entity: Entity): void;
|
|
410
|
+
static N_0x085C5B61A0114F32(p0: any, p1: any): void;
|
|
462
411
|
/**
|
|
463
|
-
* @
|
|
412
|
+
* @param p0
|
|
464
413
|
*/
|
|
465
|
-
static
|
|
414
|
+
static N_0x9F158A49B0D84C3C(p0: any): void;
|
|
466
415
|
/**
|
|
467
416
|
* @returns
|
|
468
417
|
*/
|
|
469
|
-
static
|
|
418
|
+
static N_0x5C674EB487891F6B(): any;
|
|
470
419
|
/**
|
|
471
|
-
*
|
|
420
|
+
* Params: component - used in odriscolls1 and sean1 R* SP Script: COMPONENT_BINOCULARS_SCOPE01
|
|
421
|
+
* Triggers the binocular scaleform
|
|
472
422
|
*
|
|
473
|
-
* @param
|
|
474
|
-
*/
|
|
475
|
-
static setScriptGfxDrawBehindPausemenu(toggle: boolean): void;
|
|
476
|
-
/**
|
|
477
|
-
* @param p0
|
|
423
|
+
* @param component
|
|
478
424
|
*/
|
|
479
|
-
static
|
|
425
|
+
static N_0x21F00E08CBB5F37B(component: string | null): void;
|
|
480
426
|
/**
|
|
481
|
-
*
|
|
482
|
-
*
|
|
483
|
-
* @param
|
|
484
|
-
* @param rot
|
|
485
|
-
* @param boneIndex
|
|
486
|
-
* @param scale
|
|
487
|
-
* @param xAxis
|
|
488
|
-
* @param yAxis
|
|
489
|
-
* @param zAxis
|
|
490
|
-
* @returns
|
|
427
|
+
* Sets an unknown value related to timecycles.
|
|
428
|
+
*
|
|
429
|
+
* @param unk
|
|
491
430
|
*/
|
|
492
|
-
static
|
|
431
|
+
static resetAdaptation(unk: number): void;
|
|
493
432
|
/**
|
|
494
|
-
* @param
|
|
433
|
+
* @param effectNameHash
|
|
495
434
|
*/
|
|
496
|
-
static
|
|
435
|
+
static animpostfxPreloadPostfxByStackhash(effectNameHash: string | number): void;
|
|
497
436
|
/**
|
|
498
|
-
* @param
|
|
437
|
+
* @param effectNameHash
|
|
438
|
+
* @param p1
|
|
439
|
+
* @param p2
|
|
440
|
+
* @returns p3
|
|
499
441
|
*/
|
|
500
|
-
static
|
|
501
|
-
static
|
|
442
|
+
static animpostfxHasEventTriggeredByStackhash(effectNameHash: string | number, p1: number, p2: boolean): [any, boolean];
|
|
443
|
+
static destroySwatchTextureDict(): void;
|
|
502
444
|
/**
|
|
503
|
-
* @param unused
|
|
504
445
|
* @returns
|
|
505
446
|
*/
|
|
506
|
-
static
|
|
447
|
+
static beginTakeHighQualityPhoto(): any;
|
|
507
448
|
/**
|
|
508
|
-
*
|
|
509
|
-
*
|
|
449
|
+
* Old name: _IS_TV_PLAYLIST_ITEM_PLAYING
|
|
450
|
+
*
|
|
451
|
+
* @param videoCliphash
|
|
452
|
+
* @returns
|
|
510
453
|
*/
|
|
511
|
-
static
|
|
454
|
+
static isTvshowCurrentlyPlaying(videoCliphash: string | number): boolean;
|
|
512
455
|
/**
|
|
513
456
|
* @param p0
|
|
514
|
-
* @returns
|
|
515
457
|
*/
|
|
516
|
-
static
|
|
458
|
+
static N_0x8996FA6AD9FE4E90(p0: any): void;
|
|
517
459
|
/**
|
|
518
|
-
*
|
|
460
|
+
* @param obj
|
|
519
461
|
*/
|
|
520
|
-
static
|
|
462
|
+
static removeDecalsFromObject(obj: Prop): void;
|
|
521
463
|
/**
|
|
522
|
-
*
|
|
464
|
+
* https://github.com/femga/rdr3_discoveries/blob/master/graphics/markers/marker_types.lua
|
|
465
|
+
* Old name: _DRAW_MARKER
|
|
466
|
+
*
|
|
467
|
+
* @param type
|
|
468
|
+
* @param pos
|
|
469
|
+
* @param direction
|
|
470
|
+
* @param rot
|
|
471
|
+
* @param scale
|
|
472
|
+
* @param color
|
|
473
|
+
* @param alpha
|
|
474
|
+
* @param bobUpAndDown
|
|
475
|
+
* @param faceCamera
|
|
476
|
+
* @param p19
|
|
477
|
+
* @param rotate
|
|
478
|
+
* @param textureDict
|
|
479
|
+
* @param textureName
|
|
480
|
+
* @param drawOnEnts
|
|
523
481
|
*/
|
|
524
|
-
static
|
|
525
|
-
static pedshotFinishCleanupData(): void;
|
|
526
|
-
static N_0x1C6306E5BC25C29C(): void;
|
|
482
|
+
static drawMarker(type: string | number, pos: Vector3, direction: Vector3, rot: Vector3, scale: Vector3, color: Color, alpha: number, bobUpAndDown: boolean, faceCamera: boolean, p19: number, rotate: boolean, textureDict: string | null, textureName: string | null, drawOnEnts: boolean): void;
|
|
527
483
|
/**
|
|
528
|
-
* @param
|
|
484
|
+
* @param r
|
|
485
|
+
* @param g
|
|
486
|
+
* @param b
|
|
529
487
|
*/
|
|
530
|
-
static
|
|
488
|
+
static setParticleFxNonLoopedColour(r: number, g: number, b: number): void;
|
|
531
489
|
/**
|
|
532
490
|
* @param p0
|
|
533
491
|
*/
|
|
534
|
-
static
|
|
492
|
+
static N_0xF5793BB386E1FF9C(p0: any): void;
|
|
535
493
|
/**
|
|
536
|
-
* Used in
|
|
494
|
+
* Used in shop scripts for CATALOG_BOOK
|
|
495
|
+
* false = Normal -> [CATALOG_BOOK_SHUTDOWN]
|
|
496
|
+
* true = Trees flickering? -> [CATALOG_BOOK_OPEN]
|
|
537
497
|
*
|
|
538
|
-
* @param
|
|
498
|
+
* @param p0
|
|
539
499
|
*/
|
|
540
|
-
static
|
|
500
|
+
static N_0x1A9F09AB458D49C6(p0: boolean): void;
|
|
541
501
|
/**
|
|
542
502
|
* @param effectName
|
|
543
|
-
* @param
|
|
503
|
+
* @param duration
|
|
504
|
+
*/
|
|
505
|
+
static animpostfxPlayTimed(effectName: string | null, duration: number): void;
|
|
506
|
+
/**
|
|
507
|
+
* @param effectName
|
|
508
|
+
* @param entity
|
|
509
|
+
* @param offset
|
|
544
510
|
* @param rot
|
|
511
|
+
* @param boneIndex
|
|
545
512
|
* @param scale
|
|
546
513
|
* @param xAxis
|
|
547
514
|
* @param yAxis
|
|
548
515
|
* @param zAxis
|
|
549
516
|
* @returns
|
|
550
517
|
*/
|
|
551
|
-
static
|
|
518
|
+
static startNetworkedParticleFxLoopedOnEntityBone(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
|
|
552
519
|
/**
|
|
553
|
-
* @
|
|
520
|
+
* @param p0
|
|
521
|
+
* @param p1
|
|
522
|
+
* @param p2
|
|
554
523
|
*/
|
|
555
|
-
static
|
|
524
|
+
static N_0x735762E8D7573E42(p0: any, p1: any, p2: any): void;
|
|
556
525
|
/**
|
|
557
|
-
*
|
|
526
|
+
* Only used in guama1 R* Script
|
|
527
|
+
* Disables lod/distant lights when BOOL is set to true
|
|
558
528
|
*
|
|
559
|
-
* @param
|
|
560
|
-
* @param scalar
|
|
529
|
+
* @param disable
|
|
561
530
|
*/
|
|
562
|
-
static
|
|
531
|
+
static disableFarArtificialLights(disable: boolean): void;
|
|
563
532
|
/**
|
|
564
|
-
*
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
*
|
|
569
|
-
*
|
|
533
|
+
* @param decal
|
|
534
|
+
*/
|
|
535
|
+
static removeDecal(decal: number): void;
|
|
536
|
+
/**
|
|
537
|
+
* Hardcoded to always set x to 1280 and y to 720.
|
|
538
|
+
*
|
|
539
|
+
* @returns x; y
|
|
540
|
+
*/
|
|
541
|
+
static getScreenResolution(): [number, number];
|
|
542
|
+
/**
|
|
543
|
+
* ANIMPOSTFX_*
|
|
570
544
|
*
|
|
571
545
|
* @param effectName
|
|
572
|
-
* @returns
|
|
573
546
|
*/
|
|
574
|
-
static
|
|
547
|
+
static N_0xA201A3D0AC087C37(effectName: string | null): void;
|
|
575
548
|
/**
|
|
576
|
-
* @param
|
|
549
|
+
* @param modifierName
|
|
550
|
+
* @param transitionBlend
|
|
577
551
|
*/
|
|
578
|
-
static
|
|
552
|
+
static setTransitionTimecycleModifier(modifierName: string | null, transitionBlend: number): void;
|
|
553
|
+
static enableEntitymask(): void;
|
|
579
554
|
/**
|
|
580
|
-
*
|
|
581
|
-
* p1: AMB_BONFIRE_MP, AMB_CAMPFIRE_LRG_MP
|
|
555
|
+
* fxName: see data_0/data/effects/ptfx/fxlists/
|
|
582
556
|
*
|
|
583
|
-
* @param
|
|
584
|
-
* @param p1
|
|
585
|
-
* @param r
|
|
586
|
-
* @param g
|
|
587
|
-
* @param b
|
|
557
|
+
* @param fxName
|
|
588
558
|
*/
|
|
589
|
-
static
|
|
559
|
+
static useParticleFxAsset(fxName: string | null): void;
|
|
560
|
+
static animpostfxStopAll(): void;
|
|
590
561
|
/**
|
|
591
|
-
*
|
|
592
|
-
*
|
|
593
|
-
* @param name
|
|
562
|
+
* @param pickup
|
|
563
|
+
* @param toggle
|
|
594
564
|
*/
|
|
595
|
-
static
|
|
565
|
+
static blockPickupPlacementLight(pickup: Pickup, toggle: boolean): void;
|
|
596
566
|
/**
|
|
597
|
-
*
|
|
567
|
+
* ANIMPOSTFX_*
|
|
598
568
|
*
|
|
599
|
-
* @param
|
|
600
|
-
* @param strength
|
|
569
|
+
* @param effectNameHash
|
|
601
570
|
*/
|
|
602
|
-
static
|
|
571
|
+
static N_0x38D9D50F2085E9B3(effectNameHash: string | number): void;
|
|
572
|
+
/**
|
|
573
|
+
* Used for script function RPG_GLOBAL_STATS__PRIVATE__DEACTIVATE_STAT_FLAG - Inspiration Aura unequip
|
|
574
|
+
*/
|
|
575
|
+
static resetEntityAura(): void;
|
|
603
576
|
/**
|
|
604
577
|
* @param p0
|
|
605
578
|
* @param p1
|
|
606
579
|
* @param p2
|
|
607
580
|
* @param p3
|
|
608
581
|
* @param p4
|
|
582
|
+
* @param p5
|
|
583
|
+
* @param p6
|
|
584
|
+
* @param p7
|
|
585
|
+
* @param p8
|
|
586
|
+
* @param p9
|
|
587
|
+
* @param p10
|
|
588
|
+
* @param p11
|
|
589
|
+
* @param p12
|
|
590
|
+
* @param p13
|
|
591
|
+
* @param p14
|
|
592
|
+
* @param p15
|
|
593
|
+
* @param p16
|
|
594
|
+
* @param p17
|
|
595
|
+
* @param p18
|
|
596
|
+
* @param p19
|
|
597
|
+
* @param p20
|
|
598
|
+
* @param p21
|
|
599
|
+
* @returns
|
|
609
600
|
*/
|
|
610
|
-
static
|
|
601
|
+
static addDecal(p0: any, p1: any, p2: any, p3: any, p4: any, p5: any, p6: any, p7: any, p8: any, p9: any, p10: any, p11: any, p12: any, p13: any, p14: any, p15: any, p16: any, p17: any, p18: any, p19: any, p20: any, p21: any): number;
|
|
611
602
|
/**
|
|
612
|
-
*
|
|
603
|
+
* _SET_D* or _SET_E*
|
|
613
604
|
*/
|
|
614
|
-
static
|
|
605
|
+
static N_0xB032C085D9A03907(): void;
|
|
615
606
|
/**
|
|
616
|
-
*
|
|
607
|
+
* Returns handle to be used with REMOVE_GRASS_CULL_SPHERE
|
|
617
608
|
*
|
|
609
|
+
* @param pos
|
|
610
|
+
* @param p3
|
|
611
|
+
* @param p4
|
|
618
612
|
* @returns
|
|
619
613
|
*/
|
|
620
|
-
static
|
|
621
|
-
|
|
622
|
-
* @param effectNameHash
|
|
623
|
-
* @returns
|
|
624
|
-
*/
|
|
625
|
-
static animpostfxIsPreloadingByStackhash(effectNameHash: string | number): any;
|
|
626
|
-
/**
|
|
627
|
-
* @param personaPhotoLocalCacheType
|
|
628
|
-
*/
|
|
629
|
-
static N_0xA1A86055792FB249(personaPhotoLocalCacheType: number): void;
|
|
630
|
-
/**
|
|
631
|
-
* @param p0
|
|
632
|
-
*/
|
|
633
|
-
static setPhotoSelfStat(p0: boolean): void;
|
|
634
|
-
/**
|
|
635
|
-
* https://github.com/femga/rdr3_discoveries/blob/master/graphics/animpostfx
|
|
636
|
-
*
|
|
637
|
-
* @param effectName
|
|
638
|
-
*/
|
|
639
|
-
static animpostfxPlay(effectName: string | null): void;
|
|
640
|
-
/**
|
|
641
|
-
* *DISABLE**
|
|
642
|
-
*/
|
|
643
|
-
static N_0x4046493D2EEACA0E(): void;
|
|
644
|
-
static pedshotPreviousPersonaPhotoDataCleanup(): void;
|
|
614
|
+
static setGrassCullSphere(pos: Vector3, p3: number, p4: number): number;
|
|
615
|
+
static N_0xA21AF60C9F99CCC5(): void;
|
|
645
616
|
/**
|
|
646
|
-
* effectName2, p2 and p3 are unused ANIMPOSTFX_*
|
|
647
|
-
*
|
|
648
617
|
* @param effectName
|
|
649
|
-
* @param
|
|
650
|
-
* @param
|
|
651
|
-
* @param
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
*
|
|
656
|
-
*
|
|
657
|
-
* @param slot
|
|
658
|
-
* @param p1
|
|
659
|
-
*/
|
|
660
|
-
static generateSwatchTextureDirectly(slot: number, p1: any): void;
|
|
661
|
-
/**
|
|
662
|
-
* @param p0
|
|
663
|
-
*/
|
|
664
|
-
static setParticleFxBulletImpactLodrangeScale(p0: number): void;
|
|
665
|
-
/**
|
|
666
|
-
* @param p0
|
|
667
|
-
* @param p1
|
|
668
|
-
*/
|
|
669
|
-
static N_0x1FF8731BE1DFC0C0(p0: any, p1: any): void;
|
|
670
|
-
/**
|
|
671
|
-
* When this is set to ON, shadows only draw as you get nearer. When OFF, they draw from a further distance.
|
|
672
|
-
*
|
|
673
|
-
* @param toggle
|
|
618
|
+
* @param entity
|
|
619
|
+
* @param offset
|
|
620
|
+
* @param rot
|
|
621
|
+
* @param scale
|
|
622
|
+
* @param xAxis
|
|
623
|
+
* @param yAxis
|
|
624
|
+
* @param zAxis
|
|
625
|
+
* @returns
|
|
674
626
|
*/
|
|
675
|
-
static
|
|
627
|
+
static startParticleFxLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
|
|
676
628
|
/**
|
|
677
|
-
*
|
|
629
|
+
* 0 = succeeded
|
|
630
|
+
* 1 = getting status
|
|
631
|
+
* 2 = failed
|
|
678
632
|
*
|
|
679
|
-
* @
|
|
633
|
+
* @returns
|
|
680
634
|
*/
|
|
681
|
-
static
|
|
635
|
+
static getStatusOfSortedListOperation(): number;
|
|
682
636
|
/**
|
|
683
|
-
* @
|
|
684
|
-
* @param worldY
|
|
685
|
-
* @param worldZ
|
|
686
|
-
* @returns screenX; screenY
|
|
637
|
+
* @returns
|
|
687
638
|
*/
|
|
688
|
-
static
|
|
639
|
+
static getPhotoModeContrast(): number;
|
|
689
640
|
/**
|
|
690
|
-
* @param point
|
|
691
641
|
* @param pos
|
|
692
|
-
* @param radius
|
|
693
642
|
*/
|
|
694
|
-
static
|
|
643
|
+
static addBloodTrailPoint(pos: Vector3): void;
|
|
695
644
|
/**
|
|
696
|
-
*
|
|
697
|
-
* textureDict - Name of texture dictionary to load texture from textureName - Name of texture to load from texture dictionary screenX/Y - Screen offset (0.5 = center)
|
|
698
|
-
* scaleX/Y - Texture scaling. Negative values can be used to flip the texture on that axis. (0.5 = half) heading - Texture rotation in degrees (default = 0.0) positive is clockwise, measured in degrees red,green,blue - Sprite color (default = 255/255/255) alpha - opacity level https://github.com/femga/rdr3_discoveries/tree/master/useful_info_from_rpfs/textures
|
|
645
|
+
* Returns whether the 'killFX' setting is enabled. ANIMPOSTFX_*
|
|
699
646
|
*
|
|
700
|
-
* @param textureDict
|
|
701
|
-
* @param textureName
|
|
702
|
-
* @param screenX
|
|
703
|
-
* @param screenY
|
|
704
|
-
* @param width
|
|
705
|
-
* @param height
|
|
706
|
-
* @param heading
|
|
707
|
-
* @param color
|
|
708
|
-
* @param alpha
|
|
709
|
-
* @param p11
|
|
710
|
-
*/
|
|
711
|
-
static drawSprite(textureDict: string | null, textureName: string | null, screenX: number, screenY: number, width: number, height: number, heading: number, color: Color, alpha: number, p11: boolean): void;
|
|
712
|
-
/**
|
|
713
647
|
* @returns
|
|
714
648
|
*/
|
|
715
|
-
static
|
|
716
|
-
/**
|
|
717
|
-
* @param ptfxHandle
|
|
718
|
-
* @param p1
|
|
719
|
-
*/
|
|
720
|
-
static removeParticleFx(ptfxHandle: number, p1: boolean): void;
|
|
649
|
+
static N_0xFF584F097C17FA8F(): boolean;
|
|
721
650
|
/**
|
|
722
|
-
*
|
|
651
|
+
* Old name: _GET_STATUS_OF_DRAW_LOW_QUALITY_PHOTO
|
|
723
652
|
*
|
|
724
|
-
* @param pos
|
|
725
|
-
* @param range
|
|
726
|
-
*/
|
|
727
|
-
static removeDecalsInRange(pos: Vector3, range: number): void;
|
|
728
|
-
/**
|
|
729
653
|
* @param p0
|
|
654
|
+
* @returns
|
|
730
655
|
*/
|
|
731
|
-
static
|
|
656
|
+
static getStatusOfCreateLowQualityCopyOfPhoto(p0: any): number;
|
|
732
657
|
/**
|
|
733
|
-
* @param
|
|
734
|
-
* @param r
|
|
735
|
-
* @param g
|
|
736
|
-
* @param b
|
|
737
|
-
* @param p4
|
|
658
|
+
* @param effectName
|
|
738
659
|
*/
|
|
739
|
-
static
|
|
660
|
+
static animpostfxClearEffect(effectName: string | null): void;
|
|
661
|
+
static pedshotInitCleanupData(): void;
|
|
740
662
|
/**
|
|
741
|
-
* @param
|
|
663
|
+
* @param vegModifierHandle
|
|
664
|
+
* @param p1
|
|
742
665
|
*/
|
|
743
|
-
static
|
|
666
|
+
static removeVegModifierSphere(vegModifierHandle: number, p1: number): void;
|
|
744
667
|
/**
|
|
745
|
-
* @param
|
|
668
|
+
* @param p0
|
|
746
669
|
*/
|
|
747
|
-
static
|
|
670
|
+
static setStatePhotoTakenStat(p0: string | null): void;
|
|
748
671
|
/**
|
|
749
672
|
* Sets the draw order for script draw commands.
|
|
750
673
|
*
|
|
@@ -836,150 +759,179 @@ export declare class Graphics {
|
|
|
836
759
|
* @param p3
|
|
837
760
|
*/
|
|
838
761
|
static N_0xD543487A1F12828F(p0: any, p1: any, p2: any, p3: any): void;
|
|
839
|
-
static N_0xEC3F7F24EEEB3BA3(): void;
|
|
840
762
|
/**
|
|
841
|
-
* Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
|
|
842
|
-
*
|
|
843
763
|
* @param p0
|
|
844
764
|
*/
|
|
845
|
-
static
|
|
846
|
-
static freeMemoryForLowQualityPhoto(): void;
|
|
847
|
-
static freeMemoryForHighQualityPhoto(): void;
|
|
848
|
-
static N_0x32DE2BFFDA43E62A(): void;
|
|
765
|
+
static N_0xFF8018C778349234(p0: any): void;
|
|
849
766
|
/**
|
|
850
|
-
*
|
|
767
|
+
* Old name: _SET_HIDOF_ENV_BLUR_PARAMS
|
|
768
|
+
*
|
|
769
|
+
* @param p0
|
|
770
|
+
* @param p1
|
|
771
|
+
* @param p2
|
|
772
|
+
* @param p3
|
|
773
|
+
* @param p4
|
|
774
|
+
* @param p5
|
|
851
775
|
*/
|
|
852
|
-
static
|
|
776
|
+
static setHidofOverride(p0: boolean, p1: boolean, p2: number, p3: number, p4: number, p5: number): void;
|
|
853
777
|
/**
|
|
854
778
|
* @param effectName
|
|
779
|
+
* @param entity
|
|
780
|
+
* @param offset
|
|
781
|
+
* @param rot
|
|
782
|
+
* @param boneIndex
|
|
783
|
+
* @param scale
|
|
784
|
+
* @param xAxis
|
|
785
|
+
* @param yAxis
|
|
786
|
+
* @param zAxis
|
|
787
|
+
* @returns
|
|
855
788
|
*/
|
|
856
|
-
static
|
|
857
|
-
/**
|
|
858
|
-
* @param strength
|
|
859
|
-
*/
|
|
860
|
-
static setTransitionOutOfTimecycleModifier(strength: number): void;
|
|
789
|
+
static startParticleFxLoopedOnEntityBone(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
|
|
861
790
|
/**
|
|
862
|
-
*
|
|
863
|
-
*
|
|
791
|
+
* Sets the checkpoint icon color.
|
|
792
|
+
*
|
|
793
|
+
* @param checkpoint
|
|
864
794
|
* @param color
|
|
865
795
|
* @param alpha
|
|
866
796
|
*/
|
|
867
|
-
static
|
|
797
|
+
static setCheckpointRgba2(checkpoint: number, color: Color, alpha: number): void;
|
|
868
798
|
/**
|
|
799
|
+
* nullsub, doesn't do anything (GTA5 leftover, there is no phone in RDR3)
|
|
800
|
+
*
|
|
869
801
|
* @param p0
|
|
870
|
-
* @param
|
|
802
|
+
* @param photoRotation
|
|
871
803
|
*/
|
|
872
|
-
static
|
|
804
|
+
static drawLowQualityPhotoToPhone(p0: boolean, photoRotation: number): void;
|
|
873
805
|
/**
|
|
874
|
-
*
|
|
875
|
-
*
|
|
806
|
+
* https://gfycat.com/meagerfaireyra
|
|
807
|
+
*
|
|
808
|
+
* @param entity
|
|
809
|
+
* @param color
|
|
876
810
|
*/
|
|
877
|
-
static
|
|
878
|
-
static freeMemoryForMissionCreatorPhoto(): void;
|
|
811
|
+
static setLightsColorForEntity(entity: Entity, color: Color): void;
|
|
879
812
|
/**
|
|
880
|
-
*
|
|
881
|
-
*
|
|
882
|
-
* @param
|
|
883
|
-
* @param
|
|
884
|
-
* @param
|
|
885
|
-
* @param
|
|
886
|
-
* @param
|
|
813
|
+
* @param effectName
|
|
814
|
+
* @param ped
|
|
815
|
+
* @param offset
|
|
816
|
+
* @param rot
|
|
817
|
+
* @param boneIndex
|
|
818
|
+
* @param scale
|
|
819
|
+
* @param axisX
|
|
820
|
+
* @param axisY
|
|
821
|
+
* @param axisZ
|
|
887
822
|
* @returns
|
|
888
823
|
*/
|
|
889
|
-
static
|
|
824
|
+
static startParticleFxNonLoopedOnPedBone2(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): any;
|
|
825
|
+
static N_0x981C7D863980FA51(): void;
|
|
890
826
|
/**
|
|
891
|
-
* Only used in R* SP Script spd_agnesdown1
|
|
892
|
-
*
|
|
893
827
|
* @param p0
|
|
894
|
-
* @param
|
|
895
|
-
* @param p4
|
|
896
|
-
* @param p5
|
|
897
|
-
* @param heading
|
|
898
|
-
* @returns
|
|
828
|
+
* @param p1
|
|
899
829
|
*/
|
|
900
|
-
static
|
|
830
|
+
static N_0x9F6D859C80708B26(p0: boolean, p1: boolean): void;
|
|
901
831
|
/**
|
|
902
|
-
* @
|
|
832
|
+
* @param oldAsset
|
|
833
|
+
* @param newAsset
|
|
903
834
|
*/
|
|
904
|
-
static
|
|
835
|
+
static setParticleFxOverride(oldAsset: string | null, newAsset: string | null): void;
|
|
905
836
|
/**
|
|
906
|
-
*
|
|
907
|
-
*
|
|
908
|
-
* @param proxyInteriorIndex
|
|
909
|
-
* @param state
|
|
837
|
+
* @param p0
|
|
838
|
+
* @param p1
|
|
910
839
|
*/
|
|
911
|
-
static
|
|
840
|
+
static N_0xA0F4D12D6042F6D5(p0: any, p1: any): void;
|
|
912
841
|
/**
|
|
913
|
-
* @param
|
|
842
|
+
* @param ptfxHandle
|
|
843
|
+
* @param pos
|
|
844
|
+
* @param rot
|
|
914
845
|
*/
|
|
915
|
-
static
|
|
846
|
+
static setParticleFxLoopedOffsets(ptfxHandle: number, pos: Vector3, rot: Vector3): void;
|
|
916
847
|
/**
|
|
917
848
|
* @param p0
|
|
918
|
-
* @param p1
|
|
919
|
-
* @param p2
|
|
920
|
-
* @param p3
|
|
921
|
-
* @param p4
|
|
922
|
-
* @param p5
|
|
923
|
-
* @param p6
|
|
924
|
-
* @param p7
|
|
925
|
-
*/
|
|
926
|
-
static cascadeShadowsSetCascadeBounds(p0: any, p1: boolean, p2: number, p3: number, p4: number, p5: number, p6: boolean, p7: number): void;
|
|
927
|
-
/**
|
|
928
|
-
* @param value
|
|
929
849
|
*/
|
|
930
|
-
static
|
|
850
|
+
static disableStaticVegModifier(p0: string | number): void;
|
|
931
851
|
/**
|
|
932
|
-
* @param
|
|
933
|
-
* @
|
|
852
|
+
* @param ptfxHandle
|
|
853
|
+
* @param scale
|
|
934
854
|
*/
|
|
935
|
-
static
|
|
855
|
+
static setParticleFxLoopedScale(ptfxHandle: number, scale: number): void;
|
|
936
856
|
/**
|
|
937
|
-
*
|
|
857
|
+
* https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_non_looped.lua
|
|
938
858
|
*
|
|
939
|
-
* @param
|
|
859
|
+
* @param effectName
|
|
860
|
+
* @param pos
|
|
861
|
+
* @param rot
|
|
862
|
+
* @param scale
|
|
863
|
+
* @param eventType
|
|
864
|
+
* @param bPeekOnly
|
|
865
|
+
* @param bIsRegistered
|
|
866
|
+
* @returns
|
|
940
867
|
*/
|
|
941
|
-
static
|
|
942
|
-
static setDisablePetrolDecalsIgnitingThisFrame(): void;
|
|
868
|
+
static startParticleFxNonLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, eventType: number, bPeekOnly: boolean, bIsRegistered: boolean): number;
|
|
943
869
|
/**
|
|
944
|
-
* Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
|
|
945
|
-
*
|
|
946
870
|
* @param p0
|
|
871
|
+
* @returns
|
|
947
872
|
*/
|
|
948
|
-
static
|
|
873
|
+
static isStaticVegModifierEnabled(p0: string | number): any;
|
|
949
874
|
/**
|
|
950
|
-
*
|
|
875
|
+
* Creates blood pools for the given ped in some interval for a few seconds.
|
|
951
876
|
*
|
|
952
|
-
* @param
|
|
953
|
-
* @param toggle
|
|
877
|
+
* @param ped
|
|
954
878
|
*/
|
|
955
|
-
static
|
|
879
|
+
static addBloodPoolsForPed(ped: Ped): void;
|
|
956
880
|
/**
|
|
957
|
-
* @param
|
|
881
|
+
* @param texture
|
|
882
|
+
* @param ped
|
|
883
|
+
* @param playerSlot
|
|
884
|
+
* @returns
|
|
958
885
|
*/
|
|
959
|
-
static
|
|
886
|
+
static pedshotGeneratePersonaPhoto(texture: string | null, ped: Ped, playerSlot: number): boolean;
|
|
960
887
|
/**
|
|
961
|
-
*
|
|
962
|
-
* local hash = GetHashKey("CLOTHING_ITEM_M_EYES_001_TINT_001")
|
|
963
|
-
* _GENERATE_SWATCH_TEXTURE(0, hash, 0, true)
|
|
964
|
-
* metapedType: see 0xEC9A1261BF0CE510
|
|
965
|
-
*
|
|
966
|
-
* @param slotId
|
|
967
|
-
* @param componentHash
|
|
968
|
-
* @param metapedType
|
|
969
|
-
* @param p3
|
|
888
|
+
* @returns
|
|
970
889
|
*/
|
|
971
|
-
static
|
|
890
|
+
static queueOperationToCreateSortedListOfPhotos(): any;
|
|
891
|
+
/**
|
|
892
|
+
* @param p0
|
|
893
|
+
*/
|
|
894
|
+
static setRegionPhotoTakenStat(p0: string | null): void;
|
|
895
|
+
/**
|
|
896
|
+
* @param effectName
|
|
897
|
+
*/
|
|
898
|
+
static animpostfxSetToUnload(effectName: string | null): void;
|
|
899
|
+
/**
|
|
900
|
+
* @param proxyInteriorIndex
|
|
901
|
+
* @returns
|
|
902
|
+
*/
|
|
903
|
+
static isProxyInteriorIndexArtificialLightsEnabled(proxyInteriorIndex: number): any;
|
|
904
|
+
/**
|
|
905
|
+
* @param p0
|
|
906
|
+
*/
|
|
907
|
+
static setPhotoInPhotomodeStat(p0: boolean): void;
|
|
972
908
|
/**
|
|
973
909
|
* @param entity
|
|
974
|
-
* @param mask
|
|
975
910
|
* @param intensity
|
|
976
911
|
*/
|
|
977
|
-
static
|
|
978
|
-
static disableHdtexThisFrame(): void;
|
|
912
|
+
static setLightsIntensityForEntity(entity: Entity, intensity: number): void;
|
|
979
913
|
/**
|
|
980
914
|
* @param entity
|
|
981
915
|
*/
|
|
982
|
-
static
|
|
916
|
+
static updateLightsOnEntity(entity: Entity): void;
|
|
917
|
+
/**
|
|
918
|
+
* @returns
|
|
919
|
+
*/
|
|
920
|
+
static getStatusOfTakeHighQualityPhoto(): number;
|
|
921
|
+
/**
|
|
922
|
+
* @returns
|
|
923
|
+
*/
|
|
924
|
+
static N_0x285438C26C732F9D(): any;
|
|
925
|
+
/**
|
|
926
|
+
* Sets a flag defining whether or not script draw commands should continue being drawn behind the pause menu. This is usually used for draw commands that are used with a world render target.
|
|
927
|
+
*
|
|
928
|
+
* @param toggle
|
|
929
|
+
*/
|
|
930
|
+
static setScriptGfxDrawBehindPausemenu(toggle: boolean): void;
|
|
931
|
+
/**
|
|
932
|
+
* @param p0
|
|
933
|
+
*/
|
|
934
|
+
static setDistrictPhotoTakenStat(p0: string | null): void;
|
|
983
935
|
/**
|
|
984
936
|
* @param effectName
|
|
985
937
|
* @param ped
|
|
@@ -987,23 +939,98 @@ export declare class Graphics {
|
|
|
987
939
|
* @param rot
|
|
988
940
|
* @param boneIndex
|
|
989
941
|
* @param scale
|
|
990
|
-
* @param
|
|
991
|
-
* @param
|
|
992
|
-
* @param
|
|
942
|
+
* @param xAxis
|
|
943
|
+
* @param yAxis
|
|
944
|
+
* @param zAxis
|
|
993
945
|
* @returns
|
|
994
946
|
*/
|
|
995
|
-
static
|
|
947
|
+
static startParticleFxLoopedOnPedBone(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
|
|
996
948
|
/**
|
|
997
|
-
*
|
|
998
|
-
|
|
999
|
-
|
|
949
|
+
* @param p0
|
|
950
|
+
*/
|
|
951
|
+
static setPhotoStudioStat(p0: number): void;
|
|
952
|
+
/**
|
|
953
|
+
* @param effectName
|
|
954
|
+
*/
|
|
955
|
+
static animpostfxStop(effectName: string | null): void;
|
|
956
|
+
static resetPausedRenderphases(): void;
|
|
957
|
+
/**
|
|
958
|
+
* @param unused
|
|
1000
959
|
* @returns
|
|
1001
960
|
*/
|
|
1002
|
-
static
|
|
961
|
+
static saveHighQualityPhoto(unused: number): any;
|
|
962
|
+
/**
|
|
963
|
+
* @param pos
|
|
964
|
+
* @param p2
|
|
965
|
+
*/
|
|
966
|
+
static setCloudLayer(pos: Vector2, p2: number): void;
|
|
1003
967
|
/**
|
|
1004
968
|
* @param p0
|
|
969
|
+
* @returns
|
|
1005
970
|
*/
|
|
1006
|
-
static
|
|
971
|
+
static N_0xEC3D8C228FE553D7(p0: boolean): boolean;
|
|
972
|
+
/**
|
|
973
|
+
* *RESET**
|
|
974
|
+
*/
|
|
975
|
+
static N_0x1460B644397453EB(): void;
|
|
976
|
+
/**
|
|
977
|
+
* @param personaPhotoLocalCacheType
|
|
978
|
+
*/
|
|
979
|
+
static pedshotSetPersonaPhotoType(personaPhotoLocalCacheType: number): void;
|
|
980
|
+
static pedshotFinishCleanupData(): void;
|
|
981
|
+
static N_0x1C6306E5BC25C29C(): void;
|
|
982
|
+
/**
|
|
983
|
+
* @param pos
|
|
984
|
+
*/
|
|
985
|
+
static setCloudNoise(pos: Vector3): void;
|
|
986
|
+
/**
|
|
987
|
+
* @param p0
|
|
988
|
+
*/
|
|
989
|
+
static N_0xEB48CE48EEC41FD4(p0: any): void;
|
|
990
|
+
/**
|
|
991
|
+
* Used in NET_CAMP_SPIRIT_ANIMAL_CLEAR_ANIMAL_VISIBILITY
|
|
992
|
+
*
|
|
993
|
+
* @param entity
|
|
994
|
+
*/
|
|
995
|
+
static N_0xC06F2F45A73EABCD(entity: Entity): void;
|
|
996
|
+
/**
|
|
997
|
+
* @param effectName
|
|
998
|
+
* @param pos
|
|
999
|
+
* @param rot
|
|
1000
|
+
* @param scale
|
|
1001
|
+
* @param xAxis
|
|
1002
|
+
* @param yAxis
|
|
1003
|
+
* @param zAxis
|
|
1004
|
+
* @returns
|
|
1005
|
+
*/
|
|
1006
|
+
static startNetworkedParticleFxNonLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): boolean;
|
|
1007
|
+
/**
|
|
1008
|
+
* @returns
|
|
1009
|
+
*/
|
|
1010
|
+
static getPhotoModeExposure(): number;
|
|
1011
|
+
/**
|
|
1012
|
+
* _SET_PARTICLE_FX_LOOPED_FA* - _SET_PARTICLE_FX_LOOPED_OF*
|
|
1013
|
+
*
|
|
1014
|
+
* @param ptfxHandle
|
|
1015
|
+
* @param scalar
|
|
1016
|
+
*/
|
|
1017
|
+
static setParticleFxLoopedUpdateDistantSmoke(ptfxHandle: number, scalar: number): void;
|
|
1018
|
+
/**
|
|
1019
|
+
* Known effects: MP_Trans_SceneToPhoto
|
|
1020
|
+
* MP_Trans_WinLose
|
|
1021
|
+
* SpectateFilter
|
|
1022
|
+
* MP_CharacterCreatorPhoto
|
|
1023
|
+
* MP_Trans_PhotoToScene
|
|
1024
|
+
* InterrogationHit
|
|
1025
|
+
*
|
|
1026
|
+
* @param effectName
|
|
1027
|
+
* @returns
|
|
1028
|
+
*/
|
|
1029
|
+
static animpostfxGetStackhash(effectName: string | null): number;
|
|
1030
|
+
/**
|
|
1031
|
+
* @param height
|
|
1032
|
+
*/
|
|
1033
|
+
static setCloudHeight(height: number): void;
|
|
1007
1034
|
/**
|
|
1008
1035
|
* https://imgur.com/a/I2swSDJ Old name: _SET_PICKUP_OBJECT_GLOW_ENABLED
|
|
1009
1036
|
*
|
|
@@ -1093,142 +1120,84 @@ export declare class Graphics {
|
|
|
1093
1120
|
*/
|
|
1094
1121
|
static setCheckpointRgba(checkpoint: number, color: Color, alpha: number): void;
|
|
1095
1122
|
/**
|
|
1096
|
-
*
|
|
1123
|
+
* Health Core Effect Filter Potency: p1 = 1
|
|
1124
|
+
* Stamina Core Effect Filter Potency: p1 = 2
|
|
1125
|
+
* Multiple Core Effect Filter Potency: p1 = 3
|
|
1097
1126
|
*
|
|
1098
|
-
* @param
|
|
1127
|
+
* @param effectName
|
|
1128
|
+
* @param p1
|
|
1129
|
+
* @param potency
|
|
1099
1130
|
*/
|
|
1100
|
-
static
|
|
1131
|
+
static animpostfxSetPotency(effectName: string | null, p1: number, potency: number): void;
|
|
1101
1132
|
/**
|
|
1102
|
-
*
|
|
1133
|
+
* @returns
|
|
1103
1134
|
*/
|
|
1104
|
-
static
|
|
1135
|
+
static pedshotIsAvailable(): any;
|
|
1105
1136
|
/**
|
|
1106
1137
|
* @param p0
|
|
1107
|
-
* @param p1
|
|
1108
|
-
* @param p2
|
|
1109
|
-
* @param p3
|
|
1110
|
-
* @param p4
|
|
1111
|
-
* @param p5
|
|
1112
|
-
* @param p6
|
|
1113
|
-
* @param p7
|
|
1114
|
-
* @param p8
|
|
1115
|
-
* @param p9
|
|
1116
|
-
* @param p10
|
|
1117
|
-
* @param p11
|
|
1118
|
-
* @param p12
|
|
1119
|
-
* @param p13
|
|
1120
|
-
* @param p14
|
|
1121
|
-
* @param p15
|
|
1122
|
-
* @param p16
|
|
1123
|
-
* @param p17
|
|
1124
|
-
* @param p18
|
|
1125
|
-
* @param p19
|
|
1126
|
-
* @param p20
|
|
1127
|
-
* @param p21
|
|
1128
|
-
* @returns
|
|
1129
1138
|
*/
|
|
1130
|
-
static
|
|
1139
|
+
static N_0xD9BC98B55BCFAA9B(p0: any): void;
|
|
1131
1140
|
/**
|
|
1132
|
-
*
|
|
1141
|
+
* @param pos
|
|
1142
|
+
* @param xScale
|
|
1143
|
+
* @param yScale
|
|
1144
|
+
* @param rotation
|
|
1145
|
+
* @param color
|
|
1146
|
+
* @param alpha
|
|
1133
1147
|
*/
|
|
1134
|
-
static
|
|
1148
|
+
static drawTvChannel(pos: Vector2, xScale: number, yScale: number, rotation: number, color: Color, alpha: number): void;
|
|
1135
1149
|
/**
|
|
1136
|
-
*
|
|
1137
|
-
*
|
|
1138
|
-
* @param pos
|
|
1139
|
-
* @param p3
|
|
1140
|
-
* @param p4
|
|
1141
|
-
* @returns
|
|
1150
|
+
* @param handle
|
|
1142
1151
|
*/
|
|
1143
|
-
static
|
|
1144
|
-
static N_0xA21AF60C9F99CCC5(): void;
|
|
1152
|
+
static removeGrassCullSphere(handle: number): void;
|
|
1145
1153
|
/**
|
|
1146
|
-
* @param
|
|
1147
|
-
* @param entity
|
|
1148
|
-
* @param offset
|
|
1149
|
-
* @param rot
|
|
1150
|
-
* @param scale
|
|
1151
|
-
* @param xAxis
|
|
1152
|
-
* @param yAxis
|
|
1153
|
-
* @param zAxis
|
|
1154
|
+
* @param slots
|
|
1154
1155
|
* @returns
|
|
1155
1156
|
*/
|
|
1156
|
-
static
|
|
1157
|
+
static createSwatchTextureDict(slots: number): any;
|
|
1157
1158
|
/**
|
|
1158
|
-
*
|
|
1159
|
-
* 1 = getting status
|
|
1160
|
-
* 2 = failed
|
|
1159
|
+
* _GET_C* - _GET_E*
|
|
1161
1160
|
*
|
|
1162
1161
|
* @returns
|
|
1163
1162
|
*/
|
|
1164
|
-
static
|
|
1163
|
+
static getModifiedVisibilityDistance(): number;
|
|
1165
1164
|
/**
|
|
1166
|
-
*
|
|
1167
|
-
*/
|
|
1168
|
-
static getPhotoModeContrast(): number;
|
|
1169
|
-
/**
|
|
1170
|
-
* @param pos
|
|
1171
|
-
*/
|
|
1172
|
-
static addBloodTrailPoint(pos: Vector3): void;
|
|
1173
|
-
/**
|
|
1174
|
-
* Returns whether the 'killFX' setting is enabled. ANIMPOSTFX_*
|
|
1175
|
-
*
|
|
1176
|
-
* @returns
|
|
1177
|
-
*/
|
|
1178
|
-
static N_0xFF584F097C17FA8F(): boolean;
|
|
1179
|
-
/**
|
|
1180
|
-
* Old name: _GET_STATUS_OF_DRAW_LOW_QUALITY_PHOTO
|
|
1165
|
+
* nullsub, doesn't do anything
|
|
1181
1166
|
*
|
|
1182
1167
|
* @param p0
|
|
1183
|
-
* @returns
|
|
1184
|
-
*/
|
|
1185
|
-
static getStatusOfCreateLowQualityCopyOfPhoto(p0: any): number;
|
|
1186
|
-
/**
|
|
1187
|
-
* @param effectName
|
|
1188
1168
|
*/
|
|
1189
|
-
static
|
|
1190
|
-
static pedshotInitCleanupData(): void;
|
|
1169
|
+
static N_0x94B261F1F35293E1(p0: any): void;
|
|
1191
1170
|
/**
|
|
1192
|
-
*
|
|
1193
|
-
*
|
|
1171
|
+
* Probably changes tvs from being a 3d audio to being "global" audio
|
|
1172
|
+
*
|
|
1173
|
+
* @param toggle
|
|
1194
1174
|
*/
|
|
1195
|
-
static
|
|
1175
|
+
static setTvAudioFrontend(toggle: boolean): void;
|
|
1196
1176
|
/**
|
|
1197
|
-
* @
|
|
1177
|
+
* @returns
|
|
1198
1178
|
*/
|
|
1199
|
-
static
|
|
1179
|
+
static getTimecycleTransitionModifierIndex(): number;
|
|
1200
1180
|
/**
|
|
1201
1181
|
* @param ptfxHandle
|
|
1202
|
-
* @param
|
|
1182
|
+
* @param propertyName
|
|
1183
|
+
* @param amount
|
|
1184
|
+
* @param noNetwork
|
|
1203
1185
|
*/
|
|
1204
|
-
static
|
|
1186
|
+
static setParticleFxLoopedEvolution(ptfxHandle: number, propertyName: string | null, amount: number, noNetwork: boolean): void;
|
|
1205
1187
|
/**
|
|
1206
|
-
* @param
|
|
1207
|
-
* @param p1
|
|
1208
|
-
* @param p2
|
|
1209
|
-
* @param p3
|
|
1188
|
+
* @param effectName
|
|
1210
1189
|
* @returns
|
|
1211
1190
|
*/
|
|
1212
|
-
static
|
|
1213
|
-
/**
|
|
1214
|
-
* @param entity
|
|
1215
|
-
*/
|
|
1216
|
-
static removeEntityFromEntityMask(entity: Entity): void;
|
|
1217
|
-
/**
|
|
1218
|
-
* @param p0
|
|
1219
|
-
* @param p1
|
|
1220
|
-
* @param p2
|
|
1221
|
-
*/
|
|
1222
|
-
static setParticleFxNonLoopedEmitterScale(p0: number, p1: number, p2: number): void;
|
|
1191
|
+
static animpostfxHasLoaded(effectName: string | null): any;
|
|
1223
1192
|
/**
|
|
1224
|
-
* @param
|
|
1193
|
+
* @param decal
|
|
1225
1194
|
* @returns
|
|
1226
1195
|
*/
|
|
1227
|
-
static
|
|
1196
|
+
static isDecalAlive(decal: number): boolean;
|
|
1228
1197
|
/**
|
|
1229
1198
|
* @param p0
|
|
1230
1199
|
*/
|
|
1231
|
-
static
|
|
1200
|
+
static N_0x453D16D41FC51D3E(p0: boolean): void;
|
|
1232
1201
|
/**
|
|
1233
1202
|
* @param p0
|
|
1234
1203
|
* @param p1
|
|
@@ -1237,362 +1206,393 @@ export declare class Graphics {
|
|
|
1237
1206
|
* @param p4
|
|
1238
1207
|
* @param p5
|
|
1239
1208
|
* @param p6
|
|
1209
|
+
* @returns
|
|
1240
1210
|
*/
|
|
1241
|
-
static
|
|
1242
|
-
static cascadeShadowsClearShadowSampleType(): void;
|
|
1243
|
-
/**
|
|
1244
|
-
* Draws a rectangle on the screen. -x: The relative X point of the center of the rectangle. (0.0-1.0, 0.0 is the left edge of the screen, 1.0 is the right edge of the screen) -y: The relative Y point of the center of the rectangle. (0.0-1.0, 0.0 is the top edge of the screen, 1.0 is the bottom edge of the screen) -width: The relative width of the rectangle. (0.0-1.0, 1.0 means the whole screen width) -height: The relative height of the rectangle. (0.0-1.0, 1.0 means the whole screen height) -R: Red part of the color. (0-255) -G: Green part of the color. (0-255) -B: Blue part of the color. (0-255) -A: Alpha part of the color. (0-255, 0 means totally transparent, 255 means totally opaque)
|
|
1245
|
-
*
|
|
1246
|
-
* @param x
|
|
1247
|
-
* @param y
|
|
1248
|
-
* @param width
|
|
1249
|
-
* @param height
|
|
1250
|
-
* @param color
|
|
1251
|
-
* @param alpha
|
|
1252
|
-
* @param p8
|
|
1253
|
-
* @param p9
|
|
1254
|
-
*/
|
|
1255
|
-
static drawRect(x: number, y: number, width: number, height: number, color: Color, alpha: number, p8: boolean, p9: boolean): void;
|
|
1256
|
-
/**
|
|
1257
|
-
* @param tvChannel
|
|
1258
|
-
* @param playlistName
|
|
1259
|
-
* @param restart
|
|
1260
|
-
*/
|
|
1261
|
-
static setTvChannelPlaylist(tvChannel: number, playlistName: string | null, restart: boolean): void;
|
|
1211
|
+
static N_0xE63D68F455CA0B47(p0: any, p1: any, p2: any, p3: any, p4: any, p5: any, p6: any): any;
|
|
1262
1212
|
/**
|
|
1263
|
-
* @param
|
|
1213
|
+
* @param pos
|
|
1214
|
+
* @param colorR
|
|
1215
|
+
* @param colorG
|
|
1216
|
+
* @param colorB
|
|
1217
|
+
* @param range
|
|
1218
|
+
* @param intensity
|
|
1264
1219
|
*/
|
|
1265
|
-
static
|
|
1220
|
+
static drawLightWithRange(pos: Vector3, colorR: number, colorG: number, colorB: number, range: number, intensity: number): void;
|
|
1266
1221
|
/**
|
|
1267
|
-
* *
|
|
1222
|
+
* Only used in guama1 R* SP Script while spawning the ship
|
|
1223
|
+
* *SET_ENTITY_QUATERNION** - SET_ENTITY_RENDER_*
|
|
1268
1224
|
*
|
|
1269
|
-
* @param
|
|
1225
|
+
* @param vehicle
|
|
1226
|
+
* @param toggle
|
|
1270
1227
|
*/
|
|
1271
|
-
static
|
|
1228
|
+
static setEntityRenderGuarmaShip(vehicle: Vehicle, toggle: boolean): void;
|
|
1272
1229
|
/**
|
|
1230
|
+
* @param effectName
|
|
1231
|
+
* @param entity
|
|
1232
|
+
* @param offset
|
|
1233
|
+
* @param rot
|
|
1234
|
+
* @param scale
|
|
1235
|
+
* @param axisX
|
|
1236
|
+
* @param axisY
|
|
1237
|
+
* @param axisZ
|
|
1273
1238
|
* @returns
|
|
1274
1239
|
*/
|
|
1275
|
-
static
|
|
1240
|
+
static startNetworkedParticleFxNonLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
|
|
1276
1241
|
/**
|
|
1277
|
-
* @param
|
|
1278
|
-
* @param p2
|
|
1279
|
-
* @param p3
|
|
1280
|
-
* @returns p0
|
|
1242
|
+
* @param lock
|
|
1281
1243
|
*/
|
|
1282
|
-
static
|
|
1244
|
+
static setPhotoModeExposureLocked(lock: boolean): void;
|
|
1245
|
+
static N_0x815653A42C5ABE76(): void;
|
|
1283
1246
|
/**
|
|
1284
|
-
* @param
|
|
1285
|
-
* @returns
|
|
1247
|
+
* @param effectName
|
|
1248
|
+
* @returns
|
|
1286
1249
|
*/
|
|
1287
|
-
static
|
|
1250
|
+
static animpostfxIsTagPlaying(effectName: string | null): any;
|
|
1288
1251
|
/**
|
|
1289
|
-
*
|
|
1290
|
-
*
|
|
1291
|
-
*
|
|
1292
|
-
*
|
|
1252
|
+
* enum class eSnowCoverageType
|
|
1253
|
+
* {
|
|
1254
|
+
* Primary,
|
|
1255
|
+
* Secondary,
|
|
1256
|
+
* Xmas,
|
|
1257
|
+
* XmasSecondary // since b1232
|
|
1258
|
+
* };
|
|
1259
|
+
*
|
|
1260
|
+
* @param type
|
|
1293
1261
|
*/
|
|
1294
|
-
static
|
|
1262
|
+
static setSnowCoverageType(type: number): void;
|
|
1295
1263
|
/**
|
|
1296
|
-
* @param
|
|
1264
|
+
* @param effectNameHash
|
|
1297
1265
|
*/
|
|
1298
|
-
static
|
|
1266
|
+
static animpostfxPlayTag(effectNameHash: string | number): void;
|
|
1299
1267
|
/**
|
|
1300
|
-
*
|
|
1301
|
-
*
|
|
1302
|
-
* @param p0
|
|
1303
|
-
* @param p1
|
|
1304
|
-
* @param p2
|
|
1305
|
-
* @param p3
|
|
1306
|
-
* @param p4
|
|
1307
|
-
* @param p5
|
|
1268
|
+
* @param pickupObject
|
|
1269
|
+
* @param toggle
|
|
1308
1270
|
*/
|
|
1309
|
-
static
|
|
1271
|
+
static blockPickupObjectLight(pickupObject: Prop, toggle: boolean): void;
|
|
1310
1272
|
/**
|
|
1311
1273
|
* @param effectName
|
|
1312
1274
|
* @param entity
|
|
1313
1275
|
* @param offset
|
|
1314
1276
|
* @param rot
|
|
1315
|
-
* @param boneIndex
|
|
1316
1277
|
* @param scale
|
|
1317
1278
|
* @param xAxis
|
|
1318
1279
|
* @param yAxis
|
|
1319
1280
|
* @param zAxis
|
|
1320
1281
|
* @returns
|
|
1321
1282
|
*/
|
|
1322
|
-
static
|
|
1323
|
-
/**
|
|
1324
|
-
* Sets the checkpoint icon color.
|
|
1325
|
-
*
|
|
1326
|
-
* @param checkpoint
|
|
1327
|
-
* @param color
|
|
1328
|
-
* @param alpha
|
|
1329
|
-
*/
|
|
1330
|
-
static setCheckpointRgba2(checkpoint: number, color: Color, alpha: number): void;
|
|
1283
|
+
static startNetworkedParticleFxLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
|
|
1331
1284
|
/**
|
|
1332
|
-
*
|
|
1333
|
-
*
|
|
1334
|
-
* @param p0
|
|
1335
|
-
* @param photoRotation
|
|
1285
|
+
* @param pos
|
|
1286
|
+
* @param radius
|
|
1336
1287
|
*/
|
|
1337
|
-
static
|
|
1288
|
+
static removeParticleFxInRange(pos: Vector3, radius: number): void;
|
|
1338
1289
|
/**
|
|
1339
|
-
* https://
|
|
1290
|
+
* https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_looped.lua
|
|
1340
1291
|
*
|
|
1341
|
-
* @param entity
|
|
1342
|
-
* @param color
|
|
1343
|
-
*/
|
|
1344
|
-
static setLightsColorForEntity(entity: Entity, color: Color): void;
|
|
1345
|
-
/**
|
|
1346
1292
|
* @param effectName
|
|
1347
|
-
* @param
|
|
1348
|
-
* @param offset
|
|
1293
|
+
* @param pos
|
|
1349
1294
|
* @param rot
|
|
1350
|
-
* @param boneIndex
|
|
1351
1295
|
* @param scale
|
|
1352
|
-
* @param
|
|
1353
|
-
* @param
|
|
1354
|
-
* @param
|
|
1296
|
+
* @param xAxis
|
|
1297
|
+
* @param yAxis
|
|
1298
|
+
* @param zAxis
|
|
1299
|
+
* @param p11
|
|
1355
1300
|
* @returns
|
|
1356
1301
|
*/
|
|
1357
|
-
static
|
|
1358
|
-
static N_0x981C7D863980FA51(): void;
|
|
1302
|
+
static startParticleFxLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean, p11: boolean): number;
|
|
1359
1303
|
/**
|
|
1360
|
-
* @
|
|
1361
|
-
* @param p1
|
|
1304
|
+
* @returns
|
|
1362
1305
|
*/
|
|
1363
|
-
static
|
|
1306
|
+
static getTimecycleModifierIndex(): number;
|
|
1364
1307
|
/**
|
|
1365
|
-
*
|
|
1366
|
-
*
|
|
1308
|
+
* nullsub, doesn't do anything
|
|
1309
|
+
*
|
|
1310
|
+
* @param toggle
|
|
1367
1311
|
*/
|
|
1368
|
-
static
|
|
1312
|
+
static enableMovieSubtitles(toggle: boolean): void;
|
|
1369
1313
|
/**
|
|
1370
1314
|
* @param p0
|
|
1371
1315
|
* @param p1
|
|
1316
|
+
* @param p2
|
|
1317
|
+
* @param p3
|
|
1318
|
+
* @param p4
|
|
1372
1319
|
*/
|
|
1373
|
-
static
|
|
1320
|
+
static N_0x171C18E994C1A395(p0: any, p1: any, p2: any, p3: any, p4: any): void;
|
|
1374
1321
|
/**
|
|
1375
|
-
*
|
|
1376
|
-
*
|
|
1377
|
-
* @
|
|
1322
|
+
* Doesn't actually return anything. ANIMPOSTFX_*
|
|
1323
|
+
*
|
|
1324
|
+
* @returns
|
|
1378
1325
|
*/
|
|
1379
|
-
static
|
|
1326
|
+
static N_0xC37792A3F9C90771(): any;
|
|
1327
|
+
/**
|
|
1328
|
+
* Adds Vegetation Blocking Zone, Added Snow Flattening veg mod Zone
|
|
1329
|
+
* Returns veg modifier handle
|
|
1330
|
+
*
|
|
1331
|
+
* @param volume
|
|
1332
|
+
* @param p1
|
|
1333
|
+
* @param flags
|
|
1334
|
+
* @param p3
|
|
1335
|
+
* @returns
|
|
1336
|
+
*/
|
|
1337
|
+
static addVegModifierZone(volume: Volume, p1: number, flags: number, p3: number): number;
|
|
1338
|
+
static N_0xEC3F7F24EEEB3BA3(): void;
|
|
1380
1339
|
/**
|
|
1340
|
+
* Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
|
|
1341
|
+
*
|
|
1381
1342
|
* @param p0
|
|
1382
1343
|
*/
|
|
1383
|
-
static
|
|
1344
|
+
static N_0x41F88A85A579A61D(p0: number): void;
|
|
1345
|
+
static freeMemoryForLowQualityPhoto(): void;
|
|
1346
|
+
static freeMemoryForHighQualityPhoto(): void;
|
|
1347
|
+
static N_0x32DE2BFFDA43E62A(): void;
|
|
1384
1348
|
/**
|
|
1385
|
-
*
|
|
1386
|
-
* @param scale
|
|
1349
|
+
* Resets the exposure to the value when exposure lock was enabled
|
|
1387
1350
|
*/
|
|
1388
|
-
static
|
|
1351
|
+
static updatePhotoModeExposure(): void;
|
|
1389
1352
|
/**
|
|
1390
|
-
* https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_non_looped.lua
|
|
1391
|
-
*
|
|
1392
1353
|
* @param effectName
|
|
1393
|
-
* @param pos
|
|
1394
|
-
* @param rot
|
|
1395
|
-
* @param scale
|
|
1396
|
-
* @param eventType
|
|
1397
|
-
* @param bPeekOnly
|
|
1398
|
-
* @param bIsRegistered
|
|
1399
|
-
* @returns
|
|
1400
1354
|
*/
|
|
1401
|
-
static
|
|
1355
|
+
static animpostfxPreloadPostfx(effectName: string | null): void;
|
|
1402
1356
|
/**
|
|
1403
|
-
* @param
|
|
1404
|
-
* @returns
|
|
1357
|
+
* @param strength
|
|
1405
1358
|
*/
|
|
1406
|
-
static
|
|
1359
|
+
static setTransitionOutOfTimecycleModifier(strength: number): void;
|
|
1360
|
+
/**
|
|
1361
|
+
* @param effectName
|
|
1362
|
+
* @param p1
|
|
1363
|
+
* @param color
|
|
1364
|
+
* @param alpha
|
|
1365
|
+
*/
|
|
1366
|
+
static animpostfxSetPostfxColor(effectName: string | null, p1: number, color: Color, alpha: number): void;
|
|
1407
1367
|
/**
|
|
1408
1368
|
* @param p0
|
|
1409
1369
|
* @param p1
|
|
1410
1370
|
*/
|
|
1411
|
-
static
|
|
1371
|
+
static startPetrolTrailDecals(p0: any, p1: any): void;
|
|
1412
1372
|
/**
|
|
1413
|
-
*
|
|
1414
|
-
*
|
|
1373
|
+
* @param pickupObject
|
|
1374
|
+
* @param allow
|
|
1375
|
+
*/
|
|
1376
|
+
static allowPickupLightSync(pickupObject: Prop, allow: boolean): void;
|
|
1377
|
+
static freeMemoryForMissionCreatorPhoto(): void;
|
|
1378
|
+
/**
|
|
1379
|
+
* Returns veg modifier handle
|
|
1415
1380
|
*
|
|
1416
1381
|
* @param pos
|
|
1417
|
-
* @param
|
|
1418
|
-
* @param
|
|
1382
|
+
* @param radius
|
|
1383
|
+
* @param modType
|
|
1384
|
+
* @param flags
|
|
1385
|
+
* @param p6
|
|
1386
|
+
* @returns
|
|
1387
|
+
*/
|
|
1388
|
+
static addVegModifierSphere(pos: Vector3, radius: number, modType: number, flags: number, p6: number): number;
|
|
1389
|
+
/**
|
|
1390
|
+
* Only used in R* SP Script spd_agnesdown1
|
|
1391
|
+
*
|
|
1392
|
+
* @param p0
|
|
1393
|
+
* @param pos
|
|
1394
|
+
* @param p4
|
|
1419
1395
|
* @param p5
|
|
1420
|
-
* @param
|
|
1421
|
-
* @
|
|
1422
|
-
* @param p8
|
|
1396
|
+
* @param heading
|
|
1397
|
+
* @returns
|
|
1423
1398
|
*/
|
|
1424
|
-
static
|
|
1399
|
+
static N_0x402E1A61D2587FCD(p0: any, pos: Vector3, p4: number, p5: number, heading: number): boolean;
|
|
1425
1400
|
/**
|
|
1426
|
-
*
|
|
1401
|
+
* @returns
|
|
1402
|
+
*/
|
|
1403
|
+
static N_0xFC9B53C072F418E0(): any;
|
|
1404
|
+
/**
|
|
1405
|
+
* state: false disables artificial interior light sources for specific proxyInteriorIndex
|
|
1427
1406
|
*
|
|
1428
|
-
* @param
|
|
1429
|
-
* @param
|
|
1407
|
+
* @param proxyInteriorIndex
|
|
1408
|
+
* @param state
|
|
1430
1409
|
*/
|
|
1431
|
-
static
|
|
1410
|
+
static setProxyInteriorIndexArtificialLightsState(proxyInteriorIndex: number, state: boolean): void;
|
|
1432
1411
|
/**
|
|
1433
|
-
* @param
|
|
1434
|
-
* @param range
|
|
1412
|
+
* @param scale
|
|
1435
1413
|
*/
|
|
1436
|
-
static
|
|
1414
|
+
static setParticleFxBulletImpactScale(scale: number): void;
|
|
1437
1415
|
/**
|
|
1438
1416
|
* @param p0
|
|
1439
1417
|
* @param p1
|
|
1418
|
+
* @param p2
|
|
1419
|
+
* @param p3
|
|
1420
|
+
* @param p4
|
|
1421
|
+
* @param p5
|
|
1422
|
+
* @param p6
|
|
1423
|
+
* @param p7
|
|
1440
1424
|
*/
|
|
1441
|
-
static
|
|
1425
|
+
static cascadeShadowsSetCascadeBounds(p0: any, p1: boolean, p2: number, p3: number, p4: number, p5: number, p6: boolean, p7: number): void;
|
|
1442
1426
|
/**
|
|
1443
|
-
* @param
|
|
1427
|
+
* @param value
|
|
1444
1428
|
*/
|
|
1445
|
-
static
|
|
1429
|
+
static changePhotoModeExposure(value: number): void;
|
|
1446
1430
|
/**
|
|
1431
|
+
* @param point
|
|
1447
1432
|
* @returns
|
|
1448
1433
|
*/
|
|
1449
|
-
static
|
|
1434
|
+
static isTrackedPointValid(point: number): any;
|
|
1450
1435
|
/**
|
|
1451
|
-
*
|
|
1452
|
-
* Triggers the binocular scaleform
|
|
1436
|
+
* Old name: _ENABLE_EXTRA_TIMECYCLE_MODIFIER_STRENGTH
|
|
1453
1437
|
*
|
|
1454
|
-
* @param
|
|
1438
|
+
* @param strength
|
|
1455
1439
|
*/
|
|
1456
|
-
static
|
|
1440
|
+
static enableMoonCycleOverride(strength: number): void;
|
|
1441
|
+
static setDisablePetrolDecalsIgnitingThisFrame(): void;
|
|
1457
1442
|
/**
|
|
1458
|
-
*
|
|
1443
|
+
* Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
|
|
1459
1444
|
*
|
|
1460
|
-
* @param
|
|
1461
|
-
*/
|
|
1462
|
-
static resetAdaptation(unk: number): void;
|
|
1463
|
-
/**
|
|
1464
|
-
* @param effectNameHash
|
|
1445
|
+
* @param p0
|
|
1465
1446
|
*/
|
|
1466
|
-
static
|
|
1447
|
+
static N_0x4BD66B4E3427689B(p0: string | null): void;
|
|
1467
1448
|
/**
|
|
1468
|
-
*
|
|
1469
|
-
*
|
|
1470
|
-
* @param
|
|
1471
|
-
* @
|
|
1449
|
+
* Enables/disables a kind of 'shiny' effect on metals.
|
|
1450
|
+
*
|
|
1451
|
+
* @param object
|
|
1452
|
+
* @param toggle
|
|
1472
1453
|
*/
|
|
1473
|
-
static
|
|
1474
|
-
static destroySwatchTextureDict(): void;
|
|
1454
|
+
static setPearlescentFxEnabled(object: Prop, toggle: boolean): void;
|
|
1475
1455
|
/**
|
|
1476
|
-
* @
|
|
1456
|
+
* @param enabled
|
|
1477
1457
|
*/
|
|
1478
|
-
static
|
|
1458
|
+
static setSniperGlintsEnabled(enabled: boolean): void;
|
|
1479
1459
|
/**
|
|
1480
|
-
*
|
|
1460
|
+
* Example:
|
|
1461
|
+
* local hash = GetHashKey("CLOTHING_ITEM_M_EYES_001_TINT_001")
|
|
1462
|
+
* _GENERATE_SWATCH_TEXTURE(0, hash, 0, true)
|
|
1463
|
+
* metapedType: see 0xEC9A1261BF0CE510
|
|
1481
1464
|
*
|
|
1482
|
-
* @param
|
|
1483
|
-
* @
|
|
1465
|
+
* @param slotId
|
|
1466
|
+
* @param componentHash
|
|
1467
|
+
* @param metapedType
|
|
1468
|
+
* @param p3
|
|
1484
1469
|
*/
|
|
1485
|
-
static
|
|
1470
|
+
static generateSwatchTexture(slotId: number, componentHash: string | number, metapedType: number, p3: boolean): void;
|
|
1486
1471
|
/**
|
|
1487
|
-
* @param
|
|
1472
|
+
* @param entity
|
|
1473
|
+
* @param mask
|
|
1474
|
+
* @param intensity
|
|
1488
1475
|
*/
|
|
1489
|
-
static
|
|
1476
|
+
static addEntityToEntityMaskWithIntensity(entity: Entity, mask: number, intensity: number): void;
|
|
1477
|
+
static disableHdtexThisFrame(): void;
|
|
1490
1478
|
/**
|
|
1491
|
-
* @param
|
|
1479
|
+
* @param entity
|
|
1492
1480
|
*/
|
|
1493
|
-
static
|
|
1481
|
+
static attachTvAudioToEntity(entity: Entity): void;
|
|
1494
1482
|
/**
|
|
1495
|
-
*
|
|
1496
|
-
*
|
|
1497
|
-
*
|
|
1498
|
-
* @param type
|
|
1499
|
-
* @param pos
|
|
1500
|
-
* @param direction
|
|
1483
|
+
* @param effectName
|
|
1484
|
+
* @param ped
|
|
1485
|
+
* @param offset
|
|
1501
1486
|
* @param rot
|
|
1487
|
+
* @param boneIndex
|
|
1502
1488
|
* @param scale
|
|
1503
|
-
* @param
|
|
1504
|
-
* @param
|
|
1505
|
-
* @param
|
|
1506
|
-
* @
|
|
1507
|
-
* @param p19
|
|
1508
|
-
* @param rotate
|
|
1509
|
-
* @param textureDict
|
|
1510
|
-
* @param textureName
|
|
1511
|
-
* @param drawOnEnts
|
|
1489
|
+
* @param axisX
|
|
1490
|
+
* @param axisY
|
|
1491
|
+
* @param axisZ
|
|
1492
|
+
* @returns
|
|
1512
1493
|
*/
|
|
1513
|
-
static
|
|
1494
|
+
static startParticleFxNonLoopedOnPedBone(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
|
|
1514
1495
|
/**
|
|
1515
|
-
*
|
|
1516
|
-
*
|
|
1517
|
-
* @param
|
|
1496
|
+
* contentId: returned by NETWORK::_UGC_QUERY_GET_CREATOR_PHOTO(uVar0, 0, sParam3)
|
|
1497
|
+
*
|
|
1498
|
+
* @param contentId
|
|
1499
|
+
* @returns
|
|
1518
1500
|
*/
|
|
1519
|
-
static
|
|
1501
|
+
static getStatusOfLoadMissionCreatorPhoto(contentId: string | null): number;
|
|
1520
1502
|
/**
|
|
1521
1503
|
* @param p0
|
|
1522
1504
|
*/
|
|
1523
|
-
static
|
|
1505
|
+
static N_0x6C03118E9E5C1A14(p0: any): void;
|
|
1524
1506
|
/**
|
|
1525
|
-
*
|
|
1526
|
-
*
|
|
1527
|
-
* true = Trees flickering? -> [CATALOG_BOOK_OPEN]
|
|
1507
|
+
* Related to Campfires.
|
|
1508
|
+
* p1: AMB_BONFIRE_MP, AMB_CAMPFIRE_LRG_MP
|
|
1528
1509
|
*
|
|
1529
|
-
* @param
|
|
1510
|
+
* @param entity
|
|
1511
|
+
* @param p1
|
|
1512
|
+
* @param r
|
|
1513
|
+
* @param g
|
|
1514
|
+
* @param b
|
|
1530
1515
|
*/
|
|
1531
|
-
static
|
|
1516
|
+
static setParticleFxAmbientColour(entity: Entity, p1: string | null, r: number, g: number, b: number): void;
|
|
1532
1517
|
/**
|
|
1533
|
-
*
|
|
1534
|
-
*
|
|
1518
|
+
* Resets the effect of SET_PARTICLE_FX_OVERRIDE
|
|
1519
|
+
*
|
|
1520
|
+
* @param name
|
|
1535
1521
|
*/
|
|
1536
|
-
static
|
|
1522
|
+
static resetParticleFxOverride(name: string | null): void;
|
|
1537
1523
|
/**
|
|
1524
|
+
* must be called after ANIMPOSTFX_PLAY, strength 0.0f - 1.0f
|
|
1525
|
+
*
|
|
1538
1526
|
* @param effectName
|
|
1539
|
-
* @param
|
|
1540
|
-
* @param offset
|
|
1541
|
-
* @param rot
|
|
1542
|
-
* @param boneIndex
|
|
1543
|
-
* @param scale
|
|
1544
|
-
* @param xAxis
|
|
1545
|
-
* @param yAxis
|
|
1546
|
-
* @param zAxis
|
|
1547
|
-
* @returns
|
|
1527
|
+
* @param strength
|
|
1548
1528
|
*/
|
|
1549
|
-
static
|
|
1529
|
+
static animpostfxSetStrength(effectName: string | null, strength: number): void;
|
|
1550
1530
|
/**
|
|
1551
1531
|
* @param p0
|
|
1552
1532
|
* @param p1
|
|
1553
1533
|
* @param p2
|
|
1534
|
+
* @param p3
|
|
1535
|
+
* @param p4
|
|
1554
1536
|
*/
|
|
1555
|
-
static
|
|
1537
|
+
static N_0xCC3B787E73E64160(p0: any, p1: any, p2: any, p3: any, p4: any): void;
|
|
1556
1538
|
/**
|
|
1557
|
-
*
|
|
1558
|
-
|
|
1539
|
+
* @param volume
|
|
1540
|
+
*/
|
|
1541
|
+
static setTvVolume(volume: number): void;
|
|
1542
|
+
/**
|
|
1543
|
+
* Creates a tracked point, useful for checking the visibility of a 3D point on screen.
|
|
1559
1544
|
*
|
|
1560
|
-
* @
|
|
1545
|
+
* @returns
|
|
1561
1546
|
*/
|
|
1562
|
-
static
|
|
1547
|
+
static createTrackedPoint(): number;
|
|
1563
1548
|
/**
|
|
1564
|
-
* @param
|
|
1549
|
+
* @param effectNameHash
|
|
1550
|
+
* @returns
|
|
1565
1551
|
*/
|
|
1566
|
-
static
|
|
1552
|
+
static animpostfxIsPreloadingByStackhash(effectNameHash: string | number): any;
|
|
1567
1553
|
/**
|
|
1568
|
-
*
|
|
1569
|
-
*
|
|
1570
|
-
* @returns x; y
|
|
1554
|
+
* @param personaPhotoLocalCacheType
|
|
1571
1555
|
*/
|
|
1572
|
-
static
|
|
1556
|
+
static N_0xA1A86055792FB249(personaPhotoLocalCacheType: number): void;
|
|
1573
1557
|
/**
|
|
1574
|
-
*
|
|
1558
|
+
* @param p0
|
|
1559
|
+
*/
|
|
1560
|
+
static setPhotoSelfStat(p0: boolean): void;
|
|
1561
|
+
/**
|
|
1562
|
+
* https://github.com/femga/rdr3_discoveries/blob/master/graphics/animpostfx
|
|
1575
1563
|
*
|
|
1576
1564
|
* @param effectName
|
|
1577
1565
|
*/
|
|
1578
|
-
static
|
|
1566
|
+
static animpostfxPlay(effectName: string | null): void;
|
|
1579
1567
|
/**
|
|
1580
|
-
*
|
|
1581
|
-
* @param transitionBlend
|
|
1568
|
+
* *DISABLE**
|
|
1582
1569
|
*/
|
|
1583
|
-
static
|
|
1584
|
-
static
|
|
1570
|
+
static N_0x4046493D2EEACA0E(): void;
|
|
1571
|
+
static pedshotPreviousPersonaPhotoDataCleanup(): void;
|
|
1585
1572
|
/**
|
|
1586
|
-
*
|
|
1573
|
+
* effectName2, p2 and p3 are unused ANIMPOSTFX_*
|
|
1587
1574
|
*
|
|
1588
|
-
* @param
|
|
1575
|
+
* @param effectName
|
|
1576
|
+
* @param effectName2
|
|
1577
|
+
* @param p2
|
|
1578
|
+
* @param p3
|
|
1589
1579
|
*/
|
|
1590
|
-
static
|
|
1591
|
-
static animpostfxStopAll(): void;
|
|
1580
|
+
static N_0x26DD2FB0A88CC412(effectName: string | null, effectName2: string | null, p2: any, p3: any): void;
|
|
1592
1581
|
/**
|
|
1593
|
-
*
|
|
1594
|
-
*
|
|
1582
|
+
* Example: https://pastebin.com/tTgpER9A
|
|
1583
|
+
*
|
|
1584
|
+
* @param slot
|
|
1585
|
+
* @param p1
|
|
1595
1586
|
*/
|
|
1596
|
-
static
|
|
1587
|
+
static generateSwatchTextureDirectly(slot: number, p1: any): void;
|
|
1588
|
+
/**
|
|
1589
|
+
* @param p0
|
|
1590
|
+
*/
|
|
1591
|
+
static setParticleFxBulletImpactLodrangeScale(p0: number): void;
|
|
1592
|
+
/**
|
|
1593
|
+
* @param p0
|
|
1594
|
+
* @param p1
|
|
1595
|
+
*/
|
|
1596
|
+
static N_0x1FF8731BE1DFC0C0(p0: any, p1: any): void;
|
|
1597
1597
|
}
|
|
1598
1598
|
//# sourceMappingURL=Graphics.d.ts.map
|