@nativewrappers/redm-codegen 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/dist/classes/AnimScene.d.ts +82 -82
  2. package/dist/classes/AnimScene.d.ts.map +1 -1
  3. package/dist/classes/AnimScene.js +124 -124
  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 +43 -43
  8. package/dist/classes/BaseTask.d.ts.map +1 -1
  9. package/dist/classes/BaseTask.js +53 -53
  10. package/dist/classes/Cam.d.ts +82 -82
  11. package/dist/classes/Cam.d.ts.map +1 -1
  12. package/dist/classes/Cam.js +115 -115
  13. package/dist/classes/Entity.d.ts +250 -250
  14. package/dist/classes/Entity.d.ts.map +1 -1
  15. package/dist/classes/Entity.js +350 -350
  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 +55 -55
  20. package/dist/classes/Ped.d.ts.map +1 -1
  21. package/dist/classes/Ped.js +76 -76
  22. package/dist/classes/PedTask.d.ts +797 -797
  23. package/dist/classes/PedTask.d.ts.map +1 -1
  24. package/dist/classes/PedTask.js +1023 -1023
  25. package/dist/classes/PersChar.d.ts +13 -13
  26. package/dist/classes/PersChar.d.ts.map +1 -1
  27. package/dist/classes/PersChar.js +27 -27
  28. package/dist/classes/Pickup.d.ts +8 -8
  29. package/dist/classes/Pickup.d.ts.map +1 -1
  30. package/dist/classes/Pickup.js +15 -15
  31. package/dist/classes/Player.d.ts +185 -185
  32. package/dist/classes/Player.d.ts.map +1 -1
  33. package/dist/classes/Player.js +251 -251
  34. package/dist/classes/Prop.d.ts +130 -130
  35. package/dist/classes/Prop.d.ts.map +1 -1
  36. package/dist/classes/Prop.js +188 -188
  37. package/dist/classes/PropSet.d.ts +17 -17
  38. package/dist/classes/PropSet.d.ts.map +1 -1
  39. package/dist/classes/PropSet.js +25 -25
  40. package/dist/classes/VehicleTask.d.ts +23 -23
  41. package/dist/classes/VehicleTask.d.ts.map +1 -1
  42. package/dist/classes/VehicleTask.js +30 -30
  43. package/dist/classes/Volume.d.ts +39 -39
  44. package/dist/classes/Volume.d.ts.map +1 -1
  45. package/dist/classes/Volume.js +54 -54
  46. package/dist/classes/Weapon.d.ts +291 -291
  47. package/dist/classes/Weapon.d.ts.map +1 -1
  48. package/dist/classes/Weapon.js +414 -414
  49. package/dist/namespaces/Animscene.d.ts +63 -63
  50. package/dist/namespaces/Animscene.d.ts.map +1 -1
  51. package/dist/namespaces/Animscene.js +83 -83
  52. package/dist/namespaces/Audio.d.ts +464 -464
  53. package/dist/namespaces/Audio.d.ts.map +1 -1
  54. package/dist/namespaces/Audio.js +650 -650
  55. package/dist/namespaces/Bounty.d.ts +57 -57
  56. package/dist/namespaces/Bounty.d.ts.map +1 -1
  57. package/dist/namespaces/Bounty.js +90 -90
  58. package/dist/namespaces/CamStatics.d.ts +426 -426
  59. package/dist/namespaces/CamStatics.d.ts.map +1 -1
  60. package/dist/namespaces/CamStatics.js +609 -609
  61. package/dist/namespaces/Collection.d.ts +81 -81
  62. package/dist/namespaces/Collection.d.ts.map +1 -1
  63. package/dist/namespaces/Collection.js +113 -113
  64. package/dist/namespaces/Compendium.d.ts +38 -38
  65. package/dist/namespaces/Compendium.d.ts.map +1 -1
  66. package/dist/namespaces/Compendium.js +52 -52
  67. package/dist/namespaces/Crashlog.d.ts +10 -10
  68. package/dist/namespaces/Crashlog.d.ts.map +1 -1
  69. package/dist/namespaces/Crashlog.js +14 -14
  70. package/dist/namespaces/Databinding.d.ts +174 -174
  71. package/dist/namespaces/Databinding.d.ts.map +1 -1
  72. package/dist/namespaces/Databinding.js +266 -266
  73. package/dist/namespaces/EntityStatics.d.ts +110 -110
  74. package/dist/namespaces/EntityStatics.d.ts.map +1 -1
  75. package/dist/namespaces/EntityStatics.js +146 -146
  76. package/dist/namespaces/Graphics.d.ts +547 -547
  77. package/dist/namespaces/Graphics.d.ts.map +1 -1
  78. package/dist/namespaces/Graphics.js +731 -731
  79. package/dist/namespaces/Hud.d.ts +395 -395
  80. package/dist/namespaces/Hud.d.ts.map +1 -1
  81. package/dist/namespaces/Hud.js +564 -564
  82. package/dist/namespaces/InteriorStatics.d.ts +40 -40
  83. package/dist/namespaces/InteriorStatics.d.ts.map +1 -1
  84. package/dist/namespaces/InteriorStatics.js +56 -56
  85. package/dist/namespaces/Inventory.d.ts +107 -107
  86. package/dist/namespaces/Inventory.d.ts.map +1 -1
  87. package/dist/namespaces/Inventory.js +149 -149
  88. package/dist/namespaces/Itemdatabase.d.ts +5 -5
  89. package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
  90. package/dist/namespaces/Itemdatabase.js +7 -7
  91. package/dist/namespaces/Map.d.ts +173 -173
  92. package/dist/namespaces/Map.d.ts.map +1 -1
  93. package/dist/namespaces/Map.js +240 -240
  94. package/dist/namespaces/Minigame.d.ts +56 -56
  95. package/dist/namespaces/Minigame.d.ts.map +1 -1
  96. package/dist/namespaces/Minigame.js +80 -80
  97. package/dist/namespaces/Network.d.ts +964 -964
  98. package/dist/namespaces/Network.d.ts.map +1 -1
  99. package/dist/namespaces/Network.js +1333 -1333
  100. package/dist/namespaces/Object.d.ts +240 -240
  101. package/dist/namespaces/Object.d.ts.map +1 -1
  102. package/dist/namespaces/Object.js +337 -337
  103. package/dist/namespaces/Pad.d.ts +95 -95
  104. package/dist/namespaces/Pad.d.ts.map +1 -1
  105. package/dist/namespaces/Pad.js +127 -127
  106. package/dist/namespaces/PedStatics.d.ts +18 -18
  107. package/dist/namespaces/PedStatics.d.ts.map +1 -1
  108. package/dist/namespaces/PedStatics.js +26 -26
  109. package/dist/namespaces/Perschar.d.ts +46 -46
  110. package/dist/namespaces/Perschar.d.ts.map +1 -1
  111. package/dist/namespaces/Perschar.js +66 -66
  112. package/dist/namespaces/Physics.d.ts +207 -207
  113. package/dist/namespaces/Physics.d.ts.map +1 -1
  114. package/dist/namespaces/Physics.js +315 -315
  115. package/dist/namespaces/PlayerStatics.d.ts +68 -68
  116. package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
  117. package/dist/namespaces/PlayerStatics.js +95 -95
  118. package/dist/namespaces/Population.d.ts +86 -86
  119. package/dist/namespaces/Population.d.ts.map +1 -1
  120. package/dist/namespaces/Population.js +116 -116
  121. package/dist/namespaces/Posse.d.ts +43 -43
  122. package/dist/namespaces/Posse.d.ts.map +1 -1
  123. package/dist/namespaces/Posse.js +67 -67
  124. package/dist/namespaces/Propset.d.ts +59 -59
  125. package/dist/namespaces/Propset.d.ts.map +1 -1
  126. package/dist/namespaces/Propset.js +81 -81
  127. package/dist/namespaces/Shapetest.d.ts +11 -11
  128. package/dist/namespaces/Shapetest.d.ts.map +1 -1
  129. package/dist/namespaces/Shapetest.js +13 -13
  130. package/dist/namespaces/Stats.d.ts +90 -90
  131. package/dist/namespaces/Stats.d.ts.map +1 -1
  132. package/dist/namespaces/Stats.js +127 -127
  133. package/dist/namespaces/Streaming.d.ts +127 -127
  134. package/dist/namespaces/Streaming.d.ts.map +1 -1
  135. package/dist/namespaces/Streaming.js +193 -193
  136. package/dist/namespaces/Task.d.ts +346 -346
  137. package/dist/namespaces/Task.d.ts.map +1 -1
  138. package/dist/namespaces/Task.js +525 -525
  139. package/dist/namespaces/Telemetry.d.ts +176 -176
  140. package/dist/namespaces/Telemetry.d.ts.map +1 -1
  141. package/dist/namespaces/Telemetry.js +255 -255
  142. package/dist/namespaces/VolumeStatics.d.ts +64 -64
  143. package/dist/namespaces/VolumeStatics.d.ts.map +1 -1
  144. package/dist/namespaces/VolumeStatics.js +85 -85
  145. package/dist/namespaces/Water.d.ts +27 -27
  146. package/dist/namespaces/Water.d.ts.map +1 -1
  147. package/dist/namespaces/Water.js +41 -41
  148. package/dist/namespaces/WeaponStatics.d.ts +234 -234
  149. package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
  150. package/dist/namespaces/WeaponStatics.js +320 -320
  151. package/dist/namespaces/Zone.d.ts +7 -7
  152. package/dist/namespaces/Zone.d.ts.map +1 -1
  153. package/dist/namespaces/Zone.js +9 -9
  154. package/package.json +1 -1
  155. package/src/classes/AnimScene.ts +133 -133
  156. package/src/classes/BaseModel.ts +50 -50
  157. package/src/classes/BaseTask.ts +55 -55
  158. package/src/classes/Cam.ts +126 -126
  159. package/src/classes/Entity.ts +365 -365
  160. package/src/classes/Interior.ts +43 -43
  161. package/src/classes/Ped.ts +86 -86
  162. package/src/classes/PedTask.ts +2067 -2067
  163. package/src/classes/PersChar.ts +34 -34
  164. package/src/classes/Pickup.ts +16 -16
  165. package/src/classes/Player.ts +296 -296
  166. package/src/classes/Prop.ts +203 -203
  167. package/src/classes/PropSet.ts +29 -29
  168. package/src/classes/VehicleTask.ts +32 -32
  169. package/src/classes/Volume.ts +61 -61
  170. package/src/classes/Weapon.ts +427 -427
  171. package/src/namespaces/Animscene.ts +86 -86
  172. package/src/namespaces/Audio.ts +760 -760
  173. package/src/namespaces/Bounty.ts +102 -102
  174. package/src/namespaces/CamStatics.ts +631 -631
  175. package/src/namespaces/Collection.ts +114 -114
  176. package/src/namespaces/Compendium.ts +59 -59
  177. package/src/namespaces/Crashlog.ts +16 -16
  178. package/src/namespaces/Databinding.ts +282 -282
  179. package/src/namespaces/EntityStatics.ts +158 -158
  180. package/src/namespaces/Graphics.ts +1140 -1140
  181. package/src/namespaces/Hud.ts +592 -592
  182. package/src/namespaces/InteriorStatics.ts +64 -64
  183. package/src/namespaces/Inventory.ts +165 -165
  184. package/src/namespaces/Itemdatabase.ts +8 -8
  185. package/src/namespaces/Map.ts +256 -256
  186. package/src/namespaces/Minigame.ts +92 -92
  187. package/src/namespaces/Network.ts +1392 -1392
  188. package/src/namespaces/Object.ts +350 -350
  189. package/src/namespaces/Pad.ts +127 -127
  190. package/src/namespaces/PedStatics.ts +30 -30
  191. package/src/namespaces/Perschar.ts +76 -76
  192. package/src/namespaces/Physics.ts +327 -327
  193. package/src/namespaces/PlayerStatics.ts +103 -103
  194. package/src/namespaces/Population.ts +131 -131
  195. package/src/namespaces/Posse.ts +67 -67
  196. package/src/namespaces/Propset.ts +92 -92
  197. package/src/namespaces/Shapetest.ts +14 -14
  198. package/src/namespaces/Stats.ts +143 -143
  199. package/src/namespaces/Streaming.ts +226 -226
  200. package/src/namespaces/Task.ts +498 -498
  201. package/src/namespaces/Telemetry.ts +261 -261
  202. package/src/namespaces/VolumeStatics.ts +87 -87
  203. package/src/namespaces/Water.ts +47 -47
  204. package/src/namespaces/WeaponStatics.ts +325 -325
  205. package/src/namespaces/Zone.ts +10 -10
