@nativewrappers/redm-codegen 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. package/dist/classes/AnimScene.d.ts +126 -126
  2. package/dist/classes/AnimScene.d.ts.map +1 -1
  3. package/dist/classes/AnimScene.js +184 -184
  4. package/dist/classes/BaseModel.d.ts +17 -17
  5. package/dist/classes/BaseModel.d.ts.map +1 -1
  6. package/dist/classes/BaseModel.js +25 -25
  7. package/dist/classes/BaseTask.d.ts +12 -12
  8. package/dist/classes/BaseTask.d.ts.map +1 -1
  9. package/dist/classes/BaseTask.js +14 -14
  10. package/dist/classes/Cam.d.ts +94 -94
  11. package/dist/classes/Cam.d.ts.map +1 -1
  12. package/dist/classes/Cam.js +126 -126
  13. package/dist/classes/Entity.d.ts +471 -471
  14. package/dist/classes/Entity.d.ts.map +1 -1
  15. package/dist/classes/Entity.js +672 -672
  16. package/dist/classes/PedTask.d.ts +155 -155
  17. package/dist/classes/PedTask.d.ts.map +1 -1
  18. package/dist/classes/PedTask.js +204 -204
  19. package/dist/classes/PersChar.d.ts +9 -9
  20. package/dist/classes/PersChar.d.ts.map +1 -1
  21. package/dist/classes/PersChar.js +21 -21
  22. package/dist/classes/Pickup.d.ts +5 -5
  23. package/dist/classes/Pickup.d.ts.map +1 -1
  24. package/dist/classes/Pickup.js +9 -9
  25. package/dist/classes/Player.d.ts +687 -687
  26. package/dist/classes/Player.d.ts.map +1 -1
  27. package/dist/classes/Player.js +1013 -1013
  28. package/dist/classes/Prop.d.ts +87 -87
  29. package/dist/classes/Prop.d.ts.map +1 -1
  30. package/dist/classes/Prop.js +121 -121
  31. package/dist/classes/PropSet.d.ts +4 -4
  32. package/dist/classes/PropSet.d.ts.map +1 -1
  33. package/dist/classes/PropSet.js +6 -6
  34. package/dist/classes/VehicleTask.d.ts +17 -17
  35. package/dist/classes/VehicleTask.d.ts.map +1 -1
  36. package/dist/classes/VehicleTask.js +21 -21
  37. package/dist/classes/Weapon.d.ts +306 -306
  38. package/dist/classes/Weapon.d.ts.map +1 -1
  39. package/dist/classes/Weapon.js +411 -411
  40. package/dist/namespaces/Animscene.d.ts +59 -59
  41. package/dist/namespaces/Animscene.d.ts.map +1 -1
  42. package/dist/namespaces/Animscene.js +77 -77
  43. package/dist/namespaces/Audio.d.ts +569 -569
  44. package/dist/namespaces/Audio.d.ts.map +1 -1
  45. package/dist/namespaces/Audio.js +728 -728
  46. package/dist/namespaces/Bounty.d.ts +70 -70
  47. package/dist/namespaces/Bounty.d.ts.map +1 -1
  48. package/dist/namespaces/Bounty.js +115 -115
  49. package/dist/namespaces/Brain.d.ts +15 -15
  50. package/dist/namespaces/Brain.d.ts.map +1 -1
  51. package/dist/namespaces/Brain.js +20 -20
  52. package/dist/namespaces/CamStatics.d.ts +399 -399
  53. package/dist/namespaces/CamStatics.d.ts.map +1 -1
  54. package/dist/namespaces/CamStatics.js +574 -574
  55. package/dist/namespaces/Clock.d.ts +51 -51
  56. package/dist/namespaces/Clock.d.ts.map +1 -1
  57. package/dist/namespaces/Clock.js +73 -73
  58. package/dist/namespaces/Collection.d.ts +76 -76
  59. package/dist/namespaces/Collection.d.ts.map +1 -1
  60. package/dist/namespaces/Collection.js +108 -108
  61. package/dist/namespaces/Companion.d.ts +22 -22
  62. package/dist/namespaces/Companion.d.ts.map +1 -1
  63. package/dist/namespaces/Companion.js +30 -30
  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/Crew.d.ts +9 -9
  71. package/dist/namespaces/Crew.d.ts.map +1 -1
  72. package/dist/namespaces/Crew.js +14 -14
  73. package/dist/namespaces/Databinding.d.ts +177 -177
  74. package/dist/namespaces/Databinding.d.ts.map +1 -1
  75. package/dist/namespaces/Databinding.js +271 -271
  76. package/dist/namespaces/Dlc.d.ts +5 -5
  77. package/dist/namespaces/Dlc.d.ts.map +1 -1
  78. package/dist/namespaces/Dlc.js +9 -9
  79. package/dist/namespaces/EntityStatics.d.ts +193 -193
  80. package/dist/namespaces/EntityStatics.d.ts.map +1 -1
  81. package/dist/namespaces/EntityStatics.js +263 -263
  82. package/dist/namespaces/Fire.d.ts +7 -7
  83. package/dist/namespaces/Fire.d.ts.map +1 -1
  84. package/dist/namespaces/Fire.js +9 -9
  85. package/dist/namespaces/Graphics.d.ts +820 -820
  86. package/dist/namespaces/Graphics.d.ts.map +1 -1
  87. package/dist/namespaces/Graphics.js +1118 -1118
  88. package/dist/namespaces/Hud.d.ts +494 -494
  89. package/dist/namespaces/Hud.d.ts.map +1 -1
  90. package/dist/namespaces/Hud.js +789 -789
  91. package/dist/namespaces/Inventory.d.ts +180 -180
  92. package/dist/namespaces/Inventory.d.ts.map +1 -1
  93. package/dist/namespaces/Inventory.js +239 -239
  94. package/dist/namespaces/Itemdatabase.d.ts +78 -78
  95. package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
  96. package/dist/namespaces/Itemdatabase.js +106 -106
  97. package/dist/namespaces/Map.d.ts +156 -156
  98. package/dist/namespaces/Map.d.ts.map +1 -1
  99. package/dist/namespaces/Map.js +207 -207
  100. package/dist/namespaces/Minigame.d.ts +78 -78
  101. package/dist/namespaces/Minigame.d.ts.map +1 -1
  102. package/dist/namespaces/Minigame.js +116 -116
  103. package/dist/namespaces/Missiondata.d.ts +15 -15
  104. package/dist/namespaces/Missiondata.d.ts.map +1 -1
  105. package/dist/namespaces/Missiondata.js +23 -23
  106. package/dist/namespaces/Network.d.ts +636 -636
  107. package/dist/namespaces/Network.d.ts.map +1 -1
  108. package/dist/namespaces/Network.js +915 -915
  109. package/dist/namespaces/Object.d.ts +121 -121
  110. package/dist/namespaces/Object.d.ts.map +1 -1
  111. package/dist/namespaces/Object.js +162 -162
  112. package/dist/namespaces/Pad.d.ts +94 -94
  113. package/dist/namespaces/Pad.d.ts.map +1 -1
  114. package/dist/namespaces/Pad.js +127 -127
  115. package/dist/namespaces/Perschar.d.ts +44 -44
  116. package/dist/namespaces/Perschar.d.ts.map +1 -1
  117. package/dist/namespaces/Perschar.js +68 -68
  118. package/dist/namespaces/Physics.d.ts +158 -158
  119. package/dist/namespaces/Physics.d.ts.map +1 -1
  120. package/dist/namespaces/Physics.js +207 -207
  121. package/dist/namespaces/PlayerStatics.d.ts +127 -127
  122. package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
  123. package/dist/namespaces/PlayerStatics.js +177 -177
  124. package/dist/namespaces/Population.d.ts +75 -75
  125. package/dist/namespaces/Population.d.ts.map +1 -1
  126. package/dist/namespaces/Population.js +101 -101
  127. package/dist/namespaces/Posse.d.ts +38 -38
  128. package/dist/namespaces/Posse.d.ts.map +1 -1
  129. package/dist/namespaces/Posse.js +62 -62
  130. package/dist/namespaces/Propset.d.ts +30 -30
  131. package/dist/namespaces/Propset.d.ts.map +1 -1
  132. package/dist/namespaces/Propset.js +38 -38
  133. package/dist/namespaces/Shapetest.d.ts +11 -11
  134. package/dist/namespaces/Shapetest.d.ts.map +1 -1
  135. package/dist/namespaces/Shapetest.js +13 -13
  136. package/dist/namespaces/Stats.d.ts +88 -88
  137. package/dist/namespaces/Stats.d.ts.map +1 -1
  138. package/dist/namespaces/Stats.js +123 -123
  139. package/dist/namespaces/Streaming.d.ts +58 -58
  140. package/dist/namespaces/Streaming.d.ts.map +1 -1
  141. package/dist/namespaces/Streaming.js +92 -92
  142. package/dist/namespaces/Task.d.ts +62 -62
  143. package/dist/namespaces/Task.d.ts.map +1 -1
  144. package/dist/namespaces/Task.js +90 -90
  145. package/dist/namespaces/Telemetry.d.ts +172 -172
  146. package/dist/namespaces/Telemetry.d.ts.map +1 -1
  147. package/dist/namespaces/Telemetry.js +240 -240
  148. package/dist/namespaces/Uifeed.d.ts +15 -15
  149. package/dist/namespaces/Uifeed.d.ts.map +1 -1
  150. package/dist/namespaces/Uifeed.js +24 -24
  151. package/dist/namespaces/Voice.d.ts +38 -38
  152. package/dist/namespaces/Voice.d.ts.map +1 -1
  153. package/dist/namespaces/Voice.js +56 -56
  154. package/dist/namespaces/Water.d.ts +27 -27
  155. package/dist/namespaces/Water.d.ts.map +1 -1
  156. package/dist/namespaces/Water.js +41 -41
  157. package/dist/namespaces/WeaponStatics.d.ts +250 -250
  158. package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
  159. package/dist/namespaces/WeaponStatics.js +346 -346
  160. package/package.json +1 -1
  161. package/src/classes/AnimScene.ts +199 -199
  162. package/src/classes/BaseModel.ts +29 -29
  163. package/src/classes/BaseTask.ts +15 -15
  164. package/src/classes/Cam.ts +135 -135
  165. package/src/classes/Entity.ts +687 -687
  166. package/src/classes/PedTask.ts +223 -223
  167. package/src/classes/PersChar.ts +24 -24
  168. package/src/classes/Pickup.ts +10 -10
  169. package/src/classes/Player.ts +1024 -1024
  170. package/src/classes/Prop.ts +136 -136
  171. package/src/classes/PropSet.ts +7 -7
  172. package/src/classes/VehicleTask.ts +23 -23
  173. package/src/classes/Weapon.ts +429 -429
  174. package/src/namespaces/Animscene.ts +86 -86
  175. package/src/namespaces/Audio.ts +804 -804
  176. package/src/namespaces/Bounty.ts +131 -131
  177. package/src/namespaces/Brain.ts +22 -22
  178. package/src/namespaces/CamStatics.ts +599 -599
  179. package/src/namespaces/Clock.ts +82 -82
  180. package/src/namespaces/Collection.ts +109 -109
  181. package/src/namespaces/Companion.ts +34 -34
  182. package/src/namespaces/Compendium.ts +59 -59
  183. package/src/namespaces/Crashlog.ts +16 -16
  184. package/src/namespaces/Crew.ts +16 -16
  185. package/src/namespaces/Databinding.ts +286 -286
  186. package/src/namespaces/Dlc.ts +9 -9
  187. package/src/namespaces/EntityStatics.ts +279 -279
  188. package/src/namespaces/Fire.ts +10 -10
  189. package/src/namespaces/Graphics.ts +1196 -1196
  190. package/src/namespaces/Hud.ts +799 -799
  191. package/src/namespaces/Inventory.ts +245 -245
  192. package/src/namespaces/Itemdatabase.ts +118 -118
  193. package/src/namespaces/Map.ts +215 -215
  194. package/src/namespaces/Minigame.ts +132 -132
  195. package/src/namespaces/Missiondata.ts +27 -27
  196. package/src/namespaces/Network.ts +951 -951
  197. package/src/namespaces/Object.ts +171 -171
  198. package/src/namespaces/Pad.ts +127 -127
  199. package/src/namespaces/Perschar.ts +72 -72
  200. package/src/namespaces/Physics.ts +231 -231
  201. package/src/namespaces/PlayerStatics.ts +202 -202
  202. package/src/namespaces/Population.ts +114 -114
  203. package/src/namespaces/Posse.ts +62 -62
  204. package/src/namespaces/Propset.ts +42 -42
  205. package/src/namespaces/Shapetest.ts +14 -14
  206. package/src/namespaces/Stats.ts +139 -139
  207. package/src/namespaces/Streaming.ts +104 -104
  208. package/src/namespaces/Task.ts +100 -100
  209. package/src/namespaces/Telemetry.ts +265 -265
  210. package/src/namespaces/Uifeed.ts +27 -27
  211. package/src/namespaces/Voice.ts +65 -65
  212. package/src/namespaces/Water.ts +47 -47
  213. package/src/namespaces/WeaponStatics.ts +365 -365
