@nativewrappers/redm-codegen 0.0.4 → 0.0.6

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