@@ -225,6 +225,197 @@ export declare class Graphics {
225
225
  * @returns
226
226
  */
227
227
  static addVegModifierZone(volume: Volume, p1: number, flags: number, p3: number): number;
228
+ /**
229
+ * Returns proxyInteriorIndex
230
+ *
231
+ * @param interiorId
232
+ * @returns
233
+ */
234
+ static getProxyInteriorIndex(interiorId: number): number;
235
+ static endPetrolTrailDecals(): void;
236
+ /**
237
+ * ANIMPOSTFX_*
238
+ *
239
+ * @param effectName
240
+ * @param p1
241
+ * @param p2
242
+ * @returns p3
243
+ */
244
+ static N_0xFBF161FCFEC8589E(effectName: string | null, p1: number, p2: boolean): [boolean, boolean];
245
+ /**
246
+ * 0 = succeeded
247
+ * 1 = getting status
248
+ * 2 = failed
249
+ *
250
+ * @returns
251
+ */
252
+ static getStatusOfSaveHighQualityPhoto(): number;
253
+ /**
254
+ * @returns
255
+ */
256
+ static isPhotoFrame(): boolean;
257
+ /**
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
269
+ */
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;
271
+ /**
272
+ * @param effectName
273
+ * @returns
274
+ */
275
+ static animpostfxIsRunning(effectName: string | null): boolean;
276
+ /**
277
+ * Used for script function RPG_GLOBAL_STATS__PRIVATE__ACTIVATE_STAT_FLAG - Quite and Inspiration Aura equip
278
+ * Params: 0f, 2f, 2f
279
+ *
280
+ * @param p0
281
+ * @param p1
282
+ * @param p2
283
+ */
284
+ static setEntityAura(p0: number, p1: number, p2: number): void;
285
+ /**
286
+ * ANIMPOSTFX_*
287
+ *
288
+ * @param effectNameHash
289
+ * @returns
290
+ */
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;
378
+ /**
379
+ * Only used in R* SP Script spd_agnesdown1
380
+ *
381
+ * @param p0
382
+ * @returns
383
+ */
384
+ static N_0x5C9C3A466B3296A8(p0: any): any;
385
+ /**
386
+ * @param entity
387
+ * @param mask
388
+ */
389
+ static addEntityToEntityMask(entity: Entity, mask: number): void;
390
+ /**
391
+ * Always returns 200.
392
+ *
393
+ * @returns
394
+ */
395
+ static getMaxNumberOfLocalPhotos(): number;
396
+ /**
397
+ * @param channel
398
+ */
399
+ static setTvChannel(channel: number): void;
400
+ /**
401
+ * @param pos
402
+ * @param p3
403
+ */
404
+ static addPetrolTrailDecalInfo(pos: Vector3, p3: number): void;
405
+ /**
406
+ * ANIMPOSTFX_*
407
+ *
408
+ * @param effectName
409
+ * @returns
410
+ */
411
+ static N_0xB958D97A0DFAA0C2(effectName: string | null): boolean;
412
+ /**
413
+ * @param txdHash
414
+ * @param dict
415
+ * @returns
416
+ */
417
+ static isTextureInDict(txdHash: string | number, dict: string | number): any;
418
+ static N_0x910E260AEAD855DE(): void;
228
419
  /**
229
420
  * Creates blood pools for the given ped in some interval for a few seconds.
230
421
  *
@@ -307,94 +498,175 @@ export declare class Graphics {
307
498
  * @param effectName
308
499
  */
309
500
  static animpostfxStop(effectName: string | null): void;
501
+ static resetPausedRenderphases(): void;
310
502
  /**
311
- * https://imgur.com/a/I2swSDJ Old name: _SET_PICKUP_OBJECT_GLOW_ENABLED
312
- *
313
- * @param object
314
- * @param toggle
315
- */
316
- static setPickupLight(object: Prop, toggle: boolean): void;
317
- /**
318
- * @param entity
319
- */
320
- static removeParticleFxFromEntity(entity: Entity): void;
321
- /**
322
- * @param ptfxHandle
323
- * @param p1
503
+ * @param unused
504
+ * @returns
324
505
  */
325
- static stopParticleFxLooped(ptfxHandle: number, p1: boolean): void;
506
+ static saveHighQualityPhoto(unused: number): any;
326
507
  /**
327
- * p1: AMB_ANN_COAL_CHUTE_DIVE, AMB_ANN_COAL_CHUTE
328
- * p2: EMIT
329
- * p3: either 0.0f or 1.0f
330
- *
331
- * @param entity
332
- * @param p1
508
+ * @param pos
333
509
  * @param p2
334
- * @param p3
335
510
  */
336
- static N_0x4FB67D172C4476F3(entity: Entity, p1: string | null, p2: string | null, p3: number): void;
511
+ static setCloudLayer(pos: Vector2, p2: number): void;
337
512
  /**
338
- * @param typeHash
339
- * @param pos1
340
- * @param pos2
341
- * @param radius
342
- * @param color
343
- * @param alpha
344
- * @param reserved
513
+ * @param p0
345
514
  * @returns
346
515
  */
347
- static createCheckpointWithNamehash(typeHash: string | number, pos1: Vector3, pos2: Vector3, radius: number, color: Color, alpha: number, reserved: number): number;
348
- static disableEntitymask(): void;
516
+ static N_0xEC3D8C228FE553D7(p0: boolean): boolean;
349
517
  /**
350
- * Returns iNumPixels, iPixelsVisible
351
- *
352
- * @param iTrackedPoint
353
- * @returns
518
+ * *RESET**
354
519
  */
355
- static N_0xDFE332A5DA6FE7C9(iTrackedPoint: number): number;
520
+ static N_0x1460B644397453EB(): void;
356
521
  /**
357
- * @param entity
358
- * @returns layer0; layer1; layer2; layer3
522
+ * @param personaPhotoLocalCacheType
359
523
  */
360
- static setEntityMaskLayers(entity: Entity): [number, number, number, number];
524
+ static pedshotSetPersonaPhotoType(personaPhotoLocalCacheType: number): void;
525
+ static pedshotFinishCleanupData(): void;
526
+ static N_0x1C6306E5BC25C29C(): void;
361
527
  /**
362
- * @param point
363
- * @returns
528
+ * @param pos
364
529
  */
365
- static isTrackedPointVisible(point: number): boolean;
366
- static clearTimecycleModifier(): void;
530
+ static setCloudNoise(pos: Vector3): void;
367
531
  /**
368
- * Closes the the binocular scaleform
532
+ * @param p0
369
533
  */
370
- static N_0x5AC6E0FA028369DE(): void;
534
+ static N_0xEB48CE48EEC41FD4(p0: any): void;
371
535
  /**
372
- * ANIMPOSTFX_*
536
+ * Used in NET_CAMP_SPIRIT_ANIMAL_CLEAR_ANIMAL_VISIBILITY
373
537
  *
538
+ * @param entity
539
+ */
540
+ static N_0xC06F2F45A73EABCD(entity: Entity): void;
541
+ /**
542
+ * @param effectName
543
+ * @param pos
544
+ * @param rot
545
+ * @param scale
546
+ * @param xAxis
547
+ * @param yAxis
548
+ * @param zAxis
549
+ * @returns
550
+ */
551
+ static startNetworkedParticleFxNonLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): boolean;
552
+ /**
553
+ * @returns
554
+ */
555
+ static getPhotoModeExposure(): number;
556
+ /**
557
+ * _SET_PARTICLE_FX_LOOPED_FA* - _SET_PARTICLE_FX_LOOPED_OF*
558
+ *
559
+ * @param ptfxHandle
560
+ * @param scalar
561
+ */
562
+ static setParticleFxLoopedUpdateDistantSmoke(ptfxHandle: number, scalar: number): void;
563
+ /**
564
+ * Known effects: MP_Trans_SceneToPhoto
565
+ * MP_Trans_WinLose
566
+ * SpectateFilter
567
+ * MP_CharacterCreatorPhoto
568
+ * MP_Trans_PhotoToScene
569
+ * InterrogationHit
570
+ *
571
+ * @param effectName
572
+ * @returns
573
+ */
574
+ static animpostfxGetStackhash(effectName: string | null): number;
575
+ /**
576
+ * @param height
577
+ */
578
+ 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
+ /**
374
622
  * @param effectNameHash
623
+ * @returns
375
624
  */
