@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.
Files changed (248) hide show
  1. package/dist/classes/AnimScene.d.ts +101 -101
  2. package/dist/classes/AnimScene.d.ts.map +1 -1
  3. package/dist/classes/AnimScene.js +147 -147
  4. package/dist/classes/BaseModel.d.ts +12 -12
  5. package/dist/classes/BaseModel.d.ts.map +1 -1
  6. package/dist/classes/BaseModel.js +18 -18
  7. package/dist/classes/BaseTask.d.ts +22 -22
  8. package/dist/classes/BaseTask.d.ts.map +1 -1
  9. package/dist/classes/BaseTask.js +29 -29
  10. package/dist/classes/Cam.d.ts +86 -86
  11. package/dist/classes/Cam.d.ts.map +1 -1
  12. package/dist/classes/Cam.js +116 -116
  13. package/dist/classes/Entity.d.ts +426 -425
  14. package/dist/classes/Entity.d.ts.map +1 -1
  15. package/dist/classes/Entity.js +594 -589
  16. package/dist/classes/Interior.d.ts +1 -1
  17. package/dist/classes/Interior.d.ts.map +1 -1
  18. package/dist/classes/Ped.d.ts +13 -12
  19. package/dist/classes/Ped.d.ts.map +1 -1
  20. package/dist/classes/Ped.js +5 -0
  21. package/dist/classes/PedTask.d.ts +729 -729
  22. package/dist/classes/PedTask.d.ts.map +1 -1
  23. package/dist/classes/PedTask.js +951 -951
  24. package/dist/classes/PersChar.d.ts +11 -11
  25. package/dist/classes/PersChar.d.ts.map +1 -1
  26. package/dist/classes/PersChar.js +17 -17
  27. package/dist/classes/Pickup.d.ts +3 -3
  28. package/dist/classes/Pickup.d.ts.map +1 -1
  29. package/dist/classes/Pickup.js +7 -7
  30. package/dist/classes/Player.d.ts +164 -164
  31. package/dist/classes/Player.d.ts.map +1 -1
  32. package/dist/classes/Player.js +218 -218
  33. package/dist/classes/Prop.d.ts +87 -86
  34. package/dist/classes/Prop.d.ts.map +1 -1
  35. package/dist/classes/Prop.js +131 -126
  36. package/dist/classes/PropSet.d.ts +18 -18
  37. package/dist/classes/PropSet.d.ts.map +1 -1
  38. package/dist/classes/PropSet.js +25 -25
  39. package/dist/classes/Vehicle.d.ts +1 -0
  40. package/dist/classes/Vehicle.d.ts.map +1 -1
  41. package/dist/classes/Vehicle.js +5 -0
  42. package/dist/classes/VehicleTask.d.ts +18 -18
  43. package/dist/classes/VehicleTask.d.ts.map +1 -1
  44. package/dist/classes/VehicleTask.js +26 -26
  45. package/dist/classes/Volume.d.ts +1 -1
  46. package/dist/classes/Volume.d.ts.map +1 -1
  47. package/dist/classes/Weapon.d.ts +277 -277
  48. package/dist/classes/Weapon.d.ts.map +1 -1
  49. package/dist/classes/Weapon.js +398 -398
  50. package/dist/namespaces/Aitransport.d.ts +77 -77
  51. package/dist/namespaces/Aitransport.d.ts.map +1 -1
  52. package/dist/namespaces/Aitransport.js +94 -94
  53. package/dist/namespaces/Animscene.d.ts +51 -51
  54. package/dist/namespaces/Animscene.d.ts.map +1 -1
  55. package/dist/namespaces/Animscene.js +69 -69
  56. package/dist/namespaces/Audio.d.ts +2 -2
  57. package/dist/namespaces/Audio.d.ts.map +1 -1
  58. package/dist/namespaces/Bounty.d.ts +57 -57
  59. package/dist/namespaces/Bounty.d.ts.map +1 -1
  60. package/dist/namespaces/Bounty.js +90 -90
  61. package/dist/namespaces/Brain.d.ts +15 -15
  62. package/dist/namespaces/Brain.d.ts.map +1 -1
  63. package/dist/namespaces/Brain.js +20 -20
  64. package/dist/namespaces/CamStatics.d.ts +317 -317
  65. package/dist/namespaces/CamStatics.d.ts.map +1 -1
  66. package/dist/namespaces/CamStatics.js +449 -449
  67. package/dist/namespaces/Collection.d.ts +13 -13
  68. package/dist/namespaces/Collection.d.ts.map +1 -1
  69. package/dist/namespaces/Collection.js +8 -8
  70. package/dist/namespaces/Companion.d.ts +22 -22
  71. package/dist/namespaces/Companion.d.ts.map +1 -1
  72. package/dist/namespaces/Companion.js +30 -30
  73. package/dist/namespaces/Compendium.d.ts +60 -60
  74. package/dist/namespaces/Compendium.d.ts.map +1 -1
  75. package/dist/namespaces/Compendium.js +80 -80
  76. package/dist/namespaces/Crashlog.d.ts +10 -10
  77. package/dist/namespaces/Crashlog.d.ts.map +1 -1
  78. package/dist/namespaces/Crashlog.js +14 -14
  79. package/dist/namespaces/Databinding.d.ts +173 -173
  80. package/dist/namespaces/Databinding.d.ts.map +1 -1
  81. package/dist/namespaces/Databinding.js +263 -263
  82. package/dist/namespaces/Dlc.d.ts +5 -5
  83. package/dist/namespaces/Dlc.d.ts.map +1 -1
  84. package/dist/namespaces/Dlc.js +9 -9
  85. package/dist/namespaces/EntityStatics.d.ts +178 -178
  86. package/dist/namespaces/EntityStatics.d.ts.map +1 -1
  87. package/dist/namespaces/EntityStatics.js +242 -242
  88. package/dist/namespaces/Event.d.ts +62 -62
  89. package/dist/namespaces/Event.d.ts.map +1 -1
  90. package/dist/namespaces/Event.js +82 -82
  91. package/dist/namespaces/Fire.d.ts +7 -7
  92. package/dist/namespaces/Fire.d.ts.map +1 -1
  93. package/dist/namespaces/Fire.js +9 -9
  94. package/dist/namespaces/Graphics.d.ts +797 -797
  95. package/dist/namespaces/Graphics.d.ts.map +1 -1
  96. package/dist/namespaces/Graphics.js +1095 -1095
  97. package/dist/namespaces/Hud.d.ts +477 -477
  98. package/dist/namespaces/Hud.d.ts.map +1 -1
  99. package/dist/namespaces/Hud.js +721 -721
  100. package/dist/namespaces/InteriorStatics.d.ts +2 -2
  101. package/dist/namespaces/InteriorStatics.d.ts.map +1 -1
  102. package/dist/namespaces/Inventory.d.ts +216 -216
  103. package/dist/namespaces/Inventory.d.ts.map +1 -1
  104. package/dist/namespaces/Inventory.js +301 -301
  105. package/dist/namespaces/Itemdatabase.d.ts +8 -8
  106. package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
  107. package/dist/namespaces/Itemdatabase.js +7 -7
  108. package/dist/namespaces/Law.d.ts +2 -2
  109. package/dist/namespaces/Law.d.ts.map +1 -1
  110. package/dist/namespaces/Map.d.ts +65 -65
  111. package/dist/namespaces/Map.d.ts.map +1 -1
  112. package/dist/namespaces/Map.js +91 -91
  113. package/dist/namespaces/Minigame.d.ts +17 -17
  114. package/dist/namespaces/Minigame.d.ts.map +1 -1
  115. package/dist/namespaces/Minigame.js +25 -25
  116. package/dist/namespaces/Misc.d.ts +5 -5
  117. package/dist/namespaces/Misc.d.ts.map +1 -1
  118. package/dist/namespaces/Missiondata.d.ts +3 -3
  119. package/dist/namespaces/Missiondata.d.ts.map +1 -1
  120. package/dist/namespaces/Netshopping.d.ts +1 -1
  121. package/dist/namespaces/Netshopping.d.ts.map +1 -1
  122. package/dist/namespaces/Network.d.ts +1302 -1310
  123. package/dist/namespaces/Network.d.ts.map +1 -1
  124. package/dist/namespaces/Network.js +1910 -1918
  125. package/dist/namespaces/Object.d.ts +170 -170
  126. package/dist/namespaces/Object.d.ts.map +1 -1
  127. package/dist/namespaces/Object.js +232 -232
  128. package/dist/namespaces/Pad.d.ts +103 -103
  129. package/dist/namespaces/Pad.d.ts.map +1 -1
  130. package/dist/namespaces/Pad.js +134 -134
  131. package/dist/namespaces/PedStatics.d.ts +3 -3
  132. package/dist/namespaces/PedStatics.d.ts.map +1 -1
  133. package/dist/namespaces/Perschar.d.ts +71 -71
  134. package/dist/namespaces/Perschar.d.ts.map +1 -1
  135. package/dist/namespaces/Perschar.js +106 -106
  136. package/dist/namespaces/Persistence.d.ts +30 -30
  137. package/dist/namespaces/Persistence.d.ts.map +1 -1
  138. package/dist/namespaces/Persistence.js +42 -42
  139. package/dist/namespaces/PlayerStatics.d.ts +52 -52
  140. package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
  141. package/dist/namespaces/PlayerStatics.js +71 -71
  142. package/dist/namespaces/Population.d.ts +3 -3
  143. package/dist/namespaces/Population.d.ts.map +1 -1
  144. package/dist/namespaces/Posse.d.ts +28 -28
  145. package/dist/namespaces/Posse.d.ts.map +1 -1
  146. package/dist/namespaces/Posse.js +44 -44
  147. package/dist/namespaces/Propset.d.ts +59 -59
  148. package/dist/namespaces/Propset.d.ts.map +1 -1
  149. package/dist/namespaces/Propset.js +81 -81
  150. package/dist/namespaces/Scripts.d.ts +3 -3
  151. package/dist/namespaces/Scripts.d.ts.map +1 -1
  152. package/dist/namespaces/Socialclub.d.ts +1 -1
  153. package/dist/namespaces/Socialclub.d.ts.map +1 -1
  154. package/dist/namespaces/Stats.d.ts +85 -85
  155. package/dist/namespaces/Stats.d.ts.map +1 -1
  156. package/dist/namespaces/Stats.js +113 -113
  157. package/dist/namespaces/Streaming.d.ts +35 -35
  158. package/dist/namespaces/Streaming.d.ts.map +1 -1
  159. package/dist/namespaces/Streaming.js +53 -53
  160. package/dist/namespaces/Task.d.ts +367 -367
  161. package/dist/namespaces/Task.d.ts.map +1 -1
  162. package/dist/namespaces/Task.js +508 -508
  163. package/dist/namespaces/Telemetry.d.ts +198 -198
  164. package/dist/namespaces/Telemetry.d.ts.map +1 -1
  165. package/dist/namespaces/Telemetry.js +274 -274
  166. package/dist/namespaces/Uiapps.d.ts +24 -24
  167. package/dist/namespaces/Uiapps.d.ts.map +1 -1
  168. package/dist/namespaces/Uiapps.js +33 -33
  169. package/dist/namespaces/Uistickyfeed.d.ts +16 -16
  170. package/dist/namespaces/Uistickyfeed.d.ts.map +1 -1
  171. package/dist/namespaces/Uistickyfeed.js +21 -21
  172. package/dist/namespaces/VehicleStatics.d.ts +2 -2
  173. package/dist/namespaces/VehicleStatics.d.ts.map +1 -1
  174. package/dist/namespaces/Water.d.ts +27 -27
  175. package/dist/namespaces/Water.d.ts.map +1 -1
  176. package/dist/namespaces/Water.js +41 -41
  177. package/dist/namespaces/WeaponStatics.d.ts +250 -250
  178. package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
  179. package/dist/namespaces/WeaponStatics.js +372 -372
  180. package/dist/namespaces/Zone.d.ts +8 -8
  181. package/dist/namespaces/Zone.d.ts.map +1 -1
  182. package/dist/namespaces/Zone.js +9 -9
  183. package/package.json +1 -1
  184. package/src/classes/AnimScene.ts +170 -170
  185. package/src/classes/BaseModel.ts +21 -21
  186. package/src/classes/BaseTask.ts +31 -31
  187. package/src/classes/Cam.ts +124 -124
  188. package/src/classes/Entity.ts +619 -614
  189. package/src/classes/Interior.ts +1 -1
  190. package/src/classes/Ped.ts +17 -12
  191. package/src/classes/PedTask.ts +1011 -1011
  192. package/src/classes/PersChar.ts +19 -19
  193. package/src/classes/Pickup.ts +8 -8
  194. package/src/classes/Player.ts +227 -227
  195. package/src/classes/Prop.ts +146 -141
  196. package/src/classes/PropSet.ts +29 -29
  197. package/src/classes/Vehicle.ts +5 -0
  198. package/src/classes/VehicleTask.ts +30 -30
  199. package/src/classes/Volume.ts +1 -1
  200. package/src/classes/Weapon.ts +414 -414
  201. package/src/namespaces/Aitransport.ts +102 -102
  202. package/src/namespaces/Animscene.ts +78 -78
  203. package/src/namespaces/Audio.ts +2 -2
  204. package/src/namespaces/Bounty.ts +102 -102
  205. package/src/namespaces/Brain.ts +22 -22
  206. package/src/namespaces/CamStatics.ts +501 -501
  207. package/src/namespaces/Collection.ts +16 -16
  208. package/src/namespaces/Companion.ts +34 -34
  209. package/src/namespaces/Compendium.ts +93 -93
  210. package/src/namespaces/Crashlog.ts +16 -16
  211. package/src/namespaces/Databinding.ts +280 -280
  212. package/src/namespaces/Dlc.ts +9 -9
  213. package/src/namespaces/EntityStatics.ts +249 -249
  214. package/src/namespaces/Event.ts +92 -92
  215. package/src/namespaces/Fire.ts +10 -10
  216. package/src/namespaces/Graphics.ts +1155 -1155
  217. package/src/namespaces/Hud.ts +763 -763
  218. package/src/namespaces/InteriorStatics.ts +2 -2
  219. package/src/namespaces/Inventory.ts +321 -321
  220. package/src/namespaces/Itemdatabase.ts +11 -11
  221. package/src/namespaces/Law.ts +2 -2
  222. package/src/namespaces/Map.ts +104 -104
  223. package/src/namespaces/Minigame.ts +29 -29
  224. package/src/namespaces/Misc.ts +5 -5
  225. package/src/namespaces/Missiondata.ts +3 -3
  226. package/src/namespaces/Netshopping.ts +1 -1
  227. package/src/namespaces/Network.ts +1921 -1929
  228. package/src/namespaces/Object.ts +237 -237
  229. package/src/namespaces/Pad.ts +151 -151
  230. package/src/namespaces/PedStatics.ts +3 -3
  231. package/src/namespaces/Perschar.ts +116 -116
  232. package/src/namespaces/Persistence.ts +48 -48
  233. package/src/namespaces/PlayerStatics.ts +75 -75
  234. package/src/namespaces/Population.ts +3 -3
  235. package/src/namespaces/Posse.ts +47 -47
  236. package/src/namespaces/Propset.ts +92 -92
  237. package/src/namespaces/Scripts.ts +3 -3
  238. package/src/namespaces/Socialclub.ts +1 -1
  239. package/src/namespaces/Stats.ts +129 -129
  240. package/src/namespaces/Streaming.ts +62 -62
  241. package/src/namespaces/Task.ts +538 -538
  242. package/src/namespaces/Telemetry.ts +295 -295
  243. package/src/namespaces/Uiapps.ts +39 -39
  244. package/src/namespaces/Uistickyfeed.ts +23 -23
  245. package/src/namespaces/VehicleStatics.ts +2 -2
  246. package/src/namespaces/Water.ts +47 -47
  247. package/src/namespaces/WeaponStatics.ts +394 -394
  248. 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