@@ -10,84 +10,115 @@ import { Vector3 } from '../types/Vector3';
10
10
  import { Color } from '../types/Color';
11
11
  export declare class Graphics {
12
12
  /**
13
- * Health Core Effect Filter Potency: p1 = 1
14
- * Stamina Core Effect Filter Potency: p1 = 2
15
- * Multiple Core Effect Filter Potency: p1 = 3
13
+ * When this is set to ON, shadows only draw as you get nearer. When OFF, they draw from a further distance.
16
14
  *
17
- * @param effectName
18
- * @param p1
19
- * @param potency
15
+ * @param toggle
20
16
  */
21
- static animpostfxSetPotency(effectName: string | null, p1: number, potency: number): void;
17
+ static cascadeShadowsEnableEntityTracker(toggle: boolean): void;
22
18
  /**
23
- * @returns
19
+ * Only used in R* Script nb_stalking_hunter
20
+ *
21
+ * @param p0
24
22
  */
25
- static pedshotIsAvailable(): any;
23
+ static N_0xD1472AFF30C103D6(p0: number): void;
26
24
  /**
27
- * @param p0
25
+ * @param worldX
26
+ * @param worldY
27
+ * @param worldZ
28
+ * @returns screenX; screenY
28
29
  */
29
- static N_0xD9BC98B55BCFAA9B(p0: any): void;
30
+ static getScreenCoordFromWorldCoord(worldX: number, worldY: number, worldZ: number): [boolean, number, number];
30
31
  /**
32
+ * @param point
31
33
  * @param pos
32
- * @param xScale
33
- * @param yScale
34
- * @param rotation
34
+ * @param radius
35
+ */
36
+ static setTrackedPointInfo(point: number, pos: Vector3, radius: number): void;
37
+ /**
38
+ * Draws a 2D sprite on the screen. Parameters:
39
+ * textureDict - Name of texture dictionary to load texture from textureName - Name of texture to load from texture dictionary screenX/Y - Screen offset (0.5 = center)
40
+ * scaleX/Y - Texture scaling. Negative values can be used to flip the texture on that axis. (0.5 = half) heading - Texture rotation in degrees (default = 0.0) positive is clockwise, measured in degrees red,green,blue - Sprite color (default = 255/255/255) alpha - opacity level https://github.com/femga/rdr3_discoveries/tree/master/useful_info_from_rpfs/textures
41
+ *
42
+ * @param textureDict
43
+ * @param textureName
44
+ * @param screenX
45
+ * @param screenY
46
+ * @param width
47
+ * @param height
48
+ * @param heading
35
49
  * @param color
36
50
  * @param alpha
51
+ * @param p11
37
52
  */
38
- static drawTvChannel(pos: Vector2, xScale: number, yScale: number, rotation: number, color: Color, alpha: number): void;
53
+ static drawSprite(textureDict: string | null, textureName: string | null, screenX: number, screenY: number, width: number, height: number, heading: number, color: Color, alpha: number, p11: boolean): void;
39
54
  /**
40
- * @param handle
55
+ * @returns
41
56
  */
42
- static removeGrassCullSphere(handle: number): void;
57
+ static getCurrentNumberOfLocalPhotos(): number;
43
58
  /**
44
- * @param slots
45
- * @returns
59
+ * @param ptfxHandle
60
+ * @param p1
46
61
  */
47
- static createSwatchTextureDict(slots: number): any;
62
+ static removeParticleFx(ptfxHandle: number, p1: boolean): void;
48
63
  /**
49
- * _GET_C* - _GET_E*
64
+ * Removes all decals in range from a position, it includes the bullet holes, blood pools, petrol...
50
65
  *
51
- * @returns
66
+ * @param pos
67
+ * @param range
52
68
  */
53
- static getModifiedVisibilityDistance(): number;
69
+ static removeDecalsInRange(pos: Vector3, range: number): void;
54
70
  /**
55
- * nullsub, doesn't do anything
56
- *
57
71
  * @param p0
58
72
  */
59
- static N_0x94B261F1F35293E1(p0: any): void;
73
+ static setPhotoOverlayEffectStat(p0: number): void;
60
74
  /**
61
- * Probably changes tvs from being a 3d audio to being "global" audio
62
- *
63
- * @param toggle
75
+ * @param ptfxHandle
76
+ * @param r
77
+ * @param g
78
+ * @param b
79
+ * @param p4
64
80
  */
65
- static setTvAudioFrontend(toggle: boolean): void;
81
+ static setParticleFxLoopedColour(ptfxHandle: number, r: number, g: number, b: number, p4: boolean): void;
66
82
  /**
67
- * @returns
83
+ * @param effectNameHash
68
84
  */
69
- static getTimecycleTransitionModifierIndex(): number;
85
+ static animpostfxStopStackhashPostfx(effectNameHash: string | number): void;
86
+ /**
87
+ * @param value
88
+ */
89
+ static changePhotoModeContrast(value: number): void;
70
90
  /**
71
91
  * @param ptfxHandle
72
- * @param propertyName
73
- * @param amount
74
- * @param noNetwork
92
+ * @param alpha
75
93
  */
76
- static setParticleFxLoopedEvolution(ptfxHandle: number, propertyName: string | null, amount: number, noNetwork: boolean): void;
94
+ static setParticleFxLoopedAlpha(ptfxHandle: number, alpha: number): void;
77
95
  /**
78
- * @param effectName
96
+ * @param p0
97
+ * @param p1
98
+ * @param p2
99
+ * @param p3
79
100
  * @returns
80
101
  */
81
- static animpostfxHasLoaded(effectName: string | null): any;
102
+ static N_0xA15CCAB8AD038291(p0: any, p1: any, p2: any, p3: any): any;
82
103
  /**
83
- * @param decal
104
+ * @param entity
105
+ */
106
+ static removeEntityFromEntityMask(entity: Entity): void;
107
+ /**
108
+ * @param p0
109
+ * @param p1
110
+ * @param p2
111
+ */
112
+ static setParticleFxNonLoopedEmitterScale(p0: number, p1: number, p2: number): void;
113
+ /**
114
+ * @param effectNameHash
84
115
  * @returns
85
116
  */
86
- static isDecalAlive(decal: number): boolean;
117
+ static animpostfxIsStackhashPlaying(effectNameHash: string | number): any;
87
118
  /**
88
119
  * @param p0
89
120
  */
90
- static N_0x453D16D41FC51D3E(p0: boolean): void;
121
+ static N_0x503941F65DBA24EC(p0: any): void;
91
122
  /**
92
123
  * @param p0
93
124
  * @param p1
@@ -96,584 +127,312 @@ export declare class Graphics {
96
127
  * @param p4
97
128
  * @param p5
98
129
  * @param p6
99
- * @returns
100
130
  */
101
- static N_0xE63D68F455CA0B47(p0: any, p1: any, p2: any, p3: any, p4: any, p5: any, p6: any): any;
131
+ static N_0x48FE0DB54045B975(p0: any, p1: any, p2: any, p3: any, p4: any, p5: any, p6: any): void;
132
+ static cascadeShadowsClearShadowSampleType(): void;
102
133
  /**
103
- * @param pos
104
- * @param colorR
105
- * @param colorG
106
- * @param colorB
107
- * @param range
108
- * @param intensity
134
+ * Draws a rectangle on the screen. -x: The relative X point of the center of the rectangle. (0.0-1.0, 0.0 is the left edge of the screen, 1.0 is the right edge of the screen) -y: The relative Y point of the center of the rectangle. (0.0-1.0, 0.0 is the top edge of the screen, 1.0 is the bottom edge of the screen) -width: The relative width of the rectangle. (0.0-1.0, 1.0 means the whole screen width) -height: The relative height of the rectangle. (0.0-1.0, 1.0 means the whole screen height) -R: Red part of the color. (0-255) -G: Green part of the color. (0-255) -B: Blue part of the color. (0-255) -A: Alpha part of the color. (0-255, 0 means totally transparent, 255 means totally opaque)
135
+ *
136
+ * @param x
137
+ * @param y
138
+ * @param width
139
+ * @param height
140
+ * @param color
141
+ * @param alpha
142
+ * @param p8
143
+ * @param p9
109
144
  */
110
- static drawLightWithRange(pos: Vector3, colorR: number, colorG: number, colorB: number, range: number, intensity: number): void;
145
+ static drawRect(x: number, y: number, width: number, height: number, color: Color, alpha: number, p8: boolean, p9: boolean): void;
111
146
  /**
112
- * Sets the draw order for script draw commands.
113
- *
114
- * @param drawOrder
147
+ * @param tvChannel
148
+ * @param playlistName
149
+ * @param restart
115
150
  */
116
- static setScriptGfxDrawOrder(drawOrder: number): void;
151
+ static setTvChannelPlaylist(tvChannel: number, playlistName: string | null, restart: boolean): void;
152
+ /**
153
+ * @param checkpoint
154
+ */
155
+ static deleteCheckpoint(checkpoint: number): void;
117
156
  /**
157
+ * *DISABLE**
158
+ *
118
159
  * @param p0
119
160
  */
120
- static enableStaticVegModifier(p0: string | number): void;
161
+ static N_0xFB680A9B33D0EDBE(p0: boolean): void;
121
162
  /**
122
163
  * @returns
123
164
  */
124
- static getTvChannel(): number;
125
- static N_0x9D1B0B5066205692(): void;
165
+ static N_0xC28F62AC9774FC1B(): any;
126
166
  /**
127
- * @param alpha
167
+ * @param p1
168
+ * @param p2
169
+ * @param p3
170
+ * @returns p0
128
171
  */
129
- static setParticleFxNonLoopedAlpha(alpha: number): void;
172
+ static loadMissionCreatorPhoto(p1: any, p2: any, p3: any): [boolean, number];
130
173
  /**
131
- * @param point
174
+ * @param entity
175
+ * @returns layer0; layer1; layer2; layer3
132
176
  */
133
- static destroyTrackedPoint(point: number): void;
177
+ static getEntityMaskLayers(entity: Entity): [boolean, number, number, number, number];
134
178
  /**
135
- * @param p0
179
+ * @param ped
180
+ * @param p1
181
+ * @param size
182
+ * @param p3
136
183
  */
137
- static N_0x67B0778C62E74423(p0: any): void;
184
+ static addBloodPoolsForPedWithParams(ped: Ped, p1: number, size: number, p3: number): void;
138
185
  /**
139
- * ANIMPOSTFX_*
186
+ * Returns proxyInteriorIndex
140
187
  *
141
- * @param effectNameHash
188
+ * @param interiorId
189
+ * @returns
142
190
  */
143
- static N_0x71845905BCCDE781(effectNameHash: string | number): void;
144
- static N_0xF2F543D48F319A3A(): void;
191
+ static getProxyInteriorIndex(interiorId: number): number;
192
+ static endPetrolTrailDecals(): void;
145
193
  /**
146
194
  * ANIMPOSTFX_*
147
195
  *
148
- * @returns
196
+ * @param effectName
197
+ * @param p1
198
+ * @param p2
199
+ * @returns p3
149
200
  */
150
- static N_0x3DA7A10583A4BEC0(): boolean;
201
+ static N_0xFBF161FCFEC8589E(effectName: string | null, p1: number, p2: boolean): [boolean, boolean];
151
202
  /**
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.
203
+ * 0 = succeeded
204
+ * 1 = getting status
205
+ * 2 = failed
154
206
  *
155
- * @param state
207
+ * @returns
156
208
  */
157
- static setArtificialLightsState(state: boolean): void;
209
+ static getStatusOfSaveHighQualityPhoto(): number;
158
210
  /**
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"
174
- *
175
- * @param type
211
+ * @returns
176
212
  */
177
- static cascadeShadowsSetShadowSampleType(type: string | null): void;
213
+ static isPhotoFrame(): boolean;
178
214
  /**
179
215
  * @param p0
216
+ * @param p1
217
+ * @param p2
218
+ * @param p3
219
+ * @param p4
220
+ * @param p5
221
+ * @param p6
222
+ * @param p7
223
+ * @param p8
224
+ * @param p9
225
+ * @param p10
180
226
  */
181
- static N_0x519928DF02EB5101(p0: any): void;
227
+ 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;
182
228
  /**
183
- * Gets set to 1 when GET_STATUS_OF_TAKE_HIGH_QUALITY_PHOTO = PHOTO_OPERATION_SUCCEEDED
184
- *
185
- * @param p0
229
+ * @param effectName
230
+ * @returns
186
231
  */
187
- static N_0x0D5B19C34068FEE7(p0: any): void;
232
+ static animpostfxIsRunning(effectName: string | null): boolean;
188
233
  /**
189
- * type must be less than or equal to 20
234
+ * Used for script function RPG_GLOBAL_STATS__PRIVATE__ACTIVATE_STAT_FLAG - Quite and Inspiration Aura equip
235
+ * Params: 0f, 2f, 2f
190
236
  *
191
- * @param entity
192
- * @param type
193
- */
194
- static setLightsTypeForEntity(entity: Entity, type: number): void;
195
- /**
196
237
  * @param p0
197
238
  * @param p1
198
239
  * @param p2
199
- * @param p3
200
240
  */
201
- static N_0xD543487A1F12828F(p0: any, p1: any, p2: any, p3: any): void;
202
- static N_0xEC3F7F24EEEB3BA3(): void;
241
+ static setEntityAura(p0: number, p1: number, p2: number): void;
203
242
  /**
204
- * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
243
+ * ANIMPOSTFX_*
205
244
  *
206
- * @param p0
245
+ * @param effectNameHash
246
+ * @returns
207
247
  */
208
- static N_0x41F88A85A579A61D(p0: number): void;
209
- static freeMemoryForLowQualityPhoto(): void;
210
- static freeMemoryForHighQualityPhoto(): void;
211
- static N_0x32DE2BFFDA43E62A(): void;
212
- /**
213
- * Resets the exposure to the value when exposure lock was enabled
214
- */
215
- static updatePhotoModeExposure(): void;
248
+ static N_0xE75CDDEBF618C8FF(effectNameHash: string | number): boolean;
216
249
  /**
217
- * @param effectName
250
+ * @param pos
218
251
  */
219
- static animpostfxPreloadPostfx(effectName: string | null): void;
252
+ static addBloodTrailSplat(pos: Vector3): void;
220
253
  /**
221
- * @param strength
254
+ * https://i.imgur.com/ULQU9US.jpg
255
+ * More rounded and small puddle
256
+ *
257
+ * @param pos
258
+ * @param unused
222
259
  */
223
- static setTransitionOutOfTimecycleModifier(strength: number): void;
260
+ static addBloodPool(pos: Vector3, unused: boolean): void;
224
261
  /**
225
- * @param effectName
226
- * @param p1
227
- * @param color
228
- * @param alpha
262
+ * Only used in finale2, smuggler2, winter4
263
+ * _SET_CLOUD_A* - _SET_CLOUD_H*
264
+ *
265
+ * @param pos
229
266
  */
230
- static animpostfxSetPostfxColor(effectName: string | null, p1: number, color: Color, alpha: number): void;
267
+ static setCloudPosition(pos: Vector3): void;
231
268
  /**
232
269
  * @param p0
233
270
  * @param p1
234
271
  */
235
- static startPetrolTrailDecals(p0: any, p1: any): void;
236
- /**
237
- * @param pickupObject
238
- * @param allow
239
- */
240
- static allowPickupLightSync(pickupObject: Prop, allow: boolean): void;
241
- static freeMemoryForMissionCreatorPhoto(): void;
272
+ static N_0xA04EF43030593ABC(p0: any, p1: any): void;
242
273
  /**
243
- * Returns veg modifier handle
274
+ * Called together with FREE_MEMORY_FOR_LOW_QUALITY_PHOTO
244
275
  *
245
- * @param pos
246
- * @param radius
247
- * @param modType
248
- * @param flags
249
- * @param p6
276
+ * @param p0
250
277
  * @returns
251
278
  */
252
- static addVegModifierSphere(pos: Vector3, radius: number, modType: number, flags: number, p6: number): number;
279
+ static beginCreateLowQualityCopyOfPhoto(p0: number): boolean;
253
280
  /**
254
- * Only used in R* SP Script spd_agnesdown1
255
- *
256
- * @param p0
257
- * @param pos
258
- * @param p4
259
- * @param p5
260
- * @param heading
261
- * @returns
281
+ * @param player
262
282
  */
263
- static N_0x402E1A61D2587FCD(p0: any, pos: Vector3, p4: number, p5: number, heading: number): boolean;
283
+ static setPlayerAppearInPhoto(player: Player): void;
264
284
  /**
285
+ * @param checkpoint
265
286
  * @returns
266
287
  */
267
- static N_0xFC9B53C072F418E0(): any;
288
+ static doesCheckpointHaveFx(checkpoint: number): any;
268
289
  /**
269
- * state: false disables artificial interior light sources for specific proxyInteriorIndex
290
+ * https://github.com/femga/rdr3_discoveries/blob/master/graphics/timecycles
270
291
  *
271
- * @param proxyInteriorIndex
272
- * @param state
292
+ * @param modifierName
273
293
  */
274
- static setProxyInteriorIndexArtificialLightsState(proxyInteriorIndex: number, state: boolean): void;
275
- static resetPausedRenderphases(): void;
294
+ static setTimecycleModifier(modifierName: string | null): void;
276
295
  /**
277
- * @param unused
278
- * @returns
296
+ * @param strength
279
297
  */
280
- static saveHighQualityPhoto(unused: number): any;
298
+ static setTimecycleModifierStrength(strength: number): void;
281
299
  /**
282
- * @param pos
283
- * @param p2
300
+ * @param toggle
284
301
  */
285
- static setCloudLayer(pos: Vector2, p2: number): void;
302
+ static togglePausedRenderphases(toggle: boolean): void;
286
303
  /**
304
+ * R* Script spd_agnesdow1: p0 = SPD_AGNES_DOWD_01
305
+ *
287
306
  * @param p0
288
307
  * @returns
289
308
  */
290
- static N_0xEC3D8C228FE553D7(p0: boolean): boolean;
291
- /**
292
- * *RESET**
293
- */
294
- static N_0x1460B644397453EB(): void;
295
- /**
296
- * @param personaPhotoLocalCacheType
297
- */
298
- static pedshotSetPersonaPhotoType(personaPhotoLocalCacheType: number): void;
299
- static pedshotFinishCleanupData(): void;
300
- static N_0x1C6306E5BC25C29C(): void;
301
- /**
302
- * @param pos
303
- */
304
- static setCloudNoise(pos: Vector3): void;
309
+ static N_0xFD05B1DDE83749FA(p0: string | null): boolean;
305
310
  /**
306
311
  * @param p0
307
312
  */
308
- static N_0xEB48CE48EEC41FD4(p0: any): void;
313
+ static setParticleFxFootLodrangeScale(p0: number): void;
309
314
  /**
310
- * Used in NET_CAMP_SPIRIT_ANIMAL_CLEAR_ANIMAL_VISIBILITY
311
- *
312
- * @param entity
315
+ * @param ptfxHandle
316
+ * @returns
313
317
  */
314
- static N_0xC06F2F45A73EABCD(entity: Entity): void;
318
+ static doesParticleFxLoopedExist(ptfxHandle: number): boolean;
315
319
  /**
316
320
  * @param effectName
317
- * @param pos
321
+ * @param entity
322
+ * @param offset
318
323
  * @param rot
319
324
  * @param scale
320
- * @param xAxis
321
- * @param yAxis
322
- * @param zAxis
325
+ * @param axisX
326
+ * @param axisY
327
+ * @param axisZ
323
328
  * @returns
324
329
  */
325
- static startNetworkedParticleFxNonLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): boolean;
330
+ static startParticleFxNonLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
326
331
  /**
327
332
  * @returns
328
333
  */