376
- static N_0xC76FC4C2FC5F4405(effectNameHash: string | number): void;
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;
377
634
  /**
635
+ * https://github.com/femga/rdr3_discoveries/blob/master/graphics/animpostfx
636
+ *
378
637
  * @param effectName
379
638
  */
380
- static animpostfxStopTag(effectName: string | null): void;
639
+ static animpostfxPlay(effectName: string | null): void;
381
640
  /**
382
- * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
383
- * *ENABLE**
641
+ * *DISABLE**
384
642
  */
385
- static N_0x812C1563185C6FB2(): void;
643
+ static N_0x4046493D2EEACA0E(): void;
644
+ static pedshotPreviousPersonaPhotoDataCleanup(): void;
386
645
  /**
387
- * @param posseId
646
+ * effectName2, p2 and p3 are unused ANIMPOSTFX_*
647
+ *
648
+ * @param effectName
649
+ * @param effectName2
650
+ * @param p2
651
+ * @param p3
388
652
  */
389
- static setPosseIdForPhoto(posseId: any): void;
653
+ static N_0x26DD2FB0A88CC412(effectName: string | null, effectName2: string | null, p2: any, p3: any): void;
390
654
  /**
391
- * Sets the checkpoint color.
655
+ * Example: https://pastebin.com/tTgpER9A
392
656
  *
393
- * @param checkpoint
394
- * @param color
395
- * @param alpha
657
+ * @param slot
658
+ * @param p1
396
659
  */