- * When this is set to ON, shadows only draw as you get nearer. When OFF, they draw from a further distance.
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 toggle
17
+ * @param effectName
18
+ * @param p1
19
+ * @param potency
16
20
  */
17
- static cascadeShadowsEnableEntityTracker(toggle: boolean): void;
21
+ static animpostfxSetPotency(effectName: string | null, p1: number, potency: number): void;
18
22
  /**
19
- * Only used in R* Script nb_stalking_hunter
20
- *
21
- * @param p0
23
+ * @returns
22
24
  */
23
- static N_0xD1472AFF30C103D6(p0: number): void;
25
+ static pedshotIsAvailable(): any;
24
26
  /**
25
- * @param worldX
26
- * @param worldY
27
- * @param worldZ
28
- * @returns screenX; screenY
27
+ * @param p0
29
28
  */
30
- static getScreenCoordFromWorldCoord(worldX: number, worldY: number, worldZ: number): [boolean, number, number];
29
+ static N_0xD9BC98B55BCFAA9B(p0: any): void;
31
30
  /**
32
- * @param point
33
31
  * @param pos
34
- * @param radius
32
+ * @param xScale
33
+ * @param yScale
34
+ * @param rotation
35
+ * @param color
36
+ * @param alpha
35
37
  */
36
- static setTrackedPointInfo(point: number, pos: Vector3, radius: number): void;
38
+ static drawTvChannel(pos: Vector2, xScale: number, yScale: number, rotation: number, color: Color, alpha: number): void;
37
39
  /**
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
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
- * @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
51
+ * @returns
52
52
  */
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;
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 getCurrentNumberOfLocalPhotos(): number;
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 removeParticleFx(ptfxHandle: number, p1: boolean): void;
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 removeDecalsInRange(pos: Vector3, range: number): void;
110
+ static drawLightWithRange(pos: Vector3, colorR: number, colorG: number, colorB: number, range: number, intensity: number): void;
70
111
  /**
71
- * @param p0
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 setPhotoOverlayEffectStat(p0: number): void;
118
+ static setEntityRenderGuarmaShip(vehicle: Vehicle, toggle: boolean): void;
74
119
  /**
75
- * @param ptfxHandle
76
- * @param r
77
- * @param g
78
- * @param b
79
- * @param p4
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 setParticleFxLoopedColour(ptfxHandle: number, r: number, g: number, b: number, p4: boolean): void;
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 animpostfxStopStackhashPostfx(effectNameHash: string | number): void;
156
+ static animpostfxPlayTag(effectNameHash: string | number): void;
86
157
  /**
87
- * @param value
158
+ * @param pickupObject
159
+ * @param toggle
88
160
  */
