@nativewrappers/redm-codegen 0.0.4 → 0.0.5

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 +96 -96
  2. package/dist/classes/AnimScene.d.ts.map +1 -1
  3. package/dist/classes/AnimScene.js +137 -137
  4. package/dist/classes/BaseModel.d.ts +19 -19
  5. package/dist/classes/BaseModel.d.ts.map +1 -1
  6. package/dist/classes/BaseModel.js +33 -33
  7. package/dist/classes/BaseTask.d.ts +33 -33
  8. package/dist/classes/BaseTask.d.ts.map +1 -1
  9. package/dist/classes/BaseTask.js +40 -40
  10. package/dist/classes/Cam.d.ts +85 -85
  11. package/dist/classes/Cam.d.ts.map +1 -1
  12. package/dist/classes/Cam.js +108 -108
  13. package/dist/classes/Entity.d.ts +288 -283
  14. package/dist/classes/Entity.d.ts.map +1 -1
  15. package/dist/classes/Entity.js +410 -401
  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 +729 -729
  29. package/dist/classes/PedTask.d.ts.map +1 -1
  30. package/dist/classes/PedTask.js +935 -935
  31. package/dist/classes/PersChar.d.ts +13 -13
  32. package/dist/classes/PersChar.d.ts.map +1 -1
  33. package/dist/classes/PersChar.js +19 -19
  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 +13 -13
  37. package/dist/classes/Player.d.ts +343 -339
  38. package/dist/classes/Player.d.ts.map +1 -1
  39. package/dist/classes/Player.js +495 -489
  40. package/dist/classes/Prop.d.ts +64 -64
  41. package/dist/classes/Prop.d.ts.map +1 -1
  42. package/dist/classes/Prop.js +94 -94
  43. package/dist/classes/PropSet.d.ts +18 -18
  44. package/dist/classes/PropSet.d.ts.map +1 -1
  45. package/dist/classes/PropSet.js +27 -27
  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 +24 -24
  53. package/dist/classes/VehicleTask.d.ts.map +1 -1
  54. package/dist/classes/VehicleTask.js +30 -30
  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 +351 -351
  59. package/dist/classes/Weapon.d.ts.map +1 -1
  60. package/dist/classes/Weapon.js +486 -486
  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 +48 -48
  68. package/dist/namespaces/Animscene.d.ts.map +1 -1
  69. package/dist/namespaces/Animscene.js +65 -65
  70. package/dist/namespaces/Audio.d.ts +476 -476
  71. package/dist/namespaces/Audio.d.ts.map +1 -1
  72. package/dist/namespaces/Audio.js +692 -692
  73. package/dist/namespaces/Bounty.d.ts +57 -57
  74. package/dist/namespaces/Bounty.d.ts.map +1 -1
  75. package/dist/namespaces/Bounty.js +90 -90
  76. package/dist/namespaces/CamStatics.d.ts +432 -432
  77. package/dist/namespaces/CamStatics.d.ts.map +1 -1
  78. package/dist/namespaces/CamStatics.js +606 -606
  79. package/dist/namespaces/Collection.d.ts +78 -78
  80. package/dist/namespaces/Collection.d.ts.map +1 -1
  81. package/dist/namespaces/Collection.js +111 -111
  82. package/dist/namespaces/Companion.d.ts +22 -22
  83. package/dist/namespaces/Companion.d.ts.map +1 -1
  84. package/dist/namespaces/Companion.js +30 -30
  85. package/dist/namespaces/Compapp.js +1 -1
  86. package/dist/namespaces/Compendium.d.ts +58 -58
  87. package/dist/namespaces/Compendium.d.ts.map +1 -1
  88. package/dist/namespaces/Compendium.js +83 -83
  89. package/dist/namespaces/Crashlog.d.ts +10 -10
  90. package/dist/namespaces/Crashlog.d.ts.map +1 -1
  91. package/dist/namespaces/Crashlog.js +21 -21
  92. package/dist/namespaces/Crew.js +4 -4
  93. package/dist/namespaces/Databinding.d.ts +154 -154
  94. package/dist/namespaces/Databinding.d.ts.map +1 -1
  95. package/dist/namespaces/Databinding.js +222 -222
  96. package/dist/namespaces/Datafile.js +4 -4
  97. package/dist/namespaces/Decorator.d.ts +19 -19
  98. package/dist/namespaces/Decorator.d.ts.map +1 -1
  99. package/dist/namespaces/Decorator.js +34 -34
  100. package/dist/namespaces/Dlc.d.ts +5 -5
  101. package/dist/namespaces/Dlc.d.ts.map +1 -1
  102. package/dist/namespaces/Dlc.js +9 -9
  103. package/dist/namespaces/EntityStatics.d.ts +80 -80
  104. package/dist/namespaces/EntityStatics.d.ts.map +1 -1
  105. package/dist/namespaces/EntityStatics.js +113 -113
  106. package/dist/namespaces/Event.js +4 -4
  107. package/dist/namespaces/Fire.d.ts +89 -89
  108. package/dist/namespaces/Fire.d.ts.map +1 -1
  109. package/dist/namespaces/Fire.js +115 -115
  110. package/dist/namespaces/Flock.js +2 -2
  111. package/dist/namespaces/Gang.js +2 -2
  112. package/dist/namespaces/GoogleAnalytics.js +2 -2
  113. package/dist/namespaces/Graphics.d.ts +781 -781
  114. package/dist/namespaces/Graphics.d.ts.map +1 -1
  115. package/dist/namespaces/Graphics.js +1207 -1207
  116. package/dist/namespaces/Hud.d.ts +483 -483
  117. package/dist/namespaces/Hud.d.ts.map +1 -1
  118. package/dist/namespaces/Hud.js +678 -678
  119. package/dist/namespaces/Ik.js +1 -1
  120. package/dist/namespaces/Interaction.js +3 -3
  121. package/dist/namespaces/InteriorStatics.d.ts +40 -40
  122. package/dist/namespaces/InteriorStatics.d.ts.map +1 -1
  123. package/dist/namespaces/InteriorStatics.js +57 -57
  124. package/dist/namespaces/Inventory.d.ts +211 -211
  125. package/dist/namespaces/Inventory.d.ts.map +1 -1
  126. package/dist/namespaces/Inventory.js +291 -291
  127. package/dist/namespaces/Itemdatabase.js +3 -3
  128. package/dist/namespaces/Itemset.js +2 -2
  129. package/dist/namespaces/Law.d.ts +1 -1
  130. package/dist/namespaces/Law.d.ts.map +1 -1
  131. package/dist/namespaces/Law.js +19 -19
  132. package/dist/namespaces/Localization.js +1 -1
  133. package/dist/namespaces/Map.js +3 -3
  134. package/dist/namespaces/Minigame.d.ts +65 -65
  135. package/dist/namespaces/Minigame.d.ts.map +1 -1
  136. package/dist/namespaces/Minigame.js +105 -105
  137. package/dist/namespaces/Misc.d.ts +3 -3
  138. package/dist/namespaces/Misc.d.ts.map +1 -1
  139. package/dist/namespaces/Misc.js +35 -35
  140. package/dist/namespaces/Missiondata.d.ts +15 -15
  141. package/dist/namespaces/Missiondata.d.ts.map +1 -1
  142. package/dist/namespaces/Missiondata.js +24 -24
  143. package/dist/namespaces/Money.js +3 -3
  144. package/dist/namespaces/Netshopping.d.ts +58 -58
  145. package/dist/namespaces/Netshopping.d.ts.map +1 -1
  146. package/dist/namespaces/Netshopping.js +89 -89
  147. package/dist/namespaces/Network.d.ts +1067 -1067
  148. package/dist/namespaces/Network.d.ts.map +1 -1
  149. package/dist/namespaces/Network.js +1586 -1586
  150. package/dist/namespaces/Object.d.ts +231 -231
  151. package/dist/namespaces/Object.d.ts.map +1 -1
  152. package/dist/namespaces/Object.js +337 -337
  153. package/dist/namespaces/Pad.d.ts +42 -42
  154. package/dist/namespaces/Pad.d.ts.map +1 -1
  155. package/dist/namespaces/Pad.js +68 -68
  156. package/dist/namespaces/Pathfind.js +10 -10
  157. package/dist/namespaces/PedStatics.d.ts +2 -2
  158. package/dist/namespaces/PedStatics.d.ts.map +1 -1
  159. package/dist/namespaces/PedStatics.js +10 -10
  160. package/dist/namespaces/Perschar.d.ts +54 -54
  161. package/dist/namespaces/Perschar.d.ts.map +1 -1
  162. package/dist/namespaces/Perschar.js +84 -84
  163. package/dist/namespaces/Physics.d.ts +121 -121
  164. package/dist/namespaces/Physics.d.ts.map +1 -1
  165. package/dist/namespaces/Physics.js +155 -155
  166. package/dist/namespaces/PlayerStatics.d.ts +97 -97
  167. package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
  168. package/dist/namespaces/PlayerStatics.js +142 -142
  169. package/dist/namespaces/Population.d.ts +11 -11
  170. package/dist/namespaces/Population.d.ts.map +1 -1
  171. package/dist/namespaces/Population.js +15 -15
  172. package/dist/namespaces/Posse.d.ts +33 -33
  173. package/dist/namespaces/Posse.d.ts.map +1 -1
  174. package/dist/namespaces/Posse.js +51 -51
  175. package/dist/namespaces/Propset.d.ts +59 -59
  176. package/dist/namespaces/Propset.d.ts.map +1 -1
  177. package/dist/namespaces/Propset.js +81 -81
  178. package/dist/namespaces/Replay.d.ts +1 -1
  179. package/dist/namespaces/Replay.d.ts.map +1 -1
  180. package/dist/namespaces/Replay.js +2 -2
  181. package/dist/namespaces/Scripts.d.ts +1 -1
  182. package/dist/namespaces/Scripts.d.ts.map +1 -1
  183. package/dist/namespaces/Scripts.js +12 -12
  184. package/dist/namespaces/Shapetest.d.ts +11 -11
  185. package/dist/namespaces/Shapetest.d.ts.map +1 -1
  186. package/dist/namespaces/Shapetest.js +13 -13
  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 +191 -191
  191. package/dist/namespaces/Stats.d.ts.map +1 -1
  192. package/dist/namespaces/Stats.js +281 -281
  193. package/dist/namespaces/Streaming.d.ts +84 -84
  194. package/dist/namespaces/Streaming.d.ts.map +1 -1
  195. package/dist/namespaces/Streaming.js +137 -137
  196. package/dist/namespaces/Task.d.ts +347 -347
  197. package/dist/namespaces/Task.d.ts.map +1 -1
  198. package/dist/namespaces/Task.js +488 -488
  199. package/dist/namespaces/Telemetry.d.ts +151 -151
  200. package/dist/namespaces/Telemetry.d.ts.map +1 -1
  201. package/dist/namespaces/Telemetry.js +206 -206
  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.d.ts +15 -15
  208. package/dist/namespaces/Uifeed.d.ts.map +1 -1
  209. package/dist/namespaces/Uifeed.js +25 -25
  210. package/dist/namespaces/Uistickyfeed.d.ts +16 -16
  211. package/dist/namespaces/Uistickyfeed.d.ts.map +1 -1
  212. package/dist/namespaces/Uistickyfeed.js +21 -21
  213. package/dist/namespaces/Unlock.js +5 -5
  214. package/dist/namespaces/VehicleStatics.js +12 -12
  215. package/dist/namespaces/Voice.d.ts +38 -38
  216. package/dist/namespaces/Voice.d.ts.map +1 -1
  217. package/dist/namespaces/Voice.js +61 -61
  218. package/dist/namespaces/VolumeStatics.d.ts +99 -99
  219. package/dist/namespaces/VolumeStatics.d.ts.map +1 -1
  220. package/dist/namespaces/VolumeStatics.js +137 -137
  221. package/dist/namespaces/WeaponStatics.d.ts +276 -276
  222. package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
  223. package/dist/namespaces/WeaponStatics.js +371 -371
  224. package/dist/types/NativeAliases.d.ts +3 -1
  225. package/dist/types/NativeAliases.d.ts.map +1 -1
  226. package/dist/types/NativeAliases.js +3 -1
  227. package/package.json +1 -1
  228. package/src/classes/AnimScene.ts +159 -159
  229. package/src/classes/BaseModel.ts +37 -37
  230. package/src/classes/BaseTask.ts +41 -41
  231. package/src/classes/Cam.ts +111 -111
  232. package/src/classes/Entity.ts +422 -411
  233. package/src/classes/Interior.ts +43 -43
  234. package/src/classes/ItemSet.ts +3 -3
  235. package/src/classes/Ped.ts +432 -432
  236. package/src/classes/PedModel.ts +2 -2
  237. package/src/classes/PedTask.ts +957 -957
  238. package/src/classes/PersChar.ts +22 -22
  239. package/src/classes/Pickup.ts +14 -14
  240. package/src/classes/Player.ts +994 -987
  241. package/src/classes/Prop.ts +106 -106
  242. package/src/classes/PropSet.ts +29 -29
  243. package/src/classes/Vehicle.ts +147 -147
  244. package/src/classes/VehicleModel.ts +2 -2
  245. package/src/classes/VehicleTask.ts +31 -31
  246. package/src/classes/Volume.ts +62 -62
  247. package/src/classes/Weapon.ts +511 -511
  248. package/src/namespaces/Aicoverpoint.ts +40 -40
  249. package/src/namespaces/Aitransport.ts +104 -104
  250. package/src/namespaces/Animscene.ts +71 -71
  251. package/src/namespaces/Audio.ts +725 -725
  252. package/src/namespaces/Bounty.ts +102 -102
  253. package/src/namespaces/CamStatics.ts +700 -700
  254. package/src/namespaces/Collection.ts +113 -113
  255. package/src/namespaces/Companion.ts +34 -34
  256. package/src/namespaces/Compapp.ts +1 -1
  257. package/src/namespaces/Compendium.ts +94 -94
  258. package/src/namespaces/Crashlog.ts +23 -23
  259. package/src/namespaces/Crew.ts +4 -4
  260. package/src/namespaces/Databinding.ts +237 -237
  261. package/src/namespaces/Datafile.ts +4 -4
  262. package/src/namespaces/Decorator.ts +37 -37
  263. package/src/namespaces/Dlc.ts +9 -9
  264. package/src/namespaces/EntityStatics.ts +117 -117
  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 +1218 -1218
  271. package/src/namespaces/Hud.ts +696 -696
  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 +294 -294
  276. package/src/namespaces/Itemdatabase.ts +3 -3
  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 +3 -3
  281. package/src/namespaces/Minigame.ts +109 -109
  282. package/src/namespaces/Misc.ts +38 -38
  283. package/src/namespaces/Missiondata.ts +28 -28
  284. package/src/namespaces/Money.ts +3 -3
  285. package/src/namespaces/Netshopping.ts +99 -99
  286. package/src/namespaces/Network.ts +1616 -1616
  287. package/src/namespaces/Object.ts +344 -344
  288. package/src/namespaces/Pad.ts +76 -76
  289. package/src/namespaces/Pathfind.ts +10 -10
  290. package/src/namespaces/PedStatics.ts +12 -12
  291. package/src/namespaces/Perschar.ts +86 -86
  292. package/src/namespaces/Physics.ts +171 -171
  293. package/src/namespaces/PlayerStatics.ts +162 -162
  294. package/src/namespaces/Population.ts +17 -17
  295. package/src/namespaces/Posse.ts +54 -54
  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/Shapetest.ts +14 -14
  300. package/src/namespaces/Socialclub.ts +8 -8
  301. package/src/namespaces/Socialclubfeed.ts +1 -1
  302. package/src/namespaces/Spactionproxy.ts +4 -4
  303. package/src/namespaces/Stats.ts +287 -287
  304. package/src/namespaces/Streaming.ts +159 -159
  305. package/src/namespaces/Task.ts +517 -517
  306. package/src/namespaces/Telemetry.ts +224 -224
  307. package/src/namespaces/Txd.ts +1 -1
  308. package/src/namespaces/Uiapps.ts +43 -43
  309. package/src/namespaces/Uievents.ts +1 -1
  310. package/src/namespaces/Uifeed.ts +28 -28
  311. package/src/namespaces/Uistickyfeed.ts +23 -23
  312. package/src/namespaces/Unlock.ts +5 -5
  313. package/src/namespaces/VehicleStatics.ts +12 -12
  314. package/src/namespaces/Voice.ts +70 -70
  315. package/src/namespaces/VolumeStatics.ts +143 -143
  316. package/src/namespaces/WeaponStatics.ts +383 -383
  317. package/src/types/NativeAliases.ts +6 -1
