@nativewrappers/redm-codegen 0.0.2 → 0.0.4
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 +101 -101
- package/dist/classes/AnimScene.d.ts.map +1 -1
- package/dist/classes/AnimScene.js +147 -147
- package/dist/classes/BaseModel.d.ts +12 -12
- package/dist/classes/BaseModel.d.ts.map +1 -1
- package/dist/classes/BaseModel.js +18 -18
- package/dist/classes/BaseTask.d.ts +22 -22
- package/dist/classes/BaseTask.d.ts.map +1 -1
- package/dist/classes/BaseTask.js +29 -29
- package/dist/classes/Cam.d.ts +86 -86
- package/dist/classes/Cam.d.ts.map +1 -1
- package/dist/classes/Cam.js +116 -116
- package/dist/classes/Entity.d.ts +426 -425
- package/dist/classes/Entity.d.ts.map +1 -1
- package/dist/classes/Entity.js +594 -589
- package/dist/classes/Interior.d.ts +1 -1
- package/dist/classes/Interior.d.ts.map +1 -1
- package/dist/classes/Ped.d.ts +13 -12
- package/dist/classes/Ped.d.ts.map +1 -1
- package/dist/classes/Ped.js +5 -0
- package/dist/classes/PedTask.d.ts +729 -729
- package/dist/classes/PedTask.d.ts.map +1 -1
- package/dist/classes/PedTask.js +951 -951
- package/dist/classes/PersChar.d.ts +11 -11
- package/dist/classes/PersChar.d.ts.map +1 -1
- package/dist/classes/PersChar.js +17 -17
- package/dist/classes/Pickup.d.ts +3 -3
- package/dist/classes/Pickup.d.ts.map +1 -1
- package/dist/classes/Pickup.js +7 -7
- package/dist/classes/Player.d.ts +164 -164
- package/dist/classes/Player.d.ts.map +1 -1
- package/dist/classes/Player.js +218 -218
- package/dist/classes/Prop.d.ts +87 -86
- package/dist/classes/Prop.d.ts.map +1 -1
- package/dist/classes/Prop.js +131 -126
- package/dist/classes/PropSet.d.ts +18 -18
- package/dist/classes/PropSet.d.ts.map +1 -1
- package/dist/classes/PropSet.js +25 -25
- package/dist/classes/Vehicle.d.ts +1 -0
- package/dist/classes/Vehicle.d.ts.map +1 -1
- package/dist/classes/Vehicle.js +5 -0
- package/dist/classes/VehicleTask.d.ts +18 -18
- package/dist/classes/VehicleTask.d.ts.map +1 -1
- package/dist/classes/VehicleTask.js +26 -26
- package/dist/classes/Volume.d.ts +1 -1
- package/dist/classes/Volume.d.ts.map +1 -1
- package/dist/classes/Weapon.d.ts +277 -277
- package/dist/classes/Weapon.d.ts.map +1 -1
- package/dist/classes/Weapon.js +398 -398
- package/dist/namespaces/Aitransport.d.ts +77 -77
- package/dist/namespaces/Aitransport.d.ts.map +1 -1
- package/dist/namespaces/Aitransport.js +94 -94
- package/dist/namespaces/Animscene.d.ts +51 -51
- package/dist/namespaces/Animscene.d.ts.map +1 -1
- package/dist/namespaces/Animscene.js +69 -69
- package/dist/namespaces/Audio.d.ts +2 -2
- package/dist/namespaces/Audio.d.ts.map +1 -1
- package/dist/namespaces/Bounty.d.ts +57 -57
- package/dist/namespaces/Bounty.d.ts.map +1 -1
- package/dist/namespaces/Bounty.js +90 -90
- 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 +317 -317
- package/dist/namespaces/CamStatics.d.ts.map +1 -1
- package/dist/namespaces/CamStatics.js +449 -449
- package/dist/namespaces/Collection.d.ts +13 -13
- package/dist/namespaces/Collection.d.ts.map +1 -1
- package/dist/namespaces/Collection.js +8 -8
- package/dist/namespaces/Companion.d.ts +22 -22
- package/dist/namespaces/Companion.d.ts.map +1 -1
- package/dist/namespaces/Companion.js +30 -30
- package/dist/namespaces/Compendium.d.ts +60 -60
- package/dist/namespaces/Compendium.d.ts.map +1 -1
- package/dist/namespaces/Compendium.js +80 -80
- package/dist/namespaces/Crashlog.d.ts +10 -10
- package/dist/namespaces/Crashlog.d.ts.map +1 -1
- package/dist/namespaces/Crashlog.js +14 -14
- package/dist/namespaces/Databinding.d.ts +173 -173
- package/dist/namespaces/Databinding.d.ts.map +1 -1
- package/dist/namespaces/Databinding.js +263 -263
- package/dist/namespaces/Dlc.d.ts +5 -5
- package/dist/namespaces/Dlc.d.ts.map +1 -1
- package/dist/namespaces/Dlc.js +9 -9
- package/dist/namespaces/EntityStatics.d.ts +178 -178
- package/dist/namespaces/EntityStatics.d.ts.map +1 -1
- package/dist/namespaces/EntityStatics.js +242 -242
- package/dist/namespaces/Event.d.ts +62 -62
- package/dist/namespaces/Event.d.ts.map +1 -1
- package/dist/namespaces/Event.js +82 -82
- package/dist/namespaces/Fire.d.ts +7 -7
- package/dist/namespaces/Fire.d.ts.map +1 -1
- package/dist/namespaces/Fire.js +9 -9
- package/dist/namespaces/Graphics.d.ts +797 -797
- package/dist/namespaces/Graphics.d.ts.map +1 -1
- package/dist/namespaces/Graphics.js +1095 -1095
- package/dist/namespaces/Hud.d.ts +477 -477
- package/dist/namespaces/Hud.d.ts.map +1 -1
- package/dist/namespaces/Hud.js +721 -721
- package/dist/namespaces/InteriorStatics.d.ts +2 -2
- package/dist/namespaces/InteriorStatics.d.ts.map +1 -1
- package/dist/namespaces/Inventory.d.ts +216 -216
- package/dist/namespaces/Inventory.d.ts.map +1 -1
- package/dist/namespaces/Inventory.js +301 -301
- package/dist/namespaces/Itemdatabase.d.ts +8 -8
- package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
- package/dist/namespaces/Itemdatabase.js +7 -7
- package/dist/namespaces/Law.d.ts +2 -2
- package/dist/namespaces/Law.d.ts.map +1 -1
- package/dist/namespaces/Map.d.ts +65 -65
- package/dist/namespaces/Map.d.ts.map +1 -1
- package/dist/namespaces/Map.js +91 -91
- package/dist/namespaces/Minigame.d.ts +17 -17
- package/dist/namespaces/Minigame.d.ts.map +1 -1
- package/dist/namespaces/Minigame.js +25 -25
- package/dist/namespaces/Misc.d.ts +5 -5
- package/dist/namespaces/Misc.d.ts.map +1 -1
- package/dist/namespaces/Missiondata.d.ts +3 -3
- package/dist/namespaces/Missiondata.d.ts.map +1 -1
- package/dist/namespaces/Netshopping.d.ts +1 -1
- package/dist/namespaces/Netshopping.d.ts.map +1 -1
- package/dist/namespaces/Network.d.ts +1302 -1310
- package/dist/namespaces/Network.d.ts.map +1 -1
- package/dist/namespaces/Network.js +1910 -1918
- package/dist/namespaces/Object.d.ts +170 -170
- package/dist/namespaces/Object.d.ts.map +1 -1
- package/dist/namespaces/Object.js +232 -232
- package/dist/namespaces/Pad.d.ts +103 -103
- package/dist/namespaces/Pad.d.ts.map +1 -1
- package/dist/namespaces/Pad.js +134 -134
- package/dist/namespaces/PedStatics.d.ts +3 -3
- package/dist/namespaces/PedStatics.d.ts.map +1 -1
- package/dist/namespaces/Perschar.d.ts +71 -71
- package/dist/namespaces/Perschar.d.ts.map +1 -1
- package/dist/namespaces/Perschar.js +106 -106
- package/dist/namespaces/Persistence.d.ts +30 -30
- package/dist/namespaces/Persistence.d.ts.map +1 -1
- package/dist/namespaces/Persistence.js +42 -42
- package/dist/namespaces/PlayerStatics.d.ts +52 -52
- package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
- package/dist/namespaces/PlayerStatics.js +71 -71
- package/dist/namespaces/Population.d.ts +3 -3
- package/dist/namespaces/Population.d.ts.map +1 -1
- package/dist/namespaces/Posse.d.ts +28 -28
- package/dist/namespaces/Posse.d.ts.map +1 -1
- package/dist/namespaces/Posse.js +44 -44
- 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/Scripts.d.ts +3 -3
- package/dist/namespaces/Scripts.d.ts.map +1 -1
- package/dist/namespaces/Socialclub.d.ts +1 -1
- package/dist/namespaces/Socialclub.d.ts.map +1 -1
- package/dist/namespaces/Stats.d.ts +85 -85
- package/dist/namespaces/Stats.d.ts.map +1 -1
- package/dist/namespaces/Stats.js +113 -113
- package/dist/namespaces/Streaming.d.ts +35 -35
- package/dist/namespaces/Streaming.d.ts.map +1 -1
- package/dist/namespaces/Streaming.js +53 -53
- package/dist/namespaces/Task.d.ts +367 -367
- package/dist/namespaces/Task.d.ts.map +1 -1
- package/dist/namespaces/Task.js +508 -508
- package/dist/namespaces/Telemetry.d.ts +198 -198
- package/dist/namespaces/Telemetry.d.ts.map +1 -1
- package/dist/namespaces/Telemetry.js +274 -274
- package/dist/namespaces/Uiapps.d.ts +24 -24
- package/dist/namespaces/Uiapps.d.ts.map +1 -1
- package/dist/namespaces/Uiapps.js +33 -33
- 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/VehicleStatics.d.ts +2 -2
- package/dist/namespaces/VehicleStatics.d.ts.map +1 -1
- 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 +250 -250
- package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
- package/dist/namespaces/WeaponStatics.js +372 -372
- package/dist/namespaces/Zone.d.ts +8 -8
- package/dist/namespaces/Zone.d.ts.map +1 -1
- package/dist/namespaces/Zone.js +9 -9
- package/package.json +1 -1
- package/src/classes/AnimScene.ts +170 -170
- package/src/classes/BaseModel.ts +21 -21
- package/src/classes/BaseTask.ts +31 -31
- package/src/classes/Cam.ts +124 -124
- package/src/classes/Entity.ts +619 -614
- package/src/classes/Interior.ts +1 -1
- package/src/classes/Ped.ts +17 -12
- package/src/classes/PedTask.ts +1011 -1011
- package/src/classes/PersChar.ts +19 -19
- package/src/classes/Pickup.ts +8 -8
- package/src/classes/Player.ts +227 -227
- package/src/classes/Prop.ts +146 -141
- package/src/classes/PropSet.ts +29 -29
- package/src/classes/Vehicle.ts +5 -0
- package/src/classes/VehicleTask.ts +30 -30
- package/src/classes/Volume.ts +1 -1
- package/src/classes/Weapon.ts +414 -414
- package/src/namespaces/Aitransport.ts +102 -102
- package/src/namespaces/Animscene.ts +78 -78
- package/src/namespaces/Audio.ts +2 -2
- package/src/namespaces/Bounty.ts +102 -102
- package/src/namespaces/Brain.ts +22 -22
- package/src/namespaces/CamStatics.ts +501 -501
- package/src/namespaces/Collection.ts +16 -16
- package/src/namespaces/Companion.ts +34 -34
- package/src/namespaces/Compendium.ts +93 -93
- package/src/namespaces/Crashlog.ts +16 -16
- package/src/namespaces/Databinding.ts +280 -280
- package/src/namespaces/Dlc.ts +9 -9
- package/src/namespaces/EntityStatics.ts +249 -249
- package/src/namespaces/Event.ts +92 -92
- package/src/namespaces/Fire.ts +10 -10
- package/src/namespaces/Graphics.ts +1155 -1155
- package/src/namespaces/Hud.ts +763 -763
- package/src/namespaces/InteriorStatics.ts +2 -2
- package/src/namespaces/Inventory.ts +321 -321
- package/src/namespaces/Itemdatabase.ts +11 -11
- package/src/namespaces/Law.ts +2 -2
- package/src/namespaces/Map.ts +104 -104
- package/src/namespaces/Minigame.ts +29 -29
- package/src/namespaces/Misc.ts +5 -5
- package/src/namespaces/Missiondata.ts +3 -3
- package/src/namespaces/Netshopping.ts +1 -1
- package/src/namespaces/Network.ts +1921 -1929
- package/src/namespaces/Object.ts +237 -237
- package/src/namespaces/Pad.ts +151 -151
- package/src/namespaces/PedStatics.ts +3 -3
- package/src/namespaces/Perschar.ts +116 -116
- package/src/namespaces/Persistence.ts +48 -48
- package/src/namespaces/PlayerStatics.ts +75 -75
- package/src/namespaces/Population.ts +3 -3
- package/src/namespaces/Posse.ts +47 -47
- package/src/namespaces/Propset.ts +92 -92
- package/src/namespaces/Scripts.ts +3 -3
- package/src/namespaces/Socialclub.ts +1 -1
- package/src/namespaces/Stats.ts +129 -129
- package/src/namespaces/Streaming.ts +62 -62
- package/src/namespaces/Task.ts +538 -538
- package/src/namespaces/Telemetry.ts +295 -295
- package/src/namespaces/Uiapps.ts +39 -39
- package/src/namespaces/Uistickyfeed.ts +23 -23
- package/src/namespaces/VehicleStatics.ts +2 -2
- package/src/namespaces/Water.ts +47 -47
- package/src/namespaces/WeaponStatics.ts +394 -394
- package/src/namespaces/Zone.ts +11 -11
|
@@ -10,381 +10,572 @@ import { Vector3 } from '../types/Vector3';
|
|
|
10
10
|
import { Color } from '../types/Color';
|
|
11
11
|
export declare class Graphics {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Health Core Effect Filter Potency: p1 = 1
|
|
14
|
+
* Stamina Core Effect Filter Potency: p1 = 2
|
|
15
|
+
* Multiple Core Effect Filter Potency: p1 = 3
|
|
14
16
|
*
|
|
15
|
-
* @param
|
|
17
|
+
* @param effectName
|
|
18
|
+
* @param p1
|
|
19
|
+
* @param potency
|
|
16
20
|
*/
|
|
17
|
-
static
|
|
21
|
+
static animpostfxSetPotency(effectName: string | null, p1: number, potency: number): void;
|
|
18
22
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* @param p0
|
|
23
|
+
* @returns
|
|
22
24
|
*/
|
|
23
|
-
static
|
|
25
|
+
static pedshotIsAvailable(): any;
|
|
24
26
|
/**
|
|
25
|
-
* @param
|
|
26
|
-
* @param worldY
|
|
27
|
-
* @param worldZ
|
|
28
|
-
* @returns screenX; screenY
|
|
27
|
+
* @param p0
|
|
29
28
|
*/
|
|
30
|
-
static
|
|
29
|
+
static N_0xD9BC98B55BCFAA9B(p0: any): void;
|
|
31
30
|
/**
|
|
32
|
-
* @param point
|
|
33
31
|
* @param pos
|
|
34
|
-
* @param
|
|
32
|
+
* @param xScale
|
|
33
|
+
* @param yScale
|
|
34
|
+
* @param rotation
|
|
35
|
+
* @param color
|
|
36
|
+
* @param alpha
|
|
35
37
|
*/
|
|
36
|
-
static
|
|
38
|
+
static drawTvChannel(pos: Vector2, xScale: number, yScale: number, rotation: number, color: Color, alpha: number): void;
|
|
37
39
|
/**
|
|
38
|
-
*
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
* @param handle
|
|
41
|
+
*/
|
|
42
|
+
static removeGrassCullSphere(handle: number): void;
|
|
43
|
+
/**
|
|
44
|
+
* @param slots
|
|
45
|
+
* @returns
|
|
46
|
+
*/
|
|
47
|
+
static createSwatchTextureDict(slots: number): any;
|
|
48
|
+
/**
|
|
49
|
+
* _GET_C* - _GET_E*
|
|
41
50
|
*
|
|
42
|
-
* @
|
|
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
|
|
51
|
+
* @returns
|
|
52
52
|
*/
|
|
53
|
-
static
|
|
53
|
+
static getModifiedVisibilityDistance(): number;
|
|
54
|
+
/**
|
|
55
|
+
* nullsub, doesn't do anything
|
|
56
|
+
*
|
|
57
|
+
* @param p0
|
|
58
|
+
*/
|
|
59
|
+
static N_0x94B261F1F35293E1(p0: any): void;
|
|
60
|
+
/**
|
|
61
|
+
* Probably changes tvs from being a 3d audio to being "global" audio
|
|
62
|
+
*
|
|
63
|
+
* @param toggle
|
|
64
|
+
*/
|
|
65
|
+
static setTvAudioFrontend(toggle: boolean): void;
|
|
54
66
|
/**
|
|
55
67
|
* @returns
|
|
56
68
|
*/
|
|
57
|
-
static
|
|
69
|
+
static getTimecycleTransitionModifierIndex(): number;
|
|
58
70
|
/**
|
|
59
71
|
* @param ptfxHandle
|
|
72
|
+
* @param propertyName
|
|
73
|
+
* @param amount
|
|
74
|
+
* @param noNetwork
|
|
75
|
+
*/
|
|
76
|
+
static setParticleFxLoopedEvolution(ptfxHandle: number, propertyName: string | null, amount: number, noNetwork: boolean): void;
|
|
77
|
+
/**
|
|
78
|
+
* @param effectName
|
|
79
|
+
* @returns
|
|
80
|
+
*/
|
|
81
|
+
static animpostfxHasLoaded(effectName: string | null): any;
|
|
82
|
+
/**
|
|
83
|
+
* @param decal
|
|
84
|
+
* @returns
|
|
85
|
+
*/
|
|
86
|
+
static isDecalAlive(decal: number): boolean;
|
|
87
|
+
/**
|
|
88
|
+
* @param p0
|
|
89
|
+
*/
|
|
90
|
+
static N_0x453D16D41FC51D3E(p0: boolean): void;
|
|
91
|
+
/**
|
|
92
|
+
* @param p0
|
|
60
93
|
* @param p1
|
|
94
|
+
* @param p2
|
|
95
|
+
* @param p3
|
|
96
|
+
* @param p4
|
|
97
|
+
* @param p5
|
|
98
|
+
* @param p6
|
|
99
|
+
* @returns
|
|
61
100
|
*/
|
|
62
|
-
static
|
|
101
|
+
static N_0xE63D68F455CA0B47(p0: any, p1: any, p2: any, p3: any, p4: any, p5: any, p6: any): any;
|
|
63
102
|
/**
|
|
64
|
-
* Removes all decals in range from a position, it includes the bullet holes, blood pools, petrol...
|
|
65
|
-
*
|
|
66
103
|
* @param pos
|
|
104
|
+
* @param colorR
|
|
105
|
+
* @param colorG
|
|
106
|
+
* @param colorB
|
|
67
107
|
* @param range
|
|
108
|
+
* @param intensity
|
|
68
109
|
*/
|
|
69
|
-
static
|
|
110
|
+
static drawLightWithRange(pos: Vector3, colorR: number, colorG: number, colorB: number, range: number, intensity: number): void;
|
|
70
111
|
/**
|
|
71
|
-
*
|
|
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
|
|
72
117
|
*/
|
|
73
|
-
static
|
|
118
|
+
static setEntityRenderGuarmaShip(vehicle: Vehicle, toggle: boolean): void;
|
|
74
119
|
/**
|
|
75
|
-
* @param
|
|
76
|
-
* @param
|
|
77
|
-
* @param
|
|
78
|
-
* @param
|
|
79
|
-
* @param
|
|
120
|
+
* @param effectName
|
|
121
|
+
* @param entity
|
|
122
|
+
* @param offset
|
|
123
|
+
* @param rot
|
|
124
|
+
* @param scale
|
|
125
|
+
* @param axisX
|
|
126
|
+
* @param axisY
|
|
127
|
+
* @param axisZ
|
|
128
|
+
* @returns
|
|
80
129
|
*/
|
|
81
|
-
static
|
|
130
|
+
static startNetworkedParticleFxNonLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
|
|
131
|
+
/**
|
|
132
|
+
* @param lock
|
|
133
|
+
*/
|
|
134
|
+
static setPhotoModeExposureLocked(lock: boolean): void;
|
|
135
|
+
static N_0x815653A42C5ABE76(): void;
|
|
136
|
+
/**
|
|
137
|
+
* @param effectName
|
|
138
|
+
* @returns
|
|
139
|
+
*/
|
|
140
|
+
static animpostfxIsTagPlaying(effectName: string | null): any;
|
|
141
|
+
/**
|
|
142
|
+
* enum class eSnowCoverageType
|
|
143
|
+
* {
|
|
144
|
+
* Primary,
|
|
145
|
+
* Secondary,
|
|
146
|
+
* Xmas,
|
|
147
|
+
* XmasSecondary // since b1232
|
|
148
|
+
* };
|
|
149
|
+
*
|
|
150
|
+
* @param type
|
|
151
|
+
*/
|
|
152
|
+
static setSnowCoverageType(type: number): void;
|
|
82
153
|
/**
|
|
83
154
|
* @param effectNameHash
|
|
84
155
|
*/
|
|
85
|
-
static
|
|
156
|
+
static animpostfxPlayTag(effectNameHash: string | number): void;
|
|
86
157
|
/**
|
|
87
|
-
* @param
|
|
158
|
+
* @param pickupObject
|
|
159
|
+
* @param toggle
|
|
88
160
|
*/
|
|
89
|
-
static
|
|
161
|
+
static blockPickupObjectLight(pickupObject: Prop, toggle: boolean): void;
|
|
90
162
|
/**
|
|
91
|
-
*
|
|
163
|
+
* @param effectName
|
|
164
|
+
* @param entity
|
|
165
|
+
* @param offset
|
|
166
|
+
* @param rot
|
|
167
|
+
* @param scale
|
|
168
|
+
* @param xAxis
|
|
169
|
+
* @param yAxis
|
|
170
|
+
* @param zAxis
|
|
171
|
+
* @returns
|
|
172
|
+
*/
|
|
173
|
+
static startNetworkedParticleFxLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
|
|
174
|
+
/**
|
|
175
|
+
* @param pos
|
|
176
|
+
* @param radius
|
|
177
|
+
*/
|
|
178
|
+
static removeParticleFxInRange(pos: Vector3, radius: number): void;
|
|
179
|
+
/**
|
|
180
|
+
* https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_looped.lua
|
|
92
181
|
*
|
|
93
|
-
* @param
|
|
182
|
+
* @param effectName
|
|
183
|
+
* @param pos
|
|
184
|
+
* @param rot
|
|
185
|
+
* @param scale
|
|
186
|
+
* @param xAxis
|
|
187
|
+
* @param yAxis
|
|
188
|
+
* @param zAxis
|
|
189
|
+
* @param p11
|
|
190
|
+
* @returns
|
|
94
191
|
*/
|
|
95
|
-
static
|
|
192
|
+
static startParticleFxLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean, p11: boolean): number;
|
|
193
|
+
/**
|
|
194
|
+
* @returns
|
|
195
|
+
*/
|
|
196
|
+
static getTimecycleModifierIndex(): number;
|
|
197
|
+
/**
|
|
198
|
+
* nullsub, doesn't do anything
|
|
199
|
+
*
|
|
200
|
+
* @param toggle
|
|
201
|
+
*/
|
|
202
|
+
static enableMovieSubtitles(toggle: boolean): void;
|
|
96
203
|
/**
|
|
97
204
|
* @param p0
|
|
205
|
+
* @param p1
|
|
206
|
+
* @param p2
|
|
207
|
+
* @param p3
|
|
208
|
+
* @param p4
|
|
98
209
|
*/
|
|
99
|
-
static
|
|
210
|
+
static N_0x171C18E994C1A395(p0: any, p1: any, p2: any, p3: any, p4: any): void;
|
|
100
211
|
/**
|
|
212
|
+
* Doesn't actually return anything. ANIMPOSTFX_*
|
|
213
|
+
*
|
|
101
214
|
* @returns
|
|
102
215
|
*/
|
|
103
|
-
static
|
|
104
|
-
static N_0x9D1B0B5066205692(): void;
|
|
216
|
+
static N_0xC37792A3F9C90771(): any;
|
|
105
217
|
/**
|
|
106
|
-
*
|
|
218
|
+
* Adds Vegetation Blocking Zone, Added Snow Flattening veg mod Zone
|
|
219
|
+
* Returns veg modifier handle
|
|
220
|
+
*
|
|
221
|
+
* @param volume
|
|
222
|
+
* @param p1
|
|
223
|
+
* @param flags
|
|
224
|
+
* @param p3
|
|
225
|
+
* @returns
|
|
107
226
|
*/
|
|
108
|
-
static
|
|
227
|
+
static addVegModifierZone(volume: Volume, p1: number, flags: number, p3: number): number;
|
|
109
228
|
/**
|
|
110
|
-
*
|
|
229
|
+
* Returns proxyInteriorIndex
|
|
230
|
+
*
|
|
231
|
+
* @param interiorId
|
|
232
|
+
* @returns
|
|
111
233
|
*/
|
|
112
|
-
static
|
|
234
|
+
static getProxyInteriorIndex(interiorId: number): number;
|
|
235
|
+
static endPetrolTrailDecals(): void;
|
|
236
|
+
/**
|
|
237
|
+
* ANIMPOSTFX_*
|
|
238
|
+
*
|
|
239
|
+
* @param effectName
|
|
240
|
+
* @param p1
|
|
241
|
+
* @param p2
|
|
242
|
+
* @returns p3
|
|
243
|
+
*/
|
|
244
|
+
static N_0xFBF161FCFEC8589E(effectName: string | null, p1: number, p2: boolean): [boolean, boolean];
|
|
245
|
+
/**
|
|
246
|
+
* 0 = succeeded
|
|
247
|
+
* 1 = getting status
|
|
248
|
+
* 2 = failed
|
|
249
|
+
*
|
|
250
|
+
* @returns
|
|
251
|
+
*/
|
|
252
|
+
static getStatusOfSaveHighQualityPhoto(): number;
|
|
253
|
+
/**
|
|
254
|
+
* @returns
|
|
255
|
+
*/
|
|
256
|
+
static isPhotoFrame(): boolean;
|
|
113
257
|
/**
|
|
114
258
|
* @param p0
|
|
259
|
+
* @param p1
|
|
260
|
+
* @param p2
|
|
261
|
+
* @param p3
|
|
262
|
+
* @param p4
|
|
263
|
+
* @param p5
|
|
264
|
+
* @param p6
|
|
265
|
+
* @param p7
|
|
266
|
+
* @param p8
|
|
267
|
+
* @param p9
|
|
268
|
+
* @param p10
|
|
115
269
|
*/
|
|
116
|
-
static
|
|
270
|
+
static N_0x4D14AF567FC02885(p0: any, p1: any, p2: any, p3: any, p4: any, p5: any, p6: any, p7: any, p8: any, p9: any, p10: any): void;
|
|
117
271
|
/**
|
|
118
|
-
*
|
|
272
|
+
* @param effectName
|
|
273
|
+
* @returns
|
|
274
|
+
*/
|
|
275
|
+
static animpostfxIsRunning(effectName: string | null): boolean;
|
|
276
|
+
/**
|
|
277
|
+
* Used for script function RPG_GLOBAL_STATS__PRIVATE__ACTIVATE_STAT_FLAG - Quite and Inspiration Aura equip
|
|
278
|
+
* Params: 0f, 2f, 2f
|
|
119
279
|
*
|
|
120
|
-
* @param
|
|
280
|
+
* @param p0
|
|
281
|
+
* @param p1
|
|
282
|
+
* @param p2
|
|
121
283
|
*/
|
|
122
|
-
static
|
|
123
|
-
static N_0xF2F543D48F319A3A(): void;
|
|
284
|
+
static setEntityAura(p0: number, p1: number, p2: number): void;
|
|
124
285
|
/**
|
|
125
286
|
* ANIMPOSTFX_*
|
|
126
287
|
*
|
|
288
|
+
* @param effectNameHash
|
|
127
289
|
* @returns
|
|
128
290
|
*/
|
|
129
|
-
static
|
|
291
|
+
static N_0xE75CDDEBF618C8FF(effectNameHash: string | number): boolean;
|
|
130
292
|
/**
|
|
131
|
-
*
|
|
132
|
-
|
|
293
|
+
* @param pos
|
|
294
|
+
*/
|
|
295
|
+
static addBloodTrailSplat(pos: Vector3): void;
|
|
296
|
+
/**
|
|
297
|
+
* https://i.imgur.com/ULQU9US.jpg
|
|
298
|
+
* More rounded and small puddle
|
|
133
299
|
*
|
|
134
|
-
* @param
|
|
300
|
+
* @param pos
|
|
301
|
+
* @param unused
|
|
135
302
|
*/
|
|
136
|
-
static
|
|
303
|
+
static addBloodPool(pos: Vector3, unused: boolean): void;
|
|
137
304
|
/**
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
* "CSM_ST_LINEAR"
|
|
141
|
-
* "CSM_ST_BOX3x3"
|
|
142
|
-
* "CSM_ST_BOX4x4"
|
|
143
|
-
* "CSM_ST_DITHER2_LINEAR"
|
|
144
|
-
* "CSM_ST_CUBIC"
|
|
145
|
-
* "CSM_ST_POISSON16"
|
|
146
|
-
* "CSM_ST_SOFT8"
|
|
147
|
-
* "CSM_ST_SOFT16"
|
|
148
|
-
* "CSM_ST_SOFT32"
|
|
149
|
-
* "CSM_ST_DITHER16_RPDB"
|
|
150
|
-
* "CSM_ST_POISSON16_RPDB_GNORM"
|
|
151
|
-
* "CSM_ST_HIGHRES_BOX4x4"
|
|
152
|
-
* "CSM_ST_ESM"
|
|
305
|
+
* Only used in finale2, smuggler2, winter4
|
|
306
|
+
* _SET_CLOUD_A* - _SET_CLOUD_H*
|
|
153
307
|
*
|
|
154
|
-
* @param
|
|
308
|
+
* @param pos
|
|
155
309
|
*/
|
|
156
|
-
static
|
|
310
|
+
static setCloudPosition(pos: Vector3): void;
|
|
157
311
|
/**
|
|
158
312
|
* @param p0
|
|
313
|
+
* @param p1
|
|
159
314
|
*/
|
|
160
|
-
static
|
|
315
|
+
static N_0xA04EF43030593ABC(p0: any, p1: any): void;
|
|
161
316
|
/**
|
|
162
|
-
*
|
|
317
|
+
* Called together with FREE_MEMORY_FOR_LOW_QUALITY_PHOTO
|
|
163
318
|
*
|
|
164
319
|
* @param p0
|
|
320
|
+
* @returns
|
|
165
321
|
*/
|
|
166
|
-
static
|
|
322
|
+
static beginCreateLowQualityCopyOfPhoto(p0: number): boolean;
|
|
167
323
|
/**
|
|
168
|
-
*
|
|
324
|
+
* @param player
|
|
325
|
+
*/
|
|
326
|
+
static setPlayerAppearInPhoto(player: Player): void;
|
|
327
|
+
/**
|
|
328
|
+
* @param checkpoint
|
|
329
|
+
* @returns
|
|
330
|
+
*/
|
|
331
|
+
static doesCheckpointHaveFx(checkpoint: number): any;
|
|
332
|
+
/**
|
|
333
|
+
* https://github.com/femga/rdr3_discoveries/blob/master/graphics/timecycles
|
|
169
334
|
*
|
|
170
|
-
* @param
|
|
171
|
-
* @param type
|
|
335
|
+
* @param modifierName
|
|
172
336
|
*/
|
|
173
|
-
static
|
|
337
|
+
static setTimecycleModifier(modifierName: string | null): void;
|
|
174
338
|
/**
|
|
175
|
-
* @param
|
|
176
|
-
* @param p1
|
|
177
|
-
* @param p2
|
|
178
|
-
* @param p3
|
|
339
|
+
* @param strength
|
|
179
340
|
*/
|
|
180
|
-
static
|
|
341
|
+
static setTimecycleModifierStrength(strength: number): void;
|
|
181
342
|
/**
|
|
182
|
-
* @param
|
|
343
|
+
* @param toggle
|
|
183
344
|
*/
|
|
184
|
-
static
|
|
345
|
+
static togglePausedRenderphases(toggle: boolean): void;
|
|
185
346
|
/**
|
|
186
|
-
*
|
|
347
|
+
* R* Script spd_agnesdow1: p0 = SPD_AGNES_DOWD_01
|
|
187
348
|
*
|
|
188
349
|
* @param p0
|
|
189
|
-
* @
|
|
190
|
-
* @param p2
|
|
191
|
-
* @param p3
|
|
192
|
-
* @param p4
|
|
193
|
-
* @param p5
|
|
350
|
+
* @returns
|
|
194
351
|
*/
|
|
195
|
-
static
|
|
352
|
+
static N_0xFD05B1DDE83749FA(p0: string | null): boolean;
|
|
353
|
+
/**
|
|
354
|
+
* @param p0
|
|
355
|
+
*/
|
|
356
|
+
static setParticleFxFootLodrangeScale(p0: number): void;
|
|
357
|
+
/**
|
|
358
|
+
* @param ptfxHandle
|
|
359
|
+
* @returns
|
|
360
|
+
*/
|
|
361
|
+
static doesParticleFxLoopedExist(ptfxHandle: number): boolean;
|
|
196
362
|
/**
|
|
197
363
|
* @param effectName
|
|
198
364
|
* @param entity
|
|
199
365
|
* @param offset
|
|
200
366
|
* @param rot
|
|
201
|
-
* @param boneIndex
|
|
202
367
|
* @param scale
|
|
203
|
-
* @param
|
|
204
|
-
* @param
|
|
205
|
-
* @param
|
|
368
|
+
* @param axisX
|
|
369
|
+
* @param axisY
|
|
370
|
+
* @param axisZ
|
|
206
371
|
* @returns
|
|
207
372
|
*/
|
|
208
|
-
static
|
|
373
|
+
static startParticleFxNonLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
|
|
209
374
|
/**
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
* @param checkpoint
|
|
213
|
-
* @param color
|
|
214
|
-
* @param alpha
|
|
375
|
+
* @returns
|
|
215
376
|
*/
|
|
216
|
-
static
|
|
377
|
+
static getTogglePausedRenderphasesStatus(): boolean;
|
|
217
378
|
/**
|
|
218
|
-
*
|
|
379
|
+
* Only used in R* SP Script spd_agnesdown1
|
|
219
380
|
*
|
|
220
381
|
* @param p0
|
|
221
|
-
* @
|
|
382
|
+
* @returns
|
|
222
383
|
*/
|
|
223
|
-
static
|
|
384
|
+
static N_0x5C9C3A466B3296A8(p0: any): any;
|
|
224
385
|
/**
|
|
225
|
-
* https://gfycat.com/meagerfaireyra
|
|
226
|
-
*
|
|
227
386
|
* @param entity
|
|
228
|
-
* @param
|
|
387
|
+
* @param mask
|
|
229
388
|
*/
|
|
230
|
-
static
|
|
389
|
+
static addEntityToEntityMask(entity: Entity, mask: number): void;
|
|
390
|
+
/**
|
|
391
|
+
* Always returns 200.
|
|
392
|
+
*
|
|
393
|
+
* @returns
|
|
394
|
+
*/
|
|
395
|
+
static getMaxNumberOfLocalPhotos(): number;
|
|
396
|
+
/**
|
|
397
|
+
* @param channel
|
|
398
|
+
*/
|
|
399
|
+
static setTvChannel(channel: number): void;
|
|
400
|
+
/**
|
|
401
|
+
* @param pos
|
|
402
|
+
* @param p3
|
|
403
|
+
*/
|
|
404
|
+
static addPetrolTrailDecalInfo(pos: Vector3, p3: number): void;
|
|
231
405
|
/**
|
|
406
|
+
* ANIMPOSTFX_*
|
|
407
|
+
*
|
|
232
408
|
* @param effectName
|
|
409
|
+
* @returns
|
|
410
|
+
*/
|
|
411
|
+
static N_0xB958D97A0DFAA0C2(effectName: string | null): boolean;
|
|
412
|
+
/**
|
|
413
|
+
* @param txdHash
|
|
414
|
+
* @param dict
|
|
415
|
+
* @returns
|
|
416
|
+
*/
|
|
417
|
+
static isTextureInDict(txdHash: string | number, dict: string | number): any;
|
|
418
|
+
static N_0x910E260AEAD855DE(): void;
|
|
419
|
+
/**
|
|
420
|
+
* Creates blood pools for the given ped in some interval for a few seconds.
|
|
421
|
+
*
|
|
233
422
|
* @param ped
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
* @param
|
|
238
|
-
* @param
|
|
239
|
-
* @param
|
|
240
|
-
* @param axisZ
|
|
423
|
+
*/
|
|
424
|
+
static addBloodPoolsForPed(ped: Ped): void;
|
|
425
|
+
/**
|
|
426
|
+
* @param texture
|
|
427
|
+
* @param ped
|
|
428
|
+
* @param playerSlot
|
|
241
429
|
* @returns
|
|
242
430
|
*/
|
|
243
|
-
static
|
|
244
|
-
|
|
431
|
+
static pedshotGeneratePersonaPhoto(texture: string | null, ped: Ped, playerSlot: number): boolean;
|
|
432
|
+
/**
|
|
433
|
+
* @returns
|
|
434
|
+
*/
|
|
435
|
+
static queueOperationToCreateSortedListOfPhotos(): any;
|
|
245
436
|
/**
|
|
246
437
|
* @param p0
|
|
247
|
-
* @param p1
|
|
248
438
|
*/
|
|
249
|
-
static
|
|
439
|
+
static setRegionPhotoTakenStat(p0: string | null): void;
|
|
250
440
|
/**
|
|
251
|
-
* @param
|
|
252
|
-
* @param newAsset
|
|
441
|
+
* @param effectName
|
|
253
442
|
*/
|
|
254
|
-
static
|
|
443
|
+
static animpostfxSetToUnload(effectName: string | null): void;
|
|
444
|
+
/**
|
|
445
|
+
* @param proxyInteriorIndex
|
|
446
|
+
* @returns
|
|
447
|
+
*/
|
|
448
|
+
static isProxyInteriorIndexArtificialLightsEnabled(proxyInteriorIndex: number): any;
|
|
255
449
|
/**
|
|
256
450
|
* @param p0
|
|
257
|
-
* @param p1
|
|
258
451
|
*/
|
|
259
|
-
static
|
|
452
|
+
static setPhotoInPhotomodeStat(p0: boolean): void;
|
|
260
453
|
/**
|
|
261
|
-
* @param
|
|
262
|
-
* @param
|
|
263
|
-
* @param rot
|
|
454
|
+
* @param entity
|
|
455
|
+
* @param intensity
|
|
264
456
|
*/
|
|
265
|
-
static
|
|
457
|
+
static setLightsIntensityForEntity(entity: Entity, intensity: number): void;
|
|
266
458
|
/**
|
|
267
|
-
* @param
|
|
459
|
+
* @param entity
|
|
268
460
|
*/
|
|
269
|
-
static
|
|
461
|
+
static updateLightsOnEntity(entity: Entity): void;
|
|
270
462
|
/**
|
|
271
|
-
* @
|
|
272
|
-
* @param scale
|
|
463
|
+
* @returns
|
|
273
464
|
*/
|
|
274
|
-
static
|
|
465
|
+
static getStatusOfTakeHighQualityPhoto(): number;
|
|
275
466
|
/**
|
|
276
|
-
* https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_non_looped.lua
|
|
277
|
-
*
|
|
278
|
-
* @param effectName
|
|
279
|
-
* @param pos
|
|
280
|
-
* @param rot
|
|
281
|
-
* @param scale
|
|
282
|
-
* @param eventType
|
|
283
|
-
* @param bPeekOnly
|
|
284
|
-
* @param bIsRegistered
|
|
285
467
|
* @returns
|
|
286
468
|
*/
|
|
287
|
-
static
|
|
469
|
+
static N_0x285438C26C732F9D(): any;
|
|
470
|
+
/**
|
|
471
|
+
* 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.
|
|
472
|
+
*
|
|
473
|
+
* @param toggle
|
|
474
|
+
*/
|
|
475
|
+
static setScriptGfxDrawBehindPausemenu(toggle: boolean): void;
|
|
288
476
|
/**
|
|
289
477
|
* @param p0
|
|
290
|
-
* @returns
|
|
291
478
|
*/
|
|
292
|
-
static
|
|
479
|
+
static setDistrictPhotoTakenStat(p0: string | null): void;
|
|
293
480
|
/**
|
|
481
|
+
* @param effectName
|
|
482
|
+
* @param ped
|
|
483
|
+
* @param offset
|
|
484
|
+
* @param rot
|
|
485
|
+
* @param boneIndex
|
|
294
486
|
* @param scale
|
|
487
|
+
* @param xAxis
|
|
488
|
+
* @param yAxis
|
|
489
|
+
* @param zAxis
|
|
490
|
+
* @returns
|
|
295
491
|
*/
|
|
296
|
-
static
|
|
492
|
+
static startParticleFxLoopedOnPedBone(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
|
|
297
493
|
/**
|
|
298
494
|
* @param p0
|
|
299
|
-
* @param p1
|
|
300
|
-
* @param p2
|
|
301
|
-
* @param p3
|
|
302
|
-
* @param p4
|
|
303
|
-
* @param p5
|
|
304
|
-
* @param p6
|
|
305
|
-
* @param p7
|
|
306
495
|
*/
|
|
307
|
-
static
|
|
496
|
+
static setPhotoStudioStat(p0: number): void;
|
|
308
497
|
/**
|
|
309
|
-
* @param
|
|
498
|
+
* @param effectName
|
|
310
499
|
*/
|
|
311
|
-
static
|
|
500
|
+
static animpostfxStop(effectName: string | null): void;
|
|
501
|
+
static resetPausedRenderphases(): void;
|
|
312
502
|
/**
|
|
313
|
-
* @param
|
|
503
|
+
* @param unused
|
|
314
504
|
* @returns
|
|
315
505
|
*/
|
|
316
|
-
static
|
|
506
|
+
static saveHighQualityPhoto(unused: number): any;
|
|
317
507
|
/**
|
|
318
|
-
*
|
|
319
|
-
*
|
|
320
|
-
* @param strength
|
|
508
|
+
* @param pos
|
|
509
|
+
* @param p2
|
|
321
510
|
*/
|
|
322
|
-
static
|
|
323
|
-
static setDisablePetrolDecalsIgnitingThisFrame(): void;
|
|
511
|
+
static setCloudLayer(pos: Vector2, p2: number): void;
|
|
324
512
|
/**
|
|
325
|
-
* Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
|
|
326
|
-
*
|
|
327
513
|
* @param p0
|
|
514
|
+
* @returns
|
|
328
515
|
*/
|
|
329
|
-
static
|
|
516
|
+
static N_0xEC3D8C228FE553D7(p0: boolean): boolean;
|
|
330
517
|
/**
|
|
331
|
-
*
|
|
332
|
-
*
|
|
333
|
-
* @param object
|
|
334
|
-
* @param toggle
|
|
518
|
+
* *RESET**
|
|
335
519
|
*/
|
|
336
|
-
static
|
|
520
|
+
static N_0x1460B644397453EB(): void;
|
|
337
521
|
/**
|
|
338
|
-
* @param
|
|
522
|
+
* @param personaPhotoLocalCacheType
|
|
339
523
|
*/
|
|
340
|
-
static
|
|
524
|
+
static pedshotSetPersonaPhotoType(personaPhotoLocalCacheType: number): void;
|
|
525
|
+
static pedshotFinishCleanupData(): void;
|
|
526
|
+
static N_0x1C6306E5BC25C29C(): void;
|
|
341
527
|
/**
|
|
342
|
-
*
|
|
343
|
-
* local hash = GetHashKey("CLOTHING_ITEM_M_EYES_001_TINT_001")
|
|
344
|
-
* _GENERATE_SWATCH_TEXTURE(0, hash, 0, true)
|
|
345
|
-
* metapedType: see 0xEC9A1261BF0CE510
|
|
346
|
-
*
|
|
347
|
-
* @param slotId
|
|
348
|
-
* @param componentHash
|
|
349
|
-
* @param metapedType
|
|
350
|
-
* @param p3
|
|
528
|
+
* @param pos
|
|
351
529
|
*/
|
|
352
|
-
static
|
|
530
|
+
static setCloudNoise(pos: Vector3): void;
|
|
353
531
|
/**
|
|
354
|
-
* @param
|
|
355
|
-
* @param mask
|
|
356
|
-
* @param intensity
|
|
532
|
+
* @param p0
|
|
357
533
|
*/
|
|
358
|
-
static
|
|
359
|
-
static disableHdtexThisFrame(): void;
|
|
534
|
+
static N_0xEB48CE48EEC41FD4(p0: any): void;
|
|
360
535
|
/**
|
|
536
|
+
* Used in NET_CAMP_SPIRIT_ANIMAL_CLEAR_ANIMAL_VISIBILITY
|
|
537
|
+
*
|
|
361
538
|
* @param entity
|
|
362
539
|
*/
|
|
363
|
-
static
|
|
540
|
+
static N_0xC06F2F45A73EABCD(entity: Entity): void;
|
|
364
541
|
/**
|
|
365
542
|
* @param effectName
|
|
366
|
-
* @param
|
|
367
|
-
* @param offset
|
|
543
|
+
* @param pos
|
|
368
544
|
* @param rot
|
|
369
|
-
* @param boneIndex
|
|
370
545
|
* @param scale
|
|
371
|
-
* @param
|
|
372
|
-
* @param
|
|
373
|
-
* @param
|
|
546
|
+
* @param xAxis
|
|
547
|
+
* @param yAxis
|
|
548
|
+
* @param zAxis
|
|
374
549
|
* @returns
|
|
375
550
|
*/
|
|
376
|
-
static
|
|
551
|
+
static startNetworkedParticleFxNonLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): boolean;
|
|
377
552
|
/**
|
|
378
|
-
*
|
|
553
|
+
* @returns
|
|
554
|
+
*/
|
|
555
|
+
static getPhotoModeExposure(): number;
|
|
556
|
+
/**
|
|
557
|
+
* _SET_PARTICLE_FX_LOOPED_FA* - _SET_PARTICLE_FX_LOOPED_OF*
|
|
379
558
|
*
|
|
380
|
-
* @param
|
|
559
|
+
* @param ptfxHandle
|
|
560
|
+
* @param scalar
|
|
561
|
+
*/
|
|
562
|
+
static setParticleFxLoopedUpdateDistantSmoke(ptfxHandle: number, scalar: number): void;
|
|
563
|
+
/**
|
|
564
|
+
* Known effects: MP_Trans_SceneToPhoto
|
|
565
|
+
* MP_Trans_WinLose
|
|
566
|
+
* SpectateFilter
|
|
567
|
+
* MP_CharacterCreatorPhoto
|
|
568
|
+
* MP_Trans_PhotoToScene
|
|
569
|
+
* InterrogationHit
|
|
570
|
+
*
|
|
571
|
+
* @param effectName
|
|
381
572
|
* @returns
|
|
382
573
|
*/
|
|
383
|
-
static
|
|
574
|
+
static animpostfxGetStackhash(effectName: string | null): number;
|
|
384
575
|
/**
|
|
385
|
-
* @param
|
|
576
|
+
* @param height
|
|
386
577
|
*/
|
|
387
|
-
static
|
|
578
|
+
static setCloudHeight(height: number): void;
|
|
388
579
|
/**
|
|
389
580
|
* Related to Campfires.
|
|
390
581
|
* p1: AMB_BONFIRE_MP, AMB_CAMPFIRE_LRG_MP
|
|
@@ -477,325 +668,174 @@ export declare class Graphics {
|
|
|
477
668
|
*/
|
|
478
669
|
static N_0x1FF8731BE1DFC0C0(p0: any, p1: any): void;
|
|
479
670
|
/**
|
|
480
|
-
*
|
|
481
|
-
* Stamina Core Effect Filter Potency: p1 = 2
|
|
482
|
-
* Multiple Core Effect Filter Potency: p1 = 3
|
|
483
|
-
*
|
|
484
|
-
* @param effectName
|
|
485
|
-
* @param p1
|
|
486
|
-
* @param potency
|
|
487
|
-
*/
|
|
488
|
-
static animpostfxSetPotency(effectName: string | null, p1: number, potency: number): void;
|
|
489
|
-
/**
|
|
490
|
-
* @returns
|
|
491
|
-
*/
|
|
492
|
-
static pedshotIsAvailable(): any;
|
|
493
|
-
/**
|
|
494
|
-
* @param p0
|
|
495
|
-
*/
|
|
496
|
-
static N_0xD9BC98B55BCFAA9B(p0: any): void;
|
|
497
|
-
/**
|
|
498
|
-
* @param pos
|
|
499
|
-
* @param xScale
|
|
500
|
-
* @param yScale
|
|
501
|
-
* @param rotation
|
|
502
|
-
* @param color
|
|
503
|
-
* @param alpha
|
|
504
|
-
*/
|
|
505
|
-
static drawTvChannel(pos: Vector2, xScale: number, yScale: number, rotation: number, color: Color, alpha: number): void;
|
|
506
|
-
/**
|
|
507
|
-
* @param handle
|
|
508
|
-
*/
|
|
509
|
-
static removeGrassCullSphere(handle: number): void;
|
|
510
|
-
/**
|
|
511
|
-
* @param slots
|
|
512
|
-
* @returns
|
|
513
|
-
*/
|
|
514
|
-
static createSwatchTextureDict(slots: number): any;
|
|
515
|
-
/**
|
|
516
|
-
* _GET_C* - _GET_E*
|
|
517
|
-
*
|
|
518
|
-
* @returns
|
|
519
|
-
*/
|
|
520
|
-
static getModifiedVisibilityDistance(): number;
|
|
521
|
-
/**
|
|
522
|
-
* nullsub, doesn't do anything
|
|
523
|
-
*
|
|
524
|
-
* @param p0
|
|
525
|
-
*/
|
|
526
|
-
static N_0x94B261F1F35293E1(p0: any): void;
|
|
527
|
-
/**
|
|
528
|
-
* Probably changes tvs from being a 3d audio to being "global" audio
|
|
671
|
+
* When this is set to ON, shadows only draw as you get nearer. When OFF, they draw from a further distance.
|
|
529
672
|
*
|
|
530
673
|
* @param toggle
|
|
531
674
|
*/
|
|
532
|
-
static
|
|
533
|
-
/**
|
|
534
|
-
* @returns
|
|
535
|
-
*/
|
|
536
|
-
static getTimecycleTransitionModifierIndex(): number;
|
|
537
|
-
/**
|
|
538
|
-
* @param ptfxHandle
|
|
539
|
-
* @param propertyName
|
|
540
|
-
* @param amount
|
|
541
|
-
* @param noNetwork
|
|
542
|
-
*/
|
|
543
|
-
static setParticleFxLoopedEvolution(ptfxHandle: number, propertyName: string | null, amount: number, noNetwork: boolean): void;
|
|
544
|
-
/**
|
|
545
|
-
* @param effectName
|
|
546
|
-
* @returns
|
|
547
|
-
*/
|
|
548
|
-
static animpostfxHasLoaded(effectName: string | null): any;
|
|
549
|
-
/**
|
|
550
|
-
* @param decal
|
|
551
|
-
* @returns
|
|
552
|
-
*/
|
|
553
|
-
static isDecalAlive(decal: number): boolean;
|
|
675
|
+
static cascadeShadowsEnableEntityTracker(toggle: boolean): void;
|
|
554
676
|
/**
|
|
677
|
+
* Only used in R* Script nb_stalking_hunter
|
|
678
|
+
*
|
|
555
679
|
* @param p0
|
|
556
680
|
*/
|
|
557
|
-
static
|
|
681
|
+
static N_0xD1472AFF30C103D6(p0: number): void;
|
|
558
682
|
/**
|
|
559
|
-
* @param
|
|
560
|
-
* @param
|
|
561
|
-
* @param
|
|
562
|
-
* @
|
|
563
|
-
* @param p4
|
|
564
|
-
* @param p5
|
|
565
|
-
* @param p6
|
|
566
|
-
* @returns
|
|
683
|
+
* @param worldX
|
|
684
|
+
* @param worldY
|
|
685
|
+
* @param worldZ
|
|
686
|
+
* @returns screenX; screenY
|
|
567
687
|
*/
|
|
568
|
-
static
|
|
688
|
+
static getScreenCoordFromWorldCoord(worldX: number, worldY: number, worldZ: number): [boolean, number, number];
|
|
569
689
|
/**
|
|
690
|
+
* @param point
|
|
570
691
|
* @param pos
|
|
571
|
-
* @param
|
|
572
|
-
* @param colorG
|
|
573
|
-
* @param colorB
|
|
574
|
-
* @param range
|
|
575
|
-
* @param intensity
|
|
576
|
-
*/
|
|
577
|
-
static drawLightWithRange(pos: Vector3, colorR: number, colorG: number, colorB: number, range: number, intensity: number): void;
|
|
578
|
-
/**
|
|
579
|
-
* Only used in guama1 R* SP Script while spawning the ship
|
|
580
|
-
* *SET_ENTITY_QUATERNION** - SET_ENTITY_RENDER_*
|
|
581
|
-
*
|
|
582
|
-
* @param vehicle
|
|
583
|
-
* @param toggle
|
|
584
|
-
*/
|
|
585
|
-
static setEntityRenderGuarmaShip(vehicle: Vehicle, toggle: boolean): void;
|
|
586
|
-
/**
|
|
587
|
-
* @param effectName
|
|
588
|
-
* @param entity
|
|
589
|
-
* @param offset
|
|
590
|
-
* @param rot
|
|
591
|
-
* @param scale
|
|
592
|
-
* @param axisX
|
|
593
|
-
* @param axisY
|
|
594
|
-
* @param axisZ
|
|
595
|
-
* @returns
|
|
596
|
-
*/
|
|
597
|
-
static startNetworkedParticleFxNonLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
|
|
598
|
-
/**
|
|
599
|
-
* @param lock
|
|
600
|
-
*/
|
|
601
|
-
static setPhotoModeExposureLocked(lock: boolean): void;
|
|
602
|
-
static N_0x815653A42C5ABE76(): void;
|
|
603
|
-
/**
|
|
604
|
-
* @param effectName
|
|
605
|
-
* @returns
|
|
692
|
+
* @param radius
|
|
606
693
|
*/
|
|
607
|
-
static
|
|
694
|
+
static setTrackedPointInfo(point: number, pos: Vector3, radius: number): void;
|
|
608
695
|
/**
|
|
609
|
-
*
|
|
610
|
-
*
|
|
611
|
-
*
|
|
612
|
-
* Secondary,
|
|
613
|
-
* Xmas,
|
|
614
|
-
* XmasSecondary // since b1232
|
|
615
|
-
* };
|
|
696
|
+
* Draws a 2D sprite on the screen. Parameters:
|
|
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
|
|
616
699
|
*
|
|
617
|
-
* @param
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
* @param
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
* @param
|
|
626
|
-
* @param
|
|
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
|
|
627
710
|
*/
|
|
628
|
-
static
|
|
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;
|
|
629
712
|
/**
|
|
630
|
-
* @param effectName
|
|
631
|
-
* @param entity
|
|
632
|
-
* @param offset
|
|
633
|
-
* @param rot
|
|
634
|
-
* @param scale
|
|
635
|
-
* @param xAxis
|
|
636
|
-
* @param yAxis
|
|
637
|
-
* @param zAxis
|
|
638
713
|
* @returns
|
|
639
714
|
*/
|
|
640
|
-
static
|
|
715
|
+
static getCurrentNumberOfLocalPhotos(): number;
|
|
641
716
|
/**
|
|
642
|
-
* @param
|
|
643
|
-
* @param
|
|
717
|
+
* @param ptfxHandle
|
|
718
|
+
* @param p1
|
|
644
719
|
*/
|
|
645
|
-
static
|
|
720
|
+
static removeParticleFx(ptfxHandle: number, p1: boolean): void;
|
|
646
721
|
/**
|
|
647
|
-
*
|
|
722
|
+
* Removes all decals in range from a position, it includes the bullet holes, blood pools, petrol...
|
|
648
723
|
*
|
|
649
|
-
* @param effectName
|
|
650
724
|
* @param pos
|
|
651
|
-
* @param
|
|
652
|
-
* @param scale
|
|
653
|
-
* @param xAxis
|
|
654
|
-
* @param yAxis
|
|
655
|
-
* @param zAxis
|
|
656
|
-
* @param p11
|
|
657
|
-
* @returns
|
|
658
|
-
*/
|
|
659
|
-
static startParticleFxLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean, p11: boolean): number;
|
|
660
|
-
/**
|
|
661
|
-
* @returns
|
|
662
|
-
*/
|
|
663
|
-
static getTimecycleModifierIndex(): number;
|
|
664
|
-
/**
|
|
665
|
-
* nullsub, doesn't do anything
|
|
666
|
-
*
|
|
667
|
-
* @param toggle
|
|
725
|
+
* @param range
|
|
668
726
|
*/
|
|
669
|
-
static
|
|
670
|
-
/**
|
|
671
|
-
* @param p0
|
|
672
|
-
* @param p1
|
|
673
|
-
* @param p2
|
|
674
|
-
* @param p3
|
|
675
|
-
* @param p4
|
|
727
|
+
static removeDecalsInRange(pos: Vector3, range: number): void;
|
|
728
|
+
/**
|
|
729
|
+
* @param p0
|
|
676
730
|
*/
|
|
677
|
-
static
|
|
731
|
+
static setPhotoOverlayEffectStat(p0: number): void;
|
|
678
732
|
/**
|
|
679
|
-
*
|
|
680
|
-
*
|
|
681
|
-
* @
|
|
733
|
+
* @param ptfxHandle
|
|
734
|
+
* @param r
|
|
735
|
+
* @param g
|
|
736
|
+
* @param b
|
|
737
|
+
* @param p4
|
|
682
738
|
*/
|
|
683
|
-
static
|
|
739
|
+
static setParticleFxLoopedColour(ptfxHandle: number, r: number, g: number, b: number, p4: boolean): void;
|
|
684
740
|
/**
|
|
685
|
-
*
|
|
686
|
-
* Returns veg modifier handle
|
|
687
|
-
*
|
|
688
|
-
* @param volume
|
|
689
|
-
* @param p1
|
|
690
|
-
* @param flags
|
|
691
|
-
* @param p3
|
|
692
|
-
* @returns
|
|
741
|
+
* @param effectNameHash
|
|
693
742
|
*/
|
|
694
|
-
static
|
|
743
|
+
static animpostfxStopStackhashPostfx(effectNameHash: string | number): void;
|
|
695
744
|
/**
|
|
696
|
-
*
|
|
697
|
-
*
|
|
698
|
-
* @param interiorId
|
|
699
|
-
* @returns
|
|
745
|
+
* @param value
|
|
700
746
|
*/
|
|
701
|
-
static
|
|
702
|
-
static endPetrolTrailDecals(): void;
|
|
747
|
+
static changePhotoModeContrast(value: number): void;
|
|
703
748
|
/**
|
|
704
|
-
*
|
|
749
|
+
* Sets the draw order for script draw commands.
|
|
705
750
|
*
|
|
706
|
-
* @param
|
|
707
|
-
* @param p1
|
|
708
|
-
* @param p2
|
|
709
|
-
* @returns p3
|
|
751
|
+
* @param drawOrder
|
|
710
752
|
*/
|
|
711
|
-
static
|
|
753
|
+
static setScriptGfxDrawOrder(drawOrder: number): void;
|
|
712
754
|
/**
|
|
713
|
-
*
|
|
714
|
-
* 1 = getting status
|
|
715
|
-
* 2 = failed
|
|
716
|
-
*
|
|
717
|
-
* @returns
|
|
755
|
+
* @param p0
|
|
718
756
|
*/
|
|
719
|
-
static
|
|
757
|
+
static enableStaticVegModifier(p0: string | number): void;
|
|
720
758
|
/**
|
|
721
759
|
* @returns
|
|
722
760
|
*/
|
|
723
|
-
static
|
|
761
|
+
static getTvChannel(): number;
|
|
762
|
+
static N_0x9D1B0B5066205692(): void;
|
|
724
763
|
/**
|
|
725
|
-
* @param
|
|
726
|
-
* @param p1
|
|
727
|
-
* @param p2
|
|
728
|
-
* @param p3
|
|
729
|
-
* @param p4
|
|
730
|
-
* @param p5
|
|
731
|
-
* @param p6
|
|
732
|
-
* @param p7
|
|
733
|
-
* @param p8
|
|
734
|
-
* @param p9
|
|
735
|
-
* @param p10
|
|
764
|
+
* @param alpha
|
|
736
765
|
*/
|
|
737
|
-
static
|
|
766
|
+
static setParticleFxNonLoopedAlpha(alpha: number): void;
|
|
738
767
|
/**
|
|
739
|
-
* @param
|
|
740
|
-
* @returns
|
|
768
|
+
* @param point
|
|
741
769
|
*/
|
|
742
|
-
static
|
|
770
|
+
static destroyTrackedPoint(point: number): void;
|
|
743
771
|
/**
|
|
744
|
-
* Used for script function RPG_GLOBAL_STATS__PRIVATE__ACTIVATE_STAT_FLAG - Quite and Inspiration Aura equip
|
|
745
|
-
* Params: 0f, 2f, 2f
|
|
746
|
-
*
|
|
747
772
|
* @param p0
|
|
748
|
-
* @param p1
|
|
749
|
-
* @param p2
|
|
750
773
|
*/
|
|
751
|
-
static
|
|
774
|
+
static N_0x67B0778C62E74423(p0: any): void;
|
|
752
775
|
/**
|
|
753
776
|
* ANIMPOSTFX_*
|
|
754
777
|
*
|
|
755
778
|
* @param effectNameHash
|
|
756
|
-
* @returns
|
|
757
779
|
*/
|
|
758
|
-
static
|
|
780
|
+
static N_0x71845905BCCDE781(effectNameHash: string | number): void;
|
|
781
|
+
static N_0xF2F543D48F319A3A(): void;
|
|
759
782
|
/**
|
|
760
|
-
*
|
|
783
|
+
* ANIMPOSTFX_*
|
|
784
|
+
*
|
|
785
|
+
* @returns
|
|
761
786
|
*/
|
|
762
|
-
static
|
|
787
|
+
static N_0x3DA7A10583A4BEC0(): boolean;
|
|
763
788
|
/**
|
|
764
|
-
*
|
|
765
|
-
*
|
|
789
|
+
* Does not affect weapons, particles, fire/explosions, flashlights or the sun.
|
|
790
|
+
* When set to true, all emissive textures (including ped components that have light effects), street lights, building lights, vehicle lights, etc will all be turned off. state: True turns off all artificial light sources in the map: buildings, street lights, car lights, etc. False turns them back on.
|
|
766
791
|
*
|
|
767
|
-
* @param
|
|
768
|
-
* @param unused
|
|
792
|
+
* @param state
|
|
769
793
|
*/
|
|
770
|
-
static
|
|
794
|
+
static setArtificialLightsState(state: boolean): void;
|
|
771
795
|
/**
|
|
772
|
-
*
|
|
773
|
-
*
|
|
796
|
+
* Possible values:
|
|
797
|
+
* "CSM_ST_POINT"
|
|
798
|
+
* "CSM_ST_LINEAR"
|
|
799
|
+
* "CSM_ST_BOX3x3"
|
|
800
|
+
* "CSM_ST_BOX4x4"
|
|
801
|
+
* "CSM_ST_DITHER2_LINEAR"
|
|
802
|
+
* "CSM_ST_CUBIC"
|
|
803
|
+
* "CSM_ST_POISSON16"
|
|
804
|
+
* "CSM_ST_SOFT8"
|
|
805
|
+
* "CSM_ST_SOFT16"
|
|
806
|
+
* "CSM_ST_SOFT32"
|
|
807
|
+
* "CSM_ST_DITHER16_RPDB"
|
|
808
|
+
* "CSM_ST_POISSON16_RPDB_GNORM"
|
|
809
|
+
* "CSM_ST_HIGHRES_BOX4x4"
|
|
810
|
+
* "CSM_ST_ESM"
|
|
774
811
|
*
|
|
775
|
-
* @param
|
|
812
|
+
* @param type
|
|
776
813
|
*/
|
|
777
|
-
static
|
|
814
|
+
static cascadeShadowsSetShadowSampleType(type: string | null): void;
|
|
778
815
|
/**
|
|
779
816
|
* @param p0
|
|
780
|
-
* @param p1
|
|
781
817
|
*/
|
|
782
|
-
static
|
|
818
|
+
static N_0x519928DF02EB5101(p0: any): void;
|
|
783
819
|
/**
|
|
784
|
-
*
|
|
820
|
+
* Gets set to 1 when GET_STATUS_OF_TAKE_HIGH_QUALITY_PHOTO = PHOTO_OPERATION_SUCCEEDED
|
|
785
821
|
*
|
|
786
822
|
* @param p0
|
|
787
|
-
* @returns
|
|
788
823
|
*/
|
|
789
|
-
static
|
|
824
|
+
static N_0x0D5B19C34068FEE7(p0: any): void;
|
|
790
825
|
/**
|
|
791
|
-
*
|
|
826
|
+
* type must be less than or equal to 20
|
|
827
|
+
*
|
|
828
|
+
* @param entity
|
|
829
|
+
* @param type
|
|
792
830
|
*/
|
|
793
|
-
static
|
|
831
|
+
static setLightsTypeForEntity(entity: Entity, type: number): void;
|
|
794
832
|
/**
|
|
795
|
-
* @param
|
|
796
|
-
* @
|
|
833
|
+
* @param p0
|
|
834
|
+
* @param p1
|
|
835
|
+
* @param p2
|
|
836
|
+
* @param p3
|
|
797
837
|
*/
|
|
798
|
-
static
|
|
838
|
+
static N_0xD543487A1F12828F(p0: any, p1: any, p2: any, p3: any): void;
|
|
799
839
|
static N_0xEC3F7F24EEEB3BA3(): void;
|
|
800
840
|
/**
|
|
801
841
|
* Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
|
|
@@ -870,174 +910,100 @@ export declare class Graphics {
|
|
|
870
910
|
*/
|
|
871
911
|
static setProxyInteriorIndexArtificialLightsState(proxyInteriorIndex: number, state: boolean): void;
|
|
872
912
|
/**
|
|
873
|
-
* Creates blood pools for the given ped in some interval for a few seconds.
|
|
874
|
-
*
|
|
875
|
-
* @param ped
|
|
876
|
-
*/
|
|
877
|
-
static addBloodPoolsForPed(ped: Ped): void;
|
|
878
|
-
/**
|
|
879
|
-
* @param texture
|
|
880
|
-
* @param ped
|
|
881
|
-
* @param playerSlot
|
|
882
|
-
* @returns
|
|
883
|
-
*/
|
|
884
|
-
static pedshotGeneratePersonaPhoto(texture: string | null, ped: Ped, playerSlot: number): boolean;
|
|
885
|
-
/**
|
|
886
|
-
* @returns
|
|
887
|
-
*/
|
|
888
|
-
static queueOperationToCreateSortedListOfPhotos(): any;
|
|
889
|
-
/**
|
|
890
|
-
* @param p0
|
|
891
|
-
*/
|
|
892
|
-
static setRegionPhotoTakenStat(p0: string | null): void;
|
|
893
|
-
/**
|
|
894
|
-
* @param effectName
|
|
895
|
-
*/
|
|
896
|
-
static animpostfxSetToUnload(effectName: string | null): void;
|
|
897
|
-
/**
|
|
898
|
-
* @param proxyInteriorIndex
|
|
899
|
-
* @returns
|
|
900
|
-
*/
|
|
901
|
-
static isProxyInteriorIndexArtificialLightsEnabled(proxyInteriorIndex: number): any;
|
|
902
|
-
/**
|
|
903
|
-
* @param p0
|
|
904
|
-
*/
|
|
905
|
-
static setPhotoInPhotomodeStat(p0: boolean): void;
|
|
906
|
-
/**
|
|
907
|
-
* @param entity
|
|
908
|
-
* @param intensity
|
|
909
|
-
*/
|
|
910
|
-
static setLightsIntensityForEntity(entity: Entity, intensity: number): void;
|
|
911
|
-
/**
|
|
912
|
-
* @param entity
|
|
913
|
-
*/
|
|
914
|
-
static updateLightsOnEntity(entity: Entity): void;
|
|
915
|
-
/**
|
|
916
|
-
* @returns
|
|
917
|
-
*/
|
|
918
|
-
static getStatusOfTakeHighQualityPhoto(): number;
|
|
919
|
-
/**
|
|
920
|
-
* @returns
|
|
921
|
-
*/
|
|
922
|
-
static N_0x285438C26C732F9D(): any;
|
|
923
|
-
/**
|
|
924
|
-
* 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.
|
|
925
|
-
*
|
|
926
|
-
* @param toggle
|
|
927
|
-
*/
|
|
928
|
-
static setScriptGfxDrawBehindPausemenu(toggle: boolean): void;
|
|
929
|
-
/**
|
|
930
|
-
* @param p0
|
|
931
|
-
*/
|
|
932
|
-
static setDistrictPhotoTakenStat(p0: string | null): void;
|
|
933
|
-
/**
|
|
934
|
-
* @param effectName
|
|
935
|
-
* @param ped
|
|
936
|
-
* @param offset
|
|
937
|
-
* @param rot
|
|
938
|
-
* @param boneIndex
|
|
939
913
|
* @param scale
|
|
940
|
-
* @param xAxis
|
|
941
|
-
* @param yAxis
|
|
942
|
-
* @param zAxis
|
|
943
|
-
* @returns
|
|
944
|
-
*/
|
|
945
|
-
static startParticleFxLoopedOnPedBone(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
|
|
946
|
-
/**
|
|
947
|
-
* @param p0
|
|
948
|
-
*/
|
|
949
|
-
static setPhotoStudioStat(p0: number): void;
|
|
950
|
-
/**
|
|
951
|
-
* @param effectName
|
|
952
914
|
*/
|
|
953
|
-
static
|
|
915
|
+
static setParticleFxBulletImpactScale(scale: number): void;
|
|
954
916
|
/**
|
|
955
917
|
* @param p0
|
|
956
918
|
* @param p1
|
|
957
|
-
|
|
958
|
-
static N_0xC489FE31AC726512(p0: any, p1: any): void;
|
|
959
|
-
/**
|
|
960
|
-
* https://i.imgur.com/rPITUCV.jpg
|
|
961
|
-
* More customizable and more like quadrants
|
|
962
|
-
*
|
|
963
|
-
* @param pos
|
|
919
|
+
* @param p2
|
|
964
920
|
* @param p3
|
|
965
|
-
* @param
|
|
921
|
+
* @param p4
|
|
966
922
|
* @param p5
|
|
967
|
-
* @param
|
|
923
|
+
* @param p6
|
|
968
924
|
* @param p7
|
|
969
|
-
* @param p8
|
|
970
925
|
*/
|
|
971
|
-
static
|
|
926
|
+
static cascadeShadowsSetCascadeBounds(p0: any, p1: boolean, p2: number, p3: number, p4: number, p5: number, p6: boolean, p7: number): void;
|
|
972
927
|
/**
|
|
973
|
-
*
|
|
974
|
-
*
|
|
975
|
-
* @param waypointRecording
|
|
976
|
-
* @param p1
|
|
928
|
+
* @param value
|
|
977
929
|
*/
|
|
978
|
-
static
|
|
930
|
+
static changePhotoModeExposure(value: number): void;
|
|
979
931
|
/**
|
|
980
|
-
* @param
|
|
981
|
-
* @
|
|
932
|
+
* @param point
|
|
933
|
+
* @returns
|
|
982
934
|
*/
|
|
983
|
-
static
|
|
935
|
+
static isTrackedPointValid(point: number): any;
|
|
984
936
|
/**
|
|
985
|
-
*
|
|
986
|
-
*
|
|
937
|
+
* Old name: _ENABLE_EXTRA_TIMECYCLE_MODIFIER_STRENGTH
|
|
938
|
+
*
|
|
939
|
+
* @param strength
|
|
987
940
|
*/
|
|
988
|
-
static
|
|
941
|
+
static enableMoonCycleOverride(strength: number): void;
|
|
942
|
+
static setDisablePetrolDecalsIgnitingThisFrame(): void;
|
|
989
943
|
/**
|
|
944
|
+
* Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
|
|
945
|
+
*
|
|
990
946
|
* @param p0
|
|
991
947
|
*/
|
|
992
|
-
static
|
|
948
|
+
static N_0x4BD66B4E3427689B(p0: string | null): void;
|
|
993
949
|
/**
|
|
994
|
-
*
|
|
950
|
+
* Enables/disables a kind of 'shiny' effect on metals.
|
|
951
|
+
*
|
|
952
|
+
* @param object
|
|
953
|
+
* @param toggle
|
|
995
954
|
*/
|
|
996
|
-
static
|
|
955
|
+
static setPearlescentFxEnabled(object: Prop, toggle: boolean): void;
|
|
997
956
|
/**
|
|
998
|
-
*
|
|
999
|
-
* Triggers the binocular scaleform
|
|
1000
|
-
*
|
|
1001
|
-
* @param component
|
|
957
|
+
* @param enabled
|
|
1002
958
|
*/
|
|
1003
|
-
static
|
|
959
|
+
static setSniperGlintsEnabled(enabled: boolean): void;
|
|
1004
960
|
/**
|
|
1005
|
-
*
|
|
961
|
+
* Example:
|
|
962
|
+
* local hash = GetHashKey("CLOTHING_ITEM_M_EYES_001_TINT_001")
|
|
963
|
+
* _GENERATE_SWATCH_TEXTURE(0, hash, 0, true)
|
|
964
|
+
* metapedType: see 0xEC9A1261BF0CE510
|
|
1006
965
|
*
|
|
1007
|
-
* @param
|
|
966
|
+
* @param slotId
|
|
967
|
+
* @param componentHash
|
|
968
|
+
* @param metapedType
|
|
969
|
+
* @param p3
|
|
1008
970
|
*/
|
|
1009
|
-
static
|
|
971
|
+
static generateSwatchTexture(slotId: number, componentHash: string | number, metapedType: number, p3: boolean): void;
|
|
1010
972
|
/**
|
|
1011
|
-
* @param
|
|
973
|
+
* @param entity
|
|
974
|
+
* @param mask
|
|
975
|
+
* @param intensity
|
|
1012
976
|
*/
|
|
1013
|
-
static
|
|
977
|
+
static addEntityToEntityMaskWithIntensity(entity: Entity, mask: number, intensity: number): void;
|
|
978
|
+
static disableHdtexThisFrame(): void;
|
|
1014
979
|
/**
|
|
1015
|
-
* @param
|
|
1016
|
-
* @param p1
|
|
1017
|
-
* @param p2
|
|
1018
|
-
* @returns p3
|
|
980
|
+
* @param entity
|
|
1019
981
|
*/
|
|
1020
|
-
static
|
|
1021
|
-
static destroySwatchTextureDict(): void;
|
|
982
|
+
static attachTvAudioToEntity(entity: Entity): void;
|
|
1022
983
|
/**
|
|
984
|
+
* @param effectName
|
|
985
|
+
* @param ped
|
|
986
|
+
* @param offset
|
|
987
|
+
* @param rot
|
|
988
|
+
* @param boneIndex
|
|
989
|
+
* @param scale
|
|
990
|
+
* @param axisX
|
|
991
|
+
* @param axisY
|
|
992
|
+
* @param axisZ
|
|
1023
993
|
* @returns
|
|
1024
994
|
*/
|
|
1025
|
-
static
|
|
995
|
+
static startParticleFxNonLoopedOnPedBone(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
|
|
1026
996
|
/**
|
|
1027
|
-
*
|
|
997
|
+
* contentId: returned by NETWORK::_UGC_QUERY_GET_CREATOR_PHOTO(uVar0, 0, sParam3)
|
|
1028
998
|
*
|
|
1029
|
-
* @param
|
|
999
|
+
* @param contentId
|
|
1030
1000
|
* @returns
|
|
1031
1001
|
*/
|
|
1032
|
-
static
|
|
1002
|
+
static getStatusOfLoadMissionCreatorPhoto(contentId: string | null): number;
|
|
1033
1003
|
/**
|
|
1034
1004
|
* @param p0
|
|
1035
1005
|
*/
|
|
1036
|
-
static
|
|
1037
|
-
/**
|
|
1038
|
-
* @param obj
|
|
1039
|
-
*/
|
|
1040
|
-
static removeDecalsFromObject(obj: Prop): void;
|
|
1006
|
+
static N_0x6C03118E9E5C1A14(p0: any): void;
|
|
1041
1007
|
/**
|
|
1042
1008
|
* https://imgur.com/a/I2swSDJ Old name: _SET_PICKUP_OBJECT_GLOW_ENABLED
|
|
1043
1009
|
*
|
|
@@ -1126,109 +1092,6 @@ export declare class Graphics {
|
|
|
1126
1092
|
* @param alpha
|
|
1127
1093
|
*/
|
|
1128
1094
|
static setCheckpointRgba(checkpoint: number, color: Color, alpha: number): void;
|
|
1129
|
-
/**
|
|
1130
|
-
* https://github.com/femga/rdr3_discoveries/blob/master/graphics/markers/marker_types.lua
|
|
1131
|
-
* Old name: _DRAW_MARKER
|
|
1132
|
-
*
|
|
1133
|
-
* @param type
|
|
1134
|
-
* @param pos
|
|
1135
|
-
* @param direction
|
|
1136
|
-
* @param rot
|
|
1137
|
-
* @param scale
|
|
1138
|
-
* @param color
|
|
1139
|
-
* @param alpha
|
|
1140
|
-
* @param bobUpAndDown
|
|
1141
|
-
* @param faceCamera
|
|
1142
|
-
* @param p19
|
|
1143
|
-
* @param rotate
|
|
1144
|
-
* @param textureDict
|
|
1145
|
-
* @param textureName
|
|
1146
|
-
* @param drawOnEnts
|
|
1147
|
-
*/
|
|
1148
|
-
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;
|
|
1149
|
-
/**
|
|
1150
|
-
* @param r
|
|
1151
|
-
* @param g
|
|
1152
|
-
* @param b
|
|
1153
|
-
*/
|
|
1154
|
-
static setParticleFxNonLoopedColour(r: number, g: number, b: number): void;
|
|
1155
|
-
/**
|
|
1156
|
-
* @param p0
|
|
1157
|
-
*/
|
|
1158
|
-
static N_0xF5793BB386E1FF9C(p0: any): void;
|
|
1159
|
-
/**
|
|
1160
|
-
* Used in shop scripts for CATALOG_BOOK
|
|
1161
|
-
* false = Normal -> [CATALOG_BOOK_SHUTDOWN]
|
|
1162
|
-
* true = Trees flickering? -> [CATALOG_BOOK_OPEN]
|
|
1163
|
-
*
|
|
1164
|
-
* @param p0
|
|
1165
|
-
*/
|
|
1166
|
-
static N_0x1A9F09AB458D49C6(p0: boolean): void;
|
|
1167
|
-
/**
|
|
1168
|
-
* @param effectName
|
|
1169
|
-
* @param duration
|
|
1170
|
-
*/
|
|
1171
|
-
static animpostfxPlayTimed(effectName: string | null, duration: number): void;
|
|
1172
|
-
/**
|
|
1173
|
-
* @param effectName
|
|
1174
|
-
* @param entity
|
|
1175
|
-
* @param offset
|
|
1176
|
-
* @param rot
|
|
1177
|
-
* @param boneIndex
|
|
1178
|
-
* @param scale
|
|
1179
|
-
* @param xAxis
|
|
1180
|
-
* @param yAxis
|
|
1181
|
-
* @param zAxis
|
|
1182
|
-
* @returns
|
|
1183
|
-
*/
|
|
1184
|
-
static startNetworkedParticleFxLoopedOnEntityBone(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
|
|
1185
|
-
/**
|
|
1186
|
-
* @param p0
|
|
1187
|
-
* @param p1
|
|
1188
|
-
* @param p2
|
|
1189
|
-
*/
|
|
1190
|
-
static N_0x735762E8D7573E42(p0: any, p1: any, p2: any): void;
|
|
1191
|
-
/**
|
|
1192
|
-
* Only used in guama1 R* Script
|
|
1193
|
-
* Disables lod/distant lights when BOOL is set to true
|
|
1194
|
-
*
|
|
1195
|
-
* @param disable
|
|
1196
|
-
*/
|
|
1197
|
-
static disableFarArtificialLights(disable: boolean): void;
|
|
1198
|
-
/**
|
|
1199
|
-
* @param decal
|
|
1200
|
-
*/
|
|
1201
|
-
static removeDecal(decal: number): void;
|
|
1202
|
-
/**
|
|
1203
|
-
* Hardcoded to always set x to 1280 and y to 720.
|
|
1204
|
-
*
|
|
1205
|
-
* @returns x; y
|
|
1206
|
-
*/
|
|
1207
|
-
static getScreenResolution(): [number, number];
|
|
1208
|
-
/**
|
|
1209
|
-
* ANIMPOSTFX_*
|
|
1210
|
-
*
|
|
1211
|
-
* @param effectName
|
|
1212
|
-
*/
|
|
1213
|
-
static N_0xA201A3D0AC087C37(effectName: string | null): void;
|
|
1214
|
-
/**
|
|
1215
|
-
* @param modifierName
|
|
1216
|
-
* @param transitionBlend
|
|
1217
|
-
*/
|
|
1218
|
-
static setTransitionTimecycleModifier(modifierName: string | null, transitionBlend: number): void;
|
|
1219
|
-
static enableEntitymask(): void;
|
|
1220
|
-
/**
|
|
1221
|
-
* fxName: see data_0/data/effects/ptfx/fxlists/
|
|
1222
|
-
*
|
|
1223
|
-
* @param fxName
|
|
1224
|
-
*/
|
|
1225
|
-
static useParticleFxAsset(fxName: string | null): void;
|
|
1226
|
-
static animpostfxStopAll(): void;
|
|
1227
|
-
/**
|
|
1228
|
-
* @param pickup
|
|
1229
|
-
* @param toggle
|
|
1230
|
-
*/
|
|
1231
|
-
static blockPickupPlacementLight(pickup: Pickup, toggle: boolean): void;
|
|
1232
1095
|
/**
|
|
1233
1096
|
* ANIMPOSTFX_*
|
|
1234
1097
|
*
|
|
@@ -1409,190 +1272,327 @@ export declare class Graphics {
|
|
|
1409
1272
|
/**
|
|
1410
1273
|
* @returns
|
|
1411
1274
|
*/
|
|
1412
|
-
static N_0xC28F62AC9774FC1B(): any;
|
|
1275
|
+
static N_0xC28F62AC9774FC1B(): any;
|
|
1276
|
+
/**
|
|
1277
|
+
* @param p1
|
|
1278
|
+
* @param p2
|
|
1279
|
+
* @param p3
|
|
1280
|
+
* @returns p0
|
|
1281
|
+
*/
|
|
1282
|
+
static loadMissionCreatorPhoto(p1: any, p2: any, p3: any): [boolean, number];
|
|
1283
|
+
/**
|
|
1284
|
+
* @param entity
|
|
1285
|
+
* @returns layer0; layer1; layer2; layer3
|
|
1286
|
+
*/
|
|
1287
|
+
static getEntityMaskLayers(entity: Entity): [boolean, number, number, number, number];
|
|
1288
|
+
/**
|
|
1289
|
+
* @param ped
|
|
1290
|
+
* @param p1
|
|
1291
|
+
* @param size
|
|
1292
|
+
* @param p3
|
|
1293
|
+
*/
|
|
1294
|
+
static addBloodPoolsForPedWithParams(ped: Ped, p1: number, size: number, p3: number): void;
|
|
1295
|
+
/**
|
|
1296
|
+
* @param p0
|
|
1297
|
+
*/
|
|
1298
|
+
static N_0xFF8018C778349234(p0: any): void;
|
|
1299
|
+
/**
|
|
1300
|
+
* Old name: _SET_HIDOF_ENV_BLUR_PARAMS
|
|
1301
|
+
*
|
|
1302
|
+
* @param p0
|
|
1303
|
+
* @param p1
|
|
1304
|
+
* @param p2
|
|
1305
|
+
* @param p3
|
|
1306
|
+
* @param p4
|
|
1307
|
+
* @param p5
|
|
1308
|
+
*/
|
|
1309
|
+
static setHidofOverride(p0: boolean, p1: boolean, p2: number, p3: number, p4: number, p5: number): void;
|
|
1310
|
+
/**
|
|
1311
|
+
* @param effectName
|
|
1312
|
+
* @param entity
|
|
1313
|
+
* @param offset
|
|
1314
|
+
* @param rot
|
|
1315
|
+
* @param boneIndex
|
|
1316
|
+
* @param scale
|
|
1317
|
+
* @param xAxis
|
|
1318
|
+
* @param yAxis
|
|
1319
|
+
* @param zAxis
|
|
1320
|
+
* @returns
|
|
1321
|
+
*/
|
|
1322
|
+
static startParticleFxLoopedOnEntityBone(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
|
|
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;
|
|
1331
|
+
/**
|
|
1332
|
+
* nullsub, doesn't do anything (GTA5 leftover, there is no phone in RDR3)
|
|
1333
|
+
*
|
|
1334
|
+
* @param p0
|
|
1335
|
+
* @param photoRotation
|
|
1336
|
+
*/
|
|
1337
|
+
static drawLowQualityPhotoToPhone(p0: boolean, photoRotation: number): void;
|
|
1338
|
+
/**
|
|
1339
|
+
* https://gfycat.com/meagerfaireyra
|
|
1340
|
+
*
|
|
1341
|
+
* @param entity
|
|
1342
|
+
* @param color
|
|
1343
|
+
*/
|
|
1344
|
+
static setLightsColorForEntity(entity: Entity, color: Color): void;
|
|
1345
|
+
/**
|
|
1346
|
+
* @param effectName
|
|
1347
|
+
* @param ped
|
|
1348
|
+
* @param offset
|
|
1349
|
+
* @param rot
|
|
1350
|
+
* @param boneIndex
|
|
1351
|
+
* @param scale
|
|
1352
|
+
* @param axisX
|
|
1353
|
+
* @param axisY
|
|
1354
|
+
* @param axisZ
|
|
1355
|
+
* @returns
|
|
1356
|
+
*/
|
|
1357
|
+
static startParticleFxNonLoopedOnPedBone2(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): any;
|
|
1358
|
+
static N_0x981C7D863980FA51(): void;
|
|
1413
1359
|
/**
|
|
1360
|
+
* @param p0
|
|
1414
1361
|
* @param p1
|
|
1415
|
-
* @param p2
|
|
1416
|
-
* @param p3
|
|
1417
|
-
* @returns p0
|
|
1418
1362
|
*/
|
|
1419
|
-
static
|
|
1363
|
+
static N_0x9F6D859C80708B26(p0: boolean, p1: boolean): void;
|
|
1420
1364
|
/**
|
|
1421
|
-
* @param
|
|
1422
|
-
* @
|
|
1365
|
+
* @param oldAsset
|
|
1366
|
+
* @param newAsset
|
|
1423
1367
|
*/
|
|
1424
|
-
static
|
|
1368
|
+
static setParticleFxOverride(oldAsset: string | null, newAsset: string | null): void;
|
|
1425
1369
|
/**
|
|
1426
|
-
* @param
|
|
1370
|
+
* @param p0
|
|
1427
1371
|
* @param p1
|
|
1428
|
-
* @param size
|
|
1429
|
-
* @param p3
|
|
1430
1372
|
*/
|
|
1431
|
-
static
|
|
1373
|
+
static N_0xA0F4D12D6042F6D5(p0: any, p1: any): void;
|
|
1432
1374
|
/**
|
|
1433
|
-
*
|
|
1434
|
-
*
|
|
1435
|
-
* @param
|
|
1375
|
+
* @param ptfxHandle
|
|
1376
|
+
* @param pos
|
|
1377
|
+
* @param rot
|
|
1436
1378
|
*/
|
|
1437
|
-
static
|
|
1379
|
+
static setParticleFxLoopedOffsets(ptfxHandle: number, pos: Vector3, rot: Vector3): void;
|
|
1438
1380
|
/**
|
|
1439
|
-
* @param
|
|
1381
|
+
* @param p0
|
|
1440
1382
|
*/
|
|
1441
|
-
static
|
|
1383
|
+
static disableStaticVegModifier(p0: string | number): void;
|
|
1442
1384
|
/**
|
|
1443
|
-
* @param
|
|
1385
|
+
* @param ptfxHandle
|
|
1386
|
+
* @param scale
|
|
1444
1387
|
*/
|
|
1445
|
-
static
|
|
1388
|
+
static setParticleFxLoopedScale(ptfxHandle: number, scale: number): void;
|
|
1446
1389
|
/**
|
|
1447
|
-
*
|
|
1390
|
+
* https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_non_looped.lua
|
|
1448
1391
|
*
|
|
1392
|
+
* @param effectName
|
|
1393
|
+
* @param pos
|
|
1394
|
+
* @param rot
|
|
1395
|
+
* @param scale
|
|
1396
|
+
* @param eventType
|
|
1397
|
+
* @param bPeekOnly
|
|
1398
|
+
* @param bIsRegistered
|
|
1399
|
+
* @returns
|
|
1400
|
+
*/
|
|
1401
|
+
static startParticleFxNonLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, eventType: number, bPeekOnly: boolean, bIsRegistered: boolean): number;
|
|
1402
|
+
/**
|
|
1449
1403
|
* @param p0
|
|
1450
1404
|
* @returns
|
|
1451
1405
|
*/
|
|
1452
|
-
static
|
|
1406
|
+
static isStaticVegModifierEnabled(p0: string | number): any;
|
|
1453
1407
|
/**
|
|
1454
1408
|
* @param p0
|
|
1409
|
+
* @param p1
|
|
1455
1410
|
*/
|
|
1456
|
-
static
|
|
1411
|
+
static N_0xC489FE31AC726512(p0: any, p1: any): void;
|
|
1457
1412
|
/**
|
|
1458
|
-
*
|
|
1459
|
-
*
|
|
1413
|
+
* https://i.imgur.com/rPITUCV.jpg
|
|
1414
|
+
* More customizable and more like quadrants
|
|
1415
|
+
*
|
|
1416
|
+
* @param pos
|
|
1417
|
+
* @param p3
|
|
1418
|
+
* @param size
|
|
1419
|
+
* @param p5
|
|
1420
|
+
* @param permanent
|
|
1421
|
+
* @param p7
|
|
1422
|
+
* @param p8
|
|
1460
1423
|
*/
|
|
1461
|
-
static
|
|
1424
|
+
static addBloodPool2(pos: Vector3, p3: number, size: number, p5: number, permanent: boolean, p7: number, p8: boolean): void;
|
|
1462
1425
|
/**
|
|
1463
|
-
*
|
|
1464
|
-
*
|
|
1465
|
-
* @param
|
|
1466
|
-
* @param
|
|
1467
|
-
* @param scale
|
|
1468
|
-
* @param axisX
|
|
1469
|
-
* @param axisY
|
|
1470
|
-
* @param axisZ
|
|
1471
|
-
* @returns
|
|
1426
|
+
* p1: 0.3f in R* Scripts
|
|
1427
|
+
*
|
|
1428
|
+
* @param waypointRecording
|
|
1429
|
+
* @param p1
|
|
1472
1430
|
*/
|
|
1473
|
-
static
|
|
1431
|
+
static bloodTrailForWaypoint(waypointRecording: string | null, p1: number): void;
|
|
1474
1432
|
/**
|
|
1475
|
-
* @
|
|
1433
|
+
* @param ptfxHandle
|
|
1434
|
+
* @param range
|
|
1476
1435
|
*/
|
|
1477
|
-
static
|
|
1436
|
+
static setParticleFxLoopedFarClipDist(ptfxHandle: number, range: number): void;
|
|
1478
1437
|
/**
|
|
1479
|
-
* Only used in R* SP Script spd_agnesdown1
|
|
1480
|
-
*
|
|
1481
1438
|
* @param p0
|
|
1482
|
-
* @
|
|
1439
|
+
* @param p1
|
|
1483
1440
|
*/
|
|
1484
|
-
static
|
|
1441
|
+
static N_0x085C5B61A0114F32(p0: any, p1: any): void;
|
|
1485
1442
|
/**
|
|
1486
|
-
* @param
|
|
1487
|
-
* @param mask
|
|
1443
|
+
* @param p0
|
|
1488
1444
|
*/
|
|
1489
|
-
static
|
|
1445
|
+
static N_0x9F158A49B0D84C3C(p0: any): void;
|
|
1490
1446
|
/**
|
|
1491
|
-
* Always returns 200.
|
|
1492
|
-
*
|
|
1493
1447
|
* @returns
|
|
1494
1448
|
*/
|
|
1495
|
-
static
|
|
1449
|
+
static N_0x5C674EB487891F6B(): any;
|
|
1496
1450
|
/**
|
|
1497
|
-
*
|
|
1451
|
+
* Params: component - used in odriscolls1 and sean1 R* SP Script: COMPONENT_BINOCULARS_SCOPE01
|
|
1452
|
+
* Triggers the binocular scaleform
|
|
1453
|
+
*
|
|
1454
|
+
* @param component
|
|
1498
1455
|
*/
|
|
1499
|
-
static
|
|
1456
|
+
static N_0x21F00E08CBB5F37B(component: string | null): void;
|
|
1500
1457
|
/**
|
|
1501
|
-
*
|
|
1502
|
-
*
|
|
1458
|
+
* Sets an unknown value related to timecycles.
|
|
1459
|
+
*
|
|
1460
|
+
* @param unk
|
|
1503
1461
|
*/
|
|
1504
|
-
static
|
|
1462
|
+
static resetAdaptation(unk: number): void;
|
|
1505
1463
|
/**
|
|
1506
|
-
*
|
|
1507
|
-
*
|
|
1508
|
-
* @param effectName
|
|
1509
|
-
* @returns
|
|
1464
|
+
* @param effectNameHash
|
|
1510
1465
|
*/
|
|
1511
|
-
static
|
|
1466
|
+
static animpostfxPreloadPostfxByStackhash(effectNameHash: string | number): void;
|
|
1512
1467
|
/**
|
|
1513
|
-
* @param
|
|
1514
|
-
* @param
|
|
1515
|
-
* @
|
|
1468
|
+
* @param effectNameHash
|
|
1469
|
+
* @param p1
|
|
1470
|
+
* @param p2
|
|
1471
|
+
* @returns p3
|
|
1516
1472
|
*/
|
|
1517
|
-
static
|
|
1518
|
-
static
|
|
1519
|
-
static resetPausedRenderphases(): void;
|
|
1473
|
+
static animpostfxHasEventTriggeredByStackhash(effectNameHash: string | number, p1: number, p2: boolean): [any, boolean];
|
|
1474
|
+
static destroySwatchTextureDict(): void;
|
|
1520
1475
|
/**
|
|
1521
|
-
* @param unused
|
|
1522
1476
|
* @returns
|
|
1523
1477
|
*/
|
|
1524
|
-
static
|
|
1478
|
+
static beginTakeHighQualityPhoto(): any;
|
|
1525
1479
|
/**
|
|
1526
|
-
*
|
|
1527
|
-
*
|
|
1480
|
+
* Old name: _IS_TV_PLAYLIST_ITEM_PLAYING
|
|
1481
|
+
*
|
|
1482
|
+
* @param videoCliphash
|
|
1483
|
+
* @returns
|
|
1528
1484
|
*/
|
|
1529
|
-
static
|
|
1485
|
+
static isTvshowCurrentlyPlaying(videoCliphash: string | number): boolean;
|
|
1530
1486
|
/**
|
|
1531
1487
|
* @param p0
|
|
1532
|
-
* @returns
|
|
1533
1488
|
*/
|
|
1534
|
-
static
|
|
1489
|
+
static N_0x8996FA6AD9FE4E90(p0: any): void;
|
|
1535
1490
|
/**
|
|
1536
|
-
*
|
|
1491
|
+
* @param obj
|
|
1537
1492
|
*/
|
|
1538
|
-
static
|
|
1493
|
+
static removeDecalsFromObject(obj: Prop): void;
|
|
1539
1494
|
/**
|
|
1540
|
-
*
|
|
1495
|
+
* https://github.com/femga/rdr3_discoveries/blob/master/graphics/markers/marker_types.lua
|
|
1496
|
+
* Old name: _DRAW_MARKER
|
|
1497
|
+
*
|
|
1498
|
+
* @param type
|
|
1499
|
+
* @param pos
|
|
1500
|
+
* @param direction
|
|
1501
|
+
* @param rot
|
|
1502
|
+
* @param scale
|
|
1503
|
+
* @param color
|
|
1504
|
+
* @param alpha
|
|
1505
|
+
* @param bobUpAndDown
|
|
1506
|
+
* @param faceCamera
|
|
1507
|
+
* @param p19
|
|
1508
|
+
* @param rotate
|
|
1509
|
+
* @param textureDict
|
|
1510
|
+
* @param textureName
|
|
1511
|
+
* @param drawOnEnts
|
|
1541
1512
|
*/
|
|
1542
|
-
static
|
|
1543
|
-
static pedshotFinishCleanupData(): void;
|
|
1544
|
-
static N_0x1C6306E5BC25C29C(): void;
|
|
1513
|
+
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;
|
|
1545
1514
|
/**
|
|
1546
|
-
* @param
|
|
1515
|
+
* @param r
|
|
1516
|
+
* @param g
|
|
1517
|
+
* @param b
|
|
1547
1518
|
*/
|
|
1548
|
-
static
|
|
1519
|
+
static setParticleFxNonLoopedColour(r: number, g: number, b: number): void;
|
|
1549
1520
|
/**
|
|
1550
1521
|
* @param p0
|
|
1551
1522
|
*/
|
|
1552
|
-
static
|
|
1523
|
+
static N_0xF5793BB386E1FF9C(p0: any): void;
|
|
1553
1524
|
/**
|
|
1554
|
-
* Used in
|
|
1525
|
+
* Used in shop scripts for CATALOG_BOOK
|
|
1526
|
+
* false = Normal -> [CATALOG_BOOK_SHUTDOWN]
|
|
1527
|
+
* true = Trees flickering? -> [CATALOG_BOOK_OPEN]
|
|
1555
1528
|
*
|
|
1556
|
-
* @param
|
|
1529
|
+
* @param p0
|
|
1557
1530
|
*/
|
|
1558
|
-
static
|
|
1531
|
+
static N_0x1A9F09AB458D49C6(p0: boolean): void;
|
|
1559
1532
|
/**
|
|
1560
1533
|
* @param effectName
|
|
1561
|
-
* @param
|
|
1534
|
+
* @param duration
|
|
1535
|
+
*/
|
|
1536
|
+
static animpostfxPlayTimed(effectName: string | null, duration: number): void;
|
|
1537
|
+
/**
|
|
1538
|
+
* @param effectName
|
|
1539
|
+
* @param entity
|
|
1540
|
+
* @param offset
|
|
1562
1541
|
* @param rot
|
|
1542
|
+
* @param boneIndex
|
|
1563
1543
|
* @param scale
|
|
1564
1544
|
* @param xAxis
|
|
1565
1545
|
* @param yAxis
|
|
1566
1546
|
* @param zAxis
|
|
1567
1547
|
* @returns
|
|
1568
1548
|
*/
|
|
1569
|
-
static
|
|
1549
|
+
static startNetworkedParticleFxLoopedOnEntityBone(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
|
|
1570
1550
|
/**
|
|
1571
|
-
* @
|
|
1551
|
+
* @param p0
|
|
1552
|
+
* @param p1
|
|
1553
|
+
* @param p2
|
|
1572
1554
|
*/
|
|
1573
|
-
static
|
|
1555
|
+
static N_0x735762E8D7573E42(p0: any, p1: any, p2: any): void;
|
|
1574
1556
|
/**
|
|
1575
|
-
*
|
|
1557
|
+
* Only used in guama1 R* Script
|
|
1558
|
+
* Disables lod/distant lights when BOOL is set to true
|
|
1576
1559
|
*
|
|
1577
|
-
* @param
|
|
1578
|
-
* @param scalar
|
|
1560
|
+
* @param disable
|
|
1579
1561
|
*/
|
|
1580
|
-
static
|
|
1562
|
+
static disableFarArtificialLights(disable: boolean): void;
|
|
1581
1563
|
/**
|
|
1582
|
-
*
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
*
|
|
1587
|
-
*
|
|
1564
|
+
* @param decal
|
|
1565
|
+
*/
|
|
1566
|
+
static removeDecal(decal: number): void;
|
|
1567
|
+
/**
|
|
1568
|
+
* Hardcoded to always set x to 1280 and y to 720.
|
|
1569
|
+
*
|
|
1570
|
+
* @returns x; y
|
|
1571
|
+
*/
|
|
1572
|
+
static getScreenResolution(): [number, number];
|
|
1573
|
+
/**
|
|
1574
|
+
* ANIMPOSTFX_*
|
|
1588
1575
|
*
|
|
1589
1576
|
* @param effectName
|
|
1590
|
-
* @returns
|
|
1591
1577
|
*/
|
|
1592
|
-
static
|
|
1578
|
+
static N_0xA201A3D0AC087C37(effectName: string | null): void;
|
|
1593
1579
|
/**
|
|
1594
|
-
* @param
|
|
1580
|
+
* @param modifierName
|
|
1581
|
+
* @param transitionBlend
|
|
1595
1582
|
*/
|
|
1596
|
-
static
|
|
1583
|
+
static setTransitionTimecycleModifier(modifierName: string | null, transitionBlend: number): void;
|
|
1584
|
+
static enableEntitymask(): void;
|
|
1585
|
+
/**
|
|
1586
|
+
* fxName: see data_0/data/effects/ptfx/fxlists/
|
|
1587
|
+
*
|
|
1588
|
+
* @param fxName
|
|
1589
|
+
*/
|
|
1590
|
+
static useParticleFxAsset(fxName: string | null): void;
|
|
1591
|
+
static animpostfxStopAll(): void;
|
|
1592
|
+
/**
|
|
1593
|
+
* @param pickup
|
|
1594
|
+
* @param toggle
|
|
1595
|
+
*/
|
|
1596
|
+
static blockPickupPlacementLight(pickup: Pickup, toggle: boolean): void;
|
|
1597
1597
|
}
|
|
1598
1598
|
//# sourceMappingURL=Graphics.d.ts.map
|