89
- static changePhotoModeContrast(value: number): void;
161
+ static blockPickupObjectLight(pickupObject: Prop, toggle: boolean): void;
90
162
  /**
91
- * Sets the draw order for script draw commands.
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 drawOrder
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 setScriptGfxDrawOrder(drawOrder: number): void;
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 enableStaticVegModifier(p0: string | number): void;
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 getTvChannel(): number;
104
- static N_0x9D1B0B5066205692(): void;
216
+ static N_0xC37792A3F9C90771(): any;
105
217
  /**
106
- * @param alpha
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 setParticleFxNonLoopedAlpha(alpha: number): void;
227
+ static addVegModifierZone(volume: Volume, p1: number, flags: number, p3: number): number;
109
228
  /**
110
- * @param point
229
+ * Returns proxyInteriorIndex
230
+ *
231
+ * @param interiorId
232
+ * @returns
111
233
  */
112
- static destroyTrackedPoint(point: number): void;
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 N_0x67B0778C62E74423(p0: any): void;
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
- * ANIMPOSTFX_*
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 effectNameHash
280
+ * @param p0
281
+ * @param p1
282
+ * @param p2
121
283
  */
122
- static N_0x71845905BCCDE781(effectNameHash: string | number): void;
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 N_0x3DA7A10583A4BEC0(): boolean;
291
+ static N_0xE75CDDEBF618C8FF(effectNameHash: string | number): boolean;
130
292
  /**
131
- * Does not affect weapons, particles, fire/explosions, flashlights or the sun.
132
- * 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.
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 state
300
+ * @param pos
301
+ * @param unused
135
302
  */