397
- static setCheckpointRgba(checkpoint: number, color: Color, alpha: number): void;
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;
398
670
  /**
399
671
  * When this is set to ON, shadows only draw as you get nearer. When OFF, they draw from a further distance.
400
672
  *
@@ -564,110 +836,6 @@ export declare class Graphics {
564
836
  * @param p3
565
837
  */
566
838
  static N_0xD543487A1F12828F(p0: any, p1: any, p2: any, p3: any): void;
567
- /**
568
- * Returns proxyInteriorIndex
569
- *
570
- * @param interiorId
571
- * @returns
572
- */
573
- static getProxyInteriorIndex(interiorId: number): number;
574
- static endPetrolTrailDecals(): void;
575
- /**
576
- * ANIMPOSTFX_*
577
- *
578
- * @param effectName
579
- * @param p1
580
- * @param p2
581
- * @returns p3
582
- */
583
- static N_0xFBF161FCFEC8589E(effectName: string | null, p1: number, p2: boolean): [boolean, boolean];
584
- /**
585
- * 0 = succeeded
586
- * 1 = getting status
587
- * 2 = failed
588
- *
589
- * @returns
590
- */
591
- static getStatusOfSaveHighQualityPhoto(): number;
592
- /**
593
- * @returns
594
- */
595
- static isPhotoFrame(): boolean;
596
- /**
597
- * @param p0
598
- * @param p1
599
- * @param p2
600
- * @param p3
601
- * @param p4
602
- * @param p5
603
- * @param p6
604
- * @param p7
605
- * @param p8
606
- * @param p9
607
- * @param p10
608
- */
609
- 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;
610
- /**
611
- * @param effectName
612
- * @returns
613
- */
614
- static animpostfxIsRunning(effectName: string | null): boolean;
615
- /**
616
- * Used for script function RPG_GLOBAL_STATS__PRIVATE__ACTIVATE_STAT_FLAG - Quite and Inspiration Aura equip
617
- * Params: 0f, 2f, 2f
618
- *
619
- * @param p0
620
- * @param p1
621
- * @param p2
622
- */
623
- static setEntityAura(p0: number, p1: number, p2: number): void;
624
- /**
625
- * ANIMPOSTFX_*
626
- *
627
- * @param effectNameHash
628
- * @returns
629
- */
630
- static N_0xE75CDDEBF618C8FF(effectNameHash: string | number): boolean;
631
- /**
632
- * @param pos
633
- */
634
- static addBloodTrailSplat(pos: Vector3): void;
635
- /**
636
- * https://i.imgur.com/ULQU9US.jpg
637
- * More rounded and small puddle
638
- *
639
- * @param pos
640
- * @param unused
641
- */
642
- static addBloodPool(pos: Vector3, unused: boolean): void;
643
- /**
644
- * Only used in finale2, smuggler2, winter4
645
- * _SET_CLOUD_A* - _SET_CLOUD_H*
646
- *
647
- * @param pos
648
- */
649
- static setCloudPosition(pos: Vector3): void;
650
- /**
651
- * @param p0
652
- * @param p1
653
- */
654
- static N_0xA04EF43030593ABC(p0: any, p1: any): void;
655
- /**
656
- * Called together with FREE_MEMORY_FOR_LOW_QUALITY_PHOTO
657
- *
658
- * @param p0
659
- * @returns
660
- */
661
- static beginCreateLowQualityCopyOfPhoto(p0: number): boolean;
662
- /**
663
- * @param player
664
- */
665
- static setPlayerAppearInPhoto(player: Player): void;
666
- /**
667
- * @param checkpoint
668
- * @returns
669
- */
670
- static doesCheckpointHaveFx(checkpoint: number): any;
671
839
  static N_0xEC3F7F24EEEB3BA3(): void;
672
840
  /**
673
841
  * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
@@ -742,195 +910,188 @@ export declare class Graphics {
742
910
  */
743
911
  static setProxyInteriorIndexArtificialLightsState(proxyInteriorIndex: number, state: boolean): void;
744
912
  /**
745
- * @param p0
746
- * @param p1
913
+ * @param scale
747
914
  */