329
- static getPhotoModeExposure(): number;
330
- /**
331
- * _SET_PARTICLE_FX_LOOPED_FA* - _SET_PARTICLE_FX_LOOPED_OF*
332
- *
333
- * @param ptfxHandle
334
- * @param scalar
335
- */
336
- static setParticleFxLoopedUpdateDistantSmoke(ptfxHandle: number, scalar: number): void;
334
+ static getTogglePausedRenderphasesStatus(): boolean;
337
335
  /**
338
- * Known effects: MP_Trans_SceneToPhoto
339
- * MP_Trans_WinLose
340
- * SpectateFilter
341
- * MP_CharacterCreatorPhoto
342
- * MP_Trans_PhotoToScene
343
- * InterrogationHit
336
+ * Only used in R* SP Script spd_agnesdown1
344
337
  *
345
- * @param effectName
338
+ * @param p0
346
339
  * @returns
347
340
  */
348
- static animpostfxGetStackhash(effectName: string | null): number;
349
- /**
350
- * @param height
351
- */
352
- static setCloudHeight(height: number): void;
341
+ static N_0x5C9C3A466B3296A8(p0: any): any;
353
342
  /**
354
- * When this is set to ON, shadows only draw as you get nearer. When OFF, they draw from a further distance.
355
- *
356
- * @param toggle
343
+ * @param entity
344
+ * @param mask
357
345
  */