136
- static setArtificialLightsState(state: boolean): void;
303
+ static addBloodPool(pos: Vector3, unused: boolean): void;
137
304
  /**
138
- * Possible values:
139
- * "CSM_ST_POINT"
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 type
308
+ * @param pos
155
309
  */
156
- static cascadeShadowsSetShadowSampleType(type: string | null): void;
310
+ static setCloudPosition(pos: Vector3): void;
157
311
  /**
158
312
  * @param p0
313
+ * @param p1
159
314
  */
160
- static N_0x519928DF02EB5101(p0: any): void;
315
+ static N_0xA04EF43030593ABC(p0: any, p1: any): void;
161
316
  /**
162
- * Gets set to 1 when GET_STATUS_OF_TAKE_HIGH_QUALITY_PHOTO = PHOTO_OPERATION_SUCCEEDED
317
+ * Called together with FREE_MEMORY_FOR_LOW_QUALITY_PHOTO
163
318
  *
164
319
  * @param p0
320
+ * @returns
165
321
  */
166
- static N_0x0D5B19C34068FEE7(p0: any): void;
322
+ static beginCreateLowQualityCopyOfPhoto(p0: number): boolean;
167
323
  /**
168
- * type must be less than or equal to 20
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 entity
171
- * @param type
335
+ * @param modifierName
172
336
  */
173
- static setLightsTypeForEntity(entity: Entity, type: number): void;
337
+ static setTimecycleModifier(modifierName: string | null): void;
174
338
  /**
175
- * @param p0
176
- * @param p1
177
- * @param p2
178
- * @param p3
339
+ * @param strength
179
340
  */
180
- static N_0xD543487A1F12828F(p0: any, p1: any, p2: any, p3: any): void;
341
+ static setTimecycleModifierStrength(strength: number): void;
181
342
  /**
182
- * @param p0
343
+ * @param toggle
183
344
  */
184
- static N_0xFF8018C778349234(p0: any): void;
345
+ static togglePausedRenderphases(toggle: boolean): void;
185
346
  /**
186
- * Old name: _SET_HIDOF_ENV_BLUR_PARAMS
347
+ * R* Script spd_agnesdow1: p0 = SPD_AGNES_DOWD_01
187
348
  *
188
349
  * @param p0
189
- * @param p1
190
- * @param p2
191
- * @param p3
192
- * @param p4
193
- * @param p5
350
+ * @returns
194
351
  */
195
- static setHidofOverride(p0: boolean, p1: boolean, p2: number, p3: number, p4: number, p5: number): void;
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 xAxis
204
- * @param yAxis
205
- * @param zAxis
368
+ * @param axisX
369
+ * @param axisY
370
+ * @param axisZ
206
371
  * @returns
207
372
  */
208
- static startParticleFxLoopedOnEntityBone(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
373
+ static startParticleFxNonLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
209
374
  /**
210
- * Sets the checkpoint icon color.
211
- *
212
- * @param checkpoint
213
- * @param color
214
- * @param alpha
375
+ * @returns
215
376
  */
216
- static setCheckpointRgba2(checkpoint: number, color: Color, alpha: number): void;
377
+ static getTogglePausedRenderphasesStatus(): boolean;
217
378
  /**
218
- * nullsub, doesn't do anything (GTA5 leftover, there is no phone in RDR3)
379
+ * Only used in R* SP Script spd_agnesdown1
219
380
  *
220
381
  * @param p0
221
- * @param photoRotation
382
+ * @returns
222
383
  */
223
- static drawLowQualityPhotoToPhone(p0: boolean, photoRotation: number): void;
384
+ static N_0x5C9C3A466B3296A8(p0: any): any;
224
385
  /**
225
- * https://gfycat.com/meagerfaireyra
226
- *
227
386
  * @param entity
228
- * @param color
387
+ * @param mask
229
388
  */
230
- static setLightsColorForEntity(entity: Entity, color: Color): void;
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
- * @param offset
235
- * @param rot
236
- * @param boneIndex
237
- * @param scale
238
- * @param axisX
239
- * @param axisY
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 startParticleFxNonLoopedOnPedBone2(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): any;
244
- static N_0x981C7D863980FA51(): void;
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 N_0x9F6D859C80708B26(p0: boolean, p1: boolean): void;
439
+ static setRegionPhotoTakenStat(p0: string | null): void;
250
440
  /**
251
- * @param oldAsset
252
- * @param newAsset
441
+ * @param effectName
253
442
  */
254
- static setParticleFxOverride(oldAsset: string | null, newAsset: string | null): void;
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 N_0xA0F4D12D6042F6D5(p0: any, p1: any): void;
452
+ static setPhotoInPhotomodeStat(p0: boolean): void;
260
453
  /**
261
- * @param ptfxHandle
262
- * @param pos
263
- * @param rot
454
+ * @param entity
455
+ * @param intensity
264
456
  */
265
- static setParticleFxLoopedOffsets(ptfxHandle: number, pos: Vector3, rot: Vector3): void;
457
+ static setLightsIntensityForEntity(entity: Entity, intensity: number): void;
266
458
  /**
267
- * @param p0
459
+ * @param entity
268
460
  */
269
- static disableStaticVegModifier(p0: string | number): void;
461
+ static updateLightsOnEntity(entity: Entity): void;
270
462
  /**
271
- * @param ptfxHandle
272
- * @param scale
463
+ * @returns
273
464
  */
274
- static setParticleFxLoopedScale(ptfxHandle: number, scale: number): void;
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 startParticleFxNonLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, eventType: number, bPeekOnly: boolean, bIsRegistered: boolean): number;
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 isStaticVegModifierEnabled(p0: string | number): any;
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 setParticleFxBulletImpactScale(scale: number): void;
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 cascadeShadowsSetCascadeBounds(p0: any, p1: boolean, p2: number, p3: number, p4: number, p5: number, p6: boolean, p7: number): void;
496
+ static setPhotoStudioStat(p0: number): void;
308
497
  /**
309
- * @param value
498
+ * @param effectName
310
499
  */
