@nativewrappers/redm-codegen 0.0.2 → 0.0.3

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 (254) hide show
  1. package/dist/classes/AnimScene.d.ts +142 -142
  2. package/dist/classes/AnimScene.d.ts.map +1 -1
  3. package/dist/classes/AnimScene.js +203 -203
  4. package/dist/classes/BaseModel.d.ts +29 -29
  5. package/dist/classes/BaseModel.d.ts.map +1 -1
  6. package/dist/classes/BaseModel.js +43 -43
  7. package/dist/classes/BaseTask.d.ts +34 -34
  8. package/dist/classes/BaseTask.d.ts.map +1 -1
  9. package/dist/classes/BaseTask.js +42 -42
  10. package/dist/classes/Cam.d.ts +71 -71
  11. package/dist/classes/Cam.d.ts.map +1 -1
  12. package/dist/classes/Cam.js +102 -102
  13. package/dist/classes/Entity.d.ts +387 -386
  14. package/dist/classes/Entity.d.ts.map +1 -1
  15. package/dist/classes/Entity.js +509 -504
  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/Ped.d.ts +67 -66
  20. package/dist/classes/Ped.d.ts.map +1 -1
  21. package/dist/classes/Ped.js +80 -75
  22. package/dist/classes/PedTask.d.ts +1518 -1518
  23. package/dist/classes/PedTask.d.ts.map +1 -1
  24. package/dist/classes/PedTask.js +1930 -1930
  25. package/dist/classes/PersChar.d.ts +11 -11
  26. package/dist/classes/PersChar.d.ts.map +1 -1
  27. package/dist/classes/PersChar.js +23 -23
  28. package/dist/classes/Pickup.d.ts +7 -7
  29. package/dist/classes/Pickup.d.ts.map +1 -1
  30. package/dist/classes/Pickup.js +13 -13
  31. package/dist/classes/Player.d.ts +237 -237
  32. package/dist/classes/Player.d.ts.map +1 -1
  33. package/dist/classes/Player.js +319 -319
  34. package/dist/classes/Prop.d.ts +105 -104
  35. package/dist/classes/Prop.d.ts.map +1 -1
  36. package/dist/classes/Prop.js +155 -150
  37. package/dist/classes/PropSet.d.ts +1 -1
  38. package/dist/classes/PropSet.d.ts.map +1 -1
  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 +21 -21
  43. package/dist/classes/VehicleTask.d.ts.map +1 -1
  44. package/dist/classes/VehicleTask.js +27 -27
  45. package/dist/classes/Volume.d.ts +40 -40
  46. package/dist/classes/Volume.d.ts.map +1 -1
  47. package/dist/classes/Volume.js +54 -54
  48. package/dist/classes/Weapon.d.ts +364 -364
  49. package/dist/classes/Weapon.d.ts.map +1 -1
  50. package/dist/classes/Weapon.js +515 -515
  51. package/dist/namespaces/Aitransport.d.ts +77 -77
  52. package/dist/namespaces/Aitransport.d.ts.map +1 -1
  53. package/dist/namespaces/Aitransport.js +94 -94
  54. package/dist/namespaces/Animscene.d.ts +65 -65
  55. package/dist/namespaces/Animscene.d.ts.map +1 -1
  56. package/dist/namespaces/Animscene.js +83 -83
  57. package/dist/namespaces/Audio.d.ts +464 -464
  58. package/dist/namespaces/Audio.d.ts.map +1 -1
  59. package/dist/namespaces/Audio.js +651 -651
  60. package/dist/namespaces/Bounty.d.ts +23 -23
  61. package/dist/namespaces/Bounty.d.ts.map +1 -1
  62. package/dist/namespaces/Bounty.js +40 -40
  63. package/dist/namespaces/Brain.d.ts +15 -15
  64. package/dist/namespaces/Brain.d.ts.map +1 -1
  65. package/dist/namespaces/Brain.js +20 -20
  66. package/dist/namespaces/CamStatics.d.ts +459 -459
  67. package/dist/namespaces/CamStatics.d.ts.map +1 -1
  68. package/dist/namespaces/CamStatics.js +719 -719
  69. package/dist/namespaces/Collection.d.ts +78 -78
  70. package/dist/namespaces/Collection.d.ts.map +1 -1
  71. package/dist/namespaces/Collection.js +109 -109
  72. package/dist/namespaces/Companion.d.ts +22 -22
  73. package/dist/namespaces/Companion.d.ts.map +1 -1
  74. package/dist/namespaces/Companion.js +30 -30
  75. package/dist/namespaces/Compendium.d.ts +94 -94
  76. package/dist/namespaces/Compendium.d.ts.map +1 -1
  77. package/dist/namespaces/Compendium.js +126 -126
  78. package/dist/namespaces/Databinding.d.ts +113 -113
  79. package/dist/namespaces/Databinding.d.ts.map +1 -1
  80. package/dist/namespaces/Databinding.js +167 -167
  81. package/dist/namespaces/Dlc.d.ts +5 -5
  82. package/dist/namespaces/Dlc.d.ts.map +1 -1
  83. package/dist/namespaces/Dlc.js +9 -9
  84. package/dist/namespaces/EntityStatics.d.ts +164 -164
  85. package/dist/namespaces/EntityStatics.d.ts.map +1 -1
  86. package/dist/namespaces/EntityStatics.js +225 -225
  87. package/dist/namespaces/Event.d.ts +62 -62
  88. package/dist/namespaces/Event.d.ts.map +1 -1
  89. package/dist/namespaces/Event.js +82 -82
  90. package/dist/namespaces/Fire.d.ts +7 -7
  91. package/dist/namespaces/Fire.d.ts.map +1 -1
  92. package/dist/namespaces/Fire.js +9 -9
  93. package/dist/namespaces/Graphics.d.ts +688 -688
  94. package/dist/namespaces/Graphics.d.ts.map +1 -1
  95. package/dist/namespaces/Graphics.js +876 -876
  96. package/dist/namespaces/Hud.d.ts +456 -456
  97. package/dist/namespaces/Hud.d.ts.map +1 -1
  98. package/dist/namespaces/Hud.js +598 -598
  99. package/dist/namespaces/InteriorStatics.d.ts +42 -42
  100. package/dist/namespaces/InteriorStatics.d.ts.map +1 -1
  101. package/dist/namespaces/InteriorStatics.js +56 -56
  102. package/dist/namespaces/Inventory.d.ts +156 -156
  103. package/dist/namespaces/Inventory.d.ts.map +1 -1
  104. package/dist/namespaces/Inventory.js +210 -210
  105. package/dist/namespaces/Itemdatabase.d.ts +3 -3
  106. package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
  107. package/dist/namespaces/Law.d.ts +2 -2
  108. package/dist/namespaces/Law.d.ts.map +1 -1
  109. package/dist/namespaces/Map.d.ts +128 -128
  110. package/dist/namespaces/Map.d.ts.map +1 -1
  111. package/dist/namespaces/Map.js +180 -180
  112. package/dist/namespaces/Minigame.d.ts +60 -60
  113. package/dist/namespaces/Minigame.d.ts.map +1 -1
  114. package/dist/namespaces/Minigame.js +88 -88
  115. package/dist/namespaces/Misc.d.ts +5 -5
  116. package/dist/namespaces/Misc.d.ts.map +1 -1
  117. package/dist/namespaces/Missiondata.d.ts +3 -3
  118. package/dist/namespaces/Missiondata.d.ts.map +1 -1
  119. package/dist/namespaces/Netshopping.d.ts +1 -1
  120. package/dist/namespaces/Netshopping.d.ts.map +1 -1
  121. package/dist/namespaces/Network.d.ts +1528 -1536
  122. package/dist/namespaces/Network.d.ts.map +1 -1
  123. package/dist/namespaces/Network.js +2196 -2204
  124. package/dist/namespaces/Object.d.ts +244 -244
  125. package/dist/namespaces/Object.d.ts.map +1 -1
  126. package/dist/namespaces/Object.js +355 -355
  127. package/dist/namespaces/Pad.d.ts +43 -43
  128. package/dist/namespaces/Pad.d.ts.map +1 -1
  129. package/dist/namespaces/Pad.js +58 -58
  130. package/dist/namespaces/PedStatics.d.ts +21 -21
  131. package/dist/namespaces/PedStatics.d.ts.map +1 -1
  132. package/dist/namespaces/PedStatics.js +26 -26
  133. package/dist/namespaces/Perschar.d.ts +62 -62
  134. package/dist/namespaces/Perschar.d.ts.map +1 -1
  135. package/dist/namespaces/Perschar.js +91 -91
  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/Physics.d.ts +207 -207
  140. package/dist/namespaces/Physics.d.ts.map +1 -1
  141. package/dist/namespaces/Physics.js +310 -310
  142. package/dist/namespaces/PlayerStatics.d.ts +72 -72
  143. package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
  144. package/dist/namespaces/PlayerStatics.js +103 -103
  145. package/dist/namespaces/Population.d.ts +88 -88
  146. package/dist/namespaces/Population.d.ts.map +1 -1
  147. package/dist/namespaces/Population.js +116 -116
  148. package/dist/namespaces/Posse.d.ts +49 -49
  149. package/dist/namespaces/Posse.d.ts.map +1 -1
  150. package/dist/namespaces/Posse.js +79 -79
  151. package/dist/namespaces/Propset.d.ts +1 -1
  152. package/dist/namespaces/Propset.d.ts.map +1 -1
  153. package/dist/namespaces/Scripts.d.ts +3 -3
  154. package/dist/namespaces/Scripts.d.ts.map +1 -1
  155. package/dist/namespaces/Shapetest.d.ts +11 -11
  156. package/dist/namespaces/Shapetest.d.ts.map +1 -1
  157. package/dist/namespaces/Shapetest.js +13 -13
  158. package/dist/namespaces/Socialclub.d.ts +1 -1
  159. package/dist/namespaces/Socialclub.d.ts.map +1 -1
  160. package/dist/namespaces/Stats.d.ts +174 -174
  161. package/dist/namespaces/Stats.d.ts.map +1 -1
  162. package/dist/namespaces/Stats.js +240 -240
  163. package/dist/namespaces/Streaming.d.ts +127 -127
  164. package/dist/namespaces/Streaming.d.ts.map +1 -1
  165. package/dist/namespaces/Streaming.js +193 -193
  166. package/dist/namespaces/Task.d.ts +220 -220
  167. package/dist/namespaces/Task.d.ts.map +1 -1
  168. package/dist/namespaces/Task.js +299 -299
  169. package/dist/namespaces/Telemetry.d.ts +188 -188
  170. package/dist/namespaces/Telemetry.d.ts.map +1 -1
  171. package/dist/namespaces/Telemetry.js +249 -249
  172. package/dist/namespaces/Uiapps.d.ts +24 -24
  173. package/dist/namespaces/Uiapps.d.ts.map +1 -1
  174. package/dist/namespaces/Uiapps.js +33 -33
  175. package/dist/namespaces/Uistickyfeed.d.ts +16 -16
  176. package/dist/namespaces/Uistickyfeed.d.ts.map +1 -1
  177. package/dist/namespaces/Uistickyfeed.js +21 -21
  178. package/dist/namespaces/VehicleStatics.d.ts +2 -2
  179. package/dist/namespaces/VehicleStatics.d.ts.map +1 -1
  180. package/dist/namespaces/VolumeStatics.d.ts +64 -64
  181. package/dist/namespaces/VolumeStatics.d.ts.map +1 -1
  182. package/dist/namespaces/VolumeStatics.js +85 -85
  183. package/dist/namespaces/WeaponStatics.d.ts +262 -262
  184. package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
  185. package/dist/namespaces/WeaponStatics.js +361 -361
  186. package/dist/namespaces/Zone.d.ts +2 -2
  187. package/dist/namespaces/Zone.d.ts.map +1 -1
  188. package/package.json +1 -1
  189. package/src/classes/AnimScene.ts +230 -230
  190. package/src/classes/BaseModel.ts +50 -50
  191. package/src/classes/BaseTask.ts +46 -46
  192. package/src/classes/Cam.ts +113 -113
  193. package/src/classes/Entity.ts +537 -532
  194. package/src/classes/Interior.ts +43 -43
  195. package/src/classes/Ped.ts +100 -95
  196. package/src/classes/PedTask.ts +1969 -1969
  197. package/src/classes/PersChar.ts +28 -28
  198. package/src/classes/Pickup.ts +13 -13
  199. package/src/classes/Player.ts +364 -364
  200. package/src/classes/Prop.ts +167 -162
  201. package/src/classes/PropSet.ts +1 -1
  202. package/src/classes/Vehicle.ts +5 -0
  203. package/src/classes/VehicleTask.ts +30 -30
  204. package/src/classes/Volume.ts +62 -62
  205. package/src/classes/Weapon.ts +517 -517
  206. package/src/namespaces/Aitransport.ts +102 -102
  207. package/src/namespaces/Animscene.ts +92 -92
  208. package/src/namespaces/Audio.ts +765 -765
  209. package/src/namespaces/Bounty.ts +46 -46
  210. package/src/namespaces/Brain.ts +22 -22
  211. package/src/namespaces/CamStatics.ts +747 -747
  212. package/src/namespaces/Collection.ts +112 -112
  213. package/src/namespaces/Companion.ts +34 -34
  214. package/src/namespaces/Compendium.ts +131 -131
  215. package/src/namespaces/Databinding.ts +170 -170
  216. package/src/namespaces/Dlc.ts +9 -9
  217. package/src/namespaces/EntityStatics.ts +237 -237
  218. package/src/namespaces/Event.ts +92 -92
  219. package/src/namespaces/Fire.ts +10 -10
  220. package/src/namespaces/Graphics.ts +1206 -1206
  221. package/src/namespaces/Hud.ts +647 -647
  222. package/src/namespaces/InteriorStatics.ts +66 -66
  223. package/src/namespaces/Inventory.ts +237 -237
  224. package/src/namespaces/Itemdatabase.ts +3 -3
  225. package/src/namespaces/Law.ts +2 -2
  226. package/src/namespaces/Map.ts +204 -204
  227. package/src/namespaces/Minigame.ts +100 -100
  228. package/src/namespaces/Misc.ts +5 -5
  229. package/src/namespaces/Missiondata.ts +3 -3
  230. package/src/namespaces/Netshopping.ts +1 -1
  231. package/src/namespaces/Network.ts +2217 -2225
  232. package/src/namespaces/Object.ts +381 -381
  233. package/src/namespaces/Pad.ts +67 -67
  234. package/src/namespaces/PedStatics.ts +33 -33
  235. package/src/namespaces/Perschar.ts +105 -105
  236. package/src/namespaces/Persistence.ts +48 -48
  237. package/src/namespaces/Physics.ts +326 -326
  238. package/src/namespaces/PlayerStatics.ts +113 -113
  239. package/src/namespaces/Population.ts +133 -133
  240. package/src/namespaces/Posse.ts +80 -80
  241. package/src/namespaces/Propset.ts +1 -1
  242. package/src/namespaces/Scripts.ts +3 -3
  243. package/src/namespaces/Shapetest.ts +14 -14
  244. package/src/namespaces/Socialclub.ts +1 -1
  245. package/src/namespaces/Stats.ts +266 -266
  246. package/src/namespaces/Streaming.ts +226 -226
  247. package/src/namespaces/Task.ts +527 -527
  248. package/src/namespaces/Telemetry.ts +300 -300
  249. package/src/namespaces/Uiapps.ts +39 -39
  250. package/src/namespaces/Uistickyfeed.ts +23 -23
  251. package/src/namespaces/VehicleStatics.ts +2 -2
  252. package/src/namespaces/VolumeStatics.ts +87 -87
  253. package/src/namespaces/WeaponStatics.ts +365 -365
  254. package/src/namespaces/Zone.ts +2 -2