358
- static cascadeShadowsEnableEntityTracker(toggle: boolean): void;
346
+ static addEntityToEntityMask(entity: Entity, mask: number): void;
359
347
  /**
360
- * Only used in R* Script nb_stalking_hunter
348
+ * Always returns 200.
361
349
  *
362
- * @param p0
350
+ * @returns
363
351
  */
364
- static N_0xD1472AFF30C103D6(p0: number): void;
352
+ static getMaxNumberOfLocalPhotos(): number;
365
353
  /**
366
- * @param worldX
367
- * @param worldY
368
- * @param worldZ
369
- * @returns screenX; screenY
354
+ * @param channel
370
355
  */
371
- static getScreenCoordFromWorldCoord(worldX: number, worldY: number, worldZ: number): [boolean, number, number];
356
+ static setTvChannel(channel: number): void;
372
357
  /**
373
- * @param point
374
358
  * @param pos
375
- * @param radius
359
+ * @param p3
376
360
  */
377
- static setTrackedPointInfo(point: number, pos: Vector3, radius: number): void;
361
+ static addPetrolTrailDecalInfo(pos: Vector3, p3: number): void;
378
362
  /**
379
- * Draws a 2D sprite on the screen. Parameters:
380
- * textureDict - Name of texture dictionary to load texture from textureName - Name of texture to load from texture dictionary screenX/Y - Screen offset (0.5 = center)
381
- * scaleX/Y - Texture scaling. Negative values can be used to flip the texture on that axis. (0.5 = half) heading - Texture rotation in degrees (default = 0.0) positive is clockwise, measured in degrees red,green,blue - Sprite color (default = 255/255/255) alpha - opacity level https://github.com/femga/rdr3_discoveries/tree/master/useful_info_from_rpfs/textures
363
+ * ANIMPOSTFX_*
382
364
  *
383
- * @param textureDict
384
- * @param textureName
385
- * @param screenX
386
- * @param screenY
387
- * @param width
388
- * @param height
389
- * @param heading
390
- * @param color
391
- * @param alpha
392
- * @param p11
365
+ * @param effectName
366
+ * @returns
393
367
  */
394
- static drawSprite(textureDict: string | null, textureName: string | null, screenX: number, screenY: number, width: number, height: number, heading: number, color: Color, alpha: number, p11: boolean): void;
368
+ static N_0xB958D97A0DFAA0C2(effectName: string | null): boolean;
395
369
  /**
370
+ * @param txdHash
371
+ * @param dict
396
372
  * @returns
397
373
  */
398
- static getCurrentNumberOfLocalPhotos(): number;
374
+ static isTextureInDict(txdHash: string | number, dict: string | number): any;
375
+ static N_0x910E260AEAD855DE(): void;
399
376
  /**
400
- * @param ptfxHandle
377
+ * @param p0
401
378
  * @param p1
402
379
  */
403
- static removeParticleFx(ptfxHandle: number, p1: boolean): void;
380
+ static N_0xC489FE31AC726512(p0: any, p1: any): void;
404
381
  /**
405
- * Removes all decals in range from a position, it includes the bullet holes, blood pools, petrol...
382
+ * https://i.imgur.com/rPITUCV.jpg
383
+ * More customizable and more like quadrants
406
384
  *
407
385
  * @param pos
408
- * @param range
386
+ * @param p3
387
+ * @param size
388
+ * @param p5
389
+ * @param permanent
390
+ * @param p7
391
+ * @param p8
409
392
  */
410
- static removeDecalsInRange(pos: Vector3, range: number): void;
393
+ static addBloodPool2(pos: Vector3, p3: number, size: number, p5: number, permanent: boolean, p7: number, p8: boolean): void;
411
394
  /**
412
- * @param p0
395
+ * p1: 0.3f in R* Scripts
396
+ *
397
+ * @param waypointRecording
398
+ * @param p1
413
399
  */
414
- static setPhotoOverlayEffectStat(p0: number): void;
400
+ static bloodTrailForWaypoint(waypointRecording: string | null, p1: number): void;
415
401
  /**
416
402
  * @param ptfxHandle
417
- * @param r
418
- * @param g
419
- * @param b
420
- * @param p4
403
+ * @param range
421
404
  */
422
- static setParticleFxLoopedColour(ptfxHandle: number, r: number, g: number, b: number, p4: boolean): void;
405
+ static setParticleFxLoopedFarClipDist(ptfxHandle: number, range: number): void;
423
406
  /**
424
- * @param effectNameHash
407
+ * @param p0
408
+ * @param p1
425
409
  */
426
- static animpostfxStopStackhashPostfx(effectNameHash: string | number): void;
410
+ static N_0x085C5B61A0114F32(p0: any, p1: any): void;
427
411
  /**
428
- * @param value
412
+ * @param p0
429
413
  */
430
- static changePhotoModeContrast(value: number): void;
414
+ static N_0x9F158A49B0D84C3C(p0: any): void;
431
415
  /**
432
- * Returns proxyInteriorIndex
433
- *
434
- * @param interiorId
435
416
  * @returns
436
417
  */
437
- static getProxyInteriorIndex(interiorId: number): number;
438
- static endPetrolTrailDecals(): void;
418
+ static N_0x5C674EB487891F6B(): any;
439
419
  /**
440
- * ANIMPOSTFX_*
420
+ * Params: component - used in odriscolls1 and sean1 R* SP Script: COMPONENT_BINOCULARS_SCOPE01
421
+ * Triggers the binocular scaleform
441
422
  *
442
- * @param effectName
443
- * @param p1
444
- * @param p2
445
- * @returns p3
423
+ * @param component
446
424
  */
447
- static N_0xFBF161FCFEC8589E(effectName: string | null, p1: number, p2: boolean): [boolean, boolean];
425
+ static N_0x21F00E08CBB5F37B(component: string | null): void;
448
426
  /**
449
- * 0 = succeeded
450
- * 1 = getting status
451
- * 2 = failed
427
+ * Sets an unknown value related to timecycles.
452
428
  *
453
- * @returns
429
+ * @param unk
454
430
  */
455
- static getStatusOfSaveHighQualityPhoto(): number;
431
+ static resetAdaptation(unk: number): void;
456
432
  /**
457
- * @returns
433
+ * @param effectNameHash
458
434
  */