311
- static changePhotoModeExposure(value: number): void;
500
+ static animpostfxStop(effectName: string | null): void;
501
+ static resetPausedRenderphases(): void;
312
502
  /**
313
- * @param point
503
+ * @param unused
314
504
  * @returns
315
505
  */
316
- static isTrackedPointValid(point: number): any;
506
+ static saveHighQualityPhoto(unused: number): any;
317
507
  /**
318
- * Old name: _ENABLE_EXTRA_TIMECYCLE_MODIFIER_STRENGTH
319
- *
320
- * @param strength
508
+ * @param pos
509
+ * @param p2
321
510
  */
322
- static enableMoonCycleOverride(strength: number): void;
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 N_0x4BD66B4E3427689B(p0: string | null): void;
516
+ static N_0xEC3D8C228FE553D7(p0: boolean): boolean;
330
517
  /**
331
- * Enables/disables a kind of 'shiny' effect on metals.
332
- *
333
- * @param object
334
- * @param toggle
518
+ * *RESET**
335
519
  */
336
- static setPearlescentFxEnabled(object: Prop, toggle: boolean): void;
520
+ static N_0x1460B644397453EB(): void;
337
521
  /**
338
- * @param enabled
522
+ * @param personaPhotoLocalCacheType
339
523
  */
340
- static setSniperGlintsEnabled(enabled: boolean): void;
524
+ static pedshotSetPersonaPhotoType(personaPhotoLocalCacheType: number): void;
525
+ static pedshotFinishCleanupData(): void;
526
+ static N_0x1C6306E5BC25C29C(): void;
341
527
  /**
342
- * Example:
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 generateSwatchTexture(slotId: number, componentHash: string | number, metapedType: number, p3: boolean): void;
530
+ static setCloudNoise(pos: Vector3): void;
353
531
  /**
354
- * @param entity
355
- * @param mask
356
- * @param intensity
532
+ * @param p0
357
533
  */
358
- static addEntityToEntityMaskWithIntensity(entity: Entity, mask: number, intensity: number): void;
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 attachTvAudioToEntity(entity: Entity): void;
540
+ static N_0xC06F2F45A73EABCD(entity: Entity): void;
364
541
  /**
365
542
  * @param effectName
366
- * @param ped
367
- * @param offset
543
+ * @param pos
368
544
  * @param rot
369
- * @param boneIndex
370
545
  * @param scale
371
- * @param axisX
372
- * @param axisY
373
- * @param axisZ
546
+ * @param xAxis
547
+ * @param yAxis
548
+ * @param zAxis
374
549
  * @returns
375
550
  */
376
- static startParticleFxNonLoopedOnPedBone(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
551
+ static startNetworkedParticleFxNonLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): boolean;
377
552
  /**
378
- * contentId: returned by NETWORK::_UGC_QUERY_GET_CREATOR_PHOTO(uVar0, 0, sParam3)
553
+ * @returns
554
+ */
555
+ static getPhotoModeExposure(): number;
556
+ /**
557
+ * _SET_PARTICLE_FX_LOOPED_FA* - _SET_PARTICLE_FX_LOOPED_OF*
379
558
  *
380
- * @param contentId
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 getStatusOfLoadMissionCreatorPhoto(contentId: string | null): number;
574
+ static animpostfxGetStackhash(effectName: string | null): number;
384
575
  /**
385
- * @param p0
576
+ * @param height
386
577
  */
387
- static N_0x6C03118E9E5C1A14(p0: any): void;
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
- * Health Core Effect Filter Potency: p1 = 1
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 setTvAudioFrontend(toggle: boolean): void;
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 N_0x453D16D41FC51D3E(p0: boolean): void;
681
+ static N_0xD1472AFF30C103D6(p0: number): void;
558
682
  /**
559
- * @param p0
560
- * @param p1
561
- * @param p2
562
- * @param p3
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 N_0xE63D68F455CA0B47(p0: any, p1: any, p2: any, p3: any, p4: any, p5: any, p6: any): any;
688
+ static getScreenCoordFromWorldCoord(worldX: number, worldY: number, worldZ: number): [boolean, number, number];
569
689
  /**
690
+ * @param point
570
691
  * @param pos
571
- * @param colorR
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 animpostfxIsTagPlaying(effectName: string | null): any;
694
+ static setTrackedPointInfo(point: number, pos: Vector3, radius: number): void;
608
695
  /**
609
- * enum class eSnowCoverageType
610
- * {
611
- * Primary,
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 type
618
- */
619
- static setSnowCoverageType(type: number): void;
620
- /**
621
- * @param effectNameHash
622
- */
623
- static animpostfxPlayTag(effectNameHash: string | number): void;
624
- /**
625
- * @param pickupObject
626
- * @param toggle
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 blockPickupObjectLight(pickupObject: Prop, toggle: boolean): void;
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 startNetworkedParticleFxLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
715
+ static getCurrentNumberOfLocalPhotos(): number;
641
716
  /**
642
- * @param pos
643
- * @param radius
717
+ * @param ptfxHandle
718
+ * @param p1
644
719
  */