@@ -109,395 +109,169 @@ export declare class Graphics {
109
109
  */
110
110
  static drawLightWithRange(pos: Vector3, colorR: number, colorG: number, colorB: number, range: number, intensity: number): void;
111
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;
119
- /**
120
- * @param effectName
121
- * @param entity
122
- * @param offset
123
- * @param rot
124
- * @param scale
125
- * @param axisX
126
- * @param axisY
127
- * @param axisZ
128
- * @returns
129
- */
130
- static startNetworkedParticleFxNonLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
131
- /**
132
- * @param lock
133
- */
134
- static setPhotoModeExposureLocked(lock: boolean): void;
135
- static N_0x815653A42C5ABE76(): void;
136
- /**
137
- * @param effectName
138
- * @returns
139
- */
140
- static animpostfxIsTagPlaying(effectName: string | null): any;
141
- /**
142
- * enum class eSnowCoverageType
143
- * {
144
- * Primary,
145
- * Secondary,
146
- * Xmas,
147
- * XmasSecondary // since b1232
148
- * };
149
- *
150
- * @param type
151
- */
152
- static setSnowCoverageType(type: number): void;
153
- /**
154
- * @param effectNameHash
155
- */
156
- static animpostfxPlayTag(effectNameHash: string | number): void;
157
- /**
158
- * @param pickupObject
159
- * @param toggle
160
- */
161
- static blockPickupObjectLight(pickupObject: Prop, toggle: boolean): void;
162
- /**
163
- * @param effectName
164
- * @param entity
165
- * @param offset
166
- * @param rot
167
- * @param scale
168
- * @param xAxis
169
- * @param yAxis
170
- * @param zAxis
171
- * @returns
172
- */
173
- static startNetworkedParticleFxLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
174
- /**
175
- * @param pos
176
- * @param radius
177
- */
178
- static removeParticleFxInRange(pos: Vector3, radius: number): void;
179
- /**
180
- * https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_looped.lua
181
- *
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
191
- */
192
- static startParticleFxLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean, p11: boolean): number;
193
- /**
194
- * @returns
195
- */
196
- static getTimecycleModifierIndex(): number;
197
- /**
198
- * nullsub, doesn't do anything
112
+ * Sets the draw order for script draw commands.
199
113
  *
200
- * @param toggle
114
+ * @param drawOrder
201
115
  */
202
- static enableMovieSubtitles(toggle: boolean): void;
116
+ static setScriptGfxDrawOrder(drawOrder: number): void;
203
117
  /**
204
118
  * @param p0
205
- * @param p1
206
- * @param p2
207
- * @param p3
208
- * @param p4
209
- */
210
- static N_0x171C18E994C1A395(p0: any, p1: any, p2: any, p3: any, p4: any): void;
211
- /**
212
- * Doesn't actually return anything. ANIMPOSTFX_*
213
- *
214
- * @returns
215
- */
216
- static N_0xC37792A3F9C90771(): any;
217
- /**
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
226
- */
227
- static addVegModifierZone(volume: Volume, p1: number, flags: number, p3: number): number;
228
- /**
229
- * Returns proxyInteriorIndex
230
- *
231
- * @param interiorId
232
- * @returns
233
119
  */
234
- static getProxyInteriorIndex(interiorId: number): number;
235
- static endPetrolTrailDecals(): void;
236
- /**
237
- * ANIMPOSTFX_*
238
- *
239
- * @param effectName
240
- * @param p1
241
- * @param p2
242
- * @returns p3
243
- */
244
- static N_0xFBF161FCFEC8589E(effectName: string | null, p1: number, p2: boolean): [boolean, boolean];
245
- /**
246
- * 0 = succeeded
247
- * 1 = getting status
248
- * 2 = failed
249
- *
250
- * @returns
251
- */
252
- static getStatusOfSaveHighQualityPhoto(): number;
120
+ static enableStaticVegModifier(p0: string | number): void;
253
121
  /**
254
122
  * @returns
255
123
  */
256
- static isPhotoFrame(): boolean;
124
+ static getTvChannel(): number;
125
+ static N_0x9D1B0B5066205692(): void;
257
126
  /**
258
- * @param p0
259
- * @param p1
260
- * @param p2
261
- * @param p3
262
- * @param p4
263
- * @param p5
264
- * @param p6
265
- * @param p7
266
- * @param p8
267
- * @param p9
268
- * @param p10
127
+ * @param alpha
269
128
  */
270
- static N_0x4D14AF567FC02885(p0: any, p1: any, p2: any, p3: any, p4: any, p5: any, p6: any, p7: any, p8: any, p9: any, p10: any): void;
129
+ static setParticleFxNonLoopedAlpha(alpha: number): void;
271
130
  /**
272
- * @param effectName
273
- * @returns
131
+ * @param point
274
132
  */