@@ -10,688 +10,560 @@ 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
35
- */
36
- static setTrackedPointInfo(point: number, pos: Vector3, radius: number): void;
37
- /**
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
32
+ * @param xScale
33
+ * @param yScale
34
+ * @param rotation
49
35
  * @param color
50
36
  * @param alpha
51
- * @param p11
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;
54
- /**
55
- * @returns
56
- */
57
- static getCurrentNumberOfLocalPhotos(): number;
58
- /**
59
- * @param ptfxHandle
60
- * @param p1
61
- */
62
- static removeParticleFx(ptfxHandle: number, p1: boolean): void;
63
- /**
64
- * Removes all decals in range from a position, it includes the bullet holes, blood pools, petrol...
65
- *
66
- * @param pos
67
- * @param range
68
- */
69
- static removeDecalsInRange(pos: Vector3, range: number): void;
70
- /**
71
- * @param p0
72
- */
73
- static setPhotoOverlayEffectStat(p0: number): void;
74
- /**
75
- * @param ptfxHandle
76
- * @param r
77
- * @param g
78
- * @param b
79
- * @param p4
80
- */
81
- static setParticleFxLoopedColour(ptfxHandle: number, r: number, g: number, b: number, p4: boolean): void;
82
- /**
83
- * @param effectNameHash
84
- */
85
- static animpostfxStopStackhashPostfx(effectNameHash: string | number): void;
86
- /**
87
- * @param value
88
37
  */
89
- static changePhotoModeContrast(value: number): void;
90
- /**
91
- * Sets the draw order for script draw commands.
92
- *
93
- * @param drawOrder
94
- */
95
- static setScriptGfxDrawOrder(drawOrder: number): void;
38
+ static drawTvChannel(pos: Vector2, xScale: number, yScale: number, rotation: number, color: Color, alpha: number): void;
96
39
  /**
97
- * @param p0
40
+ * @param handle
98
41
  */
99
- static enableStaticVegModifier(p0: string | number): void;
42
+ static removeGrassCullSphere(handle: number): void;
100
43
  /**
44
+ * @param slots
101
45
  * @returns
102
46
  */