645
- static removeParticleFxInRange(pos: Vector3, radius: number): void;
720
+ static removeParticleFx(ptfxHandle: number, p1: boolean): void;
646
721
  /**
647
- * https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_looped.lua
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 rot
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 enableMovieSubtitles(toggle: boolean): void;
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 N_0x171C18E994C1A395(p0: any, p1: any, p2: any, p3: any, p4: any): void;
731
+ static setPhotoOverlayEffectStat(p0: number): void;
678
732
  /**
679
- * Doesn't actually return anything. ANIMPOSTFX_*
680
- *
681
- * @returns
733
+ * @param ptfxHandle
734
+ * @param r
735
+ * @param g
736
+ * @param b
737
+ * @param p4
682
738
  */
683
- static N_0xC37792A3F9C90771(): any;
739
+ static setParticleFxLoopedColour(ptfxHandle: number, r: number, g: number, b: number, p4: boolean): void;
684
740
  /**
685
- * Adds Vegetation Blocking Zone, Added Snow Flattening veg mod Zone
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 addVegModifierZone(volume: Volume, p1: number, flags: number, p3: number): number;
743
+ static animpostfxStopStackhashPostfx(effectNameHash: string | number): void;
695
744
  /**
696
- * Returns proxyInteriorIndex
697
- *
698
- * @param interiorId
699
- * @returns
745
+ * @param value
700
746
  */
701
- static getProxyInteriorIndex(interiorId: number): number;
702
- static endPetrolTrailDecals(): void;
747
+ static changePhotoModeContrast(value: number): void;
703
748
  /**
704
- * ANIMPOSTFX_*
749
+ * Sets the draw order for script draw commands.
705
750
  *
706
- * @param effectName
707
- * @param p1
708
- * @param p2
709
- * @returns p3
751
+ * @param drawOrder
710
752
  */
711
- static N_0xFBF161FCFEC8589E(effectName: string | null, p1: number, p2: boolean): [boolean, boolean];
753
+ static setScriptGfxDrawOrder(drawOrder: number): void;
712
754
  /**
713
- * 0 = succeeded
714
- * 1 = getting status
715
- * 2 = failed
716
- *
717
- * @returns
755
+ * @param p0
718
756
  */
719
- static getStatusOfSaveHighQualityPhoto(): number;
757
+ static enableStaticVegModifier(p0: string | number): void;
720
758
  /**
721
759
  * @returns
722
760
  */
723
- static isPhotoFrame(): boolean;
761
+ static getTvChannel(): number;
762
+ static N_0x9D1B0B5066205692(): void;
724
763
  /**
725
- * @param p0
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 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;
766
+ static setParticleFxNonLoopedAlpha(alpha: number): void;
738
767
  /**
739
- * @param effectName
740
- * @returns
768
+ * @param point
741
769
  */
742
- static animpostfxIsRunning(effectName: string | null): boolean;
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 setEntityAura(p0: number, p1: number, p2: number): void;
774
+ static N_0x67B0778C62E74423(p0: any): void;
752
775
  /**
753
776
  * ANIMPOSTFX_*
754
777
  *
755
778
  * @param effectNameHash
756
- * @returns
757
779
  */
758
- static N_0xE75CDDEBF618C8FF(effectNameHash: string | number): boolean;
780
+ static N_0x71845905BCCDE781(effectNameHash: string | number): void;
781
+ static N_0xF2F543D48F319A3A(): void;
759
782
  /**
760
- * @param pos
783
+ * ANIMPOSTFX_*
784
+ *
785
+ * @returns
761
786
  */
762
- static addBloodTrailSplat(pos: Vector3): void;
787
+ static N_0x3DA7A10583A4BEC0(): boolean;
763
788
  /**
764
- * https://i.imgur.com/ULQU9US.jpg
765
- * More rounded and small puddle
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 pos
768
- * @param unused
792
+ * @param state
769
793
  */
770
- static addBloodPool(pos: Vector3, unused: boolean): void;
794
+ static setArtificialLightsState(state: boolean): void;
771
795
  /**
772
- * Only used in finale2, smuggler2, winter4
773
- * _SET_CLOUD_A* - _SET_CLOUD_H*
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 pos
812
+ * @param type
776
813
  */
777
- static setCloudPosition(pos: Vector3): void;
814
+ static cascadeShadowsSetShadowSampleType(type: string | null): void;
778
815
  /**
779
816
  * @param p0
780
- * @param p1
781
817
  */
782
- static N_0xA04EF43030593ABC(p0: any, p1: any): void;
818
+ static N_0x519928DF02EB5101(p0: any): void;
783
819
  /**
784
- * Called together with FREE_MEMORY_FOR_LOW_QUALITY_PHOTO
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 beginCreateLowQualityCopyOfPhoto(p0: number): boolean;
824
+ static N_0x0D5B19C34068FEE7(p0: any): void;
790
825
  /**
791
- * @param player
826
+ * type must be less than or equal to 20
827
+ *
828
+ * @param entity
829
+ * @param type
792
830
  */
793
- static setPlayerAppearInPhoto(player: Player): void;
831
+ static setLightsTypeForEntity(entity: Entity, type: number): void;
794
832
  /**
795
- * @param checkpoint
796
- * @returns
833
+ * @param p0
834
+ * @param p1
835
+ * @param p2
836
+ * @param p3
797
837
  */
798
- static doesCheckpointHaveFx(checkpoint: number): any;
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 animpostfxStop(effectName: string | null): void;
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 size
921
+ * @param p4
966
922
  * @param p5
967
- * @param permanent
923
+ * @param p6
968
924
  * @param p7
969
- * @param p8
970
925
  */
971
- static addBloodPool2(pos: Vector3, p3: number, size: number, p5: number, permanent: boolean, p7: number, p8: boolean): void;
926
+ static cascadeShadowsSetCascadeBounds(p0: any, p1: boolean, p2: number, p3: number, p4: number, p5: number, p6: boolean, p7: number): void;
972
927
  /**
973
- * p1: 0.3f in R* Scripts
974
- *
975
- * @param waypointRecording
976
- * @param p1
928
+ * @param value
977
929
  */