275
- static animpostfxIsRunning(effectName: string | null): boolean;
133
+ static destroyTrackedPoint(point: number): void;
276
134
  /**
277
- * Used for script function RPG_GLOBAL_STATS__PRIVATE__ACTIVATE_STAT_FLAG - Quite and Inspiration Aura equip
278
- * Params: 0f, 2f, 2f
279
- *
280
135
  * @param p0
281
- * @param p1
282
- * @param p2
283
136
  */
284
- static setEntityAura(p0: number, p1: number, p2: number): void;
137
+ static N_0x67B0778C62E74423(p0: any): void;
285
138
  /**
286
139
  * ANIMPOSTFX_*
287
140
  *
288
141
  * @param effectNameHash
289
- * @returns
290
142
  */
291
- static N_0xE75CDDEBF618C8FF(effectNameHash: string | number): boolean;
292
- /**
293
- * @param pos
294
- */
295
- static addBloodTrailSplat(pos: Vector3): void;
296
- /**
297
- * https://i.imgur.com/ULQU9US.jpg
298
- * More rounded and small puddle
299
- *
300
- * @param pos
301
- * @param unused
302
- */
303
- static addBloodPool(pos: Vector3, unused: boolean): void;
304
- /**
305
- * Only used in finale2, smuggler2, winter4
306
- * _SET_CLOUD_A* - _SET_CLOUD_H*
307
- *
308
- * @param pos
309
- */
310
- static setCloudPosition(pos: Vector3): void;
311
- /**
312
- * @param p0
313
- * @param p1
314
- */
315
- static N_0xA04EF43030593ABC(p0: any, p1: any): void;
316
- /**
317
- * Called together with FREE_MEMORY_FOR_LOW_QUALITY_PHOTO
318
- *
319
- * @param p0
320
- * @returns
321
- */
322
- static beginCreateLowQualityCopyOfPhoto(p0: number): boolean;
323
- /**
324
- * @param player
325
- */
326
- static setPlayerAppearInPhoto(player: Player): void;
327
- /**
328
- * @param checkpoint
329
- * @returns
330
- */
331
- static doesCheckpointHaveFx(checkpoint: number): any;
332
- /**
333
- * https://github.com/femga/rdr3_discoveries/blob/master/graphics/timecycles
334
- *
335
- * @param modifierName
336
- */
337
- static setTimecycleModifier(modifierName: string | null): void;
338
- /**
339
- * @param strength
340
- */
341
- static setTimecycleModifierStrength(strength: number): void;
342
- /**
343
- * @param toggle
344
- */
345
- static togglePausedRenderphases(toggle: boolean): void;
346
- /**
347
- * R* Script spd_agnesdow1: p0 = SPD_AGNES_DOWD_01
348
- *
349
- * @param p0
350
- * @returns
351
- */
352
- static N_0xFD05B1DDE83749FA(p0: string | null): boolean;
353
- /**
354
- * @param p0
355
- */
356
- static setParticleFxFootLodrangeScale(p0: number): void;
357
- /**
358
- * @param ptfxHandle
359
- * @returns
360
- */
361
- static doesParticleFxLoopedExist(ptfxHandle: number): boolean;
362
- /**
363
- * @param effectName
364
- * @param entity
365
- * @param offset
366
- * @param rot
367
- * @param scale
368
- * @param axisX
369
- * @param axisY
370
- * @param axisZ
371
- * @returns
372
- */
373
- static startParticleFxNonLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
374
- /**
375
- * @returns
376
- */
377
- static getTogglePausedRenderphasesStatus(): boolean;
143
+ static N_0x71845905BCCDE781(effectNameHash: string | number): void;
144
+ static N_0xF2F543D48F319A3A(): void;
378
145
  /**
379
- * Only used in R* SP Script spd_agnesdown1
146
+ * ANIMPOSTFX_*
380
147
  *
381
- * @param p0
382
148
  * @returns
383
149
  */
384
- static N_0x5C9C3A466B3296A8(p0: any): any;
385
- /**
386
- * @param entity
387
- * @param mask
388
- */
389
- static addEntityToEntityMask(entity: Entity, mask: number): void;
150
+ static N_0x3DA7A10583A4BEC0(): boolean;
390
151
  /**
391
- * Always returns 200.
152
+ * Does not affect weapons, particles, fire/explosions, flashlights or the sun.
153
+ * 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.
392
154
  *
393
- * @returns
394
- */
395
- static getMaxNumberOfLocalPhotos(): number;
396
- /**
397
- * @param channel
398
- */
399
- static setTvChannel(channel: number): void;
400
- /**
401
- * @param pos
402
- * @param p3
155
+ * @param state
403
156
  */
404
- static addPetrolTrailDecalInfo(pos: Vector3, p3: number): void;
157
+ static setArtificialLightsState(state: boolean): void;
405
158
  /**
406
- * ANIMPOSTFX_*
159
+ * Possible values:
160
+ * "CSM_ST_POINT"
161
+ * "CSM_ST_LINEAR"
162
+ * "CSM_ST_BOX3x3"
163
+ * "CSM_ST_BOX4x4"
164
+ * "CSM_ST_DITHER2_LINEAR"
165
+ * "CSM_ST_CUBIC"
166
+ * "CSM_ST_POISSON16"
167
+ * "CSM_ST_SOFT8"
168
+ * "CSM_ST_SOFT16"
169
+ * "CSM_ST_SOFT32"
170
+ * "CSM_ST_DITHER16_RPDB"
171
+ * "CSM_ST_POISSON16_RPDB_GNORM"
172
+ * "CSM_ST_HIGHRES_BOX4x4"
173
+ * "CSM_ST_ESM"
407
174
  *
408
- * @param effectName
409
- * @returns
175
+ * @param type
410
176
  */
411
- static N_0xB958D97A0DFAA0C2(effectName: string | null): boolean;
177
+ static cascadeShadowsSetShadowSampleType(type: string | null): void;
412
178
  /**
413
- * @param txdHash
414
- * @param dict
415
- * @returns
179
+ * @param p0
416
180
  */
417
- static isTextureInDict(txdHash: string | number, dict: string | number): any;
418
- static N_0x910E260AEAD855DE(): void;
181
+ static N_0x519928DF02EB5101(p0: any): void;
419
182
  /**
420
- * Creates blood pools for the given ped in some interval for a few seconds.
183
+ * Gets set to 1 when GET_STATUS_OF_TAKE_HIGH_QUALITY_PHOTO = PHOTO_OPERATION_SUCCEEDED
421
184
  *
422
- * @param ped
185
+ * @param p0
423
186
  */
424
- static addBloodPoolsForPed(ped: Ped): void;
187
+ static N_0x0D5B19C34068FEE7(p0: any): void;
425
188
  /**
426
- * @param texture
427
- * @param ped
428
- * @param playerSlot
429
- * @returns
189
+ * type must be less than or equal to 20
190
+ *
191
+ * @param entity
192
+ * @param type
430
193
  */
431
- static pedshotGeneratePersonaPhoto(texture: string | null, ped: Ped, playerSlot: number): boolean;
194
+ static setLightsTypeForEntity(entity: Entity, type: number): void;
432
195
  /**
433
- * @returns
196
+ * @param p0
197
+ * @param p1
198
+ * @param p2
199
+ * @param p3
434
200
  */
435
- static queueOperationToCreateSortedListOfPhotos(): any;
201
+ static N_0xD543487A1F12828F(p0: any, p1: any, p2: any, p3: any): void;
202
+ static N_0xEC3F7F24EEEB3BA3(): void;
436
203
  /**
204
+ * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
205
+ *
437
206
  * @param p0
438
207
  */
439
- static setRegionPhotoTakenStat(p0: string | null): void;
208
+ static N_0x41F88A85A579A61D(p0: number): void;
209
+ static freeMemoryForLowQualityPhoto(): void;
210
+ static freeMemoryForHighQualityPhoto(): void;
211
+ static N_0x32DE2BFFDA43E62A(): void;
440
212
  /**
441
- * @param effectName
213
+ * Resets the exposure to the value when exposure lock was enabled
442
214
  */
443
- static animpostfxSetToUnload(effectName: string | null): void;
215
+ static updatePhotoModeExposure(): void;
444
216
  /**
445
- * @param proxyInteriorIndex
446
- * @returns
217
+ * @param effectName
447
218
  */
448
- static isProxyInteriorIndexArtificialLightsEnabled(proxyInteriorIndex: number): any;
219
+ static animpostfxPreloadPostfx(effectName: string | null): void;
449
220
  /**
450
- * @param p0
221
+ * @param strength
451
222
  */
452
- static setPhotoInPhotomodeStat(p0: boolean): void;
223
+ static setTransitionOutOfTimecycleModifier(strength: number): void;
453
224
  /**
454
- * @param entity
455
- * @param intensity
225
+ * @param effectName
226
+ * @param p1
227
+ * @param color
228
+ * @param alpha
456
229
  */
457
- static setLightsIntensityForEntity(entity: Entity, intensity: number): void;
230
+ static animpostfxSetPostfxColor(effectName: string | null, p1: number, color: Color, alpha: number): void;
458
231
  /**
459
- * @param entity
232
+ * @param p0
233
+ * @param p1
460
234
  */
461
- static updateLightsOnEntity(entity: Entity): void;
235
+ static startPetrolTrailDecals(p0: any, p1: any): void;
462
236
  /**
463
- * @returns
237
+ * @param pickupObject
238
+ * @param allow
464
239
  */
465
- static getStatusOfTakeHighQualityPhoto(): number;
240
+ static allowPickupLightSync(pickupObject: Prop, allow: boolean): void;
241
+ static freeMemoryForMissionCreatorPhoto(): void;
466
242
  /**
243
+ * Returns veg modifier handle
244
+ *
245
+ * @param pos
246
+ * @param radius
247
+ * @param modType
248
+ * @param flags
249
+ * @param p6
467
250
  * @returns
468
251
  */
469
- static N_0x285438C26C732F9D(): any;
252
+ static addVegModifierSphere(pos: Vector3, radius: number, modType: number, flags: number, p6: number): number;
470
253
  /**
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.
254
+ * Only used in R* SP Script spd_agnesdown1
472
255
  *
473
- * @param toggle
474
- */
475
- static setScriptGfxDrawBehindPausemenu(toggle: boolean): void;
476
- /**
477
256
  * @param p0
478
- */
479
- static setDistrictPhotoTakenStat(p0: string | null): void;
480
- /**
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
257
+ * @param pos
258
+ * @param p4
259
+ * @param p5
260
+ * @param heading
490
261
  * @returns
491
262
  */