103
- static getTvChannel(): number;
104
- static N_0x9D1B0B5066205692(): void;
105
- /**
106
- * @param alpha
107
- */
108
- static setParticleFxNonLoopedAlpha(alpha: number): void;
109
- /**
110
- * @param point
111
- */
112
- static destroyTrackedPoint(point: number): void;
113
- /**
114
- * @param p0
115
- */
116
- static N_0x67B0778C62E74423(p0: any): void;
117
- /**
118
- * ANIMPOSTFX_*
119
- *
120
- * @param effectNameHash
121
- */
122
- static N_0x71845905BCCDE781(effectNameHash: string | number): void;
123
- static N_0xF2F543D48F319A3A(): void;
47
+ static createSwatchTextureDict(slots: number): any;
124
48
  /**
125
- * ANIMPOSTFX_*
49
+ * _GET_C* - _GET_E*
126
50
  *
127
51
  * @returns
128
52
  */
129
- static N_0x3DA7A10583A4BEC0(): boolean;
53
+ static getModifiedVisibilityDistance(): number;
130
54
  /**
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.
55
+ * nullsub, doesn't do anything
133
56
  *
134
- * @param state
57
+ * @param p0
135
58
  */
136
- static setArtificialLightsState(state: boolean): void;
59
+ static N_0x94B261F1F35293E1(p0: any): void;
137
60
  /**
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"
61
+ * Probably changes tvs from being a 3d audio to being "global" audio
153
62
  *
154
- * @param type
63
+ * @param toggle
155
64
  */
156
- static cascadeShadowsSetShadowSampleType(type: string | null): void;
65
+ static setTvAudioFrontend(toggle: boolean): void;
157
66
  /**
158
- * @param p0
67
+ * @returns
159
68
  */
160
- static N_0x519928DF02EB5101(p0: any): void;
69
+ static getTimecycleTransitionModifierIndex(): number;
161
70
  /**
162
- * Gets set to 1 when GET_STATUS_OF_TAKE_HIGH_QUALITY_PHOTO = PHOTO_OPERATION_SUCCEEDED
163
- *
164
- * @param p0
71
+ * @param ptfxHandle
72
+ * @param propertyName
73
+ * @param amount
74
+ * @param noNetwork
165
75
  */
166
- static N_0x0D5B19C34068FEE7(p0: any): void;
76
+ static setParticleFxLoopedEvolution(ptfxHandle: number, propertyName: string | null, amount: number, noNetwork: boolean): void;
167
77
  /**
168
- * type must be less than or equal to 20
169
- *
170
- * @param entity
171
- * @param type
78
+ * @param effectName
79
+ * @returns
172
80
  */
173
- static setLightsTypeForEntity(entity: Entity, type: number): void;
81
+ static animpostfxHasLoaded(effectName: string | null): any;
174
82
  /**
175
- * @param p0
176
- * @param p1
177
- * @param p2
178
- * @param p3
83
+ * @param decal
84
+ * @returns
179
85
  */
180
- static N_0xD543487A1F12828F(p0: any, p1: any, p2: any, p3: any): void;
86
+ static isDecalAlive(decal: number): boolean;
181
87
  /**
182
88
  * @param p0
183
89
  */
184
- static N_0xFF8018C778349234(p0: any): void;
90
+ static N_0x453D16D41FC51D3E(p0: boolean): void;
185
91
  /**
186
- * Old name: _SET_HIDOF_ENV_BLUR_PARAMS
187
- *
188
92
  * @param p0
189
93
  * @param p1
190
94
  * @param p2
191
95
  * @param p3
192
96
  * @param p4
193
97
  * @param p5
194
- */
195
- static setHidofOverride(p0: boolean, p1: boolean, p2: number, p3: number, p4: number, p5: number): void;
196
- /**
197
- * @param effectName
198
- * @param entity
199
- * @param offset
200
- * @param rot
201
- * @param boneIndex
202
- * @param scale
203
- * @param xAxis
204
- * @param yAxis
205
- * @param zAxis
98
+ * @param p6
206
99
  * @returns
207
100
  */
208
- static startParticleFxLoopedOnEntityBone(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
209
- /**
210
- * Sets the checkpoint icon color.
211
- *
212
- * @param checkpoint
213
- * @param color
214
- * @param alpha
215
- */
216
- static setCheckpointRgba2(checkpoint: number, color: Color, alpha: number): void;
101
+ static N_0xE63D68F455CA0B47(p0: any, p1: any, p2: any, p3: any, p4: any, p5: any, p6: any): any;
217
102
  /**
218
- * nullsub, doesn't do anything (GTA5 leftover, there is no phone in RDR3)
219
- *
220
- * @param p0
221
- * @param photoRotation
103
+ * @param pos
104
+ * @param colorR
105
+ * @param colorG
106
+ * @param colorB
107
+ * @param range
108
+ * @param intensity
222
109
  */
223
- static drawLowQualityPhotoToPhone(p0: boolean, photoRotation: number): void;
110
+ static drawLightWithRange(pos: Vector3, colorR: number, colorG: number, colorB: number, range: number, intensity: number): void;
224
111
  /**
225
- * https://gfycat.com/meagerfaireyra
112
+ * Only used in guama1 R* SP Script while spawning the ship
113
+ * *SET_ENTITY_QUATERNION** - SET_ENTITY_RENDER_*
226
114
  *
227
- * @param entity
228
- * @param color
115
+ * @param vehicle
116
+ * @param toggle
229
117
  */
230
- static setLightsColorForEntity(entity: Entity, color: Color): void;
118
+ static setEntityRenderGuarmaShip(vehicle: Vehicle, toggle: boolean): void;
231
119
  /**
232
120
  * @param effectName
233
- * @param ped
121
+ * @param entity
234
122
  * @param offset
235
123
  * @param rot
236
- * @param boneIndex
237
124
  * @param scale
238
125
  * @param axisX
239
126
  * @param axisY
240
127
  * @param axisZ
241
128
  * @returns
242
129
  */
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;
130
+ static startNetworkedParticleFxNonLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
245
131
  /**
246
- * @param p0
247
- * @param p1
132
+ * @param lock
248
133
  */
249
- static N_0x9F6D859C80708B26(p0: boolean, p1: boolean): void;
134
+ static setPhotoModeExposureLocked(lock: boolean): void;
135
+ static N_0x815653A42C5ABE76(): void;
250
136
  /**
251
- * @param oldAsset
252
- * @param newAsset
137
+ * @param effectName
138
+ * @returns
253
139
  */
254
- static setParticleFxOverride(oldAsset: string | null, newAsset: string | null): void;
140
+ static animpostfxIsTagPlaying(effectName: string | null): any;
255
141
  /**
256
- * @param p0
257
- * @param p1
142
+ * enum class eSnowCoverageType
143
+ * {
144
+ * Primary,
145
+ * Secondary,
146
+ * Xmas,
147
+ * XmasSecondary // since b1232
148
+ * };
149
+ *
150
+ * @param type
258
151
  */
259
- static N_0xA0F4D12D6042F6D5(p0: any, p1: any): void;
152
+ static setSnowCoverageType(type: number): void;
260
153
  /**
261
- * @param ptfxHandle
262
- * @param pos
263
- * @param rot
154
+ * @param effectNameHash
264
155
  */
265
- static setParticleFxLoopedOffsets(ptfxHandle: number, pos: Vector3, rot: Vector3): void;
156
+ static animpostfxPlayTag(effectNameHash: string | number): void;
266
157
  /**
267
- * @param p0
158
+ * @param pickupObject
159
+ * @param toggle
268
160
  */
269
- static disableStaticVegModifier(p0: string | number): void;
161
+ static blockPickupObjectLight(pickupObject: Prop, toggle: boolean): void;
270
162
  /**
271
- * @param ptfxHandle
163
+ * @param effectName
164
+ * @param entity
165
+ * @param offset
166
+ * @param rot
272
167
  * @param scale
168
+ * @param xAxis
169
+ * @param yAxis
170
+ * @param zAxis
171
+ * @returns
273
172
  */
274
- static setParticleFxLoopedScale(ptfxHandle: number, scale: number): void;
173
+ static startNetworkedParticleFxLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
275
174
  /**
276
- * https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_non_looped.lua
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
277
181
  *
278
182
  * @param effectName
279
183
  * @param pos
280
184
  * @param rot
281
185
  * @param scale
282
- * @param eventType
283
- * @param bPeekOnly
284
- * @param bIsRegistered
186
+ * @param xAxis
187
+ * @param yAxis
188
+ * @param zAxis
189
+ * @param p11
285
190
  * @returns
286
191
  */
287
- static startParticleFxNonLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, eventType: number, bPeekOnly: boolean, bIsRegistered: boolean): number;
192
+ static startParticleFxLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean, p11: boolean): number;
288
193
  /**
289
- * @param p0
290
194
  * @returns
291
195
  */
292
- static isStaticVegModifierEnabled(p0: string | number): any;
196
+ static getTimecycleModifierIndex(): number;
293
197
  /**
294
- * @param scale
198
+ * nullsub, doesn't do anything
199
+ *
200
+ * @param toggle
295
201
  */
296
- static setParticleFxBulletImpactScale(scale: number): void;
202
+ static enableMovieSubtitles(toggle: boolean): void;
297
203
  /**
298
204
  * @param p0
299
205
  * @param p1
300
206
  * @param p2
301
207
  * @param p3
302
208
  * @param p4
303
- * @param p5
304
- * @param p6
305
- * @param p7
306
- */
307
- static cascadeShadowsSetCascadeBounds(p0: any, p1: boolean, p2: number, p3: number, p4: number, p5: number, p6: boolean, p7: number): void;
308
- /**
309
- * @param value
310
209
  */