978
- static bloodTrailForWaypoint(waypointRecording: string | null, p1: number): void;
930
+ static changePhotoModeExposure(value: number): void;
979
931
  /**
980
- * @param ptfxHandle
981
- * @param range
932
+ * @param point
933
+ * @returns
982
934
  */
983
- static setParticleFxLoopedFarClipDist(ptfxHandle: number, range: number): void;
935
+ static isTrackedPointValid(point: number): any;
984
936
  /**
985
- * @param p0
986
- * @param p1
937
+ * Old name: _ENABLE_EXTRA_TIMECYCLE_MODIFIER_STRENGTH
938
+ *
939
+ * @param strength
987
940
  */
988
- static N_0x085C5B61A0114F32(p0: any, p1: any): void;
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 N_0x9F158A49B0D84C3C(p0: any): void;
948
+ static N_0x4BD66B4E3427689B(p0: string | null): void;
993
949
  /**
994
- * @returns
950
+ * Enables/disables a kind of 'shiny' effect on metals.
951
+ *
952
+ * @param object
953
+ * @param toggle
995
954
  */
996
- static N_0x5C674EB487891F6B(): any;
955
+ static setPearlescentFxEnabled(object: Prop, toggle: boolean): void;
997
956
  /**
998
- * Params: component - used in odriscolls1 and sean1 R* SP Script: COMPONENT_BINOCULARS_SCOPE01
999
- * Triggers the binocular scaleform
1000
- *
1001
- * @param component
957
+ * @param enabled
1002
958
  */
1003
- static N_0x21F00E08CBB5F37B(component: string | null): void;
959
+ static setSniperGlintsEnabled(enabled: boolean): void;
1004
960
  /**
1005
- * Sets an unknown value related to timecycles.
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 unk
966
+ * @param slotId
967
+ * @param componentHash
968
+ * @param metapedType
969
+ * @param p3
1008
970
  */
1009
- static resetAdaptation(unk: number): void;
971
+ static generateSwatchTexture(slotId: number, componentHash: string | number, metapedType: number, p3: boolean): void;
1010
972
  /**
1011
- * @param effectNameHash
973
+ * @param entity
974
+ * @param mask
975
+ * @param intensity
1012
976
  */
1013
- static animpostfxPreloadPostfxByStackhash(effectNameHash: string | number): void;
977
+ static addEntityToEntityMaskWithIntensity(entity: Entity, mask: number, intensity: number): void;
978
+ static disableHdtexThisFrame(): void;
1014
979
  /**
1015
- * @param effectNameHash
1016
- * @param p1
1017
- * @param p2
1018
- * @returns p3
980
+ * @param entity
1019
981
  */
1020
- static animpostfxHasEventTriggeredByStackhash(effectNameHash: string | number, p1: number, p2: boolean): [any, boolean];
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 beginTakeHighQualityPhoto(): any;
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
- * Old name: _IS_TV_PLAYLIST_ITEM_PLAYING
997
+ * contentId: returned by NETWORK::_UGC_QUERY_GET_CREATOR_PHOTO(uVar0, 0, sParam3)
1028
998
  *
1029
- * @param videoCliphash
999
+ * @param contentId
1030
1000
  * @returns
1031
1001
  */
1032
- static isTvshowCurrentlyPlaying(videoCliphash: string | number): boolean;
1002
+ static getStatusOfLoadMissionCreatorPhoto(contentId: string | null): number;
1033
1003
  /**
1034
1004
  * @param p0
1035
1005
  */
1036
- static N_0x8996FA6AD9FE4E90(p0: any): void;
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 loadMissionCreatorPhoto(p1: any, p2: any, p3: any): [boolean, number];
1363
+ static N_0x9F6D859C80708B26(p0: boolean, p1: boolean): void;
1420
1364
  /**
1421
- * @param entity
1422
- * @returns layer0; layer1; layer2; layer3
1365
+ * @param oldAsset
1366
+ * @param newAsset
1423
1367
  */
1424
- static getEntityMaskLayers(entity: Entity): [boolean, number, number, number, number];
1368
+ static setParticleFxOverride(oldAsset: string | null, newAsset: string | null): void;
1425
1369
  /**
1426
- * @param ped
1370
+ * @param p0
1427
1371
  * @param p1
1428
- * @param size
1429
- * @param p3
1430
1372
  */
1431
- static addBloodPoolsForPedWithParams(ped: Ped, p1: number, size: number, p3: number): void;
1373
+ static N_0xA0F4D12D6042F6D5(p0: any, p1: any): void;
1432
1374
  /**
1433
- * https://github.com/femga/rdr3_discoveries/blob/master/graphics/timecycles
1434
- *
1435
- * @param modifierName
1375
+ * @param ptfxHandle
1376
+ * @param pos
1377
+ * @param rot
1436
1378
  */
1437
- static setTimecycleModifier(modifierName: string | null): void;
1379
+ static setParticleFxLoopedOffsets(ptfxHandle: number, pos: Vector3, rot: Vector3): void;
1438
1380
  /**
1439
- * @param strength
1381
+ * @param p0
1440
1382
  */
1441
- static setTimecycleModifierStrength(strength: number): void;
1383
+ static disableStaticVegModifier(p0: string | number): void;
1442
1384
  /**
1443
- * @param toggle
1385
+ * @param ptfxHandle
1386
+ * @param scale
1444
1387
  */
1445
- static togglePausedRenderphases(toggle: boolean): void;
1388
+ static setParticleFxLoopedScale(ptfxHandle: number, scale: number): void;
1446
1389
  /**
1447
- * R* Script spd_agnesdow1: p0 = SPD_AGNES_DOWD_01
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 N_0xFD05B1DDE83749FA(p0: string | null): boolean;
1406
+ static isStaticVegModifierEnabled(p0: string | number): any;
1453
1407
  /**
1454
1408
  * @param p0
1409
+ * @param p1
1455
1410
  */