748
- static N_0xC489FE31AC726512(p0: any, p1: any): void;
915
+ static setParticleFxBulletImpactScale(scale: number): void;
749
916
  /**
750
- * https://i.imgur.com/rPITUCV.jpg
751
- * More customizable and more like quadrants
752
- *
753
- * @param pos
917
+ * @param p0
918
+ * @param p1
919
+ * @param p2
754
920
  * @param p3
755
- * @param size
921
+ * @param p4
756
922
  * @param p5
757
- * @param permanent
923
+ * @param p6
758
924
  * @param p7
759
- * @param p8
760
925
  */
761
- static addBloodPool2(pos: Vector3, p3: number, size: number, p5: number, permanent: boolean, p7: number, p8: boolean): void;
926
+ static cascadeShadowsSetCascadeBounds(p0: any, p1: boolean, p2: number, p3: number, p4: number, p5: number, p6: boolean, p7: number): void;
762
927
  /**
763
- * p1: 0.3f in R* Scripts
764
- *
765
- * @param waypointRecording
766
- * @param p1
928
+ * @param value
767
929
  */
768
- static bloodTrailForWaypoint(waypointRecording: string | null, p1: number): void;
930
+ static changePhotoModeExposure(value: number): void;
769
931
  /**
770
- * @param ptfxHandle
771
- * @param range
932
+ * @param point
933
+ * @returns
772
934
  */
773
- static setParticleFxLoopedFarClipDist(ptfxHandle: number, range: number): void;
935
+ static isTrackedPointValid(point: number): any;
774
936
  /**
775
- * @param p0
776
- * @param p1
937
+ * Old name: _ENABLE_EXTRA_TIMECYCLE_MODIFIER_STRENGTH
938
+ *
939
+ * @param strength
777
940
  */
778
- static N_0x085C5B61A0114F32(p0: any, p1: any): void;
941
+ static enableMoonCycleOverride(strength: number): void;
942
+ static setDisablePetrolDecalsIgnitingThisFrame(): void;
779
943
  /**
944
+ * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
945
+ *
780
946
  * @param p0
781
947
  */
782
- static N_0x9F158A49B0D84C3C(p0: any): void;
948
+ static N_0x4BD66B4E3427689B(p0: string | null): void;
783
949
  /**
784
- * @returns
950
+ * Enables/disables a kind of 'shiny' effect on metals.
951
+ *
952
+ * @param object
953
+ * @param toggle
785
954
  */
786
- static N_0x5C674EB487891F6B(): any;
955
+ static setPearlescentFxEnabled(object: Prop, toggle: boolean): void;
787
956
  /**
788
- * Params: component - used in odriscolls1 and sean1 R* SP Script: COMPONENT_BINOCULARS_SCOPE01
789
- * Triggers the binocular scaleform
790
- *
791
- * @param component
957
+ * @param enabled
792
958
  */
793
- static N_0x21F00E08CBB5F37B(component: string | null): void;
959
+ static setSniperGlintsEnabled(enabled: boolean): void;
794
960
  /**
795
- * Sets an unknown value related to timecycles.
961
+ * Example:
962
+ * local hash = GetHashKey("CLOTHING_ITEM_M_EYES_001_TINT_001")
963
+ * _GENERATE_SWATCH_TEXTURE(0, hash, 0, true)
964
+ * metapedType: see 0xEC9A1261BF0CE510
796
965
  *
797
- * @param unk
966
+ * @param slotId
967
+ * @param componentHash
968
+ * @param metapedType
969
+ * @param p3
798
970
  */
799
- static resetAdaptation(unk: number): void;
971
+ static generateSwatchTexture(slotId: number, componentHash: string | number, metapedType: number, p3: boolean): void;
800
972
  /**
801
- * @param effectNameHash
973
+ * @param entity
974
+ * @param mask
975
+ * @param intensity
802
976
  */
803
- static animpostfxPreloadPostfxByStackhash(effectNameHash: string | number): void;
977
+ static addEntityToEntityMaskWithIntensity(entity: Entity, mask: number, intensity: number): void;
978
+ static disableHdtexThisFrame(): void;
804
979
  /**
805
- * @param effectNameHash
806
- * @param p1
807
- * @param p2
808
- * @returns p3
980
+ * @param entity
809
981
  */
810
- static animpostfxHasEventTriggeredByStackhash(effectNameHash: string | number, p1: number, p2: boolean): [any, boolean];
811
- static destroySwatchTextureDict(): void;
982
+ static attachTvAudioToEntity(entity: Entity): void;
812
983
  /**
984
+ * @param effectName
985
+ * @param ped
986
+ * @param offset
987
+ * @param rot
988
+ * @param boneIndex
989
+ * @param scale
990
+ * @param axisX
991
+ * @param axisY
992
+ * @param axisZ
813
993
  * @returns
814
994
  */