311
- static changePhotoModeExposure(value: number): void;
312
- /**
313
- * @param point
314
- * @returns
315
- */
316
- static isTrackedPointValid(point: number): any;
317
- /**
318
- * Old name: _ENABLE_EXTRA_TIMECYCLE_MODIFIER_STRENGTH
319
- *
320
- * @param strength
321
- */
322
- static enableMoonCycleOverride(strength: number): void;
323
- static setDisablePetrolDecalsIgnitingThisFrame(): void;
324
- /**
325
- * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
326
- *
327
- * @param p0
328
- */
329
- static N_0x4BD66B4E3427689B(p0: string | null): void;
330
- /**
331
- * Enables/disables a kind of 'shiny' effect on metals.
332
- *
333
- * @param object
334
- * @param toggle
335
- */
336
- static setPearlescentFxEnabled(object: Prop, toggle: boolean): void;
337
- /**
338
- * @param enabled
339
- */
340
- static setSniperGlintsEnabled(enabled: boolean): void;
210
+ static N_0x171C18E994C1A395(p0: any, p1: any, p2: any, p3: any, p4: any): void;
341
211
  /**
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
212
+ * Doesn't actually return anything. ANIMPOSTFX_*
346
213
  *
347
- * @param slotId
348
- * @param componentHash
349
- * @param metapedType
350
- * @param p3
214
+ * @returns
351
215
  */
352
- static generateSwatchTexture(slotId: number, componentHash: string | number, metapedType: number, p3: boolean): void;
216
+ static N_0xC37792A3F9C90771(): any;
353
217
  /**
354
- * @param entity
355
- * @param mask
356
- * @param intensity
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
357
226
  */
358
- static addEntityToEntityMaskWithIntensity(entity: Entity, mask: number, intensity: number): void;
359
- static disableHdtexThisFrame(): void;
227
+ static addVegModifierZone(volume: Volume, p1: number, flags: number, p3: number): number;
360
228
  /**
361
- * @param entity
229
+ * Creates blood pools for the given ped in some interval for a few seconds.
230
+ *
231
+ * @param ped
362
232
  */
363
- static attachTvAudioToEntity(entity: Entity): void;
233
+ static addBloodPoolsForPed(ped: Ped): void;
364
234
  /**
365
- * @param effectName
235
+ * @param texture
366
236
  * @param ped
367
- * @param offset
368
- * @param rot
369
- * @param boneIndex
370
- * @param scale
371
- * @param axisX
372
- * @param axisY
373
- * @param axisZ
237
+ * @param playerSlot
374
238
  * @returns
375
239
  */