1456
- static setParticleFxFootLodrangeScale(p0: number): void;
1411
+ static N_0xC489FE31AC726512(p0: any, p1: any): void;
1457
1412
  /**
1458
- * @param ptfxHandle
1459
- * @returns
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 doesParticleFxLoopedExist(ptfxHandle: number): boolean;
1424
+ static addBloodPool2(pos: Vector3, p3: number, size: number, p5: number, permanent: boolean, p7: number, p8: boolean): void;
1462
1425
  /**
1463
- * @param effectName
1464
- * @param entity
1465
- * @param offset
1466
- * @param rot
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 startParticleFxNonLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
1431
+ static bloodTrailForWaypoint(waypointRecording: string | null, p1: number): void;
1474
1432
  /**
1475
- * @returns
1433
+ * @param ptfxHandle
1434
+ * @param range
1476
1435
  */
1477
- static getTogglePausedRenderphasesStatus(): boolean;
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
- * @returns
1439
+ * @param p1
1483
1440
  */
1484
- static N_0x5C9C3A466B3296A8(p0: any): any;
1441
+ static N_0x085C5B61A0114F32(p0: any, p1: any): void;
1485
1442
  /**
1486
- * @param entity
1487
- * @param mask
1443
+ * @param p0
1488
1444
  */
1489
- static addEntityToEntityMask(entity: Entity, mask: number): void;
1445
+ static N_0x9F158A49B0D84C3C(p0: any): void;
1490
1446
  /**
1491
- * Always returns 200.
1492
- *
1493
1447
  * @returns
1494
1448
  */
1495
- static getMaxNumberOfLocalPhotos(): number;
1449
+ static N_0x5C674EB487891F6B(): any;
1496
1450
  /**
1497
- * @param channel
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 setTvChannel(channel: number): void;
1456
+ static N_0x21F00E08CBB5F37B(component: string | null): void;
1500
1457
  /**
1501
- * @param pos
1502
- * @param p3
1458
+ * Sets an unknown value related to timecycles.
1459
+ *
1460
+ * @param unk
1503
1461
  */
1504
- static addPetrolTrailDecalInfo(pos: Vector3, p3: number): void;
1462
+ static resetAdaptation(unk: number): void;
1505
1463
  /**
1506
- * ANIMPOSTFX_*
1507
- *
1508
- * @param effectName
1509
- * @returns
1464
+ * @param effectNameHash
1510
1465
  */
1511
- static N_0xB958D97A0DFAA0C2(effectName: string | null): boolean;
1466
+ static animpostfxPreloadPostfxByStackhash(effectNameHash: string | number): void;
1512
1467
  /**
1513
- * @param txdHash
1514
- * @param dict
1515
- * @returns
1468
+ * @param effectNameHash
1469
+ * @param p1
1470
+ * @param p2
1471
+ * @returns p3
1516
1472
  */
1517
- static isTextureInDict(txdHash: string | number, dict: string | number): any;
1518
- static N_0x910E260AEAD855DE(): void;
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 saveHighQualityPhoto(unused: number): any;
1478
+ static beginTakeHighQualityPhoto(): any;
1525
1479
  /**
1526
- * @param pos
1527
- * @param p2
1480
+ * Old name: _IS_TV_PLAYLIST_ITEM_PLAYING
1481
+ *
1482
+ * @param videoCliphash
1483
+ * @returns
1528
1484
  */
1529
- static setCloudLayer(pos: Vector2, p2: number): void;
1485
+ static isTvshowCurrentlyPlaying(videoCliphash: string | number): boolean;
1530
1486
  /**
1531
1487
  * @param p0
1532
- * @returns
1533
1488
  */
1534
- static N_0xEC3D8C228FE553D7(p0: boolean): boolean;
1489
+ static N_0x8996FA6AD9FE4E90(p0: any): void;
1535
1490
  /**
1536
- * *RESET**
1491
+ * @param obj
1537
1492
  */
1538
- static N_0x1460B644397453EB(): void;
1493
+ static removeDecalsFromObject(obj: Prop): void;
1539
1494
  /**
1540
- * @param personaPhotoLocalCacheType
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 pedshotSetPersonaPhotoType(personaPhotoLocalCacheType: number): void;
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 pos
1515
+ * @param r
1516
+ * @param g
1517
+ * @param b
1547
1518
  */
1548
- static setCloudNoise(pos: Vector3): void;
1519
+ static setParticleFxNonLoopedColour(r: number, g: number, b: number): void;
1549
1520
  /**
1550
1521
  * @param p0
1551
1522
  */
1552
- static N_0xEB48CE48EEC41FD4(p0: any): void;
1523
+ static N_0xF5793BB386E1FF9C(p0: any): void;
1553
1524
  /**
1554
- * Used in NET_CAMP_SPIRIT_ANIMAL_CLEAR_ANIMAL_VISIBILITY
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 entity
1529
+ * @param p0
1557
1530
  */
1558
- static N_0xC06F2F45A73EABCD(entity: Entity): void;
1531
+ static N_0x1A9F09AB458D49C6(p0: boolean): void;
1559
1532
  /**
1560
1533
  * @param effectName
1561
- * @param pos
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 startNetworkedParticleFxNonLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): boolean;
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
- * @returns
1551
+ * @param p0
1552
+ * @param p1
1553
+ * @param p2
1572
1554
  */
1573
- static getPhotoModeExposure(): number;
1555
+ static N_0x735762E8D7573E42(p0: any, p1: any, p2: any): void;
1574
1556
  /**
1575
- * _SET_PARTICLE_FX_LOOPED_FA* - _SET_PARTICLE_FX_LOOPED_OF*
1557
+ * Only used in guama1 R* Script
1558
+ * Disables lod/distant lights when BOOL is set to true
1576
1559
  *
1577
- * @param ptfxHandle
1578
- * @param scalar
1560
+ * @param disable
1579
1561
  */
1580
- static setParticleFxLoopedUpdateDistantSmoke(ptfxHandle: number, scalar: number): void;
1562
+ static disableFarArtificialLights(disable: boolean): void;
1581
1563
  /**
1582
- * Known effects: MP_Trans_SceneToPhoto
1583
- * MP_Trans_WinLose
1584
- * SpectateFilter
1585
- * MP_CharacterCreatorPhoto
1586
- * MP_Trans_PhotoToScene
1587
- * InterrogationHit
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 animpostfxGetStackhash(effectName: string | null): string | number;
1578
+ static N_0xA201A3D0AC087C37(effectName: string | null): void;
1593
1579
  /**
1594
- * @param height
1580
+ * @param modifierName
1581
+ * @param transitionBlend
1595
1582
  */
1596
- static setCloudHeight(height: number): void;
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