459
- static isPhotoFrame(): boolean;
460
- /**
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
472
- */
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;
474
- /**
475
- * @param effectName
476
- * @returns
477
- */
478
- static animpostfxIsRunning(effectName: string | null): boolean;
479
- /**
480
- * Used for script function RPG_GLOBAL_STATS__PRIVATE__ACTIVATE_STAT_FLAG - Quite and Inspiration Aura equip
481
- * Params: 0f, 2f, 2f
482
- *
483
- * @param p0
484
- * @param p1
485
- * @param p2
486
- */
487
- static setEntityAura(p0: number, p1: number, p2: number): void;
488
- /**
489
- * ANIMPOSTFX_*
490
- *
491
- * @param effectNameHash
492
- * @returns
493
- */
494
- static N_0xE75CDDEBF618C8FF(effectNameHash: string | number): boolean;
495
- /**
496
- * @param pos
497
- */
498
- static addBloodTrailSplat(pos: Vector3): void;
499
- /**
500
- * https://i.imgur.com/ULQU9US.jpg
501
- * More rounded and small puddle
502
- *
503
- * @param pos
504
- * @param unused
505
- */
506
- static addBloodPool(pos: Vector3, unused: boolean): void;
507
- /**
508
- * Only used in finale2, smuggler2, winter4
509
- * _SET_CLOUD_A* - _SET_CLOUD_H*
510
- *
511
- * @param pos
512
- */
513
- static setCloudPosition(pos: Vector3): void;
514
- /**
515
- * @param p0
516
- * @param p1
517
- */
518
- static N_0xA04EF43030593ABC(p0: any, p1: any): void;
519
- /**
520
- * Called together with FREE_MEMORY_FOR_LOW_QUALITY_PHOTO
521
- *
522
- * @param p0
523
- * @returns
524
- */
525
- static beginCreateLowQualityCopyOfPhoto(p0: number): boolean;
526
- /**
527
- * @param player
528
- */
529
- static setPlayerAppearInPhoto(player: Player): void;
530
- /**
531
- * @param checkpoint
532
- * @returns
533
- */
534
- static doesCheckpointHaveFx(checkpoint: number): any;
535
- /**
536
- * Creates blood pools for the given ped in some interval for a few seconds.
537
- *
538
- * @param ped
539
- */
540
- static addBloodPoolsForPed(ped: Ped): void;
541
- /**
542
- * @param texture
543
- * @param ped
544
- * @param playerSlot
545
- * @returns
546
- */
547
- static pedshotGeneratePersonaPhoto(texture: string | null, ped: Ped, playerSlot: number): boolean;
548
- /**
549
- * @returns
550
- */
551
- static queueOperationToCreateSortedListOfPhotos(): any;
552
- /**
553
- * @param p0
554
- */
555
- static setRegionPhotoTakenStat(p0: string | null): void;
556
- /**
557
- * @param effectName
558
- */
559
- static animpostfxSetToUnload(effectName: string | null): void;
560
- /**
561
- * @param proxyInteriorIndex
562
- * @returns
563
- */
564
- static isProxyInteriorIndexArtificialLightsEnabled(proxyInteriorIndex: number): any;
565
- /**
566
- * @param p0
567
- */
568
- static setPhotoInPhotomodeStat(p0: boolean): void;
569
- /**
570
- * @param entity
571
- * @param intensity
572
- */
573
- static setLightsIntensityForEntity(entity: Entity, intensity: number): void;
574
- /**
575
- * @param entity
576
- */
577
- static updateLightsOnEntity(entity: Entity): void;
578
- /**
579
- * @returns
580
- */
581
- static getStatusOfTakeHighQualityPhoto(): number;
582
- /**
583
- * @returns
584
- */
585
- static N_0x285438C26C732F9D(): any;
586
- /**
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.
588
- *
589
- * @param toggle
590
- */
591
- static setScriptGfxDrawBehindPausemenu(toggle: boolean): void;
592
- /**
593
- * @param p0
594
- */
595
- static setDistrictPhotoTakenStat(p0: string | null): void;
596
- /**
597
- * @param effectName
598
- * @param ped
599
- * @param offset
600
- * @param rot
601
- * @param boneIndex
602
- * @param scale
603
- * @param xAxis
604
- * @param yAxis
605
- * @param zAxis
606
- * @returns
607
- */
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;
617
- /**
618
- * @param p0
619
- * @param p1
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
627
- * @param p3
628
- * @param size
629
- * @param p5
630
- * @param permanent
631
- * @param p7
632
- * @param p8
633
- */
634
- static addBloodPool2(pos: Vector3, p3: number, size: number, p5: number, permanent: boolean, p7: number, p8: boolean): void;
635
- /**
636
- * p1: 0.3f in R* Scripts
637
- *
638
- * @param waypointRecording
639
- * @param p1
640
- */
641
- static bloodTrailForWaypoint(waypointRecording: string | null, p1: number): void;
642
- /**
643
- * @param ptfxHandle
644
- * @param range
645
- */
646
- static setParticleFxLoopedFarClipDist(ptfxHandle: number, range: number): void;
647
- /**
648
- * @param p0
649
- * @param p1
650
- */
651
- static N_0x085C5B61A0114F32(p0: any, p1: any): void;
652
- /**
653
- * @param p0
654
- */
655
- static N_0x9F158A49B0D84C3C(p0: any): void;
656
- /**
657
- * @returns
658
- */
659
- static N_0x5C674EB487891F6B(): any;
660
- /**
661
- * Params: component - used in odriscolls1 and sean1 R* SP Script: COMPONENT_BINOCULARS_SCOPE01
662
- * Triggers the binocular scaleform
663
- *
664
- * @param component
665
- */
666
- static N_0x21F00E08CBB5F37B(component: string | null): void;
667
- /**
668
- * Sets an unknown value related to timecycles.
669
- *
670
- * @param unk
671
- */
672
- static resetAdaptation(unk: number): void;
673
- /**
674
- * @param effectNameHash
675
- */
676
- static animpostfxPreloadPostfxByStackhash(effectNameHash: string | number): void;
435
+ static animpostfxPreloadPostfxByStackhash(effectNameHash: string | number): void;
677
436
  /**
678
437
  * @param effectNameHash
679
438
  * @param p1
@@ -910,217 +669,96 @@ export declare class Graphics {
910
669
  */
911
670
  static setStatePhotoTakenStat(p0: string | null): void;
912
671
  /**
913
- * @param ptfxHandle
914
- * @param alpha
672
+ * Sets the draw order for script draw commands.
673
+ *
674
+ * @param drawOrder
915
675
  */
916
- static setParticleFxLoopedAlpha(ptfxHandle: number, alpha: number): void;
676
+ static setScriptGfxDrawOrder(drawOrder: number): void;
917
677
  /**
918
678
  * @param p0
919
- * @param p1
920
- * @param p2
921
- * @param p3
679
+ */
680
+ static enableStaticVegModifier(p0: string | number): void;
681
+ /**
922
682
  * @returns
923
683
  */
924
- static N_0xA15CCAB8AD038291(p0: any, p1: any, p2: any, p3: any): any;
684
+ static getTvChannel(): number;
685
+ static N_0x9D1B0B5066205692(): void;
925
686
  /**
926
- * @param entity
687
+ * @param alpha
927
688
  */
928
- static removeEntityFromEntityMask(entity: Entity): void;
689
+ static setParticleFxNonLoopedAlpha(alpha: number): void;
690
+ /**
691
+ * @param point
692
+ */
693
+ static destroyTrackedPoint(point: number): void;
929
694
  /**
930
695
  * @param p0
931
- * @param p1
932
- * @param p2
933
696
  */
934
- static setParticleFxNonLoopedEmitterScale(p0: number, p1: number, p2: number): void;
697
+ static N_0x67B0778C62E74423(p0: any): void;
935
698
  /**
699
+ * ANIMPOSTFX_*
700
+ *
936
701
  * @param effectNameHash
937
- * @returns
938
702
  */
939
- static animpostfxIsStackhashPlaying(effectNameHash: string | number): any;
703
+ static N_0x71845905BCCDE781(effectNameHash: string | number): void;
704
+ static N_0xF2F543D48F319A3A(): void;
940
705
  /**
941
- * @param p0
706
+ * ANIMPOSTFX_*
707
+ *
708
+ * @returns
942
709
  */
943
- static N_0x503941F65DBA24EC(p0: any): void;
944
- /**
945
- * @param p0
946
- * @param p1
947
- * @param p2
948
- * @param p3
949
- * @param p4
950
- * @param p5
951
- * @param p6
952
- */
953
- static N_0x48FE0DB54045B975(p0: any, p1: any, p2: any, p3: any, p4: any, p5: any, p6: any): void;
954
- static cascadeShadowsClearShadowSampleType(): void;
710
+ static N_0x3DA7A10583A4BEC0(): boolean;
955
711
  /**
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)
712
+ * Does not affect weapons, particles, fire/explosions, flashlights or the sun.
713
+ * 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.
957
714
  *
958
- * @param x
959
- * @param y
960
- * @param width
961
- * @param height
962
- * @param color
963
- * @param alpha
964
- * @param p8
965
- * @param p9
715
+ * @param state
966
716
  */
967
- static drawRect(x: number, y: number, width: number, height: number, color: Color, alpha: number, p8: boolean, p9: boolean): void;
717
+ static setArtificialLightsState(state: boolean): void;
968
718
  /**
969
- * @param tvChannel
970
- * @param playlistName
971
- * @param restart
719
+ * Possible values:
720
+ * "CSM_ST_POINT"
721
+ * "CSM_ST_LINEAR"
722
+ * "CSM_ST_BOX3x3"
723
+ * "CSM_ST_BOX4x4"
724
+ * "CSM_ST_DITHER2_LINEAR"
725
+ * "CSM_ST_CUBIC"
726
+ * "CSM_ST_POISSON16"
727
+ * "CSM_ST_SOFT8"
728
+ * "CSM_ST_SOFT16"
729
+ * "CSM_ST_SOFT32"
730
+ * "CSM_ST_DITHER16_RPDB"
731
+ * "CSM_ST_POISSON16_RPDB_GNORM"
732
+ * "CSM_ST_HIGHRES_BOX4x4"
733
+ * "CSM_ST_ESM"
734
+ *
735
+ * @param type
972
736
  */
973
- static setTvChannelPlaylist(tvChannel: number, playlistName: string | null, restart: boolean): void;
737
+ static cascadeShadowsSetShadowSampleType(type: string | null): void;
974
738
  /**
975
- * @param checkpoint
739
+ * @param p0
976
740
  */