376
- static startParticleFxNonLoopedOnPedBone(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
240
+ static pedshotGeneratePersonaPhoto(texture: string | null, ped: Ped, playerSlot: number): boolean;
377
241
  /**
378
- * contentId: returned by NETWORK::_UGC_QUERY_GET_CREATOR_PHOTO(uVar0, 0, sParam3)
379
- *
380
- * @param contentId
381
242
  * @returns
382
243
  */
383
- static getStatusOfLoadMissionCreatorPhoto(contentId: string | null): number;
244
+ static queueOperationToCreateSortedListOfPhotos(): any;
384
245
  /**
385
246
  * @param p0
386
247
  */
387
- static N_0x6C03118E9E5C1A14(p0: any): void;
248
+ static setRegionPhotoTakenStat(p0: string | null): void;
388
249
  /**
389
- * Related to Campfires.
390
- * p1: AMB_BONFIRE_MP, AMB_CAMPFIRE_LRG_MP
391
- *
392
- * @param entity
393
- * @param p1
394
- * @param r
395
- * @param g
396
- * @param b
250
+ * @param effectName
397
251
  */
398
- static setParticleFxAmbientColour(entity: Entity, p1: string | null, r: number, g: number, b: number): void;
252
+ static animpostfxSetToUnload(effectName: string | null): void;
399
253
  /**
400
- * Resets the effect of SET_PARTICLE_FX_OVERRIDE
401
- *
402
- * @param name
254
+ * @param proxyInteriorIndex
255
+ * @returns
403
256
  */
404
- static resetParticleFxOverride(name: string | null): void;
257
+ static isProxyInteriorIndexArtificialLightsEnabled(proxyInteriorIndex: number): any;
405
258
  /**
406
- * must be called after ANIMPOSTFX_PLAY, strength 0.0f - 1.0f
407
- *
408
- * @param effectName
409
- * @param strength
259
+ * @param p0
410
260
  */
411
- static animpostfxSetStrength(effectName: string | null, strength: number): void;
261
+ static setPhotoInPhotomodeStat(p0: boolean): void;
412
262
  /**
413
- * @param p0
414
- * @param p1
415
- * @param p2
416
- * @param p3
417
- * @param p4
263
+ * @param entity
264
+ * @param intensity
418
265
  */
419
- static N_0xCC3B787E73E64160(p0: any, p1: any, p2: any, p3: any, p4: any): void;
266
+ static setLightsIntensityForEntity(entity: Entity, intensity: number): void;
420
267
  /**
421
- * @param volume
268
+ * @param entity
422
269
  */
423
- static setTvVolume(volume: number): void;
270
+ static updateLightsOnEntity(entity: Entity): void;
424
271
  /**
425
- * Creates a tracked point, useful for checking the visibility of a 3D point on screen.
426
- *
427
272
  * @returns
428
273
  */
429
- static createTrackedPoint(): number;
274
+ static getStatusOfTakeHighQualityPhoto(): number;
430
275
  /**
431
- * @param effectNameHash
432
276
  * @returns
433
277
  */
434
- static animpostfxIsPreloadingByStackhash(effectNameHash: string | number): any;
278
+ static N_0x285438C26C732F9D(): any;
435
279
  /**
436
- * @param personaPhotoLocalCacheType
280
+ * 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.
281
+ *
282
+ * @param toggle
437
283
  */
438
- static N_0xA1A86055792FB249(personaPhotoLocalCacheType: number): void;
284
+ static setScriptGfxDrawBehindPausemenu(toggle: boolean): void;
439
285
  /**
440
286
  * @param p0
441
287
  */
442
- static setPhotoSelfStat(p0: boolean): void;
288
+ static setDistrictPhotoTakenStat(p0: string | null): void;
443
289
  /**
444
- * https://github.com/femga/rdr3_discoveries/blob/master/graphics/animpostfx
445
- *
446
290
  * @param effectName
291
+ * @param ped
292
+ * @param offset
293
+ * @param rot
294
+ * @param boneIndex
295
+ * @param scale
296
+ * @param xAxis
297
+ * @param yAxis
298
+ * @param zAxis
299
+ * @returns
447
300
  */
448
- static animpostfxPlay(effectName: string | null): void;
301
+ static startParticleFxLoopedOnPedBone(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
449
302
  /**
450
- * *DISABLE**
303
+ * @param p0
451
304
  */
452
- static N_0x4046493D2EEACA0E(): void;
453
- static pedshotPreviousPersonaPhotoDataCleanup(): void;
305
+ static setPhotoStudioStat(p0: number): void;
454
306
  /**
455
- * effectName2, p2 and p3 are unused ANIMPOSTFX_*
456
- *
457
307
  * @param effectName
458
- * @param effectName2
459
- * @param p2
460
- * @param p3
461
308
  */
462
- static N_0x26DD2FB0A88CC412(effectName: string | null, effectName2: string | null, p2: any, p3: any): void;
309
+ static animpostfxStop(effectName: string | null): void;
463
310
  /**
464
- * Example: https://pastebin.com/tTgpER9A
311
+ * https://imgur.com/a/I2swSDJ Old name: _SET_PICKUP_OBJECT_GLOW_ENABLED
465
312
  *
466
- * @param slot
467
- * @param p1
313
+ * @param object
314
+ * @param toggle
468
315
  */
469
- static generateSwatchTextureDirectly(slot: number, p1: any): void;
316
+ static setPickupLight(object: Prop, toggle: boolean): void;
470
317
  /**
471
- * @param p0
318
+ * @param entity
472
319
  */
473
- static setParticleFxBulletImpactLodrangeScale(p0: number): void;
320
+ static removeParticleFxFromEntity(entity: Entity): void;
474
321
  /**
475
- * @param p0
322
+ * @param ptfxHandle
476
323
  * @param p1
477
324
  */
478
- static N_0x1FF8731BE1DFC0C0(p0: any, p1: any): void;
325
+ static stopParticleFxLooped(ptfxHandle: number, p1: boolean): void;
479
326
  /**
480
- * Health Core Effect Filter Potency: p1 = 1
481
- * Stamina Core Effect Filter Potency: p1 = 2
482
- * Multiple Core Effect Filter Potency: p1 = 3
327
+ * p1: AMB_ANN_COAL_CHUTE_DIVE, AMB_ANN_COAL_CHUTE
328
+ * p2: EMIT
329
+ * p3: either 0.0f or 1.0f
483
330
  *
484
- * @param effectName
331
+ * @param entity
485
332
  * @param p1
486
- * @param potency
333
+ * @param p2
334
+ * @param p3
487
335
  */
488
- static animpostfxSetPotency(effectName: string | null, p1: number, potency: number): void;
336
+ static N_0x4FB67D172C4476F3(entity: Entity, p1: string | null, p2: string | null, p3: number): void;
489
337
  /**
338
+ * @param typeHash
339
+ * @param pos1
340
+ * @param pos2
341
+ * @param radius
342
+ * @param color
343
+ * @param alpha
344
+ * @param reserved
490
345
  * @returns
491
346
  */
492
- static pedshotIsAvailable(): any;
347
+ static createCheckpointWithNamehash(typeHash: string | number, pos1: Vector3, pos2: Vector3, radius: number, color: Color, alpha: number, reserved: number): number;
348
+ static disableEntitymask(): void;
493
349
  /**
494
- * @param p0
350
+ * Returns iNumPixels, iPixelsVisible
351
+ *
352
+ * @param iTrackedPoint
353
+ * @returns
495
354
  */
496
- static N_0xD9BC98B55BCFAA9B(p0: any): void;
355
+ static N_0xDFE332A5DA6FE7C9(iTrackedPoint: number): number;
497
356
  /**
498
- * @param pos
499
- * @param xScale
500
- * @param yScale
501
- * @param rotation
502
- * @param color
503
- * @param alpha
357
+ * @param entity
358
+ * @returns layer0; layer1; layer2; layer3
504
359
  */
505
- static drawTvChannel(pos: Vector2, xScale: number, yScale: number, rotation: number, color: Color, alpha: number): void;
360
+ static setEntityMaskLayers(entity: Entity): [number, number, number, number];
506
361
  /**
507
- * @param handle
362
+ * @param point
363
+ * @returns
508
364
  */
509
- static removeGrassCullSphere(handle: number): void;
365
+ static isTrackedPointVisible(point: number): boolean;
366
+ static clearTimecycleModifier(): void;
510
367
  /**
511
- * @param slots
512
- * @returns
368
+ * Closes the the binocular scaleform
513
369
  */
514
- static createSwatchTextureDict(slots: number): any;
370
+ static N_0x5AC6E0FA028369DE(): void;
515
371
  /**
516
- * _GET_C* - _GET_E*
372
+ * ANIMPOSTFX_*
517
373
  *
518
- * @returns
374
+ * @param effectNameHash
519
375
  */
520
- static getModifiedVisibilityDistance(): number;
376
+ static N_0xC76FC4C2FC5F4405(effectNameHash: string | number): void;
521
377
  /**
522
- * nullsub, doesn't do anything
378
+ * @param effectName
379
+ */
380
+ static animpostfxStopTag(effectName: string | null): void;
381
+ /**
382
+ * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
383
+ * *ENABLE**
384
+ */
385
+ static N_0x812C1563185C6FB2(): void;
386
+ /**
387
+ * @param posseId
388
+ */
389
+ static setPosseIdForPhoto(posseId: any): void;
390
+ /**
391
+ * Sets the checkpoint color.
523
392
  *
524
- * @param p0
393
+ * @param checkpoint
394
+ * @param color
395
+ * @param alpha
525
396
  */
526
- static N_0x94B261F1F35293E1(p0: any): void;
397
+ static setCheckpointRgba(checkpoint: number, color: Color, alpha: number): void;
527
398
  /**
528
- * Probably changes tvs from being a 3d audio to being "global" audio
399
+ * When this is set to ON, shadows only draw as you get nearer. When OFF, they draw from a further distance.
529
400
  *
530
401
  * @param toggle
531
402
  */
532
- static setTvAudioFrontend(toggle: boolean): void;
403
+ static cascadeShadowsEnableEntityTracker(toggle: boolean): void;
533
404
  /**
534
- * @returns
405
+ * Only used in R* Script nb_stalking_hunter
406
+ *
407
+ * @param p0
535
408
  */
536
- static getTimecycleTransitionModifierIndex(): number;
409
+ static N_0xD1472AFF30C103D6(p0: number): void;
537
410
  /**
538
- * @param ptfxHandle
539
- * @param propertyName
540
- * @param amount
541
- * @param noNetwork
411
+ * @param worldX
412
+ * @param worldY
413
+ * @param worldZ
414
+ * @returns screenX; screenY
542
415
  */
543
- static setParticleFxLoopedEvolution(ptfxHandle: number, propertyName: string | null, amount: number, noNetwork: boolean): void;
416
+ static getScreenCoordFromWorldCoord(worldX: number, worldY: number, worldZ: number): [boolean, number, number];
544
417
  /**
545
- * @param effectName
546
- * @returns
418
+ * @param point
419
+ * @param pos
420
+ * @param radius
547
421
  */
548
- static animpostfxHasLoaded(effectName: string | null): any;
422
+ static setTrackedPointInfo(point: number, pos: Vector3, radius: number): void;
549
423
  /**
550
- * @param decal
551
- * @returns
424
+ * Draws a 2D sprite on the screen. Parameters:
425
+ * 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)
426
+ * 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
427
+ *
428
+ * @param textureDict
429
+ * @param textureName
430
+ * @param screenX
431
+ * @param screenY
432
+ * @param width
433
+ * @param height
434
+ * @param heading
435
+ * @param color
436
+ * @param alpha
437
+ * @param p11
552
438
  */
553
- static isDecalAlive(decal: number): boolean;
439
+ 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;
554
440
  /**
555
- * @param p0
441
+ * @returns
556
442
  */
557
- static N_0x453D16D41FC51D3E(p0: boolean): void;
443
+ static getCurrentNumberOfLocalPhotos(): number;
558
444
  /**
559
- * @param p0
445
+ * @param ptfxHandle
560
446
  * @param p1
561
- * @param p2
562
- * @param p3
563
- * @param p4
564
- * @param p5
565
- * @param p6
566
- * @returns
567
447
  */
568
- static N_0xE63D68F455CA0B47(p0: any, p1: any, p2: any, p3: any, p4: any, p5: any, p6: any): any;
448
+ static removeParticleFx(ptfxHandle: number, p1: boolean): void;
569
449
  /**
450
+ * Removes all decals in range from a position, it includes the bullet holes, blood pools, petrol...
451
+ *
570
452
  * @param pos
571
- * @param colorR
572
- * @param colorG
573
- * @param colorB
574
453
  * @param range
575
- * @param intensity
576
454
  */
577
- static drawLightWithRange(pos: Vector3, colorR: number, colorG: number, colorB: number, range: number, intensity: number): void;
455
+ static removeDecalsInRange(pos: Vector3, range: number): void;
578
456
  /**
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
457
+ * @param p0
584
458
  */
585
- static setEntityRenderGuarmaShip(vehicle: Vehicle, toggle: boolean): void;
459
+ static setPhotoOverlayEffectStat(p0: number): void;
586
460
  /**
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
461
+ * @param ptfxHandle
462
+ * @param r
463
+ * @param g
464
+ * @param b
465
+ * @param p4
596
466
  */
597
- static startNetworkedParticleFxNonLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
467
+ static setParticleFxLoopedColour(ptfxHandle: number, r: number, g: number, b: number, p4: boolean): void;
598
468
  /**
599
- * @param lock
469
+ * @param effectNameHash
600
470
  */
601
- static setPhotoModeExposureLocked(lock: boolean): void;
602
- static N_0x815653A42C5ABE76(): void;
471
+ static animpostfxStopStackhashPostfx(effectNameHash: string | number): void;
603
472
  /**
604
- * @param effectName
605
- * @returns
473
+ * @param value
606
474
  */
607
- static animpostfxIsTagPlaying(effectName: string | null): any;
475
+ static changePhotoModeContrast(value: number): void;
608
476
  /**
609
- * enum class eSnowCoverageType
610
- * {
611
- * Primary,
612
- * Secondary,
613
- * Xmas,
614
- * XmasSecondary // since b1232
615
- * };
477
+ * Sets the draw order for script draw commands.
616
478
  *
617
- * @param type
479
+ * @param drawOrder
618
480
  */
619
- static setSnowCoverageType(type: number): void;
481
+ static setScriptGfxDrawOrder(drawOrder: number): void;
620
482
  /**
621
- * @param effectNameHash
483
+ * @param p0
622
484
  */
623
- static animpostfxPlayTag(effectNameHash: string | number): void;
485
+ static enableStaticVegModifier(p0: string | number): void;
624
486
  /**
625
- * @param pickupObject
626
- * @param toggle
487
+ * @returns
627
488
  */
628
- static blockPickupObjectLight(pickupObject: Prop, toggle: boolean): void;
489
+ static getTvChannel(): number;
490
+ static N_0x9D1B0B5066205692(): void;
629
491
  /**
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
- * @returns
492
+ * @param alpha
639
493
  */
640
- static startNetworkedParticleFxLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
494
+ static setParticleFxNonLoopedAlpha(alpha: number): void;
641
495
  /**
642
- * @param pos
643
- * @param radius
496
+ * @param point
644
497
  */
645
- static removeParticleFxInRange(pos: Vector3, radius: number): void;
498
+ static destroyTrackedPoint(point: number): void;
646
499
  /**
647
- * https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_looped.lua
500
+ * @param p0
501
+ */
502
+ static N_0x67B0778C62E74423(p0: any): void;
503
+ /**
504
+ * ANIMPOSTFX_*
648
505
  *
649
- * @param effectName
650
- * @param pos
651
- * @param rot
652
- * @param scale
653
- * @param xAxis
654
- * @param yAxis
655
- * @param zAxis
656
- * @param p11
657
- * @returns
506
+ * @param effectNameHash
658
507
  */
659
- static startParticleFxLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean, p11: boolean): number;
508
+ static N_0x71845905BCCDE781(effectNameHash: string | number): void;
509
+ static N_0xF2F543D48F319A3A(): void;
660
510
  /**
511
+ * ANIMPOSTFX_*
512
+ *
661
513
  * @returns
662
514
  */
663
- static getTimecycleModifierIndex(): number;
515
+ static N_0x3DA7A10583A4BEC0(): boolean;
664
516
  /**
665
- * nullsub, doesn't do anything
517
+ * Does not affect weapons, particles, fire/explosions, flashlights or the sun.
518
+ * 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.
666
519
  *
667
- * @param toggle
520
+ * @param state
668
521
  */
669
- static enableMovieSubtitles(toggle: boolean): void;
522
+ static setArtificialLightsState(state: boolean): void;
523
+ /**
524
+ * Possible values:
525
+ * "CSM_ST_POINT"
526
+ * "CSM_ST_LINEAR"
527
+ * "CSM_ST_BOX3x3"
528
+ * "CSM_ST_BOX4x4"
529
+ * "CSM_ST_DITHER2_LINEAR"
530
+ * "CSM_ST_CUBIC"
531
+ * "CSM_ST_POISSON16"
532
+ * "CSM_ST_SOFT8"
533
+ * "CSM_ST_SOFT16"
534
+ * "CSM_ST_SOFT32"
535
+ * "CSM_ST_DITHER16_RPDB"
536
+ * "CSM_ST_POISSON16_RPDB_GNORM"
537
+ * "CSM_ST_HIGHRES_BOX4x4"
538
+ * "CSM_ST_ESM"
539
+ *
540
+ * @param type
541
+ */
542
+ static cascadeShadowsSetShadowSampleType(type: string | null): void;
670
543
  /**
671
544
  * @param p0
672
- * @param p1
673
- * @param p2
674
- * @param p3
675
- * @param p4
676
545
  */
677
- static N_0x171C18E994C1A395(p0: any, p1: any, p2: any, p3: any, p4: any): void;
546
+ static N_0x519928DF02EB5101(p0: any): void;
678
547
  /**
679
- * Doesn't actually return anything. ANIMPOSTFX_*
548
+ * Gets set to 1 when GET_STATUS_OF_TAKE_HIGH_QUALITY_PHOTO = PHOTO_OPERATION_SUCCEEDED
680
549
  *
681
- * @returns
550
+ * @param p0
682
551
  */
683
- static N_0xC37792A3F9C90771(): any;
552
+ static N_0x0D5B19C34068FEE7(p0: any): void;
684
553
  /**
685
- * Adds Vegetation Blocking Zone, Added Snow Flattening veg mod Zone
686
- * Returns veg modifier handle
554
+ * type must be less than or equal to 20
687
555
  *
688
- * @param volume
556
+ * @param entity
557
+ * @param type
558
+ */
559
+ static setLightsTypeForEntity(entity: Entity, type: number): void;
560
+ /**
561
+ * @param p0
689
562
  * @param p1
690
- * @param flags
563
+ * @param p2
691
564
  * @param p3
692
- * @returns
693
565
  */
694
- static addVegModifierZone(volume: Volume, p1: number, flags: number, p3: number): number;
566
+ static N_0xD543487A1F12828F(p0: any, p1: any, p2: any, p3: any): void;
695
567
  /**
696
568
  * Returns proxyInteriorIndex
697
569
  *
@@ -807,150 +679,68 @@ export declare class Graphics {
807
679
  static freeMemoryForHighQualityPhoto(): void;
808
680
  static N_0x32DE2BFFDA43E62A(): void;
809
681
  /**
810
- * Resets the exposure to the value when exposure lock was enabled
811
- */
812
- static updatePhotoModeExposure(): void;
813
- /**
814
- * @param effectName
815
- */
816
- static animpostfxPreloadPostfx(effectName: string | null): void;
817
- /**
818
- * @param strength
819
- */
820
- static setTransitionOutOfTimecycleModifier(strength: number): void;
821
- /**
822
- * @param effectName
823
- * @param p1
824
- * @param color
825
- * @param alpha
826
- */
827
- static animpostfxSetPostfxColor(effectName: string | null, p1: number, color: Color, alpha: number): void;
828
- /**
829
- * @param p0
830
- * @param p1
831
- */
832
- static startPetrolTrailDecals(p0: any, p1: any): void;
833
- /**
834
- * @param pickupObject
835
- * @param allow
836
- */
837
- static allowPickupLightSync(pickupObject: Prop, allow: boolean): void;
838
- static freeMemoryForMissionCreatorPhoto(): void;
839
- /**
840
- * Returns veg modifier handle
841
- *
842
- * @param pos
843
- * @param radius
844
- * @param modType
845
- * @param flags
846
- * @param p6
847
- * @returns
848
- */
849
- static addVegModifierSphere(pos: Vector3, radius: number, modType: number, flags: number, p6: number): number;
850
- /**
851
- * Only used in R* SP Script spd_agnesdown1
852
- *
853
- * @param p0
854
- * @param pos
855
- * @param p4
856
- * @param p5
857
- * @param heading
858
- * @returns
859
- */
860
- static N_0x402E1A61D2587FCD(p0: any, pos: Vector3, p4: number, p5: number, heading: number): boolean;
861
- /**
862
- * @returns
863
- */
864
- static N_0xFC9B53C072F418E0(): any;
865
- /**
866
- * state: false disables artificial interior light sources for specific proxyInteriorIndex
867
- *
868
- * @param proxyInteriorIndex
869
- * @param state
870
- */
871
- static setProxyInteriorIndexArtificialLightsState(proxyInteriorIndex: number, state: boolean): void;
872
- /**
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
682
+ * Resets the exposure to the value when exposure lock was enabled
895
683
  */
896
- static animpostfxSetToUnload(effectName: string | null): void;
684
+ static updatePhotoModeExposure(): void;
897
685
  /**
898
- * @param proxyInteriorIndex
899
- * @returns
686
+ * @param effectName
900
687
  */
901
- static isProxyInteriorIndexArtificialLightsEnabled(proxyInteriorIndex: number): any;
688
+ static animpostfxPreloadPostfx(effectName: string | null): void;
902
689
  /**
903
- * @param p0
690
+ * @param strength
904
691
  */
905
- static setPhotoInPhotomodeStat(p0: boolean): void;
692
+ static setTransitionOutOfTimecycleModifier(strength: number): void;
906
693
  /**
907
- * @param entity
908
- * @param intensity
694
+ * @param effectName
695
+ * @param p1
696
+ * @param color
697
+ * @param alpha
909
698
  */
910
- static setLightsIntensityForEntity(entity: Entity, intensity: number): void;
699
+ static animpostfxSetPostfxColor(effectName: string | null, p1: number, color: Color, alpha: number): void;
911
700
  /**
912
- * @param entity
701
+ * @param p0
702
+ * @param p1
913
703
  */
914
- static updateLightsOnEntity(entity: Entity): void;
704
+ static startPetrolTrailDecals(p0: any, p1: any): void;
915
705
  /**
916
- * @returns
706
+ * @param pickupObject
707
+ * @param allow
917
708
  */
918
- static getStatusOfTakeHighQualityPhoto(): number;
709
+ static allowPickupLightSync(pickupObject: Prop, allow: boolean): void;
710
+ static freeMemoryForMissionCreatorPhoto(): void;
919
711
  /**
712
+ * Returns veg modifier handle
713
+ *
714
+ * @param pos
715
+ * @param radius
716
+ * @param modType
717
+ * @param flags
718
+ * @param p6
920
719
  * @returns
921
720
  */
922
- static N_0x285438C26C732F9D(): any;
721
+ static addVegModifierSphere(pos: Vector3, radius: number, modType: number, flags: number, p6: number): number;
923
722
  /**
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.
723
+ * Only used in R* SP Script spd_agnesdown1
925
724
  *
926
- * @param toggle
927
- */
928
- static setScriptGfxDrawBehindPausemenu(toggle: boolean): void;
929
- /**
930
725
  * @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
- * @param scale
940
- * @param xAxis
941
- * @param yAxis
942
- * @param zAxis
726
+ * @param pos
727
+ * @param p4
728
+ * @param p5
729
+ * @param heading
943
730
  * @returns
944
731
  */
945
- static startParticleFxLoopedOnPedBone(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
732
+ static N_0x402E1A61D2587FCD(p0: any, pos: Vector3, p4: number, p5: number, heading: number): boolean;
946
733
  /**
947
- * @param p0
734
+ * @returns
948
735
  */
949
- static setPhotoStudioStat(p0: number): void;
736
+ static N_0xFC9B53C072F418E0(): any;
950
737
  /**
951
- * @param effectName
738
+ * state: false disables artificial interior light sources for specific proxyInteriorIndex
739
+ *
740
+ * @param proxyInteriorIndex
741
+ * @param state
952
742
  */
953
- static animpostfxStop(effectName: string | null): void;
743
+ static setProxyInteriorIndexArtificialLightsState(proxyInteriorIndex: number, state: boolean): void;
954
744
  /**
955
745
  * @param p0
956
746
  * @param p1
@@ -1038,94 +828,6 @@ export declare class Graphics {
1038
828
  * @param obj
1039
829
  */
1040
830
  static removeDecalsFromObject(obj: Prop): void;
1041
- /**
1042
- * https://imgur.com/a/I2swSDJ Old name: _SET_PICKUP_OBJECT_GLOW_ENABLED
1043
- *
1044
- * @param object
1045
- * @param toggle
1046
- */
1047
- static setPickupLight(object: Prop, toggle: boolean): void;
1048
- /**
1049
- * @param entity
1050
- */
1051
- static removeParticleFxFromEntity(entity: Entity): void;
1052
- /**
1053
- * @param ptfxHandle
1054
- * @param p1
1055
- */
1056
- static stopParticleFxLooped(ptfxHandle: number, p1: boolean): void;
1057
- /**
1058
- * p1: AMB_ANN_COAL_CHUTE_DIVE, AMB_ANN_COAL_CHUTE
1059
- * p2: EMIT
1060
- * p3: either 0.0f or 1.0f
1061
- *
1062
- * @param entity
1063
- * @param p1
1064
- * @param p2
1065
- * @param p3
1066
- */
1067
- static N_0x4FB67D172C4476F3(entity: Entity, p1: string | null, p2: string | null, p3: number): void;
1068
- /**
1069
- * @param typeHash
1070
- * @param pos1
1071
- * @param pos2
1072
- * @param radius
1073
- * @param color
1074
- * @param alpha
1075
- * @param reserved
1076
- * @returns
1077
- */
1078
- static createCheckpointWithNamehash(typeHash: string | number, pos1: Vector3, pos2: Vector3, radius: number, color: Color, alpha: number, reserved: number): number;
1079
- static disableEntitymask(): void;
1080
- /**
1081
- * Returns iNumPixels, iPixelsVisible
1082
- *
1083
- * @param iTrackedPoint
1084
- * @returns
1085
- */
1086
- static N_0xDFE332A5DA6FE7C9(iTrackedPoint: number): number;
1087
- /**
1088
- * @param entity
1089
- * @returns layer0; layer1; layer2; layer3
1090
- */
1091
- static setEntityMaskLayers(entity: Entity): [number, number, number, number];
1092
- /**
1093
- * @param point
1094
- * @returns
1095
- */
1096
- static isTrackedPointVisible(point: number): boolean;
1097
- static clearTimecycleModifier(): void;
1098
- /**
1099
- * Closes the the binocular scaleform
1100
- */
1101
- static N_0x5AC6E0FA028369DE(): void;
1102
- /**
1103
- * ANIMPOSTFX_*
1104
- *
1105
- * @param effectNameHash
1106
- */
1107
- static N_0xC76FC4C2FC5F4405(effectNameHash: string | number): void;
1108
- /**
1109
- * @param effectName
1110
- */
1111
- static animpostfxStopTag(effectName: string | null): void;
1112
- /**
1113
- * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
1114
- * *ENABLE**
1115
- */
1116
- static N_0x812C1563185C6FB2(): void;
1117
- /**
1118
- * @param posseId
1119
- */
1120
- static setPosseIdForPhoto(posseId: any): void;
1121
- /**
1122
- * Sets the checkpoint color.
1123
- *
1124
- * @param checkpoint
1125
- * @param color
1126
- * @param alpha
1127
- */
1128
- static setCheckpointRgba(checkpoint: number, color: Color, alpha: number): void;
1129
831
  /**
1130
832
  * https://github.com/femga/rdr3_discoveries/blob/master/graphics/markers/marker_types.lua
1131
833
  * Old name: _DRAW_MARKER
@@ -1389,46 +1091,158 @@ export declare class Graphics {
1389
1091
  * @param p8
1390
1092
  * @param p9
1391
1093
  */
1392
- static drawRect(x: number, y: number, width: number, height: number, color: Color, alpha: number, p8: boolean, p9: boolean): void;
1094
+ static drawRect(x: number, y: number, width: number, height: number, color: Color, alpha: number, p8: boolean, p9: boolean): void;
1095
+ /**
1096
+ * @param tvChannel
1097
+ * @param playlistName
1098
+ * @param restart
1099
+ */
1100
+ static setTvChannelPlaylist(tvChannel: number, playlistName: string | null, restart: boolean): void;
1101
+ /**
1102
+ * @param checkpoint
1103
+ */
1104
+ static deleteCheckpoint(checkpoint: number): void;
1105
+ /**
1106
+ * *DISABLE**
1107
+ *
1108
+ * @param p0
1109
+ */
1110
+ static N_0xFB680A9B33D0EDBE(p0: boolean): void;
1111
+ /**
1112
+ * @returns
1113
+ */
1114
+ static N_0xC28F62AC9774FC1B(): any;
1115
+ /**
1116
+ * @param p1
1117
+ * @param p2
1118
+ * @param p3
1119
+ * @returns p0
1120
+ */
1121
+ static loadMissionCreatorPhoto(p1: any, p2: any, p3: any): [boolean, number];
1122
+ /**
1123
+ * @param entity
1124
+ * @returns layer0; layer1; layer2; layer3
1125
+ */
1126
+ static getEntityMaskLayers(entity: Entity): [boolean, number, number, number, number];
1127
+ /**
1128
+ * @param ped
1129
+ * @param p1
1130
+ * @param size
1131
+ * @param p3
1132
+ */
1133
+ static addBloodPoolsForPedWithParams(ped: Ped, p1: number, size: number, p3: number): void;
1134
+ /**
1135
+ * @param p0
1136
+ */
1137
+ static N_0xFF8018C778349234(p0: any): void;
1138
+ /**
1139
+ * Old name: _SET_HIDOF_ENV_BLUR_PARAMS
1140
+ *
1141
+ * @param p0
1142
+ * @param p1
1143
+ * @param p2
1144
+ * @param p3
1145
+ * @param p4
1146
+ * @param p5
1147
+ */
1148
+ static setHidofOverride(p0: boolean, p1: boolean, p2: number, p3: number, p4: number, p5: number): void;
1149
+ /**
1150
+ * @param effectName
1151
+ * @param entity
1152
+ * @param offset
1153
+ * @param rot
1154
+ * @param boneIndex
1155
+ * @param scale
1156
+ * @param xAxis
1157
+ * @param yAxis
1158
+ * @param zAxis
1159
+ * @returns
1160
+ */
1161
+ static startParticleFxLoopedOnEntityBone(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
1162
+ /**
1163
+ * Sets the checkpoint icon color.
1164
+ *
1165
+ * @param checkpoint
1166
+ * @param color
1167
+ * @param alpha
1168
+ */
1169
+ static setCheckpointRgba2(checkpoint: number, color: Color, alpha: number): void;
1170
+ /**
1171
+ * nullsub, doesn't do anything (GTA5 leftover, there is no phone in RDR3)
1172
+ *
1173
+ * @param p0
1174
+ * @param photoRotation
1175
+ */
1176
+ static drawLowQualityPhotoToPhone(p0: boolean, photoRotation: number): void;
1177
+ /**
1178
+ * https://gfycat.com/meagerfaireyra
1179
+ *
1180
+ * @param entity
1181
+ * @param color
1182
+ */
1183
+ static setLightsColorForEntity(entity: Entity, color: Color): void;
1184
+ /**
1185
+ * @param effectName
1186
+ * @param ped
1187
+ * @param offset
1188
+ * @param rot
1189
+ * @param boneIndex
1190
+ * @param scale
1191
+ * @param axisX
1192
+ * @param axisY
1193
+ * @param axisZ
1194
+ * @returns
1195
+ */
1196
+ static startParticleFxNonLoopedOnPedBone2(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): any;
1197
+ static N_0x981C7D863980FA51(): void;
1393
1198
  /**
1394
- * @param tvChannel
1395
- * @param playlistName
1396
- * @param restart
1199
+ * @param p0
1200
+ * @param p1
1397
1201
  */
1398
- static setTvChannelPlaylist(tvChannel: number, playlistName: string | null, restart: boolean): void;
1202
+ static N_0x9F6D859C80708B26(p0: boolean, p1: boolean): void;
1399
1203
  /**
1400
- * @param checkpoint
1204
+ * @param oldAsset
1205
+ * @param newAsset
1401
1206
  */
1402
- static deleteCheckpoint(checkpoint: number): void;
1207
+ static setParticleFxOverride(oldAsset: string | null, newAsset: string | null): void;
1403
1208
  /**
1404
- * *DISABLE**
1405
- *
1406
1209
  * @param p0
1210
+ * @param p1
1407
1211
  */
1408
- static N_0xFB680A9B33D0EDBE(p0: boolean): void;
1212
+ static N_0xA0F4D12D6042F6D5(p0: any, p1: any): void;
1409
1213
  /**
1410
- * @returns
1214
+ * @param ptfxHandle
1215
+ * @param pos
1216
+ * @param rot
1411
1217
  */
1412
- static N_0xC28F62AC9774FC1B(): any;
1218
+ static setParticleFxLoopedOffsets(ptfxHandle: number, pos: Vector3, rot: Vector3): void;
1413
1219
  /**
1414
- * @param p1
1415
- * @param p2
1416
- * @param p3
1417
- * @returns p0
1220
+ * @param p0
1418
1221
  */
1419
- static loadMissionCreatorPhoto(p1: any, p2: any, p3: any): [boolean, number];
1222
+ static disableStaticVegModifier(p0: string | number): void;
1420
1223
  /**
1421
- * @param entity
1422
- * @returns layer0; layer1; layer2; layer3
1224
+ * @param ptfxHandle
1225
+ * @param scale
1423
1226
  */
1424
- static getEntityMaskLayers(entity: Entity): [boolean, number, number, number, number];
1227
+ static setParticleFxLoopedScale(ptfxHandle: number, scale: number): void;
1425
1228
  /**
1426
- * @param ped
1427
- * @param p1
1428
- * @param size
1429
- * @param p3
1229
+ * https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_non_looped.lua
1230
+ *
1231
+ * @param effectName
1232
+ * @param pos
1233
+ * @param rot
1234
+ * @param scale
1235
+ * @param eventType
1236
+ * @param bPeekOnly
1237
+ * @param bIsRegistered
1238
+ * @returns
1430
1239
  */
1431
- static addBloodPoolsForPedWithParams(ped: Ped, p1: number, size: number, p3: number): void;
1240
+ static startParticleFxNonLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, eventType: number, bPeekOnly: boolean, bIsRegistered: boolean): number;
1241
+ /**
1242
+ * @param p0
1243
+ * @returns
1244
+ */
1245
+ static isStaticVegModifierEnabled(p0: string | number): any;
1432
1246
  /**
1433
1247
  * https://github.com/femga/rdr3_discoveries/blob/master/graphics/timecycles
1434
1248
  *
@@ -1516,6 +1330,101 @@ export declare class Graphics {
1516
1330
  */
1517
1331
  static isTextureInDict(txdHash: string | number, dict: string | number): any;
1518
1332
  static N_0x910E260AEAD855DE(): void;
1333
+ /**
1334
+ * @param scale
1335
+ */
1336
+ static setParticleFxBulletImpactScale(scale: number): void;
1337
+ /**
1338
+ * @param p0
1339
+ * @param p1
1340
+ * @param p2
1341
+ * @param p3
1342
+ * @param p4
1343
+ * @param p5
1344
+ * @param p6
1345
+ * @param p7
1346
+ */
1347
+ static cascadeShadowsSetCascadeBounds(p0: any, p1: boolean, p2: number, p3: number, p4: number, p5: number, p6: boolean, p7: number): void;
1348
+ /**
1349
+ * @param value
1350
+ */
1351
+ static changePhotoModeExposure(value: number): void;
1352
+ /**
1353
+ * @param point
1354
+ * @returns
1355
+ */
1356
+ static isTrackedPointValid(point: number): any;
1357
+ /**
1358
+ * Old name: _ENABLE_EXTRA_TIMECYCLE_MODIFIER_STRENGTH
1359
+ *
1360
+ * @param strength
1361
+ */
1362
+ static enableMoonCycleOverride(strength: number): void;
1363
+ static setDisablePetrolDecalsIgnitingThisFrame(): void;
1364
+ /**
1365
+ * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
1366
+ *
1367
+ * @param p0
1368
+ */
1369
+ static N_0x4BD66B4E3427689B(p0: string | null): void;
1370
+ /**
1371
+ * Enables/disables a kind of 'shiny' effect on metals.
1372
+ *
1373
+ * @param object
1374
+ * @param toggle
1375
+ */
1376
+ static setPearlescentFxEnabled(object: Prop, toggle: boolean): void;
1377
+ /**
1378
+ * @param enabled
1379
+ */
1380
+ static setSniperGlintsEnabled(enabled: boolean): void;
1381
+ /**
1382
+ * Example:
1383
+ * local hash = GetHashKey("CLOTHING_ITEM_M_EYES_001_TINT_001")
1384
+ * _GENERATE_SWATCH_TEXTURE(0, hash, 0, true)
1385
+ * metapedType: see 0xEC9A1261BF0CE510
1386
+ *
1387
+ * @param slotId
1388
+ * @param componentHash
1389
+ * @param metapedType
1390
+ * @param p3
1391
+ */
1392
+ static generateSwatchTexture(slotId: number, componentHash: string | number, metapedType: number, p3: boolean): void;
1393
+ /**
1394
+ * @param entity
1395
+ * @param mask
1396
+ * @param intensity
1397
+ */
1398
+ static addEntityToEntityMaskWithIntensity(entity: Entity, mask: number, intensity: number): void;
1399
+ static disableHdtexThisFrame(): void;
1400
+ /**
1401
+ * @param entity
1402
+ */
1403
+ static attachTvAudioToEntity(entity: Entity): void;
1404
+ /**
1405
+ * @param effectName
1406
+ * @param ped
1407
+ * @param offset
1408
+ * @param rot
1409
+ * @param boneIndex
1410
+ * @param scale
1411
+ * @param axisX
1412
+ * @param axisY
1413
+ * @param axisZ
1414
+ * @returns
1415
+ */
1416
+ static startParticleFxNonLoopedOnPedBone(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
1417
+ /**
1418
+ * contentId: returned by NETWORK::_UGC_QUERY_GET_CREATOR_PHOTO(uVar0, 0, sParam3)
1419
+ *
1420
+ * @param contentId
1421
+ * @returns
1422
+ */
1423
+ static getStatusOfLoadMissionCreatorPhoto(contentId: string | null): number;
1424
+ /**
1425
+ * @param p0
1426
+ */
1427
+ static N_0x6C03118E9E5C1A14(p0: any): void;
1519
1428
  static resetPausedRenderphases(): void;
1520
1429
  /**
1521
1430
  * @param unused
@@ -1589,10 +1498,101 @@ export declare class Graphics {
1589
1498
  * @param effectName
1590
1499
  * @returns
1591
1500
  */
1592
- static animpostfxGetStackhash(effectName: string | null): string | number;
1501
+ static animpostfxGetStackhash(effectName: string | null): number;
1593
1502
  /**
1594
1503
  * @param height
1595
1504
  */
1596
1505
  static setCloudHeight(height: number): void;
1506
+ /**
1507
+ * Related to Campfires.
1508
+ * p1: AMB_BONFIRE_MP, AMB_CAMPFIRE_LRG_MP
1509
+ *
1510
+ * @param entity
1511
+ * @param p1
1512
+ * @param r
1513
+ * @param g
1514
+ * @param b
1515
+ */
1516
+ static setParticleFxAmbientColour(entity: Entity, p1: string | null, r: number, g: number, b: number): void;
1517
+ /**
1518
+ * Resets the effect of SET_PARTICLE_FX_OVERRIDE
1519
+ *
1520
+ * @param name
1521
+ */
1522
+ static resetParticleFxOverride(name: string | null): void;
1523
+ /**
1524
+ * must be called after ANIMPOSTFX_PLAY, strength 0.0f - 1.0f
1525
+ *
1526
+ * @param effectName
1527
+ * @param strength
1528
+ */
1529
+ static animpostfxSetStrength(effectName: string | null, strength: number): void;
1530
+ /**
1531
+ * @param p0
1532
+ * @param p1
1533
+ * @param p2
1534
+ * @param p3
1535
+ * @param p4
1536
+ */
1537
+ static N_0xCC3B787E73E64160(p0: any, p1: any, p2: any, p3: any, p4: any): void;
1538
+ /**
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.
1544
+ *
1545
+ * @returns
1546
+ */
1547
+ static createTrackedPoint(): number;
1548
+ /**
1549
+ * @param effectNameHash
1550
+ * @returns
1551
+ */
1552
+ static animpostfxIsPreloadingByStackhash(effectNameHash: string | number): any;
1553
+ /**
1554
+ * @param personaPhotoLocalCacheType
1555
+ */
1556
+ static N_0xA1A86055792FB249(personaPhotoLocalCacheType: number): void;
1557
+ /**
1558
+ * @param p0
1559
+ */
1560
+ static setPhotoSelfStat(p0: boolean): void;
1561
+ /**
1562
+ * https://github.com/femga/rdr3_discoveries/blob/master/graphics/animpostfx
1563
+ *
1564
+ * @param effectName
1565
+ */
1566
+ static animpostfxPlay(effectName: string | null): void;
1567
+ /**
1568
+ * *DISABLE**
1569
+ */
1570
+ static N_0x4046493D2EEACA0E(): void;
1571
+ static pedshotPreviousPersonaPhotoDataCleanup(): void;
1572
+ /**
1573
+ * effectName2, p2 and p3 are unused ANIMPOSTFX_*
1574
+ *
1575
+ * @param effectName
1576
+ * @param effectName2
1577
+ * @param p2
1578
+ * @param p3
1579
+ */
1580
+ static N_0x26DD2FB0A88CC412(effectName: string | null, effectName2: string | null, p2: any, p3: any): void;
1581
+ /**
1582
+ * Example: https://pastebin.com/tTgpER9A
1583
+ *
1584
+ * @param slot
1585
+ * @param p1
1586
+ */
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