815
- static beginTakeHighQualityPhoto(): any;
995
+ static startParticleFxNonLoopedOnPedBone(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
816
996
  /**
817
- * Old name: _IS_TV_PLAYLIST_ITEM_PLAYING
997
+ * contentId: returned by NETWORK::_UGC_QUERY_GET_CREATOR_PHOTO(uVar0, 0, sParam3)
818
998
  *
819
- * @param videoCliphash
999
+ * @param contentId
820
1000
  * @returns
821
1001
  */
822
- static isTvshowCurrentlyPlaying(videoCliphash: string | number): boolean;
1002
+ static getStatusOfLoadMissionCreatorPhoto(contentId: string | null): number;
823
1003
  /**
824
1004
  * @param p0
825
1005
  */
826
- static N_0x8996FA6AD9FE4E90(p0: any): void;
827
- /**
828
- * @param obj
829
- */
830
- static removeDecalsFromObject(obj: Prop): void;
1006
+ static N_0x6C03118E9E5C1A14(p0: any): void;
831
1007
  /**
832
- * https://github.com/femga/rdr3_discoveries/blob/master/graphics/markers/marker_types.lua
833
- * Old name: _DRAW_MARKER
1008
+ * https://imgur.com/a/I2swSDJ Old name: _SET_PICKUP_OBJECT_GLOW_ENABLED
834
1009
  *
835
- * @param type
836
- * @param pos
837
- * @param direction
838
- * @param rot
839
- * @param scale
840
- * @param color
841
- * @param alpha
842
- * @param bobUpAndDown
843
- * @param faceCamera
844
- * @param p19
845
- * @param rotate
846
- * @param textureDict
847
- * @param textureName
848
- * @param drawOnEnts
1010
+ * @param object
1011
+ * @param toggle
849
1012
  */
850
- 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;
1013
+ static setPickupLight(object: Prop, toggle: boolean): void;
851
1014
  /**
852
- * @param r
853
- * @param g
854
- * @param b
1015
+ * @param entity
855
1016
  */
856
- static setParticleFxNonLoopedColour(r: number, g: number, b: number): void;
1017
+ static removeParticleFxFromEntity(entity: Entity): void;
857
1018
  /**
858
- * @param p0
1019
+ * @param ptfxHandle
1020
+ * @param p1
859
1021
  */
860
- static N_0xF5793BB386E1FF9C(p0: any): void;
1022
+ static stopParticleFxLooped(ptfxHandle: number, p1: boolean): void;
861
1023
  /**
862
- * Used in shop scripts for CATALOG_BOOK
863
- * false = Normal -> [CATALOG_BOOK_SHUTDOWN]
864
- * true = Trees flickering? -> [CATALOG_BOOK_OPEN]
1024
+ * p1: AMB_ANN_COAL_CHUTE_DIVE, AMB_ANN_COAL_CHUTE
1025
+ * p2: EMIT
1026
+ * p3: either 0.0f or 1.0f
865
1027
  *
866
- * @param p0
1028
+ * @param entity
1029
+ * @param p1
1030
+ * @param p2
1031
+ * @param p3
867
1032
  */
868
- static N_0x1A9F09AB458D49C6(p0: boolean): void;
1033
+ static N_0x4FB67D172C4476F3(entity: Entity, p1: string | null, p2: string | null, p3: number): void;
869
1034
  /**
870
- * @param effectName
871
- * @param duration
1035
+ * @param typeHash
1036
+ * @param pos1
1037
+ * @param pos2
1038
+ * @param radius
1039
+ * @param color
1040
+ * @param alpha
1041
+ * @param reserved
1042
+ * @returns
872
1043
  */
873
- static animpostfxPlayTimed(effectName: string | null, duration: number): void;
1044
+ static createCheckpointWithNamehash(typeHash: string | number, pos1: Vector3, pos2: Vector3, radius: number, color: Color, alpha: number, reserved: number): number;
1045
+ static disableEntitymask(): void;
874
1046
  /**
875
- * @param effectName
876
- * @param entity
877
- * @param offset
878
- * @param rot
879
- * @param boneIndex
880
- * @param scale
881
- * @param xAxis
882
- * @param yAxis
883
- * @param zAxis
1047
+ * Returns iNumPixels, iPixelsVisible
1048
+ *
1049
+ * @param iTrackedPoint
884
1050
  * @returns
885
1051
  */
886
- static startNetworkedParticleFxLoopedOnEntityBone(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
1052
+ static N_0xDFE332A5DA6FE7C9(iTrackedPoint: number): number;
887
1053
  /**
888
- * @param p0
889
- * @param p1
890
- * @param p2
1054
+ * @param entity
1055
+ * @returns layer0; layer1; layer2; layer3
891
1056
  */
892
- static N_0x735762E8D7573E42(p0: any, p1: any, p2: any): void;
1057
+ static setEntityMaskLayers(entity: Entity): [number, number, number, number];
893
1058
  /**
894
- * Only used in guama1 R* Script
895
- * Disables lod/distant lights when BOOL is set to true
896
- *
897
- * @param disable
1059
+ * @param point
1060
+ * @returns
898
1061
  */
899
- static disableFarArtificialLights(disable: boolean): void;
1062
+ static isTrackedPointVisible(point: number): boolean;
1063
+ static clearTimecycleModifier(): void;
900
1064
  /**
901
- * @param decal
1065
+ * Closes the the binocular scaleform
902
1066
  */
903
- static removeDecal(decal: number): void;
1067
+ static N_0x5AC6E0FA028369DE(): void;
904
1068
  /**
905
- * Hardcoded to always set x to 1280 and y to 720.
1069
+ * ANIMPOSTFX_*
906
1070
  *
907
- * @returns x; y
1071
+ * @param effectNameHash
908
1072
  */
909
- static getScreenResolution(): [number, number];
1073
+ static N_0xC76FC4C2FC5F4405(effectNameHash: string | number): void;
910
1074
  /**
911
- * ANIMPOSTFX_*
912
- *
913
1075
  * @param effectName
914
1076
  */
915
- static N_0xA201A3D0AC087C37(effectName: string | null): void;
1077
+ static animpostfxStopTag(effectName: string | null): void;
916
1078
  /**
917
- * @param modifierName
918
- * @param transitionBlend
1079
+ * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
1080
+ * *ENABLE**
919
1081
  */
920
- static setTransitionTimecycleModifier(modifierName: string | null, transitionBlend: number): void;
921
- static enableEntitymask(): void;
1082
+ static N_0x812C1563185C6FB2(): void;
922
1083
  /**
923
- * fxName: see data_0/data/effects/ptfx/fxlists/
924
- *
925
- * @param fxName
1084
+ * @param posseId
926
1085
  */
927
- static useParticleFxAsset(fxName: string | null): void;
928
- static animpostfxStopAll(): void;
1086
+ static setPosseIdForPhoto(posseId: any): void;
929
1087
  /**
930
- * @param pickup
931
- * @param toggle
1088
+ * Sets the checkpoint color.
1089
+ *
1090
+ * @param checkpoint
1091
+ * @param color
1092
+ * @param alpha
932
1093
  */
933
- static blockPickupPlacementLight(pickup: Pickup, toggle: boolean): void;
1094
+ static setCheckpointRgba(checkpoint: number, color: Color, alpha: number): void;
934
1095
  /**
935
1096
  * ANIMPOSTFX_*
936
1097
  *
@@ -1244,355 +1405,194 @@ export declare class Graphics {
1244
1405
  */
1245
1406
  static isStaticVegModifierEnabled(p0: string | number): any;
1246
1407
  /**
1247
- * https://github.com/femga/rdr3_discoveries/blob/master/graphics/timecycles
1408
+ * @param p0
1409
+ * @param p1
1410
+ */
1411
+ static N_0xC489FE31AC726512(p0: any, p1: any): void;
1412
+ /**
1413
+ * https://i.imgur.com/rPITUCV.jpg
1414
+ * More customizable and more like quadrants
1248
1415
  *
1249
- * @param modifierName
1416
+ * @param pos
1417
+ * @param p3
1418
+ * @param size
1419
+ * @param p5
1420
+ * @param permanent
1421
+ * @param p7
1422
+ * @param p8
1250
1423
  */
1251
- static setTimecycleModifier(modifierName: string | null): void;
1424
+ static addBloodPool2(pos: Vector3, p3: number, size: number, p5: number, permanent: boolean, p7: number, p8: boolean): void;
1252
1425
  /**
1253
- * @param strength
1426
+ * p1: 0.3f in R* Scripts
1427
+ *
1428
+ * @param waypointRecording
1429
+ * @param p1
1254
1430
  */
1255
- static setTimecycleModifierStrength(strength: number): void;
1431
+ static bloodTrailForWaypoint(waypointRecording: string | null, p1: number): void;
1256
1432
  /**
1257
- * @param toggle
1433
+ * @param ptfxHandle
1434
+ * @param range
1258
1435
  */
1259
- static togglePausedRenderphases(toggle: boolean): void;
1436
+ static setParticleFxLoopedFarClipDist(ptfxHandle: number, range: number): void;
1260
1437
  /**
1261
- * R* Script spd_agnesdow1: p0 = SPD_AGNES_DOWD_01
1262
- *
1263
1438
  * @param p0
1264
- * @returns
1439
+ * @param p1
1265
1440
  */
1266
- static N_0xFD05B1DDE83749FA(p0: string | null): boolean;
1441
+ static N_0x085C5B61A0114F32(p0: any, p1: any): void;
1267
1442
  /**
1268
1443
  * @param p0
1269
1444
  */
1270
- static setParticleFxFootLodrangeScale(p0: number): void;
1445
+ static N_0x9F158A49B0D84C3C(p0: any): void;
1271
1446
  /**
1272
- * @param ptfxHandle
1273
1447
  * @returns
1274
1448
  */
1275
- static doesParticleFxLoopedExist(ptfxHandle: number): boolean;
1449
+ static N_0x5C674EB487891F6B(): any;
1276
1450
  /**
1277
- * @param effectName
1278
- * @param entity
1279
- * @param offset
1280
- * @param rot
1281
- * @param scale
1282
- * @param axisX
1283
- * @param axisY
1284
- * @param axisZ
1285
- * @returns
1286
- */
1287
- static startParticleFxNonLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
1288
- /**
1289
- * @returns
1290
- */
1291
- static getTogglePausedRenderphasesStatus(): boolean;
1292
- /**
1293
- * Only used in R* SP Script spd_agnesdown1
1294
- *
1295
- * @param p0
1296
- * @returns
1297
- */
1298
- static N_0x5C9C3A466B3296A8(p0: any): any;
1299
- /**
1300
- * @param entity
1301
- * @param mask
1302
- */
1303
- static addEntityToEntityMask(entity: Entity, mask: number): void;
1304
- /**
1305
- * Always returns 200.
1451
+ * Params: component - used in odriscolls1 and sean1 R* SP Script: COMPONENT_BINOCULARS_SCOPE01
1452
+ * Triggers the binocular scaleform
1306
1453
  *
1307
- * @returns
1308
- */
1309
- static getMaxNumberOfLocalPhotos(): number;
1310
- /**
1311
- * @param channel
1312
- */
1313
- static setTvChannel(channel: number): void;
1314
- /**
1315
- * @param pos
1316
- * @param p3
1454
+ * @param component
1317
1455
  */
1318
- static addPetrolTrailDecalInfo(pos: Vector3, p3: number): void;
1456
+ static N_0x21F00E08CBB5F37B(component: string | null): void;
1319
1457
  /**
1320
- * ANIMPOSTFX_*
1458
+ * Sets an unknown value related to timecycles.
1321
1459
  *
1322
- * @param effectName
1323
- * @returns
1324
- */
1325
- static N_0xB958D97A0DFAA0C2(effectName: string | null): boolean;
1326
- /**
1327
- * @param txdHash
1328
- * @param dict
1329
- * @returns
1460
+ * @param unk
1330
1461
  */
1331
- static isTextureInDict(txdHash: string | number, dict: string | number): any;
1332
- static N_0x910E260AEAD855DE(): void;
1462
+ static resetAdaptation(unk: number): void;
1333
1463
  /**
1334
- * @param scale
1464
+ * @param effectNameHash
1335
1465
  */
1336
- static setParticleFxBulletImpactScale(scale: number): void;
1466
+ static animpostfxPreloadPostfxByStackhash(effectNameHash: string | number): void;
1337
1467
  /**
1338
- * @param p0
1468
+ * @param effectNameHash
1339
1469
  * @param p1
1340
1470
  * @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
1471
+ * @returns p3
1350
1472
  */
1351
- static changePhotoModeExposure(value: number): void;
1473
+ static animpostfxHasEventTriggeredByStackhash(effectNameHash: string | number, p1: number, p2: boolean): [any, boolean];
1474
+ static destroySwatchTextureDict(): void;
1352
1475
  /**
1353
- * @param point
1354
1476
  * @returns
1355
1477
  */
1356
- static isTrackedPointValid(point: number): any;
1478
+ static beginTakeHighQualityPhoto(): any;
1357
1479
  /**
1358
- * Old name: _ENABLE_EXTRA_TIMECYCLE_MODIFIER_STRENGTH
1480
+ * Old name: _IS_TV_PLAYLIST_ITEM_PLAYING
1359
1481
  *
1360
- * @param strength
1482
+ * @param videoCliphash
1483
+ * @returns
1361
1484
  */
1362
- static enableMoonCycleOverride(strength: number): void;
1363
- static setDisablePetrolDecalsIgnitingThisFrame(): void;
1485
+ static isTvshowCurrentlyPlaying(videoCliphash: string | number): boolean;
1364
1486
  /**
1365
- * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
1366
- *
1367
1487
  * @param p0
1368
1488
  */
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;
1489
+ static N_0x8996FA6AD9FE4E90(p0: any): void;
1377
1490
  /**
1378
- * @param enabled
1491
+ * @param obj
1379
1492
  */
1380
- static setSniperGlintsEnabled(enabled: boolean): void;
1493
+ static removeDecalsFromObject(obj: Prop): void;
1381
1494
  /**
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
1495
+ * https://github.com/femga/rdr3_discoveries/blob/master/graphics/markers/marker_types.lua
1496
+ * Old name: _DRAW_MARKER
1386
1497
  *
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
1498
+ * @param type
1499
+ * @param pos
1500
+ * @param direction
1408
1501
  * @param rot
1409
- * @param boneIndex
1410
1502
  * @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;
1428
- static resetPausedRenderphases(): void;
1429
- /**
1430
- * @param unused
1431
- * @returns
1503
+ * @param color
1504
+ * @param alpha
1505
+ * @param bobUpAndDown
1506
+ * @param faceCamera
1507
+ * @param p19
1508
+ * @param rotate
1509
+ * @param textureDict
1510
+ * @param textureName
1511
+ * @param drawOnEnts
1432
1512
  */
1433
- static saveHighQualityPhoto(unused: number): any;
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;
1434
1514
  /**
1435
- * @param pos
1436
- * @param p2
1515
+ * @param r
1516
+ * @param g
1517
+ * @param b
1437
1518
  */
1438
- static setCloudLayer(pos: Vector2, p2: number): void;
1519
+ static setParticleFxNonLoopedColour(r: number, g: number, b: number): void;
1439
1520
  /**
1440
1521
  * @param p0
1441
- * @returns
1442
1522
  */
1443
- static N_0xEC3D8C228FE553D7(p0: boolean): boolean;
1444
- /**
1445
- * *RESET**
1446
- */
1447
- static N_0x1460B644397453EB(): void;
1448
- /**
1449
- * @param personaPhotoLocalCacheType
1450
- */
1451
- static pedshotSetPersonaPhotoType(personaPhotoLocalCacheType: number): void;
1452
- static pedshotFinishCleanupData(): void;
1453
- static N_0x1C6306E5BC25C29C(): void;
1454
- /**
1455
- * @param pos
1456
- */
1457
- static setCloudNoise(pos: Vector3): void;
1523
+ static N_0xF5793BB386E1FF9C(p0: any): void;
1458
1524
  /**
1525
+ * Used in shop scripts for CATALOG_BOOK
1526
+ * false = Normal -> [CATALOG_BOOK_SHUTDOWN]
1527
+ * true = Trees flickering? -> [CATALOG_BOOK_OPEN]
1528
+ *
1459
1529
  * @param p0
1460
1530
  */
1461
- static N_0xEB48CE48EEC41FD4(p0: any): void;
1531
+ static N_0x1A9F09AB458D49C6(p0: boolean): void;
1462
1532
  /**
1463
- * Used in NET_CAMP_SPIRIT_ANIMAL_CLEAR_ANIMAL_VISIBILITY
1464
- *
1465
- * @param entity
1533
+ * @param effectName
1534
+ * @param duration
1466
1535
  */
1467
- static N_0xC06F2F45A73EABCD(entity: Entity): void;
1536
+ static animpostfxPlayTimed(effectName: string | null, duration: number): void;
1468
1537
  /**
1469
1538
  * @param effectName
1470
- * @param pos
1539
+ * @param entity
1540
+ * @param offset
1471
1541
  * @param rot
1542
+ * @param boneIndex
1472
1543
  * @param scale
1473
1544
  * @param xAxis
1474
1545
  * @param yAxis
1475
1546
  * @param zAxis
1476
1547
  * @returns
1477
1548
  */
1478
- static startNetworkedParticleFxNonLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): boolean;
1479
- /**
1480
- * @returns
1481
- */
1482
- static getPhotoModeExposure(): number;
1483
- /**
1484
- * _SET_PARTICLE_FX_LOOPED_FA* - _SET_PARTICLE_FX_LOOPED_OF*
1485
- *
1486
- * @param ptfxHandle
1487
- * @param scalar
1488
- */
1489
- static setParticleFxLoopedUpdateDistantSmoke(ptfxHandle: number, scalar: number): void;
1490
- /**
1491
- * Known effects: MP_Trans_SceneToPhoto
1492
- * MP_Trans_WinLose
1493
- * SpectateFilter
1494
- * MP_CharacterCreatorPhoto
1495
- * MP_Trans_PhotoToScene
1496
- * InterrogationHit
1497
- *
1498
- * @param effectName
1499
- * @returns
1500
- */
1501
- static animpostfxGetStackhash(effectName: string | null): number;
1502
- /**
1503
- * @param height
1504
- */
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;
1549
+ static startNetworkedParticleFxLoopedOnEntityBone(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
1530
1550
  /**
1531
1551
  * @param p0
1532
1552
  * @param p1
1533
1553
  * @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
1554
  */
1541
- static setTvVolume(volume: number): void;
1555
+ static N_0x735762E8D7573E42(p0: any, p1: any, p2: any): void;
1542
1556
  /**
1543
- * Creates a tracked point, useful for checking the visibility of a 3D point on screen.
1557
+ * Only used in guama1 R* Script
1558
+ * Disables lod/distant lights when BOOL is set to true
1544
1559
  *
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
1560
+ * @param disable
1555
1561
  */
1556
- static N_0xA1A86055792FB249(personaPhotoLocalCacheType: number): void;
1562
+ static disableFarArtificialLights(disable: boolean): void;
1557
1563
  /**
1558
- * @param p0
1564
+ * @param decal
1559
1565
  */
1560
- static setPhotoSelfStat(p0: boolean): void;
1566
+ static removeDecal(decal: number): void;
1561
1567
  /**
1562
- * https://github.com/femga/rdr3_discoveries/blob/master/graphics/animpostfx
1568
+ * Hardcoded to always set x to 1280 and y to 720.
1563
1569
  *
1564
- * @param effectName
1565
- */
1566
- static animpostfxPlay(effectName: string | null): void;
1567
- /**
1568
- * *DISABLE**
1570
+ * @returns x; y
1569
1571
  */
1570
- static N_0x4046493D2EEACA0E(): void;
1571
- static pedshotPreviousPersonaPhotoDataCleanup(): void;
1572
+ static getScreenResolution(): [number, number];
1572
1573
  /**
1573
- * effectName2, p2 and p3 are unused ANIMPOSTFX_*
1574
+ * ANIMPOSTFX_*
1574
1575
  *
1575
1576
  * @param effectName
1576
- * @param effectName2
1577
- * @param p2
1578
- * @param p3
1579
1577
  */
1580
- static N_0x26DD2FB0A88CC412(effectName: string | null, effectName2: string | null, p2: any, p3: any): void;
1578
+ static N_0xA201A3D0AC087C37(effectName: string | null): void;
1581
1579
  /**
1582
- * Example: https://pastebin.com/tTgpER9A
1583
- *
1584
- * @param slot
1585
- * @param p1
1580
+ * @param modifierName
1581
+ * @param transitionBlend
1586
1582
  */
1587
- static generateSwatchTextureDirectly(slot: number, p1: any): void;
1583
+ static setTransitionTimecycleModifier(modifierName: string | null, transitionBlend: number): void;
1584
+ static enableEntitymask(): void;
1588
1585
  /**
1589
- * @param p0
1586
+ * fxName: see data_0/data/effects/ptfx/fxlists/
1587
+ *
1588
+ * @param fxName
1590
1589
  */
1591
- static setParticleFxBulletImpactLodrangeScale(p0: number): void;
1590
+ static useParticleFxAsset(fxName: string | null): void;
1591
+ static animpostfxStopAll(): void;
1592
1592
  /**
1593
- * @param p0
1594
- * @param p1
1593
+ * @param pickup
1594
+ * @param toggle
1595
1595
  */
1596
- static N_0x1FF8731BE1DFC0C0(p0: any, p1: any): void;
1596
+ static blockPickupPlacementLight(pickup: Pickup, toggle: boolean): void;
1597
1597
  }
1598
1598
  //# sourceMappingURL=Graphics.d.ts.map