977
- static deleteCheckpoint(checkpoint: number): void;
741
+ static N_0x519928DF02EB5101(p0: any): void;
978
742
  /**
979
- * *DISABLE**
743
+ * Gets set to 1 when GET_STATUS_OF_TAKE_HIGH_QUALITY_PHOTO = PHOTO_OPERATION_SUCCEEDED
980
744
  *
981
745
  * @param p0
982
746
  */
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;
747
+ static N_0x0D5B19C34068FEE7(p0: any): void;
1007
748
  /**
1008
- * Only used in guama1 R* SP Script while spawning the ship
1009
- * *SET_ENTITY_QUATERNION** - SET_ENTITY_RENDER_*
749
+ * type must be less than or equal to 20
1010
750
  *
1011
- * @param vehicle
1012
- * @param toggle
1013
- */
1014
- static setEntityRenderGuarmaShip(vehicle: Vehicle, toggle: boolean): void;
1015
- /**
1016
- * @param effectName
1017
751
  * @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
752
  * @param type
1047
753
  */
1048
- static setSnowCoverageType(type: number): void;
1049
- /**
1050
- * @param effectNameHash
1051
- */
1052
- static animpostfxPlayTag(effectNameHash: string | number): void;
1053
- /**
1054
- * @param pickupObject
1055
- * @param toggle
1056
- */
1057
- static blockPickupObjectLight(pickupObject: Prop, toggle: boolean): void;
1058
- /**
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
1068
- */
1069
- static startNetworkedParticleFxLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
1070
- /**
1071
- * @param pos
1072
- * @param radius
1073
- */
1074
- static removeParticleFxInRange(pos: Vector3, radius: number): void;
1075
- /**
1076
- * https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_looped.lua
1077
- *
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
1087
- */
1088
- static startParticleFxLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean, p11: boolean): number;
1089
- /**
1090
- * @returns
1091
- */
1092
- static getTimecycleModifierIndex(): number;
1093
- /**
1094
- * nullsub, doesn't do anything
1095
- *
1096
- * @param toggle
1097
- */
1098
- static enableMovieSubtitles(toggle: boolean): void;
754
+ static setLightsTypeForEntity(entity: Entity, type: number): void;
1099
755
  /**
1100
756
  * @param p0
1101
757
  * @param p1
1102
758
  * @param p2
1103
759
  * @param p3
1104
- * @param p4
1105
- */
1106
- static N_0x171C18E994C1A395(p0: any, p1: any, p2: any, p3: any, p4: any): void;
1107
- /**
1108
- * Doesn't actually return anything. ANIMPOSTFX_*
1109
- *
1110
- * @returns
1111
- */
1112
- static N_0xC37792A3F9C90771(): any;
1113
- /**
1114
- * Adds Vegetation Blocking Zone, Added Snow Flattening veg mod Zone
1115
- * Returns veg modifier handle
1116
- *
1117
- * @param volume
1118
- * @param p1
1119
- * @param flags
1120
- * @param p3
1121
- * @returns
1122
760
  */
1123
- static addVegModifierZone(volume: Volume, p1: number, flags: number, p3: number): number;
761
+ static N_0xD543487A1F12828F(p0: any, p1: any, p2: any, p3: any): void;
1124
762
  /**
1125
763
  * @param p0
1126
764
  */