492
- static startParticleFxLoopedOnPedBone(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
263
+ static N_0x402E1A61D2587FCD(p0: any, pos: Vector3, p4: number, p5: number, heading: number): boolean;
493
264
  /**
494
- * @param p0
265
+ * @returns
495
266
  */
496
- static setPhotoStudioStat(p0: number): void;
267
+ static N_0xFC9B53C072F418E0(): any;
497
268
  /**
498
- * @param effectName
269
+ * state: false disables artificial interior light sources for specific proxyInteriorIndex
270
+ *
271
+ * @param proxyInteriorIndex
272
+ * @param state
499
273
  */
500
- static animpostfxStop(effectName: string | null): void;
274
+ static setProxyInteriorIndexArtificialLightsState(proxyInteriorIndex: number, state: boolean): void;
501
275
  static resetPausedRenderphases(): void;
502
276
  /**
503
277
  * @param unused
@@ -576,97 +350,6 @@ export declare class Graphics {
576
350
  * @param height
577
351
  */
578
352
  static setCloudHeight(height: number): void;
579
- /**
580
- * Related to Campfires.
581
- * p1: AMB_BONFIRE_MP, AMB_CAMPFIRE_LRG_MP
582
- *
583
- * @param entity
584
- * @param p1
585
- * @param r
586
- * @param g
587
- * @param b
588
- */
589
- static setParticleFxAmbientColour(entity: Entity, p1: string | null, r: number, g: number, b: number): void;
590
- /**
591
- * Resets the effect of SET_PARTICLE_FX_OVERRIDE
592
- *
593
- * @param name
594
- */
595
- static resetParticleFxOverride(name: string | null): void;
596
- /**
597
- * must be called after ANIMPOSTFX_PLAY, strength 0.0f - 1.0f
598
- *
599
- * @param effectName
600
- * @param strength
601
- */
602
- static animpostfxSetStrength(effectName: string | null, strength: number): void;
603
- /**
604
- * @param p0
605
- * @param p1
606
- * @param p2
607
- * @param p3
608
- * @param p4
609
- */
610
- static N_0xCC3B787E73E64160(p0: any, p1: any, p2: any, p3: any, p4: any): void;
611
- /**
612
- * @param volume
613
- */
614
- static setTvVolume(volume: number): void;
615
- /**
616
- * Creates a tracked point, useful for checking the visibility of a 3D point on screen.
617
- *
618
- * @returns
619
- */
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;
645
- /**
646
- * effectName2, p2 and p3 are unused ANIMPOSTFX_*
647
- *
648
- * @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
353
  /**
671
354
  * When this is set to ON, shadows only draw as you get nearer. When OFF, they draw from a further distance.
672
355
  *
@@ -746,352 +429,381 @@ export declare class Graphics {
746
429
  */
747
430
  static changePhotoModeContrast(value: number): void;
748
431
  /**
749
- * Sets the draw order for script draw commands.
432
+ * Returns proxyInteriorIndex
750
433
  *
751
- * @param drawOrder
434
+ * @param interiorId
435
+ * @returns
752
436
  */
753
- static setScriptGfxDrawOrder(drawOrder: number): void;
437
+ static getProxyInteriorIndex(interiorId: number): number;
438
+ static endPetrolTrailDecals(): void;
754
439
  /**
755
- * @param p0
440
+ * ANIMPOSTFX_*
441
+ *
442
+ * @param effectName
443
+ * @param p1
444
+ * @param p2
445
+ * @returns p3
756
446
  */
757
- static enableStaticVegModifier(p0: string | number): void;
447
+ static N_0xFBF161FCFEC8589E(effectName: string | null, p1: number, p2: boolean): [boolean, boolean];
448
+ /**
449
+ * 0 = succeeded
450
+ * 1 = getting status
451
+ * 2 = failed
452
+ *
453
+ * @returns
454
+ */
455
+ static getStatusOfSaveHighQualityPhoto(): number;
758
456
  /**
759
457
  * @returns
760
458
  */
761
- static getTvChannel(): number;
762
- static N_0x9D1B0B5066205692(): void;
459
+ static isPhotoFrame(): boolean;
763
460
  /**
764
- * @param alpha
461
+ * @param p0
462
+ * @param p1
463
+ * @param p2
464
+ * @param p3
465
+ * @param p4
466
+ * @param p5
467
+ * @param p6
468
+ * @param p7
469
+ * @param p8
470
+ * @param p9
471
+ * @param p10
765
472
  */
766
- static setParticleFxNonLoopedAlpha(alpha: number): void;
473
+ static N_0x4D14AF567FC02885(p0: any, p1: any, p2: any, p3: any, p4: any, p5: any, p6: any, p7: any, p8: any, p9: any, p10: any): void;
767
474
  /**
768
- * @param point
475
+ * @param effectName
476
+ * @returns
769
477
  */
770
- static destroyTrackedPoint(point: number): void;
478
+ static animpostfxIsRunning(effectName: string | null): boolean;
771
479
  /**
480
+ * Used for script function RPG_GLOBAL_STATS__PRIVATE__ACTIVATE_STAT_FLAG - Quite and Inspiration Aura equip
481
+ * Params: 0f, 2f, 2f
482
+ *
772
483
  * @param p0
484
+ * @param p1
485
+ * @param p2
773
486
  */
774
- static N_0x67B0778C62E74423(p0: any): void;
487
+ static setEntityAura(p0: number, p1: number, p2: number): void;
775
488
  /**
776
489
  * ANIMPOSTFX_*
777
490
  *
778
491
  * @param effectNameHash
492
+ * @returns
779
493
  */
780
- static N_0x71845905BCCDE781(effectNameHash: string | number): void;
781
- static N_0xF2F543D48F319A3A(): void;
494
+ static N_0xE75CDDEBF618C8FF(effectNameHash: string | number): boolean;
782
495
  /**
783
- * ANIMPOSTFX_*
784
- *
785
- * @returns
496
+ * @param pos
786
497
  */
787
- static N_0x3DA7A10583A4BEC0(): boolean;
498
+ static addBloodTrailSplat(pos: Vector3): void;
788
499
  /**
789
- * Does not affect weapons, particles, fire/explosions, flashlights or the sun.
790
- * When set to true, all emissive textures (including ped components that have light effects), street lights, building lights, vehicle lights, etc will all be turned off. state: True turns off all artificial light sources in the map: buildings, street lights, car lights, etc. False turns them back on.
500
+ * https://i.imgur.com/ULQU9US.jpg
501
+ * More rounded and small puddle
791
502
  *
792
- * @param state
503
+ * @param pos
504
+ * @param unused
793
505
  */
794
- static setArtificialLightsState(state: boolean): void;
506
+ static addBloodPool(pos: Vector3, unused: boolean): void;
795
507
  /**
796
- * Possible values:
797
- * "CSM_ST_POINT"
798
- * "CSM_ST_LINEAR"
799
- * "CSM_ST_BOX3x3"
800
- * "CSM_ST_BOX4x4"
801
- * "CSM_ST_DITHER2_LINEAR"
802
- * "CSM_ST_CUBIC"
803
- * "CSM_ST_POISSON16"
804
- * "CSM_ST_SOFT8"
805
- * "CSM_ST_SOFT16"
806
- * "CSM_ST_SOFT32"
807
- * "CSM_ST_DITHER16_RPDB"
808
- * "CSM_ST_POISSON16_RPDB_GNORM"
809
- * "CSM_ST_HIGHRES_BOX4x4"
810
- * "CSM_ST_ESM"
508
+ * Only used in finale2, smuggler2, winter4
509
+ * _SET_CLOUD_A* - _SET_CLOUD_H*
811
510
  *
812
- * @param type
511
+ * @param pos
813
512
  */
814
- static cascadeShadowsSetShadowSampleType(type: string | null): void;
513
+ static setCloudPosition(pos: Vector3): void;
815
514
  /**
816
515
  * @param p0
516
+ * @param p1
817
517
  */
818
- static N_0x519928DF02EB5101(p0: any): void;
518
+ static N_0xA04EF43030593ABC(p0: any, p1: any): void;
819
519
  /**
820
- * Gets set to 1 when GET_STATUS_OF_TAKE_HIGH_QUALITY_PHOTO = PHOTO_OPERATION_SUCCEEDED
520
+ * Called together with FREE_MEMORY_FOR_LOW_QUALITY_PHOTO
821
521
  *
822
522
  * @param p0
523
+ * @returns
823
524
  */
824
- static N_0x0D5B19C34068FEE7(p0: any): void;
525
+ static beginCreateLowQualityCopyOfPhoto(p0: number): boolean;
825
526
  /**
826
- * type must be less than or equal to 20
827
- *
828
- * @param entity
829
- * @param type
527
+ * @param player
830
528
  */
831
- static setLightsTypeForEntity(entity: Entity, type: number): void;
529
+ static setPlayerAppearInPhoto(player: Player): void;
832
530
  /**
833
- * @param p0
834
- * @param p1
835
- * @param p2
836
- * @param p3
531
+ * @param checkpoint
532
+ * @returns
837
533
  */
838
- static N_0xD543487A1F12828F(p0: any, p1: any, p2: any, p3: any): void;
839
- static N_0xEC3F7F24EEEB3BA3(): void;
534
+ static doesCheckpointHaveFx(checkpoint: number): any;
840
535
  /**
841
- * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
536
+ * Creates blood pools for the given ped in some interval for a few seconds.
842
537
  *
843
- * @param p0
538
+ * @param ped
844
539
  */
845
- static N_0x41F88A85A579A61D(p0: number): void;
846
- static freeMemoryForLowQualityPhoto(): void;
847
- static freeMemoryForHighQualityPhoto(): void;
848
- static N_0x32DE2BFFDA43E62A(): void;
540
+ static addBloodPoolsForPed(ped: Ped): void;
849
541
  /**
850
- * Resets the exposure to the value when exposure lock was enabled
542
+ * @param texture
543
+ * @param ped
544
+ * @param playerSlot
545
+ * @returns
851
546
  */
852
- static updatePhotoModeExposure(): void;
547
+ static pedshotGeneratePersonaPhoto(texture: string | null, ped: Ped, playerSlot: number): boolean;
853
548
  /**
854
- * @param effectName
549
+ * @returns
855
550
  */
856
- static animpostfxPreloadPostfx(effectName: string | null): void;
551
+ static queueOperationToCreateSortedListOfPhotos(): any;
857
552
  /**
858
- * @param strength
553
+ * @param p0
859
554
  */
860
- static setTransitionOutOfTimecycleModifier(strength: number): void;
555
+ static setRegionPhotoTakenStat(p0: string | null): void;
861
556
  /**
862
557
  * @param effectName
863
- * @param p1
864
- * @param color
865
- * @param alpha
866
558
  */
867
- static animpostfxSetPostfxColor(effectName: string | null, p1: number, color: Color, alpha: number): void;
559
+ static animpostfxSetToUnload(effectName: string | null): void;
560
+ /**
561
+ * @param proxyInteriorIndex
562
+ * @returns
563
+ */
564
+ static isProxyInteriorIndexArtificialLightsEnabled(proxyInteriorIndex: number): any;
868
565
  /**
869
566
  * @param p0
870
- * @param p1
871
567
  */
872
- static startPetrolTrailDecals(p0: any, p1: any): void;
568
+ static setPhotoInPhotomodeStat(p0: boolean): void;
873
569
  /**
874
- * @param pickupObject
875
- * @param allow
570
+ * @param entity
571
+ * @param intensity
876
572
  */
877
- static allowPickupLightSync(pickupObject: Prop, allow: boolean): void;
878
- static freeMemoryForMissionCreatorPhoto(): void;
573
+ static setLightsIntensityForEntity(entity: Entity, intensity: number): void;
879
574
  /**
880
- * Returns veg modifier handle
881
- *
882
- * @param pos
883
- * @param radius
884
- * @param modType
885
- * @param flags
886
- * @param p6
887
- * @returns
575
+ * @param entity
888
576
  */
889
- static addVegModifierSphere(pos: Vector3, radius: number, modType: number, flags: number, p6: number): number;
577
+ static updateLightsOnEntity(entity: Entity): void;
890
578
  /**
891
- * Only used in R* SP Script spd_agnesdown1
892
- *
893
- * @param p0
894
- * @param pos
895
- * @param p4
896
- * @param p5
897
- * @param heading
898
579
  * @returns
899
580
  */
900
- static N_0x402E1A61D2587FCD(p0: any, pos: Vector3, p4: number, p5: number, heading: number): boolean;
581
+ static getStatusOfTakeHighQualityPhoto(): number;
901
582
  /**
902
583
  * @returns
903
584
  */
904
- static N_0xFC9B53C072F418E0(): any;
585
+ static N_0x285438C26C732F9D(): any;
905
586
  /**
906
- * state: false disables artificial interior light sources for specific proxyInteriorIndex
587
+ * 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.
907
588
  *
908
- * @param proxyInteriorIndex
909
- * @param state
589
+ * @param toggle
910
590
  */
911
- static setProxyInteriorIndexArtificialLightsState(proxyInteriorIndex: number, state: boolean): void;
591
+ static setScriptGfxDrawBehindPausemenu(toggle: boolean): void;
592
+ /**
593
+ * @param p0
594
+ */
595
+ static setDistrictPhotoTakenStat(p0: string | null): void;
912
596
  /**
597
+ * @param effectName
598
+ * @param ped
599
+ * @param offset
600
+ * @param rot
601
+ * @param boneIndex
913
602
  * @param scale
603
+ * @param xAxis
604
+ * @param yAxis
605
+ * @param zAxis
606
+ * @returns
914
607
  */
915
- static setParticleFxBulletImpactScale(scale: number): void;
608
+ static startParticleFxLoopedOnPedBone(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
609
+ /**
610
+ * @param p0
611
+ */
612
+ static setPhotoStudioStat(p0: number): void;
613
+ /**
614
+ * @param effectName
615
+ */
616
+ static animpostfxStop(effectName: string | null): void;
916
617
  /**
917
618
  * @param p0
918
619
  * @param p1
919
- * @param p2
620
+ */
621
+ static N_0xC489FE31AC726512(p0: any, p1: any): void;
622
+ /**
623
+ * https://i.imgur.com/rPITUCV.jpg
624
+ * More customizable and more like quadrants
625
+ *
626
+ * @param pos
920
627
  * @param p3
921
- * @param p4
628
+ * @param size
922
629
  * @param p5
923
- * @param p6
630
+ * @param permanent
924
631
  * @param p7
632
+ * @param p8
925
633
  */
926
- static cascadeShadowsSetCascadeBounds(p0: any, p1: boolean, p2: number, p3: number, p4: number, p5: number, p6: boolean, p7: number): void;
634
+ static addBloodPool2(pos: Vector3, p3: number, size: number, p5: number, permanent: boolean, p7: number, p8: boolean): void;
927
635
  /**
928
- * @param value
636
+ * p1: 0.3f in R* Scripts
637
+ *
638
+ * @param waypointRecording
639
+ * @param p1
929
640
  */
930
- static changePhotoModeExposure(value: number): void;
641
+ static bloodTrailForWaypoint(waypointRecording: string | null, p1: number): void;
931
642
  /**
932
- * @param point
933
- * @returns
643
+ * @param ptfxHandle
644
+ * @param range
934
645
  */
935
- static isTrackedPointValid(point: number): any;
646
+ static setParticleFxLoopedFarClipDist(ptfxHandle: number, range: number): void;
936
647
  /**
937
- * Old name: _ENABLE_EXTRA_TIMECYCLE_MODIFIER_STRENGTH
938
- *
939
- * @param strength
648
+ * @param p0
649
+ * @param p1
940
650
  */
941
- static enableMoonCycleOverride(strength: number): void;
942
- static setDisablePetrolDecalsIgnitingThisFrame(): void;
651
+ static N_0x085C5B61A0114F32(p0: any, p1: any): void;
943
652
  /**
944
- * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
945
- *
946
653
  * @param p0
947
654
  */
948
- static N_0x4BD66B4E3427689B(p0: string | null): void;
655
+ static N_0x9F158A49B0D84C3C(p0: any): void;
949
656
  /**
950
- * Enables/disables a kind of 'shiny' effect on metals.
951
- *
952
- * @param object
953
- * @param toggle
657
+ * @returns
954
658
  */
955
- static setPearlescentFxEnabled(object: Prop, toggle: boolean): void;
659
+ static N_0x5C674EB487891F6B(): any;
956
660
  /**
957
- * @param enabled
661
+ * Params: component - used in odriscolls1 and sean1 R* SP Script: COMPONENT_BINOCULARS_SCOPE01
662
+ * Triggers the binocular scaleform
663
+ *
664
+ * @param component
958
665
  */
959
- static setSniperGlintsEnabled(enabled: boolean): void;
666
+ static N_0x21F00E08CBB5F37B(component: string | null): void;
960
667
  /**
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
668
+ * Sets an unknown value related to timecycles.
965
669
  *
966
- * @param slotId
967
- * @param componentHash
968
- * @param metapedType
969
- * @param p3
670
+ * @param unk
970
671
  */
971
- static generateSwatchTexture(slotId: number, componentHash: string | number, metapedType: number, p3: boolean): void;
672
+ static resetAdaptation(unk: number): void;
972
673
  /**
973
- * @param entity
974
- * @param mask
975
- * @param intensity
674
+ * @param effectNameHash
976
675
  */
977
- static addEntityToEntityMaskWithIntensity(entity: Entity, mask: number, intensity: number): void;
978
- static disableHdtexThisFrame(): void;
676
+ static animpostfxPreloadPostfxByStackhash(effectNameHash: string | number): void;
979
677
  /**
980
- * @param entity
678
+ * @param effectNameHash
679
+ * @param p1
680
+ * @param p2
681
+ * @returns p3
981
682
  */
982
- static attachTvAudioToEntity(entity: Entity): void;
683
+ static animpostfxHasEventTriggeredByStackhash(effectNameHash: string | number, p1: number, p2: boolean): [any, boolean];
684
+ static destroySwatchTextureDict(): void;
983
685
  /**
984
- * @param effectName
985
- * @param ped
986
- * @param offset
987
- * @param rot
988
- * @param boneIndex
989
- * @param scale
990
- * @param axisX
991
- * @param axisY
992
- * @param axisZ
993
686
  * @returns
994
687
  */
995
- static startParticleFxNonLoopedOnPedBone(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
688
+ static beginTakeHighQualityPhoto(): any;
996
689
  /**
997
- * contentId: returned by NETWORK::_UGC_QUERY_GET_CREATOR_PHOTO(uVar0, 0, sParam3)
690
+ * Old name: _IS_TV_PLAYLIST_ITEM_PLAYING
998
691
  *
999
- * @param contentId
692
+ * @param videoCliphash
1000
693
  * @returns
1001
694
  */
1002
- static getStatusOfLoadMissionCreatorPhoto(contentId: string | null): number;
695
+ static isTvshowCurrentlyPlaying(videoCliphash: string | number): boolean;
1003
696
  /**
1004
697
  * @param p0
1005
698
  */
1006
- static N_0x6C03118E9E5C1A14(p0: any): void;
699
+ static N_0x8996FA6AD9FE4E90(p0: any): void;
1007
700
  /**
1008
- * https://imgur.com/a/I2swSDJ Old name: _SET_PICKUP_OBJECT_GLOW_ENABLED
701
+ * @param obj
702
+ */
703
+ static removeDecalsFromObject(obj: Prop): void;
704
+ /**
705
+ * https://github.com/femga/rdr3_discoveries/blob/master/graphics/markers/marker_types.lua
706
+ * Old name: _DRAW_MARKER
1009
707
  *
1010
- * @param object
1011
- * @param toggle
708
+ * @param type
709
+ * @param pos
710
+ * @param direction
711
+ * @param rot
712
+ * @param scale
713
+ * @param color
714
+ * @param alpha
715
+ * @param bobUpAndDown
716
+ * @param faceCamera
717
+ * @param p19
718
+ * @param rotate
719
+ * @param textureDict
720
+ * @param textureName
721
+ * @param drawOnEnts
1012
722
  */
1013
- static setPickupLight(object: Prop, toggle: boolean): void;
723
+ 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;
1014
724
  /**
1015
- * @param entity
725
+ * @param r
726
+ * @param g
727
+ * @param b
1016
728
  */
1017
- static removeParticleFxFromEntity(entity: Entity): void;
729
+ static setParticleFxNonLoopedColour(r: number, g: number, b: number): void;
1018
730
  /**
1019
- * @param ptfxHandle
1020
- * @param p1
731
+ * @param p0
1021
732
  */
1022
- static stopParticleFxLooped(ptfxHandle: number, p1: boolean): void;
733
+ static N_0xF5793BB386E1FF9C(p0: any): void;
1023
734
  /**
1024
- * p1: AMB_ANN_COAL_CHUTE_DIVE, AMB_ANN_COAL_CHUTE
1025
- * p2: EMIT
1026
- * p3: either 0.0f or 1.0f
735
+ * Used in shop scripts for CATALOG_BOOK
736
+ * false = Normal -> [CATALOG_BOOK_SHUTDOWN]
737
+ * true = Trees flickering? -> [CATALOG_BOOK_OPEN]
1027
738
  *
1028
- * @param entity
1029
- * @param p1
1030
- * @param p2
1031
- * @param p3
739
+ * @param p0
1032
740
  */
1033
- static N_0x4FB67D172C4476F3(entity: Entity, p1: string | null, p2: string | null, p3: number): void;
741
+ static N_0x1A9F09AB458D49C6(p0: boolean): void;
1034
742
  /**
1035
- * @param typeHash
1036
- * @param pos1
1037
- * @param pos2
1038
- * @param radius
1039
- * @param color
1040
- * @param alpha
1041
- * @param reserved
1042
- * @returns
743
+ * @param effectName
744
+ * @param duration
1043
745
  */
1044
- static createCheckpointWithNamehash(typeHash: string | number, pos1: Vector3, pos2: Vector3, radius: number, color: Color, alpha: number, reserved: number): number;
1045
- static disableEntitymask(): void;
746
+ static animpostfxPlayTimed(effectName: string | null, duration: number): void;
1046
747
  /**
1047
- * Returns iNumPixels, iPixelsVisible
1048
- *
1049
- * @param iTrackedPoint
748
+ * @param effectName
749
+ * @param entity
750
+ * @param offset
751
+ * @param rot
752
+ * @param boneIndex
753
+ * @param scale
754
+ * @param xAxis
755
+ * @param yAxis
756
+ * @param zAxis
1050
757
  * @returns
1051
758
  */
1052
- static N_0xDFE332A5DA6FE7C9(iTrackedPoint: number): number;
759
+ static startNetworkedParticleFxLoopedOnEntityBone(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
1053
760
  /**
1054
- * @param entity
1055
- * @returns layer0; layer1; layer2; layer3
761
+ * @param p0
762
+ * @param p1
763
+ * @param p2
1056
764
  */
1057
- static setEntityMaskLayers(entity: Entity): [number, number, number, number];
765
+ static N_0x735762E8D7573E42(p0: any, p1: any, p2: any): void;
1058
766
  /**
1059
- * @param point
1060
- * @returns
767
+ * Only used in guama1 R* Script
768
+ * Disables lod/distant lights when BOOL is set to true
769
+ *
770
+ * @param disable
1061
771
  */
1062
- static isTrackedPointVisible(point: number): boolean;
1063
- static clearTimecycleModifier(): void;
772
+ static disableFarArtificialLights(disable: boolean): void;
1064
773
  /**
1065
- * Closes the the binocular scaleform
774
+ * @param decal
1066
775
  */
1067
- static N_0x5AC6E0FA028369DE(): void;
776
+ static removeDecal(decal: number): void;
1068
777
  /**
1069
- * ANIMPOSTFX_*
778
+ * Hardcoded to always set x to 1280 and y to 720.
1070
779
  *
1071
- * @param effectNameHash
780
+ * @returns x; y
1072
781
  */
1073
- static N_0xC76FC4C2FC5F4405(effectNameHash: string | number): void;
782
+ static getScreenResolution(): [number, number];
1074
783
  /**
784
+ * ANIMPOSTFX_*
785
+ *
1075
786
  * @param effectName
1076
787
  */
1077
- static animpostfxStopTag(effectName: string | null): void;
788
+ static N_0xA201A3D0AC087C37(effectName: string | null): void;
1078
789
  /**
1079
- * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
1080
- * *ENABLE**
790
+ * @param modifierName
791
+ * @param transitionBlend
1081
792
  */
1082
- static N_0x812C1563185C6FB2(): void;
793
+ static setTransitionTimecycleModifier(modifierName: string | null, transitionBlend: number): void;
794
+ static enableEntitymask(): void;
1083
795
  /**
1084
- * @param posseId
796
+ * fxName: see data_0/data/effects/ptfx/fxlists/
797
+ *
798
+ * @param fxName
1085
799
  */
1086
- static setPosseIdForPhoto(posseId: any): void;
800
+ static useParticleFxAsset(fxName: string | null): void;
801
+ static animpostfxStopAll(): void;
1087
802
  /**
1088
- * Sets the checkpoint color.
1089
- *
1090
- * @param checkpoint
1091
- * @param color
1092
- * @param alpha
803
+ * @param pickup
804
+ * @param toggle
1093
805
  */
1094
- static setCheckpointRgba(checkpoint: number, color: Color, alpha: number): void;
806
+ static blockPickupPlacementLight(pickup: Pickup, toggle: boolean): void;
1095
807
  /**
1096
808
  * ANIMPOSTFX_*
1097
809
  *
@@ -1238,60 +950,177 @@ export declare class Graphics {
1238
950
  * @param p5
1239
951
  * @param p6
1240
952
  */
1241
- static N_0x48FE0DB54045B975(p0: any, p1: any, p2: any, p3: any, p4: any, p5: any, p6: any): void;
1242
- static cascadeShadowsClearShadowSampleType(): void;
953
+ static N_0x48FE0DB54045B975(p0: any, p1: any, p2: any, p3: any, p4: any, p5: any, p6: any): void;
954
+ static cascadeShadowsClearShadowSampleType(): void;
955
+ /**
956
+ * 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)
957
+ *
958
+ * @param x
959
+ * @param y
960
+ * @param width
961
+ * @param height
962
+ * @param color
963
+ * @param alpha
964
+ * @param p8
965
+ * @param p9
966
+ */
967
+ static drawRect(x: number, y: number, width: number, height: number, color: Color, alpha: number, p8: boolean, p9: boolean): void;
968
+ /**
969
+ * @param tvChannel
970
+ * @param playlistName
971
+ * @param restart
972
+ */
973
+ static setTvChannelPlaylist(tvChannel: number, playlistName: string | null, restart: boolean): void;
974
+ /**
975
+ * @param checkpoint
976
+ */
977
+ static deleteCheckpoint(checkpoint: number): void;
978
+ /**
979
+ * *DISABLE**
980
+ *
981
+ * @param p0
982
+ */
983
+ static N_0xFB680A9B33D0EDBE(p0: boolean): void;
984
+ /**
985
+ * @returns
986
+ */
987
+ static N_0xC28F62AC9774FC1B(): any;
988
+ /**
989
+ * @param p1
990
+ * @param p2
991
+ * @param p3
992
+ * @returns p0
993
+ */
994
+ static loadMissionCreatorPhoto(p1: any, p2: any, p3: any): [boolean, number];
995
+ /**
996
+ * @param entity
997
+ * @returns layer0; layer1; layer2; layer3
998
+ */
999
+ static getEntityMaskLayers(entity: Entity): [boolean, number, number, number, number];
1000
+ /**
1001
+ * @param ped
1002
+ * @param p1
1003
+ * @param size
1004
+ * @param p3
1005
+ */
1006
+ static addBloodPoolsForPedWithParams(ped: Ped, p1: number, size: number, p3: number): void;
1007
+ /**
1008
+ * Only used in guama1 R* SP Script while spawning the ship
1009
+ * *SET_ENTITY_QUATERNION** - SET_ENTITY_RENDER_*
1010
+ *
1011
+ * @param vehicle
1012
+ * @param toggle
1013
+ */
1014
+ static setEntityRenderGuarmaShip(vehicle: Vehicle, toggle: boolean): void;
1015
+ /**
1016
+ * @param effectName
1017
+ * @param entity
1018
+ * @param offset
1019
+ * @param rot
1020
+ * @param scale
1021
+ * @param axisX
1022
+ * @param axisY
1023
+ * @param axisZ
1024
+ * @returns
1025
+ */
1026
+ static startNetworkedParticleFxNonLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
1027
+ /**
1028
+ * @param lock
1029
+ */
1030
+ static setPhotoModeExposureLocked(lock: boolean): void;
1031
+ static N_0x815653A42C5ABE76(): void;
1032
+ /**
1033
+ * @param effectName
1034
+ * @returns
1035
+ */
1036
+ static animpostfxIsTagPlaying(effectName: string | null): any;
1037
+ /**
1038
+ * enum class eSnowCoverageType
1039
+ * {
1040
+ * Primary,
1041
+ * Secondary,
1042
+ * Xmas,
1043
+ * XmasSecondary // since b1232
1044
+ * };
1045
+ *
1046
+ * @param type
1047
+ */
1048
+ static setSnowCoverageType(type: number): void;
1049
+ /**
1050
+ * @param effectNameHash
1051
+ */
1052
+ static animpostfxPlayTag(effectNameHash: string | number): void;
1243
1053
  /**
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
1054
+ * @param pickupObject
1055
+ * @param toggle
1254
1056
  */
1255
- static drawRect(x: number, y: number, width: number, height: number, color: Color, alpha: number, p8: boolean, p9: boolean): void;
1057
+ static blockPickupObjectLight(pickupObject: Prop, toggle: boolean): void;
1256
1058
  /**
1257
- * @param tvChannel
1258
- * @param playlistName
1259
- * @param restart
1059
+ * @param effectName
1060
+ * @param entity
1061
+ * @param offset
1062
+ * @param rot
1063
+ * @param scale
1064
+ * @param xAxis
1065
+ * @param yAxis
1066
+ * @param zAxis
1067
+ * @returns
1260
1068
  */
1261
- static setTvChannelPlaylist(tvChannel: number, playlistName: string | null, restart: boolean): void;
1069
+ static startNetworkedParticleFxLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
1262
1070
  /**
1263
- * @param checkpoint
1071
+ * @param pos
1072
+ * @param radius
1264
1073
  */
1265
- static deleteCheckpoint(checkpoint: number): void;
1074
+ static removeParticleFxInRange(pos: Vector3, radius: number): void;
1266
1075
  /**
1267
- * *DISABLE**
1076
+ * https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_looped.lua
1268
1077
  *
1269
- * @param p0
1078
+ * @param effectName
1079
+ * @param pos
1080
+ * @param rot
1081
+ * @param scale
1082
+ * @param xAxis
1083
+ * @param yAxis
1084
+ * @param zAxis
1085
+ * @param p11
1086
+ * @returns
1270
1087
  */
1271
- static N_0xFB680A9B33D0EDBE(p0: boolean): void;
1088
+ static startParticleFxLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean, p11: boolean): number;
1272
1089
  /**
1273
1090
  * @returns
1274
1091
  */
1275
- static N_0xC28F62AC9774FC1B(): any;
1092
+ static getTimecycleModifierIndex(): number;
1093
+ /**
1094
+ * nullsub, doesn't do anything
1095
+ *
1096
+ * @param toggle
1097
+ */
1098
+ static enableMovieSubtitles(toggle: boolean): void;
1276
1099
  /**
1100
+ * @param p0
1277
1101
  * @param p1
1278
1102
  * @param p2
1279
1103
  * @param p3
1280
- * @returns p0
1104
+ * @param p4
1281
1105
  */
1282
- static loadMissionCreatorPhoto(p1: any, p2: any, p3: any): [boolean, number];
1106
+ static N_0x171C18E994C1A395(p0: any, p1: any, p2: any, p3: any, p4: any): void;
1283
1107
  /**
1284
- * @param entity
1285
- * @returns layer0; layer1; layer2; layer3
1108
+ * Doesn't actually return anything. ANIMPOSTFX_*
1109
+ *
1110
+ * @returns
1286
1111
  */
1287
- static getEntityMaskLayers(entity: Entity): [boolean, number, number, number, number];
1112
+ static N_0xC37792A3F9C90771(): any;
1288
1113
  /**
1289
- * @param ped
1114
+ * Adds Vegetation Blocking Zone, Added Snow Flattening veg mod Zone
1115
+ * Returns veg modifier handle
1116
+ *
1117
+ * @param volume
1290
1118
  * @param p1
1291
- * @param size
1119
+ * @param flags
1292
1120
  * @param p3
1121
+ * @returns
1293
1122
  */
1294
- static addBloodPoolsForPedWithParams(ped: Ped, p1: number, size: number, p3: number): void;
1123
+ static addVegModifierZone(volume: Volume, p1: number, flags: number, p3: number): number;
1295
1124
  /**
1296
1125
  * @param p0
1297
1126
  */
@@ -1380,219 +1209,390 @@ export declare class Graphics {
1380
1209
  /**
1381
1210
  * @param p0
1382
1211
  */
1383
- static disableStaticVegModifier(p0: string | number): void;
1212
+ static disableStaticVegModifier(p0: string | number): void;
1213
+ /**
1214
+ * @param ptfxHandle
1215
+ * @param scale
1216
+ */
1217
+ static setParticleFxLoopedScale(ptfxHandle: number, scale: number): void;
1218
+ /**
1219
+ * https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_non_looped.lua
1220
+ *
1221
+ * @param effectName
1222
+ * @param pos
1223
+ * @param rot
1224
+ * @param scale
1225
+ * @param eventType
1226
+ * @param bPeekOnly
1227
+ * @param bIsRegistered
1228
+ * @returns
1229
+ */
1230
+ static startParticleFxNonLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, eventType: number, bPeekOnly: boolean, bIsRegistered: boolean): number;
1231
+ /**
1232
+ * @param p0
1233
+ * @returns
1234
+ */
1235
+ static isStaticVegModifierEnabled(p0: string | number): any;
1236
+ /**
1237
+ * https://github.com/femga/rdr3_discoveries/blob/master/graphics/timecycles
1238
+ *
1239
+ * @param modifierName
1240
+ */
1241
+ static setTimecycleModifier(modifierName: string | null): void;
1242
+ /**
1243
+ * @param strength
1244
+ */
1245
+ static setTimecycleModifierStrength(strength: number): void;
1246
+ /**
1247
+ * @param toggle
1248
+ */
1249
+ static togglePausedRenderphases(toggle: boolean): void;
1250
+ /**
1251
+ * R* Script spd_agnesdow1: p0 = SPD_AGNES_DOWD_01
1252
+ *
1253
+ * @param p0
1254
+ * @returns
1255
+ */
1256
+ static N_0xFD05B1DDE83749FA(p0: string | null): boolean;
1257
+ /**
1258
+ * @param p0
1259
+ */
1260
+ static setParticleFxFootLodrangeScale(p0: number): void;
1261
+ /**
1262
+ * @param ptfxHandle
1263
+ * @returns
1264
+ */
1265
+ static doesParticleFxLoopedExist(ptfxHandle: number): boolean;
1266
+ /**
1267
+ * @param effectName
1268
+ * @param entity
1269
+ * @param offset
1270
+ * @param rot
1271
+ * @param scale
1272
+ * @param axisX
1273
+ * @param axisY
1274
+ * @param axisZ
1275
+ * @returns
1276
+ */
1277
+ static startParticleFxNonLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
1278
+ /**
1279
+ * @returns
1280
+ */
1281
+ static getTogglePausedRenderphasesStatus(): boolean;
1282
+ /**
1283
+ * Only used in R* SP Script spd_agnesdown1
1284
+ *
1285
+ * @param p0
1286
+ * @returns
1287
+ */
1288
+ static N_0x5C9C3A466B3296A8(p0: any): any;
1289
+ /**
1290
+ * @param entity
1291
+ * @param mask
1292
+ */
1293
+ static addEntityToEntityMask(entity: Entity, mask: number): void;
1294
+ /**
1295
+ * Always returns 200.
1296
+ *
1297
+ * @returns
1298
+ */
1299
+ static getMaxNumberOfLocalPhotos(): number;
1300
+ /**
1301
+ * @param channel
1302
+ */
1303
+ static setTvChannel(channel: number): void;
1304
+ /**
1305
+ * @param pos
1306
+ * @param p3
1307
+ */
1308
+ static addPetrolTrailDecalInfo(pos: Vector3, p3: number): void;
1309
+ /**
1310
+ * ANIMPOSTFX_*
1311
+ *
1312
+ * @param effectName
1313
+ * @returns
1314
+ */
1315
+ static N_0xB958D97A0DFAA0C2(effectName: string | null): boolean;
1316
+ /**
1317
+ * @param txdHash
1318
+ * @param dict
1319
+ * @returns
1320
+ */
1321
+ static isTextureInDict(txdHash: string | number, dict: string | number): any;
1322
+ static N_0x910E260AEAD855DE(): void;
1323
+ /**
1324
+ * @param scale
1325
+ */
1326
+ static setParticleFxBulletImpactScale(scale: number): void;
1327
+ /**
1328
+ * @param p0
1329
+ * @param p1
1330
+ * @param p2
1331
+ * @param p3
1332
+ * @param p4
1333
+ * @param p5
1334
+ * @param p6
1335
+ * @param p7
1336
+ */
1337
+ static cascadeShadowsSetCascadeBounds(p0: any, p1: boolean, p2: number, p3: number, p4: number, p5: number, p6: boolean, p7: number): void;
1338
+ /**
1339
+ * @param value
1340
+ */
1341
+ static changePhotoModeExposure(value: number): void;
1342
+ /**
1343
+ * @param point
1344
+ * @returns
1345
+ */
1346
+ static isTrackedPointValid(point: number): any;
1347
+ /**
1348
+ * Old name: _ENABLE_EXTRA_TIMECYCLE_MODIFIER_STRENGTH
1349
+ *
1350
+ * @param strength
1351
+ */
1352
+ static enableMoonCycleOverride(strength: number): void;
1353
+ static setDisablePetrolDecalsIgnitingThisFrame(): void;
1354
+ /**
1355
+ * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
1356
+ *
1357
+ * @param p0
1358
+ */
1359
+ static N_0x4BD66B4E3427689B(p0: string | null): void;
1360
+ /**
1361
+ * Enables/disables a kind of 'shiny' effect on metals.
1362
+ *
1363
+ * @param object
1364
+ * @param toggle
1365
+ */
1366
+ static setPearlescentFxEnabled(object: Prop, toggle: boolean): void;
1367
+ /**
1368
+ * @param enabled
1369
+ */
1370
+ static setSniperGlintsEnabled(enabled: boolean): void;
1371
+ /**
1372
+ * Example:
1373
+ * local hash = GetHashKey("CLOTHING_ITEM_M_EYES_001_TINT_001")
1374
+ * _GENERATE_SWATCH_TEXTURE(0, hash, 0, true)
1375
+ * metapedType: see 0xEC9A1261BF0CE510
1376
+ *
1377
+ * @param slotId
1378
+ * @param componentHash
1379
+ * @param metapedType
1380
+ * @param p3
1381
+ */
1382
+ static generateSwatchTexture(slotId: number, componentHash: string | number, metapedType: number, p3: boolean): void;
1383
+ /**
1384
+ * @param entity
1385
+ * @param mask
1386
+ * @param intensity
1387
+ */
1388
+ static addEntityToEntityMaskWithIntensity(entity: Entity, mask: number, intensity: number): void;
1389
+ static disableHdtexThisFrame(): void;
1384
1390
  /**
1385
- * @param ptfxHandle
1386
- * @param scale
1391
+ * @param entity
1387
1392
  */
1388
- static setParticleFxLoopedScale(ptfxHandle: number, scale: number): void;
1393
+ static attachTvAudioToEntity(entity: Entity): void;
1389
1394
  /**
1390
- * https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_non_looped.lua
1391
- *
1392
1395
  * @param effectName
1393
- * @param pos
1396
+ * @param ped
1397
+ * @param offset
1394
1398
  * @param rot
1399
+ * @param boneIndex
1395
1400
  * @param scale
1396
- * @param eventType
1397
- * @param bPeekOnly
1398
- * @param bIsRegistered
1401
+ * @param axisX
1402
+ * @param axisY
1403
+ * @param axisZ
1399
1404
  * @returns
1400
1405
  */
1401
- static startParticleFxNonLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, eventType: number, bPeekOnly: boolean, bIsRegistered: boolean): number;
1406
+ static startParticleFxNonLoopedOnPedBone(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
1402
1407
  /**
1403
- * @param p0
1408
+ * contentId: returned by NETWORK::_UGC_QUERY_GET_CREATOR_PHOTO(uVar0, 0, sParam3)
1409
+ *
1410
+ * @param contentId
1404
1411
  * @returns
1405
1412
  */
1406
- static isStaticVegModifierEnabled(p0: string | number): any;
1413
+ static getStatusOfLoadMissionCreatorPhoto(contentId: string | null): number;
1407
1414
  /**
1408
1415
  * @param p0
1409
- * @param p1
1410
1416
  */
1411
- static N_0xC489FE31AC726512(p0: any, p1: any): void;
1417
+ static N_0x6C03118E9E5C1A14(p0: any): void;
1412
1418
  /**
1413
- * https://i.imgur.com/rPITUCV.jpg
1414
- * More customizable and more like quadrants
1419
+ * https://imgur.com/a/I2swSDJ Old name: _SET_PICKUP_OBJECT_GLOW_ENABLED
1415
1420
  *
1416
- * @param pos
1417
- * @param p3
1418
- * @param size
1419
- * @param p5
1420
- * @param permanent
1421
- * @param p7
1422
- * @param p8
1421
+ * @param object
1422
+ * @param toggle
1423
1423
  */
1424
- static addBloodPool2(pos: Vector3, p3: number, size: number, p5: number, permanent: boolean, p7: number, p8: boolean): void;
1424
+ static setPickupLight(object: Prop, toggle: boolean): void;
1425
1425
  /**
1426
- * p1: 0.3f in R* Scripts
1427
- *
1428
- * @param waypointRecording
1429
- * @param p1
1426
+ * @param entity
1430
1427
  */
1431
- static bloodTrailForWaypoint(waypointRecording: string | null, p1: number): void;
1428
+ static removeParticleFxFromEntity(entity: Entity): void;
1432
1429
  /**
1433
1430
  * @param ptfxHandle
1434
- * @param range
1435
- */
1436
- static setParticleFxLoopedFarClipDist(ptfxHandle: number, range: number): void;
1437
- /**
1438
- * @param p0
1439
1431
  * @param p1
1440
1432
  */
1441
- static N_0x085C5B61A0114F32(p0: any, p1: any): void;
1433
+ static stopParticleFxLooped(ptfxHandle: number, p1: boolean): void;
1442
1434
  /**
1443
- * @param p0
1435
+ * p1: AMB_ANN_COAL_CHUTE_DIVE, AMB_ANN_COAL_CHUTE
1436
+ * p2: EMIT
1437
+ * p3: either 0.0f or 1.0f
1438
+ *
1439
+ * @param entity
1440
+ * @param p1
1441
+ * @param p2
1442
+ * @param p3
1444
1443
  */
1445
- static N_0x9F158A49B0D84C3C(p0: any): void;
1444
+ static N_0x4FB67D172C4476F3(entity: Entity, p1: string | null, p2: string | null, p3: number): void;
1446
1445
  /**
1446
+ * @param typeHash
1447
+ * @param pos1
1448
+ * @param pos2
1449
+ * @param radius
1450
+ * @param color
1451
+ * @param alpha
1452
+ * @param reserved
1447
1453
  * @returns
1448
1454
  */
1449
- static N_0x5C674EB487891F6B(): any;
1455
+ static createCheckpointWithNamehash(typeHash: string | number, pos1: Vector3, pos2: Vector3, radius: number, color: Color, alpha: number, reserved: number): number;
1456
+ static disableEntitymask(): void;
1450
1457
  /**
1451
- * Params: component - used in odriscolls1 and sean1 R* SP Script: COMPONENT_BINOCULARS_SCOPE01
1452
- * Triggers the binocular scaleform
1458
+ * Returns iNumPixels, iPixelsVisible
1453
1459
  *
1454
- * @param component
1460
+ * @param iTrackedPoint
1461
+ * @returns
1455
1462
  */
1456
- static N_0x21F00E08CBB5F37B(component: string | null): void;
1463
+ static N_0xDFE332A5DA6FE7C9(iTrackedPoint: number): number;
1457
1464
  /**
1458
- * Sets an unknown value related to timecycles.
1459
- *
1460
- * @param unk
1465
+ * @param entity
1466
+ * @returns layer0; layer1; layer2; layer3
1461
1467
  */
1462
- static resetAdaptation(unk: number): void;
1468
+ static setEntityMaskLayers(entity: Entity): [number, number, number, number];
1463
1469
  /**
1464
- * @param effectNameHash
1470
+ * @param point
1471
+ * @returns
1465
1472
  */
1466
- static animpostfxPreloadPostfxByStackhash(effectNameHash: string | number): void;
1473
+ static isTrackedPointVisible(point: number): boolean;
1474
+ static clearTimecycleModifier(): void;
1467
1475
  /**
1468
- * @param effectNameHash
1469
- * @param p1
1470
- * @param p2
1471
- * @returns p3
1476
+ * Closes the the binocular scaleform
1472
1477
  */
1473
- static animpostfxHasEventTriggeredByStackhash(effectNameHash: string | number, p1: number, p2: boolean): [any, boolean];
1474
- static destroySwatchTextureDict(): void;
1478
+ static N_0x5AC6E0FA028369DE(): void;
1475
1479
  /**
1476
- * @returns
1480
+ * ANIMPOSTFX_*
1481
+ *
1482
+ * @param effectNameHash
1477
1483
  */
1478
- static beginTakeHighQualityPhoto(): any;
1484
+ static N_0xC76FC4C2FC5F4405(effectNameHash: string | number): void;
1479
1485
  /**
1480
- * Old name: _IS_TV_PLAYLIST_ITEM_PLAYING
1481
- *
1482
- * @param videoCliphash
1483
- * @returns
1486
+ * @param effectName
1484
1487
  */
1485
- static isTvshowCurrentlyPlaying(videoCliphash: string | number): boolean;
1488
+ static animpostfxStopTag(effectName: string | null): void;
1486
1489
  /**
1487
- * @param p0
1490
+ * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
1491
+ * *ENABLE**
1488
1492
  */
1489
- static N_0x8996FA6AD9FE4E90(p0: any): void;
1493
+ static N_0x812C1563185C6FB2(): void;
1490
1494
  /**
1491
- * @param obj
1495
+ * @param posseId
1492
1496
  */
1493
- static removeDecalsFromObject(obj: Prop): void;
1497
+ static setPosseIdForPhoto(posseId: any): void;
1494
1498
  /**
1495
- * https://github.com/femga/rdr3_discoveries/blob/master/graphics/markers/marker_types.lua
1496
- * Old name: _DRAW_MARKER
1499
+ * Sets the checkpoint color.
1497
1500
  *
1498
- * @param type
1499
- * @param pos
1500
- * @param direction
1501
- * @param rot
1502
- * @param scale
1501
+ * @param checkpoint
1503
1502
  * @param color
1504
1503
  * @param alpha
1505
- * @param bobUpAndDown
1506
- * @param faceCamera
1507
- * @param p19
1508
- * @param rotate
1509
- * @param textureDict
1510
- * @param textureName
1511
- * @param drawOnEnts
1512
1504
  */
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;
1505
+ static setCheckpointRgba(checkpoint: number, color: Color, alpha: number): void;
1514
1506
  /**
1507
+ * Related to Campfires.
1508
+ * p1: AMB_BONFIRE_MP, AMB_CAMPFIRE_LRG_MP
1509
+ *
1510
+ * @param entity
1511
+ * @param p1
1515
1512
  * @param r
1516
1513
  * @param g
1517
1514
  * @param b
1518
1515
  */
1519
- static setParticleFxNonLoopedColour(r: number, g: number, b: number): void;
1516
+ static setParticleFxAmbientColour(entity: Entity, p1: string | null, r: number, g: number, b: number): void;
1520
1517
  /**
1521
- * @param p0
1518
+ * Resets the effect of SET_PARTICLE_FX_OVERRIDE
1519
+ *
1520
+ * @param name
1522
1521
  */
1523
- static N_0xF5793BB386E1FF9C(p0: any): void;
1522
+ static resetParticleFxOverride(name: string | null): void;
1524
1523
  /**
1525
- * Used in shop scripts for CATALOG_BOOK
1526
- * false = Normal -> [CATALOG_BOOK_SHUTDOWN]
1527
- * true = Trees flickering? -> [CATALOG_BOOK_OPEN]
1524
+ * must be called after ANIMPOSTFX_PLAY, strength 0.0f - 1.0f
1528
1525
  *
1526
+ * @param effectName
1527
+ * @param strength
1528
+ */
1529
+ static animpostfxSetStrength(effectName: string | null, strength: number): void;
1530
+ /**
1529
1531
  * @param p0
1532
+ * @param p1
1533
+ * @param p2
1534
+ * @param p3
1535
+ * @param p4
1530
1536
  */
1531
- static N_0x1A9F09AB458D49C6(p0: boolean): void;
1537
+ static N_0xCC3B787E73E64160(p0: any, p1: any, p2: any, p3: any, p4: any): void;
1532
1538
  /**
1533
- * @param effectName
1534
- * @param duration
1539
+ * @param volume
1535
1540
  */
1536
- static animpostfxPlayTimed(effectName: string | null, duration: number): void;
1541
+ static setTvVolume(volume: number): void;
1537
1542
  /**
1538
- * @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
1543
+ * Creates a tracked point, useful for checking the visibility of a 3D point on screen.
1544
+ *
1547
1545
  * @returns
1548
1546
  */
1549
- static startNetworkedParticleFxLoopedOnEntityBone(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
1547
+ static createTrackedPoint(): number;
1550
1548
  /**
1551
- * @param p0
1552
- * @param p1
1553
- * @param p2
1549
+ * @param effectNameHash
1550
+ * @returns
1554
1551
  */
1555
- static N_0x735762E8D7573E42(p0: any, p1: any, p2: any): void;
1552
+ static animpostfxIsPreloadingByStackhash(effectNameHash: string | number): any;
1556
1553
  /**
1557
- * Only used in guama1 R* Script
1558
- * Disables lod/distant lights when BOOL is set to true
1559
- *
1560
- * @param disable
1554
+ * @param personaPhotoLocalCacheType
1561
1555
  */
1562
- static disableFarArtificialLights(disable: boolean): void;
1556
+ static N_0xA1A86055792FB249(personaPhotoLocalCacheType: number): void;
1563
1557
  /**
1564
- * @param decal
1558
+ * @param p0
1565
1559
  */
1566
- static removeDecal(decal: number): void;
1560
+ static setPhotoSelfStat(p0: boolean): void;
1567
1561
  /**
1568
- * Hardcoded to always set x to 1280 and y to 720.
1562
+ * https://github.com/femga/rdr3_discoveries/blob/master/graphics/animpostfx
1569
1563
  *
1570
- * @returns x; y
1564
+ * @param effectName
1571
1565
  */
1572
- static getScreenResolution(): [number, number];
1566
+ static animpostfxPlay(effectName: string | null): void;
1573
1567
  /**
1574
- * ANIMPOSTFX_*
1568
+ * *DISABLE**
1569
+ */
1570
+ static N_0x4046493D2EEACA0E(): void;
1571
+ static pedshotPreviousPersonaPhotoDataCleanup(): void;
1572
+ /**
1573
+ * effectName2, p2 and p3 are unused ANIMPOSTFX_*
1575
1574
  *
1576
1575
  * @param effectName
1576
+ * @param effectName2
1577
+ * @param p2
1578
+ * @param p3
1577
1579
  */
1578
- static N_0xA201A3D0AC087C37(effectName: string | null): void;
1580
+ static N_0x26DD2FB0A88CC412(effectName: string | null, effectName2: string | null, p2: any, p3: any): void;
1579
1581
  /**
1580
- * @param modifierName
1581
- * @param transitionBlend
1582
+ * Example: https://pastebin.com/tTgpER9A
1583
+ *
1584
+ * @param slot
1585
+ * @param p1
1582
1586
  */
1583
- static setTransitionTimecycleModifier(modifierName: string | null, transitionBlend: number): void;
1584
- static enableEntitymask(): void;
1587
+ static generateSwatchTextureDirectly(slot: number, p1: any): void;
1585
1588
  /**
1586
- * fxName: see data_0/data/effects/ptfx/fxlists/
1587
- *
1588
- * @param fxName
1589
+ * @param p0
1589
1590
  */
1590
- static useParticleFxAsset(fxName: string | null): void;
1591
- static animpostfxStopAll(): void;
1591
+ static setParticleFxBulletImpactLodrangeScale(p0: number): void;
1592
1592
  /**
1593
- * @param pickup
1594
- * @param toggle
1593
+ * @param p0
1594
+ * @param p1
1595
1595
  */
1596
- static blockPickupPlacementLight(pickup: Pickup, toggle: boolean): void;
1596
+ static N_0x1FF8731BE1DFC0C0(p0: any, p1: any): void;
1597
1597
  }
1598
1598
  //# sourceMappingURL=Graphics.d.ts.map