@@ -1189,137 +827,587 @@ export declare class Graphics {
1189
827
  * @param p0
1190
828
  * @param p1
1191
829
  */
1192
- static N_0x9F6D859C80708B26(p0: boolean, p1: boolean): void;
830
+ static N_0x9F6D859C80708B26(p0: boolean, p1: boolean): void;
831
+ /**
832
+ * @param oldAsset
833
+ * @param newAsset
834
+ */
835
+ static setParticleFxOverride(oldAsset: string | null, newAsset: string | null): void;
836
+ /**
837
+ * @param p0
838
+ * @param p1
839
+ */
840
+ static N_0xA0F4D12D6042F6D5(p0: any, p1: any): void;
841
+ /**
842
+ * @param ptfxHandle
843
+ * @param pos
844
+ * @param rot
845
+ */
846
+ static setParticleFxLoopedOffsets(ptfxHandle: number, pos: Vector3, rot: Vector3): void;
847
+ /**
848
+ * @param p0
849
+ */
850
+ static disableStaticVegModifier(p0: string | number): void;
851
+ /**
852
+ * @param ptfxHandle
853
+ * @param scale
854
+ */
855
+ static setParticleFxLoopedScale(ptfxHandle: number, scale: number): void;
856
+ /**
857
+ * https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_non_looped.lua
858
+ *
859
+ * @param effectName
860
+ * @param pos
861
+ * @param rot
862
+ * @param scale
863
+ * @param eventType
864
+ * @param bPeekOnly
865
+ * @param bIsRegistered
866
+ * @returns
867
+ */
868
+ static startParticleFxNonLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, eventType: number, bPeekOnly: boolean, bIsRegistered: boolean): number;
869
+ /**
870
+ * @param p0
871
+ * @returns
872
+ */
873
+ static isStaticVegModifierEnabled(p0: string | number): any;
874
+ /**
875
+ * Creates blood pools for the given ped in some interval for a few seconds.
876
+ *
877
+ * @param ped
878
+ */
879
+ static addBloodPoolsForPed(ped: Ped): void;
880
+ /**
881
+ * @param texture
882
+ * @param ped
883
+ * @param playerSlot
884
+ * @returns
885
+ */
886
+ static pedshotGeneratePersonaPhoto(texture: string | null, ped: Ped, playerSlot: number): boolean;
887
+ /**
888
+ * @returns
889
+ */
890
+ static queueOperationToCreateSortedListOfPhotos(): any;
891
+ /**
892
+ * @param p0
893
+ */
894
+ static setRegionPhotoTakenStat(p0: string | null): void;
895
+ /**
896
+ * @param effectName
897
+ */
898
+ static animpostfxSetToUnload(effectName: string | null): void;
899
+ /**
900
+ * @param proxyInteriorIndex
901
+ * @returns
902
+ */
903
+ static isProxyInteriorIndexArtificialLightsEnabled(proxyInteriorIndex: number): any;
904
+ /**
905
+ * @param p0
906
+ */
907
+ static setPhotoInPhotomodeStat(p0: boolean): void;
908
+ /**
909
+ * @param entity
910
+ * @param intensity
911
+ */
912
+ static setLightsIntensityForEntity(entity: Entity, intensity: number): void;
913
+ /**
914
+ * @param entity
915
+ */
916
+ static updateLightsOnEntity(entity: Entity): void;
917
+ /**
918
+ * @returns
919
+ */
920
+ static getStatusOfTakeHighQualityPhoto(): number;
921
+ /**
922
+ * @returns
923
+ */
924
+ static N_0x285438C26C732F9D(): any;
925
+ /**
926
+ * Sets a flag defining whether or not script draw commands should continue being drawn behind the pause menu. This is usually used for draw commands that are used with a world render target.
927
+ *
928
+ * @param toggle
929
+ */
930
+ static setScriptGfxDrawBehindPausemenu(toggle: boolean): void;
931
+ /**
932
+ * @param p0
933
+ */
934
+ static setDistrictPhotoTakenStat(p0: string | null): void;
935
+ /**
936
+ * @param effectName
937
+ * @param ped
938
+ * @param offset
939
+ * @param rot
940
+ * @param boneIndex
941
+ * @param scale
942
+ * @param xAxis
943
+ * @param yAxis
944
+ * @param zAxis
945
+ * @returns
946
+ */
947
+ static startParticleFxLoopedOnPedBone(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
948
+ /**
949
+ * @param p0
950
+ */
951
+ static setPhotoStudioStat(p0: number): void;
952
+ /**
953
+ * @param effectName
954
+ */
955
+ static animpostfxStop(effectName: string | null): void;
956
+ static resetPausedRenderphases(): void;
957
+ /**
958
+ * @param unused
959
+ * @returns
960
+ */
961
+ static saveHighQualityPhoto(unused: number): any;
962
+ /**
963
+ * @param pos
964
+ * @param p2
965
+ */
966
+ static setCloudLayer(pos: Vector2, p2: number): void;
967
+ /**
968
+ * @param p0
969
+ * @returns
970
+ */
971
+ static N_0xEC3D8C228FE553D7(p0: boolean): boolean;
972
+ /**
973
+ * *RESET**
974
+ */
975
+ static N_0x1460B644397453EB(): void;
976
+ /**
977
+ * @param personaPhotoLocalCacheType
978
+ */
979
+ static pedshotSetPersonaPhotoType(personaPhotoLocalCacheType: number): void;
980
+ static pedshotFinishCleanupData(): void;
981
+ static N_0x1C6306E5BC25C29C(): void;
982
+ /**
983
+ * @param pos
984
+ */
985
+ static setCloudNoise(pos: Vector3): void;
986
+ /**
987
+ * @param p0
988
+ */
989
+ static N_0xEB48CE48EEC41FD4(p0: any): void;
990
+ /**
991
+ * Used in NET_CAMP_SPIRIT_ANIMAL_CLEAR_ANIMAL_VISIBILITY
992
+ *
993
+ * @param entity
994
+ */
995
+ static N_0xC06F2F45A73EABCD(entity: Entity): void;
996
+ /**
997
+ * @param effectName
998
+ * @param pos
999
+ * @param rot
1000
+ * @param scale
1001
+ * @param xAxis
1002
+ * @param yAxis
1003
+ * @param zAxis
1004
+ * @returns
1005
+ */
1006
+ static startNetworkedParticleFxNonLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): boolean;
1007
+ /**
1008
+ * @returns
1009
+ */
1010
+ static getPhotoModeExposure(): number;
1011
+ /**
1012
+ * _SET_PARTICLE_FX_LOOPED_FA* - _SET_PARTICLE_FX_LOOPED_OF*
1013
+ *
1014
+ * @param ptfxHandle
1015
+ * @param scalar
1016
+ */
1017
+ static setParticleFxLoopedUpdateDistantSmoke(ptfxHandle: number, scalar: number): void;
1018
+ /**
1019
+ * Known effects: MP_Trans_SceneToPhoto
1020
+ * MP_Trans_WinLose
1021
+ * SpectateFilter
1022
+ * MP_CharacterCreatorPhoto
1023
+ * MP_Trans_PhotoToScene
1024
+ * InterrogationHit
1025
+ *
1026
+ * @param effectName
1027
+ * @returns
1028
+ */
1029
+ static animpostfxGetStackhash(effectName: string | null): number;
1030
+ /**
1031
+ * @param height
1032
+ */
1033
+ static setCloudHeight(height: number): void;
1034
+ /**
1035
+ * https://imgur.com/a/I2swSDJ Old name: _SET_PICKUP_OBJECT_GLOW_ENABLED
1036
+ *
1037
+ * @param object
1038
+ * @param toggle
1039
+ */
1040
+ static setPickupLight(object: Prop, toggle: boolean): void;
1041
+ /**
1042
+ * @param entity
1043
+ */
1044
+ static removeParticleFxFromEntity(entity: Entity): void;
1045
+ /**
1046
+ * @param ptfxHandle
1047
+ * @param p1
1048
+ */
1049
+ static stopParticleFxLooped(ptfxHandle: number, p1: boolean): void;
1050
+ /**
1051
+ * p1: AMB_ANN_COAL_CHUTE_DIVE, AMB_ANN_COAL_CHUTE
1052
+ * p2: EMIT
1053
+ * p3: either 0.0f or 1.0f
1054
+ *
1055
+ * @param entity
1056
+ * @param p1
1057
+ * @param p2
1058
+ * @param p3
1059
+ */
1060
+ static N_0x4FB67D172C4476F3(entity: Entity, p1: string | null, p2: string | null, p3: number): void;
1061
+ /**
1062
+ * @param typeHash
1063
+ * @param pos1
1064
+ * @param pos2
1065
+ * @param radius
1066
+ * @param color
1067
+ * @param alpha
1068
+ * @param reserved
1069
+ * @returns
1070
+ */
1071
+ static createCheckpointWithNamehash(typeHash: string | number, pos1: Vector3, pos2: Vector3, radius: number, color: Color, alpha: number, reserved: number): number;
1072
+ static disableEntitymask(): void;
1073
+ /**
1074
+ * Returns iNumPixels, iPixelsVisible
1075
+ *
1076
+ * @param iTrackedPoint
1077
+ * @returns
1078
+ */
1079
+ static N_0xDFE332A5DA6FE7C9(iTrackedPoint: number): number;
1080
+ /**
1081
+ * @param entity
1082
+ * @returns layer0; layer1; layer2; layer3
1083
+ */
1084
+ static setEntityMaskLayers(entity: Entity): [number, number, number, number];
1085
+ /**
1086
+ * @param point
1087
+ * @returns
1088
+ */
1089
+ static isTrackedPointVisible(point: number): boolean;
1090
+ static clearTimecycleModifier(): void;
1091
+ /**
1092
+ * Closes the the binocular scaleform
1093
+ */
1094
+ static N_0x5AC6E0FA028369DE(): void;
1095
+ /**
1096
+ * ANIMPOSTFX_*
1097
+ *
1098
+ * @param effectNameHash
1099
+ */
1100
+ static N_0xC76FC4C2FC5F4405(effectNameHash: string | number): void;
1101
+ /**
1102
+ * @param effectName
1103
+ */
1104
+ static animpostfxStopTag(effectName: string | null): void;
1105
+ /**
1106
+ * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
1107
+ * *ENABLE**
1108
+ */
1109
+ static N_0x812C1563185C6FB2(): void;
1110
+ /**
1111
+ * @param posseId
1112
+ */
1113
+ static setPosseIdForPhoto(posseId: any): void;
1114
+ /**
1115
+ * Sets the checkpoint color.
1116
+ *
1117
+ * @param checkpoint
1118
+ * @param color
1119
+ * @param alpha
1120
+ */
1121
+ static setCheckpointRgba(checkpoint: number, color: Color, alpha: number): void;
1122
+ /**
1123
+ * Health Core Effect Filter Potency: p1 = 1
1124
+ * Stamina Core Effect Filter Potency: p1 = 2
1125
+ * Multiple Core Effect Filter Potency: p1 = 3
1126
+ *
1127
+ * @param effectName
1128
+ * @param p1
1129
+ * @param potency
1130
+ */
1131
+ static animpostfxSetPotency(effectName: string | null, p1: number, potency: number): void;
1132
+ /**
1133
+ * @returns
1134
+ */
1135
+ static pedshotIsAvailable(): any;
1136
+ /**
1137
+ * @param p0
1138
+ */
1139
+ static N_0xD9BC98B55BCFAA9B(p0: any): void;
1140
+ /**
1141
+ * @param pos
1142
+ * @param xScale
1143
+ * @param yScale
1144
+ * @param rotation
1145
+ * @param color
1146
+ * @param alpha
1147
+ */
1148
+ static drawTvChannel(pos: Vector2, xScale: number, yScale: number, rotation: number, color: Color, alpha: number): void;
1149
+ /**
1150
+ * @param handle
1151
+ */
1152
+ static removeGrassCullSphere(handle: number): void;
1153
+ /**
1154
+ * @param slots
1155
+ * @returns
1156
+ */
1157
+ static createSwatchTextureDict(slots: number): any;
1158
+ /**
1159
+ * _GET_C* - _GET_E*
1160
+ *
1161
+ * @returns
1162
+ */
1163
+ static getModifiedVisibilityDistance(): number;
1164
+ /**
1165
+ * nullsub, doesn't do anything
1166
+ *
1167
+ * @param p0
1168
+ */
1169
+ static N_0x94B261F1F35293E1(p0: any): void;
1170
+ /**
1171
+ * Probably changes tvs from being a 3d audio to being "global" audio
1172
+ *
1173
+ * @param toggle
1174
+ */
1175
+ static setTvAudioFrontend(toggle: boolean): void;
1176
+ /**
1177
+ * @returns
1178
+ */
1179
+ static getTimecycleTransitionModifierIndex(): number;
1180
+ /**
1181
+ * @param ptfxHandle
1182
+ * @param propertyName
1183
+ * @param amount
1184
+ * @param noNetwork
1185
+ */
1186
+ static setParticleFxLoopedEvolution(ptfxHandle: number, propertyName: string | null, amount: number, noNetwork: boolean): void;
1187
+ /**
1188
+ * @param effectName
1189
+ * @returns
1190
+ */
1191
+ static animpostfxHasLoaded(effectName: string | null): any;
1192
+ /**
1193
+ * @param decal
1194
+ * @returns
1195
+ */
1196
+ static isDecalAlive(decal: number): boolean;
1197
+ /**
1198
+ * @param p0
1199
+ */
1200
+ static N_0x453D16D41FC51D3E(p0: boolean): void;
1201
+ /**
1202
+ * @param p0
1203
+ * @param p1
1204
+ * @param p2
1205
+ * @param p3
1206
+ * @param p4
1207
+ * @param p5
1208
+ * @param p6
1209
+ * @returns
1210
+ */
1211
+ static N_0xE63D68F455CA0B47(p0: any, p1: any, p2: any, p3: any, p4: any, p5: any, p6: any): any;
1212
+ /**
1213
+ * @param pos
1214
+ * @param colorR
1215
+ * @param colorG
1216
+ * @param colorB
1217
+ * @param range
1218
+ * @param intensity
1219
+ */
1220
+ static drawLightWithRange(pos: Vector3, colorR: number, colorG: number, colorB: number, range: number, intensity: number): void;
1221
+ /**
1222
+ * Only used in guama1 R* SP Script while spawning the ship
1223
+ * *SET_ENTITY_QUATERNION** - SET_ENTITY_RENDER_*
1224
+ *
1225
+ * @param vehicle
1226
+ * @param toggle
1227
+ */
1228
+ static setEntityRenderGuarmaShip(vehicle: Vehicle, toggle: boolean): void;
1229
+ /**
1230
+ * @param effectName
1231
+ * @param entity
1232
+ * @param offset
1233
+ * @param rot
1234
+ * @param scale
1235
+ * @param axisX
1236
+ * @param axisY
1237
+ * @param axisZ
1238
+ * @returns
1239
+ */
1240
+ static startNetworkedParticleFxNonLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
1241
+ /**
1242
+ * @param lock
1243
+ */
1244
+ static setPhotoModeExposureLocked(lock: boolean): void;
1245
+ static N_0x815653A42C5ABE76(): void;
1246
+ /**
1247
+ * @param effectName
1248
+ * @returns
1249
+ */
1250
+ static animpostfxIsTagPlaying(effectName: string | null): any;
1251
+ /**
1252
+ * enum class eSnowCoverageType
1253
+ * {
1254
+ * Primary,
1255
+ * Secondary,
1256
+ * Xmas,
1257
+ * XmasSecondary // since b1232
1258
+ * };
1259
+ *
1260
+ * @param type
1261
+ */
1262
+ static setSnowCoverageType(type: number): void;
1193
1263
  /**
1194
- * @param oldAsset
1195
- * @param newAsset
1264
+ * @param effectNameHash
1196
1265
  */
1197
- static setParticleFxOverride(oldAsset: string | null, newAsset: string | null): void;
1266
+ static animpostfxPlayTag(effectNameHash: string | number): void;
1198
1267
  /**
1199
- * @param p0
1200
- * @param p1
1268
+ * @param pickupObject
1269
+ * @param toggle
1201
1270
  */
1202
- static N_0xA0F4D12D6042F6D5(p0: any, p1: any): void;
1271
+ static blockPickupObjectLight(pickupObject: Prop, toggle: boolean): void;
1203
1272
  /**
1204
- * @param ptfxHandle
1205
- * @param pos
1273
+ * @param effectName
1274
+ * @param entity
1275
+ * @param offset
1206
1276
  * @param rot
1277
+ * @param scale
1278
+ * @param xAxis
1279
+ * @param yAxis
1280
+ * @param zAxis
1281
+ * @returns
1207
1282
  */
1208
- static setParticleFxLoopedOffsets(ptfxHandle: number, pos: Vector3, rot: Vector3): void;
1209
- /**
1210
- * @param p0
1211
- */
1212
- static disableStaticVegModifier(p0: string | number): void;
1283
+ static startNetworkedParticleFxLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number;
1213
1284
  /**
1214
- * @param ptfxHandle
1215
- * @param scale
1285
+ * @param pos
1286
+ * @param radius
1216
1287
  */
1217
- static setParticleFxLoopedScale(ptfxHandle: number, scale: number): void;
1288
+ static removeParticleFxInRange(pos: Vector3, radius: number): void;
1218
1289
  /**
1219
- * https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_non_looped.lua
1290
+ * https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_looped.lua
1220
1291
  *
1221
1292
  * @param effectName
1222
1293
  * @param pos
1223
1294
  * @param rot
1224
1295
  * @param scale
1225
- * @param eventType
1226
- * @param bPeekOnly
1227
- * @param bIsRegistered
1296
+ * @param xAxis
1297
+ * @param yAxis
1298
+ * @param zAxis
1299
+ * @param p11
1228
1300
  * @returns
1229
1301
  */
1230
- static startParticleFxNonLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, eventType: number, bPeekOnly: boolean, bIsRegistered: boolean): number;
1302
+ static startParticleFxLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean, p11: boolean): number;
1231
1303
  /**
1232
- * @param p0
1233
1304
  * @returns
1234
1305
  */
1235
- static isStaticVegModifierEnabled(p0: string | number): any;
1306
+ static getTimecycleModifierIndex(): number;
1236
1307
  /**
1237
- * https://github.com/femga/rdr3_discoveries/blob/master/graphics/timecycles
1308
+ * nullsub, doesn't do anything
1238
1309
  *
1239
- * @param modifierName
1310
+ * @param toggle
1240
1311
  */
1241
- static setTimecycleModifier(modifierName: string | null): void;
1312
+ static enableMovieSubtitles(toggle: boolean): void;
1242
1313
  /**
1243
- * @param strength
1314
+ * @param p0
1315
+ * @param p1
1316
+ * @param p2
1317
+ * @param p3
1318
+ * @param p4
1244
1319
  */
1245
- static setTimecycleModifierStrength(strength: number): void;
1320
+ static N_0x171C18E994C1A395(p0: any, p1: any, p2: any, p3: any, p4: any): void;
1246
1321
  /**
1247
- * @param toggle
1322
+ * Doesn't actually return anything. ANIMPOSTFX_*
1323
+ *
1324
+ * @returns
1248
1325
  */
1249
- static togglePausedRenderphases(toggle: boolean): void;
1326
+ static N_0xC37792A3F9C90771(): any;
1250
1327
  /**
1251
- * R* Script spd_agnesdow1: p0 = SPD_AGNES_DOWD_01
1328
+ * Adds Vegetation Blocking Zone, Added Snow Flattening veg mod Zone
1329
+ * Returns veg modifier handle
1252
1330
  *
1253
- * @param p0
1331
+ * @param volume
1332
+ * @param p1
1333
+ * @param flags
1334
+ * @param p3
1254
1335
  * @returns
1255
1336
  */
1256
- static N_0xFD05B1DDE83749FA(p0: string | null): boolean;
1337
+ static addVegModifierZone(volume: Volume, p1: number, flags: number, p3: number): number;
1338
+ static N_0xEC3F7F24EEEB3BA3(): void;
1257
1339
  /**
1340
+ * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
1341
+ *
1258
1342
  * @param p0
1259
1343
  */
1260
- static setParticleFxFootLodrangeScale(p0: number): void;
1344
+ static N_0x41F88A85A579A61D(p0: number): void;
1345
+ static freeMemoryForLowQualityPhoto(): void;
1346
+ static freeMemoryForHighQualityPhoto(): void;
1347
+ static N_0x32DE2BFFDA43E62A(): void;
1261
1348
  /**
1262
- * @param ptfxHandle
1263
- * @returns
1349
+ * Resets the exposure to the value when exposure lock was enabled
1264
1350
  */
1265
- static doesParticleFxLoopedExist(ptfxHandle: number): boolean;
1351
+ static updatePhotoModeExposure(): void;
1266
1352
  /**
1267
1353
  * @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
1354
  */
1277
- static startParticleFxNonLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean;
1355
+ static animpostfxPreloadPostfx(effectName: string | null): void;
1278
1356
  /**
1279
- * @returns
1357
+ * @param strength
1280
1358
  */
1281
- static getTogglePausedRenderphasesStatus(): boolean;
1359
+ static setTransitionOutOfTimecycleModifier(strength: number): void;
1360
+ /**
1361
+ * @param effectName
1362
+ * @param p1
1363
+ * @param color
1364
+ * @param alpha
1365
+ */
1366
+ static animpostfxSetPostfxColor(effectName: string | null, p1: number, color: Color, alpha: number): void;
1282
1367
  /**
1283
- * Only used in R* SP Script spd_agnesdown1
1284
- *
1285
1368
  * @param p0
1286
- * @returns
1369
+ * @param p1
1287
1370
  */
1288
- static N_0x5C9C3A466B3296A8(p0: any): any;
1371
+ static startPetrolTrailDecals(p0: any, p1: any): void;
1289
1372
  /**
1290
- * @param entity
1291
- * @param mask
1373
+ * @param pickupObject
1374
+ * @param allow
1292
1375
  */
1293
- static addEntityToEntityMask(entity: Entity, mask: number): void;
1376
+ static allowPickupLightSync(pickupObject: Prop, allow: boolean): void;
1377
+ static freeMemoryForMissionCreatorPhoto(): void;
1294
1378
  /**
1295
- * Always returns 200.
1379
+ * Returns veg modifier handle
1296
1380
  *
1381
+ * @param pos
1382
+ * @param radius
1383
+ * @param modType
1384
+ * @param flags
1385
+ * @param p6
1297
1386
  * @returns
1298
1387
  */
1299
- static getMaxNumberOfLocalPhotos(): number;
1300
- /**
1301
- * @param channel
1302
- */
1303
- static setTvChannel(channel: number): void;
1388
+ static addVegModifierSphere(pos: Vector3, radius: number, modType: number, flags: number, p6: number): number;
1304
1389
  /**
1390
+ * Only used in R* SP Script spd_agnesdown1
1391
+ *
1392
+ * @param p0
1305
1393
  * @param pos
1306
- * @param p3
1394
+ * @param p4
1395
+ * @param p5
1396
+ * @param heading
1397
+ * @returns
1307
1398
  */
1308
- static addPetrolTrailDecalInfo(pos: Vector3, p3: number): void;
1399
+ static N_0x402E1A61D2587FCD(p0: any, pos: Vector3, p4: number, p5: number, heading: number): boolean;
1309
1400
  /**
1310
- * ANIMPOSTFX_*
1311
- *
1312
- * @param effectName
1313
1401
  * @returns
1314
1402
  */
1315
- static N_0xB958D97A0DFAA0C2(effectName: string | null): boolean;
1403
+ static N_0xFC9B53C072F418E0(): any;
1316
1404
  /**
1317
- * @param txdHash
1318
- * @param dict
1319
- * @returns
1405
+ * state: false disables artificial interior light sources for specific proxyInteriorIndex
1406
+ *
1407
+ * @param proxyInteriorIndex
1408
+ * @param state
1320
1409
  */
1321
- static isTextureInDict(txdHash: string | number, dict: string | number): any;
1322
- static N_0x910E260AEAD855DE(): void;
1410
+ static setProxyInteriorIndexArtificialLightsState(proxyInteriorIndex: number, state: boolean): void;
1323
1411
  /**
1324
1412
  * @param scale
1325
1413
  */
@@ -1415,94 +1503,6 @@ export declare class Graphics {
1415
1503
  * @param p0
1416
1504
  */
1417
1505
  static N_0x6C03118E9E5C1A14(p0: any): void;
1418
- /**
1419
- * https://imgur.com/a/I2swSDJ Old name: _SET_PICKUP_OBJECT_GLOW_ENABLED
1420
- *
1421
- * @param object
1422
- * @param toggle
1423
- */
1424
- static setPickupLight(object: Prop, toggle: boolean): void;
1425
- /**
1426
- * @param entity
1427
- */
1428
- static removeParticleFxFromEntity(entity: Entity): void;
1429
- /**
1430
- * @param ptfxHandle
1431
- * @param p1
1432
- */
1433
- static stopParticleFxLooped(ptfxHandle: number, p1: boolean): void;
1434
- /**
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
1443
- */
1444
- static N_0x4FB67D172C4476F3(entity: Entity, p1: string | null, p2: string | null, p3: number): void;
1445
- /**
1446
- * @param typeHash
1447
- * @param pos1
1448
- * @param pos2
1449
- * @param radius
1450
- * @param color
1451
- * @param alpha
1452
- * @param reserved
1453
- * @returns
1454
- */
1455
- static createCheckpointWithNamehash(typeHash: string | number, pos1: Vector3, pos2: Vector3, radius: number, color: Color, alpha: number, reserved: number): number;
1456
- static disableEntitymask(): void;
1457
- /**
1458
- * Returns iNumPixels, iPixelsVisible
1459
- *
1460
- * @param iTrackedPoint
1461
- * @returns
1462
- */
1463
- static N_0xDFE332A5DA6FE7C9(iTrackedPoint: number): number;
1464
- /**
1465
- * @param entity
1466
- * @returns layer0; layer1; layer2; layer3
1467
- */
1468
- static setEntityMaskLayers(entity: Entity): [number, number, number, number];
1469
- /**
1470
- * @param point
1471
- * @returns
1472
- */
1473
- static isTrackedPointVisible(point: number): boolean;
1474
- static clearTimecycleModifier(): void;
1475
- /**
1476
- * Closes the the binocular scaleform
1477
- */
1478
- static N_0x5AC6E0FA028369DE(): void;
1479
- /**
1480
- * ANIMPOSTFX_*
1481
- *
1482
- * @param effectNameHash
1483
- */
1484
- static N_0xC76FC4C2FC5F4405(effectNameHash: string | number): void;
1485
- /**
1486
- * @param effectName
1487
- */
1488
- static animpostfxStopTag(effectName: string | null): void;
1489
- /**
1490
- * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
1491
- * *ENABLE**
1492
- */
1493
- static N_0x812C1563185C6FB2(): void;
1494
- /**
1495
- * @param posseId
1496
- */
1497
- static setPosseIdForPhoto(posseId: any): void;
1498
- /**
1499
- * Sets the checkpoint color.
1500
- *
1501
- * @param checkpoint
1502
- * @param color
1503
- * @param alpha
1504
- */
1505
- static setCheckpointRgba(checkpoint: number, color: Color, alpha: number): void;
1506
1506
  /**
1507
1507
  * Related to Campfires.
1508
1508
  * p1: AMB_BONFIRE_MP, AMB_CAMPFIRE_LRG_MP