@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
@@ -1,111 +1,151 @@
1
1
  import { inv, rai, raf, pvi, pvf, _h, f } from '../types/NativeAliases';
2
2
  export class Graphics {
3
3
  /**
4
- * Health Core Effect Filter Potency: p1 = 1
5
- * Stamina Core Effect Filter Potency: p1 = 2
6
- * Multiple Core Effect Filter Potency: p1 = 3
4
+ * When this is set to ON, shadows only draw as you get nearer. When OFF, they draw from a further distance.
7
5
  *
8
- * @param effectName
9
- * @param p1
10
- * @param potency
6
+ * @param toggle
11
7
  */
12
- static animpostfxSetPotency(effectName, p1, potency) {
13
- inv('0xF972F0AB16DC5260', effectName, p1, f(potency));
8
+ static cascadeShadowsEnableEntityTracker(toggle) {
9
+ inv('0x8FBFD2AEB196B369', toggle);
14
10
  }
15
11
  /**
16
- * @returns
12
+ * Only used in R* Script nb_stalking_hunter
13
+ *
14
+ * @param p0
17
15
  */
18
- static pedshotIsAvailable() {
19
- return inv('0xAF6E67D073D2DCE2');
16
+ static N_0xD1472AFF30C103D6(p0) {
17
+ inv('0xD1472AFF30C103D6', f(p0));
20
18
  }
21
19
  /**
22
- * @param p0
20
+ * @param worldX
21
+ * @param worldY
22
+ * @param worldZ
23
+ * @returns screenX; screenY
23
24
  */
24
- static N_0xD9BC98B55BCFAA9B(p0) {
25
- inv('0xD9BC98B55BCFAA9B', p0);
25
+ static getScreenCoordFromWorldCoord(worldX, worldY, worldZ) {
26
+ const result = inv('0xCB50D7AFCC8B0EC6', f(worldX), f(worldY), f(worldZ), pvf(), pvf(), rai());
27
+ return [!!result[0], result[1], result[2]];
26
28
  }
27
29
  /**
30
+ * @param point
28
31
  * @param pos
29
- * @param xScale
30
- * @param yScale
31
- * @param rotation
32
+ * @param radius
33
+ */
34
+ static setTrackedPointInfo(point, pos, radius) {
35
+ inv('0xF6FDA3D4404D4F2C', point, f(pos.x), f(pos.y), f(pos.z), f(radius));
36
+ }
37
+ /**
38
+ * Draws a 2D sprite on the screen. Parameters:
39
+ * textureDict - Name of texture dictionary to load texture from textureName - Name of texture to load from texture dictionary screenX/Y - Screen offset (0.5 = center)
40
+ * scaleX/Y - Texture scaling. Negative values can be used to flip the texture on that axis. (0.5 = half) heading - Texture rotation in degrees (default = 0.0) positive is clockwise, measured in degrees red,green,blue - Sprite color (default = 255/255/255) alpha - opacity level https://github.com/femga/rdr3_discoveries/tree/master/useful_info_from_rpfs/textures
41
+ *
42
+ * @param textureDict
43
+ * @param textureName
44
+ * @param screenX
45
+ * @param screenY
46
+ * @param width
47
+ * @param height
48
+ * @param heading
32
49
  * @param color
33
50
  * @param alpha
51
+ * @param p11
34
52
  */
35
- static drawTvChannel(pos, xScale, yScale, rotation, color, alpha) {
36
- inv('0xC0A145540254A840', f(pos.x), f(pos.y), f(xScale), f(yScale), f(rotation), color.r, color.g, color.b, color.a, alpha);
53
+ static drawSprite(textureDict, textureName, screenX, screenY, width, height, heading, color, alpha, p11) {
54
+ inv('0xC9884ECADE94CB34', textureDict, textureName, f(screenX), f(screenY), f(width), f(height), f(heading), color.r, color.g, color.b, color.a, alpha, p11);
37
55
  }
38
56
  /**
39
- * @param handle
57
+ * @returns
40
58
  */
41
- static removeGrassCullSphere(handle) {
42
- inv('0xAE7BF7CA9E4BA48D', handle);
59
+ static getCurrentNumberOfLocalPhotos() {
60
+ return inv('0x78C56B8A7B1D000C', rai());
43
61
  }
44
62
  /**
45
- * @param slots
46
- * @returns
63
+ * @param ptfxHandle
64
+ * @param p1
47
65
  */
48
- static createSwatchTextureDict(slots) {
49
- return inv('0x3D084D5568FB4028', slots);
66
+ static removeParticleFx(ptfxHandle, p1) {
67
+ inv('0x459598F579C98929', ptfxHandle, p1);
50
68
  }
51
69
  /**
52
- * _GET_C* - _GET_E*
70
+ * Removes all decals in range from a position, it includes the bullet holes, blood pools, petrol...
53
71
  *
54
- * @returns
72
+ * @param pos
73
+ * @param range
55
74
  */
56
- static getModifiedVisibilityDistance() {
57
- return inv('0x25CA89B2A39DCC69', raf());
75
+ static removeDecalsInRange(pos, range) {
76
+ inv('0x86DE59FA02902B40', f(pos.x), f(pos.y), f(pos.z), f(range));
58
77
  }
59
78
  /**
60
- * nullsub, doesn't do anything
61
- *
62
79
  * @param p0
63
80
  */
64
- static N_0x94B261F1F35293E1(p0) {
65
- inv('0x94B261F1F35293E1', p0);
81
+ static setPhotoOverlayEffectStat(p0) {
82
+ inv('0x8B3296278328B5EB', p0);
66
83
  }
67
84
  /**
68
- * Probably changes tvs from being a 3d audio to being "global" audio
69
- *
70
- * @param toggle
85
+ * @param ptfxHandle
86
+ * @param r
87
+ * @param g
88
+ * @param b
89
+ * @param p4
71
90
  */
72
- static setTvAudioFrontend(toggle) {
73
- inv('0x64437C98FCC5F291', toggle);
91
+ static setParticleFxLoopedColour(ptfxHandle, r, g, b, p4) {
92
+ inv('0x239879FC61C610CC', ptfxHandle, f(r), f(g), f(b), p4);
74
93
  }
75
94
  /**
76
- * @returns
95
+ * @param effectNameHash
77
96
  */
78
- static getTimecycleTransitionModifierIndex() {
79
- return inv('0x2DA67BA3C8A6755D', rai());
97
+ static animpostfxStopStackhashPostfx(effectNameHash) {
98
+ inv('0xEDA5CBECF56E1386', _h(effectNameHash));
99
+ }
100
+ /**
101
+ * @param value
102
+ */
103
+ static changePhotoModeContrast(value) {
104
+ inv('0x62B9F9A1272AED80', f(value));
80
105
  }
81
106
  /**
82
107
  * @param ptfxHandle
83
- * @param propertyName
84
- * @param amount
85
- * @param noNetwork
108
+ * @param alpha
86
109
  */
87
- static setParticleFxLoopedEvolution(ptfxHandle, propertyName, amount, noNetwork) {
88
- inv('0x3674F389B0FACD80', ptfxHandle, propertyName, f(amount), noNetwork);
110
+ static setParticleFxLoopedAlpha(ptfxHandle, alpha) {
111
+ inv('0x88786E76234F7054', ptfxHandle, f(alpha));
89
112
  }
90
113
  /**
91
- * @param effectName
114
+ * @param p0
115
+ * @param p1
116
+ * @param p2
117
+ * @param p3
92
118
  * @returns
93
119
  */
94
- static animpostfxHasLoaded(effectName) {
95
- return inv('0xBF2DD155B2ADCD0A', effectName);
120
+ static N_0xA15CCAB8AD038291(p0, p1, p2, p3) {
121
+ return inv('0xA15CCAB8AD038291', p0, p1, p2, p3);
96
122
  }
97
123
  /**
98
- * @param decal
124
+ * @param entity
125
+ */
126
+ static removeEntityFromEntityMask(entity) {
127
+ inv('0x56A786E87FF53478', entity.handle);
128
+ }
129
+ /**
130
+ * @param p0
131
+ * @param p1
132
+ * @param p2
133
+ */
134
+ static setParticleFxNonLoopedEmitterScale(p0, p1, p2) {
135
+ inv('0x56C392C2BD78B024', f(p0), f(p1), f(p2));
136
+ }
137
+ /**
138
+ * @param effectNameHash
99
139
  * @returns
100
140
  */
101
- static isDecalAlive(decal) {
102
- return !!inv('0x3E4B4E5CF5D3EEB5', decal, rai());
141
+ static animpostfxIsStackhashPlaying(effectNameHash) {
142
+ return inv('0xEEF83A759AE06A27', _h(effectNameHash));
103
143
  }
104
144
  /**
105
145
  * @param p0
106
146
  */
107
- static N_0x453D16D41FC51D3E(p0) {
108
- inv('0x453D16D41FC51D3E', p0);
147
+ static N_0x503941F65DBA24EC(p0) {
148
+ inv('0x503941F65DBA24EC', p0);
109
149
  }
110
150
  /**
111
151
  * @param p0
@@ -115,599 +155,998 @@ export class Graphics {
115
155
  * @param p4
116
156
  * @param p5
117
157
  * @param p6
118
- * @returns
119
158
  */
120
- static N_0xE63D68F455CA0B47(p0, p1, p2, p3, p4, p5, p6) {
121
- return inv('0xE63D68F455CA0B47', p0, p1, p2, p3, p4, p5, p6);
159
+ static N_0x48FE0DB54045B975(p0, p1, p2, p3, p4, p5, p6) {
160
+ inv('0x48FE0DB54045B975', p0, p1, p2, p3, p4, p5, p6);
161
+ }
162
+ static cascadeShadowsClearShadowSampleType() {
163
+ inv('0xF7C29D7C12C36F03');
122
164
  }
123
165
  /**
124
- * @param pos
125
- * @param colorR
126
- * @param colorG
127
- * @param colorB
128
- * @param range
129
- * @param intensity
166
+ * 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)
167
+ *
168
+ * @param x
169
+ * @param y
170
+ * @param width
171
+ * @param height
172
+ * @param color
173
+ * @param alpha
174
+ * @param p8
175
+ * @param p9
130
176
  */
131
- static drawLightWithRange(pos, colorR, colorG, colorB, range, intensity) {
132
- inv('0xD2D9E04C0DF927F4', f(pos.x), f(pos.y), f(pos.z), colorR, colorG, colorB, f(range), f(intensity));
177
+ static drawRect(x, y, width, height, color, alpha, p8, p9) {
178
+ inv('0x405224591DF02025', f(x), f(y), f(width), f(height), color.r, color.g, color.b, color.a, alpha, p8, p9);
133
179
  }
134
180
  /**
135
- * Sets the draw order for script draw commands.
136
- *
137
- * @param drawOrder
181
+ * @param tvChannel
182
+ * @param playlistName
183
+ * @param restart
138
184
  */
139
- static setScriptGfxDrawOrder(drawOrder) {
140
- inv('0xCFCC78391C8B3814', drawOrder);
185
+ static setTvChannelPlaylist(tvChannel, playlistName, restart) {
186
+ inv('0xDEC6B25F5DC8925B', tvChannel, playlistName, restart);
187
+ }
188
+ /**
189
+ * @param checkpoint
190
+ */
191
+ static deleteCheckpoint(checkpoint) {
192
+ inv('0x0DED5B0C8EBAAE12', checkpoint);
141
193
  }
142
194
  /**
195
+ * *DISABLE**
196
+ *
143
197
  * @param p0
144
198
  */
145
- static enableStaticVegModifier(p0) {
146
- inv('0xDFEA23EC90113657', _h(p0));
199
+ static N_0xFB680A9B33D0EDBE(p0) {
200
+ inv('0xFB680A9B33D0EDBE', p0);
147
201
  }
148
202
  /**
149
203
  * @returns
150
204
  */
151
- static getTvChannel() {
152
- return inv('0xF90FBFD68F3C59AE', rai());
153
- }
154
- static N_0x9D1B0B5066205692() {
155
- inv('0x9D1B0B5066205692');
205
+ static N_0xC28F62AC9774FC1B() {
206
+ return inv('0xC28F62AC9774FC1B');
156
207
  }
157
208
  /**
158
- * @param alpha
209
+ * @param p1
210
+ * @param p2
211
+ * @param p3
212
+ * @returns p0
159
213
  */
160
- static setParticleFxNonLoopedAlpha(alpha) {
161
- inv('0xE8A35938A7026CEA', f(alpha));
214
+ static loadMissionCreatorPhoto(p1, p2, p3) {
215
+ const result = inv('0x84F0BA7462FF8D58', pvi(), p1, p2, p3, rai());
216
+ return [!!result[0], result[1]];
162
217
  }
163
218
  /**
164
- * @param point
219
+ * @param entity
220
+ * @returns layer0; layer1; layer2; layer3
165
221
  */
166
- static destroyTrackedPoint(point) {
167
- inv('0x37A59922109F8F1C', point);
222
+ static getEntityMaskLayers(entity) {
223
+ const result = inv('0xE8A8378BF651079C', entity.handle, pvf(), pvf(), pvf(), pvf(), rai());
224
+ return [!!result[0], result[1], result[2], result[3], result[4]];
168
225
  }
169
226
  /**
170
- * @param p0
227
+ * @param ped
228
+ * @param p1
229
+ * @param size
230
+ * @param p3
171
231
  */
172
- static N_0x67B0778C62E74423(p0) {
173
- inv('0x67B0778C62E74423', p0);
232
+ static addBloodPoolsForPedWithParams(ped, p1, size, p3) {
233
+ inv('0xC349EE1E6EFA494B', ped.handle, f(p1), f(size), f(p3));
174
234
  }
175
235
  /**
176
- * ANIMPOSTFX_*
236
+ * Returns proxyInteriorIndex
177
237
  *
178
- * @param effectNameHash
238
+ * @param interiorId
239
+ * @returns
179
240
  */
180
- static N_0x71845905BCCDE781(effectNameHash) {
181
- inv('0x71845905BCCDE781', _h(effectNameHash));
241
+ static getProxyInteriorIndex(interiorId) {
242
+ return inv('0x5D1C5D8E62E8EE1C', interiorId, rai());
182
243
  }
183
- static N_0xF2F543D48F319A3A() {
184
- inv('0xF2F543D48F319A3A');
244
+ static endPetrolTrailDecals() {
245
+ inv('0x0E126AAE933F3B56');
185
246
  }
186
247
  /**
187
248
  * ANIMPOSTFX_*
188
249
  *
189
- * @returns
250
+ * @param effectName
251
+ * @param p1
252
+ * @param p2
253
+ * @returns p3
190
254
  */
191
- static N_0x3DA7A10583A4BEC0() {
192
- return !!inv('0x3DA7A10583A4BEC0', rai());
193
- }
194
- /**
195
- * Does not affect weapons, particles, fire/explosions, flashlights or the sun.
196
- * 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.
197
- *
198
- * @param state
199
- */
200
- static setArtificialLightsState(state) {
201
- inv('0xB2797619A7C7747B', state);
255
+ static N_0xFBF161FCFEC8589E(effectName, p1, p2) {
256
+ const result = inv('0xFBF161FCFEC8589E', effectName, p1, p2, pvi(), rai());
257
+ return [!!result[0], !!result[1]];
202
258
  }
203
259
  /**
204
- * Possible values:
205
- * "CSM_ST_POINT"
206
- * "CSM_ST_LINEAR"
207
- * "CSM_ST_BOX3x3"
208
- * "CSM_ST_BOX4x4"
209
- * "CSM_ST_DITHER2_LINEAR"
210
- * "CSM_ST_CUBIC"
211
- * "CSM_ST_POISSON16"
212
- * "CSM_ST_SOFT8"
213
- * "CSM_ST_SOFT16"
214
- * "CSM_ST_SOFT32"
215
- * "CSM_ST_DITHER16_RPDB"
216
- * "CSM_ST_POISSON16_RPDB_GNORM"
217
- * "CSM_ST_HIGHRES_BOX4x4"
218
- * "CSM_ST_ESM"
260
+ * 0 = succeeded
261
+ * 1 = getting status
262
+ * 2 = failed
219
263
  *
220
- * @param type
264
+ * @returns
221
265
  */
222
- static cascadeShadowsSetShadowSampleType(type) {
223
- inv('0xCE4774E0F9AD48D1', type);
266
+ static getStatusOfSaveHighQualityPhoto() {
267
+ return inv('0xD6663EC374092383', rai());
224
268
  }
225
269
  /**
226
- * @param p0
270
+ * @returns
227
271
  */
228
- static N_0x519928DF02EB5101(p0) {
229
- inv('0x519928DF02EB5101', p0);
272
+ static isPhotoFrame() {
273
+ return !!inv('0x86076AE35CBBE55F', rai());
230
274
  }
231
275
  /**
232
- * Gets set to 1 when GET_STATUS_OF_TAKE_HIGH_QUALITY_PHOTO = PHOTO_OPERATION_SUCCEEDED
233
- *
234
276
  * @param p0
277
+ * @param p1
278
+ * @param p2
279
+ * @param p3
280
+ * @param p4
281
+ * @param p5
282
+ * @param p6
283
+ * @param p7
284
+ * @param p8
285
+ * @param p9
286
+ * @param p10
235
287
  */
236
- static N_0x0D5B19C34068FEE7(p0) {
237
- inv('0x0D5B19C34068FEE7', p0);
288
+ static N_0x4D14AF567FC02885(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10) {
289
+ inv('0x4D14AF567FC02885', p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10);
238
290
  }
239
291
  /**
240
- * type must be less than or equal to 20
241
- *
242
- * @param entity
243
- * @param type
292
+ * @param effectName
293
+ * @returns
244
294
  */
245
- static setLightsTypeForEntity(entity, type) {
246
- inv('0xAB72C67163DC4DB4', entity.handle, type);
295
+ static animpostfxIsRunning(effectName) {
296
+ return !!inv('0x4A123E85D7C4CA0B', effectName, rai());
247
297
  }
248
298
  /**
299
+ * Used for script function RPG_GLOBAL_STATS__PRIVATE__ACTIVATE_STAT_FLAG - Quite and Inspiration Aura equip
300
+ * Params: 0f, 2f, 2f
301
+ *
249
302
  * @param p0
250
303
  * @param p1
251
304
  * @param p2
252
- * @param p3
253
305
  */
254
- static N_0xD543487A1F12828F(p0, p1, p2, p3) {
255
- inv('0xD543487A1F12828F', p0, p1, p2, p3);
256
- }
257
- static N_0xEC3F7F24EEEB3BA3() {
258
- inv('0xEC3F7F24EEEB3BA3');
306
+ static setEntityAura(p0, p1, p2) {
307
+ inv('0x249CD6B7285536F2', f(p0), f(p1), f(p2));
259
308
  }
260
309
  /**
261
- * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
310
+ * ANIMPOSTFX_*
262
311
  *
263
- * @param p0
264
- */
265
- static N_0x41F88A85A579A61D(p0) {
266
- inv('0x41F88A85A579A61D', f(p0));
267
- }
268
- static freeMemoryForLowQualityPhoto() {
269
- inv('0x614682E715ADBAAC');
270
- }
271
- static freeMemoryForHighQualityPhoto() {
272
- inv('0xD45547D8396F002A');
273
- }
274
- static N_0x32DE2BFFDA43E62A() {
275
- inv('0x32DE2BFFDA43E62A');
276
- }
277
- /**
278
- * Resets the exposure to the value when exposure lock was enabled
312
+ * @param effectNameHash
313
+ * @returns
279
314
  */
280
- static updatePhotoModeExposure() {
281
- inv('0x9229ED770975BD9E');
315
+ static N_0xE75CDDEBF618C8FF(effectNameHash) {
316
+ return !!inv('0xE75CDDEBF618C8FF', _h(effectNameHash), rai());
282
317
  }
283
318
  /**
284
- * @param effectName
319
+ * @param pos
285
320
  */
286
- static animpostfxPreloadPostfx(effectName) {
287
- inv('0x5199405EABFBD7F0', effectName);
321
+ static addBloodTrailSplat(pos) {
322
+ inv('0xF5E45CB1CF965D2D', f(pos.x), f(pos.y), f(pos.z));
288
323
  }
289
324
  /**
290
- * @param strength
325
+ * https://i.imgur.com/ULQU9US.jpg
326
+ * More rounded and small puddle
327
+ *
328
+ * @param pos
329
+ * @param unused
291
330
  */
292
- static setTransitionOutOfTimecycleModifier(strength) {
293
- inv('0xBB6C707F20D955D4', f(strength));
331
+ static addBloodPool(pos, unused) {
332
+ inv('0xFA2ECC78A6014D4F', f(pos.x), f(pos.y), f(pos.z), unused);
294
333
  }
295
334
  /**
296
- * @param effectName
297
- * @param p1
298
- * @param color
299
- * @param alpha
335
+ * Only used in finale2, smuggler2, winter4
336
+ * _SET_CLOUD_A* - _SET_CLOUD_H*
337
+ *
338
+ * @param pos
300
339
  */
301
- static animpostfxSetPostfxColor(effectName, p1, color, alpha) {
302
- inv('0x63011D0C7C6519E0', effectName, p1, color.r, color.g, color.b, color.a, alpha);
340
+ static setCloudPosition(pos) {
341
+ inv('0x10C1767B93257480', f(pos.x), f(pos.y), f(pos.z));
303
342
  }
304
343
  /**
305
344
  * @param p0
306
345
  * @param p1
307
346
  */
308
- static startPetrolTrailDecals(p0, p1) {
309
- inv('0x46F246D6504F0031', p0, p1);
310
- }
311
- /**
312
- * @param pickupObject
313
- * @param allow
314
- */
315
- static allowPickupLightSync(pickupObject, allow) {
316
- inv('0x7C348310A6E2FB91', pickupObject.handle, allow);
317
- }
318
- static freeMemoryForMissionCreatorPhoto() {
319
- inv('0x7DFF8F94937D2659');
347
+ static N_0xA04EF43030593ABC(p0, p1) {
348
+ inv('0xA04EF43030593ABC', p0, p1);
320
349
  }
321
350
  /**
322
- * Returns veg modifier handle
351
+ * Called together with FREE_MEMORY_FOR_LOW_QUALITY_PHOTO
323
352
  *
324
- * @param pos
325
- * @param radius
326
- * @param modType
327
- * @param flags
328
- * @param p6
353
+ * @param p0
329
354
  * @returns
330
355
  */
331
- static addVegModifierSphere(pos, radius, modType, flags, p6) {
332
- return inv('0xFA50F79257745E74', f(pos.x), f(pos.y), f(pos.z), f(radius), modType, flags, p6, rai());
356
+ static beginCreateLowQualityCopyOfPhoto(p0) {
357
+ return !!inv('0x494A9874F17A7D50', p0, rai());
333
358
  }
334
359
  /**
335
- * Only used in R* SP Script spd_agnesdown1
336
- *
337
- * @param p0
338
- * @param pos
339
- * @param p4
340
- * @param p5
341
- * @param heading
342
- * @returns
360
+ * @param player
343
361
  */
344
- static N_0x402E1A61D2587FCD(p0, pos, p4, p5, heading) {
345
- return !!inv('0x402E1A61D2587FCD', p0, f(pos.x), f(pos.y), f(pos.z), f(p4), f(p5), f(heading), rai());
362
+ static setPlayerAppearInPhoto(player) {
363
+ inv('0x75D568607909333E', player.handle);
346
364
  }
347
365
  /**
366
+ * @param checkpoint
348
367
  * @returns
349
368
  */
350
- static N_0xFC9B53C072F418E0() {
351
- return inv('0xFC9B53C072F418E0');
369
+ static doesCheckpointHaveFx(checkpoint) {
370
+ return inv('0x4C11CCACB7C02B6E', checkpoint);
352
371
  }
353
372
  /**
354
- * state: false disables artificial interior light sources for specific proxyInteriorIndex
373
+ * https://github.com/femga/rdr3_discoveries/blob/master/graphics/timecycles
355
374
  *
356
- * @param proxyInteriorIndex
357
- * @param state
375
+ * @param modifierName
358
376
  */
359
- static setProxyInteriorIndexArtificialLightsState(proxyInteriorIndex, state) {
360
- inv('0xBFCB17895BB99E4E', proxyInteriorIndex, state);
361
- }
362
- static resetPausedRenderphases() {
363
- inv('0xCCD9AAD85E1B559E');
377
+ static setTimecycleModifier(modifierName) {
378
+ inv('0xFA08722A5EA82DA7', modifierName);
364
379
  }
365
380
  /**
366
- * @param unused
367
- * @returns
381
+ * @param strength
368
382
  */
369
- static saveHighQualityPhoto(unused) {
370
- return inv('0x57639FD876B68A91', unused);
383
+ static setTimecycleModifierStrength(strength) {
384
+ inv('0xFDB74C9CC54C3F37', f(strength));
371
385
  }
372
386
  /**
373
- * @param pos
374
- * @param p2
387
+ * @param toggle
375
388
  */
376
- static setCloudLayer(pos, p2) {
377
- inv('0xB8C984C0D47F4F07', f(pos.x), f(pos.y), p2);
389
+ static togglePausedRenderphases(toggle) {
390
+ inv('0xEF9E1C45732F55FA', toggle);
378
391
  }
379
392
  /**
393
+ * R* Script spd_agnesdow1: p0 = SPD_AGNES_DOWD_01
394
+ *
380
395
  * @param p0
381
396
  * @returns
382
397
  */
383
- static N_0xEC3D8C228FE553D7(p0) {
384
- return !!inv('0xEC3D8C228FE553D7', p0, rai());
398
+ static N_0xFD05B1DDE83749FA(p0) {
399
+ return !!inv('0xFD05B1DDE83749FA', p0, rai());
385
400
  }
386
401
  /**
387
- * *RESET**
402
+ * @param p0
388
403
  */
389
- static N_0x1460B644397453EB() {
390
- inv('0x1460B644397453EB');
404
+ static setParticleFxFootLodrangeScale(p0) {
405
+ inv('0x2A1625858887D4E6', f(p0));
391
406
  }
392
407
  /**
393
- * @param personaPhotoLocalCacheType
408
+ * @param ptfxHandle
409
+ * @returns
394
410
  */
395
- static pedshotSetPersonaPhotoType(personaPhotoLocalCacheType) {
396
- inv('0x196D3ACBEBA4A44B', personaPhotoLocalCacheType);
397
- }
398
- static pedshotFinishCleanupData() {
399
- inv('0xC2B8164C3BE871A4');
411
+ static doesParticleFxLoopedExist(ptfxHandle) {
412
+ return !!inv('0x9DD5AFF561E88F2A', ptfxHandle, rai());
400
413
  }
401
- static N_0x1C6306E5BC25C29C() {
402
- inv('0x1C6306E5BC25C29C');
414
+ /**
415
+ * @param effectName
416
+ * @param entity
417
+ * @param offset
418
+ * @param rot
419
+ * @param scale
420
+ * @param axisX
421
+ * @param axisY
422
+ * @param axisZ
423
+ * @returns
424
+ */
425
+ static startParticleFxNonLoopedOnEntity(effectName, entity, offset, rot, scale, axisX, axisY, axisZ) {
426
+ return !!inv('0xFF4C64C513388C12', effectName, entity.handle, f(offset.x), f(offset.y), f(offset.z), f(rot.x), f(rot.y), f(rot.z), f(scale), axisX, axisY, axisZ, rai());
403
427
  }
404
428
  /**
405
- * @param pos
429
+ * @returns
406
430
  */
407
- static setCloudNoise(pos) {
408
- inv('0xFE7966DF01452F32', f(pos.x), f(pos.y), f(pos.z));
431
+ static getTogglePausedRenderphasesStatus() {
432
+ return !!inv('0x86ED21BDB2791CE8', rai());
409
433
  }
410
434
  /**
435
+ * Only used in R* SP Script spd_agnesdown1
436
+ *
411
437
  * @param p0
438
+ * @returns
412
439
  */
413
- static N_0xEB48CE48EEC41FD4(p0) {
414
- inv('0xEB48CE48EEC41FD4', p0);
440
+ static N_0x5C9C3A466B3296A8(p0) {
441
+ return inv('0x5C9C3A466B3296A8', p0);
415
442
  }
416
443
  /**
417
- * Used in NET_CAMP_SPIRIT_ANIMAL_CLEAR_ANIMAL_VISIBILITY
418
- *
419
444
  * @param entity
445
+ * @param mask
420
446
  */
421
- static N_0xC06F2F45A73EABCD(entity) {
422
- inv('0xC06F2F45A73EABCD', entity.handle);
447
+ static addEntityToEntityMask(entity, mask) {
448
+ inv('0xC6F81FCD15350323', entity.handle, mask);
423
449
  }
424
450
  /**
451
+ * Always returns 200.
452
+ *
453
+ * @returns
454
+ */
455
+ static getMaxNumberOfLocalPhotos() {
456
+ return inv('0x8E587FCD30E05592', rai());
457
+ }
458
+ /**
459
+ * @param channel
460
+ */
461
+ static setTvChannel(channel) {
462
+ inv('0x593FAF7FC9401A56', channel);
463
+ }
464
+ /**
465
+ * @param pos
466
+ * @param p3
467
+ */
468
+ static addPetrolTrailDecalInfo(pos, p3) {
469
+ inv('0x73354FB6D03D2E8A', f(pos.x), f(pos.y), f(pos.z), f(p3));
470
+ }
471
+ /**
472
+ * ANIMPOSTFX_*
473
+ *
425
474
  * @param effectName
475
+ * @returns
476
+ */
477
+ static N_0xB958D97A0DFAA0C2(effectName) {
478
+ return !!inv('0xB958D97A0DFAA0C2', effectName, rai());
479
+ }
480
+ /**
481
+ * @param txdHash
482
+ * @param dict
483
+ * @returns
484
+ */
485
+ static isTextureInDict(txdHash, dict) {
486
+ return inv('0xA2A51869BDED733B', _h(txdHash), _h(dict));
487
+ }
488
+ static N_0x910E260AEAD855DE() {
489
+ inv('0x910E260AEAD855DE');
490
+ }
491
+ /**
492
+ * @param p0
493
+ * @param p1
494
+ */
495
+ static N_0xC489FE31AC726512(p0, p1) {
496
+ inv('0xC489FE31AC726512', p0, p1);
497
+ }
498
+ /**
499
+ * https://i.imgur.com/rPITUCV.jpg
500
+ * More customizable and more like quadrants
501
+ *
502
+ * @param pos
503
+ * @param p3
504
+ * @param size
505
+ * @param p5
506
+ * @param permanent
507
+ * @param p7
508
+ * @param p8
509
+ */
510
+ static addBloodPool2(pos, p3, size, p5, permanent, p7, p8) {
511
+ inv('0xF708298675ABDC6A', f(pos.x), f(pos.y), f(pos.z), f(p3), f(size), f(p5), permanent, f(p7), p8);
512
+ }
513
+ /**
514
+ * p1: 0.3f in R* Scripts
515
+ *
516
+ * @param waypointRecording
517
+ * @param p1
518
+ */
519
+ static bloodTrailForWaypoint(waypointRecording, p1) {
520
+ inv('0xB9C92616929CC25D', waypointRecording, f(p1));
521
+ }
522
+ /**
523
+ * @param ptfxHandle
524
+ * @param range
525
+ */
526
+ static setParticleFxLoopedFarClipDist(ptfxHandle, range) {
527
+ inv('0x9B04D471DA0AD7AA', ptfxHandle, f(range));
528
+ }
529
+ /**
530
+ * @param p0
531
+ * @param p1
532
+ */
533
+ static N_0x085C5B61A0114F32(p0, p1) {
534
+ inv('0x085C5B61A0114F32', p0, p1);
535
+ }
536
+ /**
537
+ * @param p0
538
+ */
539
+ static N_0x9F158A49B0D84C3C(p0) {
540
+ inv('0x9F158A49B0D84C3C', p0);
541
+ }
542
+ /**
543
+ * @returns
544
+ */
545
+ static N_0x5C674EB487891F6B() {
546
+ return inv('0x5C674EB487891F6B');
547
+ }
548
+ /**
549
+ * Params: component - used in odriscolls1 and sean1 R* SP Script: COMPONENT_BINOCULARS_SCOPE01
550
+ * Triggers the binocular scaleform
551
+ *
552
+ * @param component
553
+ */
554
+ static N_0x21F00E08CBB5F37B(component) {
555
+ inv('0x21F00E08CBB5F37B', component);
556
+ }
557
+ /**
558
+ * Sets an unknown value related to timecycles.
559
+ *
560
+ * @param unk
561
+ */
562
+ static resetAdaptation(unk) {
563
+ inv('0x297B72E2AF094742', unk);
564
+ }
565
+ /**
566
+ * @param effectNameHash
567
+ */
568
+ static animpostfxPreloadPostfxByStackhash(effectNameHash) {
569
+ inv('0xF3E039322BFBD4D8', _h(effectNameHash));
570
+ }
571
+ /**
572
+ * @param effectNameHash
573
+ * @param p1
574
+ * @param p2
575
+ * @returns p3
576
+ */
577
+ static animpostfxHasEventTriggeredByStackhash(effectNameHash, p1, p2) {
578
+ const result = inv('0x9AB192A9EF980EED', _h(effectNameHash), p1, p2, pvi());
579
+ return [result[0], !!result[1]];
580
+ }
581
+ static destroySwatchTextureDict() {
582
+ inv('0xDAD7FB8402651654');
583
+ }
584
+ /**
585
+ * @returns
586
+ */
587
+ static beginTakeHighQualityPhoto() {
588
+ return inv('0xA15BFFC0A01B34E1');
589
+ }
590
+ /**
591
+ * Old name: _IS_TV_PLAYLIST_ITEM_PLAYING
592
+ *
593
+ * @param videoCliphash
594
+ * @returns
595
+ */
596
+ static isTvshowCurrentlyPlaying(videoCliphash) {
597
+ return !!inv('0x4D562223E0EB65F3', _h(videoCliphash), rai());
598
+ }
599
+ /**
600
+ * @param p0
601
+ */
602
+ static N_0x8996FA6AD9FE4E90(p0) {
603
+ inv('0x8996FA6AD9FE4E90', p0);
604
+ }
605
+ /**
606
+ * @param obj
607
+ */
608
+ static removeDecalsFromObject(obj) {
609
+ inv('0xFB8972BAE0013140', obj.handle);
610
+ }
611
+ /**
612
+ * https://github.com/femga/rdr3_discoveries/blob/master/graphics/markers/marker_types.lua
613
+ * Old name: _DRAW_MARKER
614
+ *
615
+ * @param type
426
616
  * @param pos
617
+ * @param direction
427
618
  * @param rot
428
619
  * @param scale
620
+ * @param color
621
+ * @param alpha
622
+ * @param bobUpAndDown
623
+ * @param faceCamera
624
+ * @param p19
625
+ * @param rotate
626
+ * @param textureDict
627
+ * @param textureName
628
+ * @param drawOnEnts
629
+ */
630
+ static drawMarker(type, pos, direction, rot, scale, color, alpha, bobUpAndDown, faceCamera, p19, rotate, textureDict, textureName, drawOnEnts) {
631
+ inv('0x2A32FAA57B937173', _h(type), f(pos.x), f(pos.y), f(pos.z), f(direction.x), f(direction.y), f(direction.z), f(rot.x), f(rot.y), f(rot.z), f(scale.x), f(scale.y), f(scale.z), color.r, color.g, color.b, color.a, alpha, bobUpAndDown, faceCamera, p19, rotate, textureDict, textureName, drawOnEnts);
632
+ }
633
+ /**
634
+ * @param r
635
+ * @param g
636
+ * @param b
637
+ */
638
+ static setParticleFxNonLoopedColour(r, g, b) {
639
+ inv('0x60B85BED6577A35B', f(r), f(g), f(b));
640
+ }
641
+ /**
642
+ * @param p0
643
+ */
644
+ static N_0xF5793BB386E1FF9C(p0) {
645
+ inv('0xF5793BB386E1FF9C', p0);
646
+ }
647
+ /**
648
+ * Used in shop scripts for CATALOG_BOOK
649
+ * false = Normal -> [CATALOG_BOOK_SHUTDOWN]
650
+ * true = Trees flickering? -> [CATALOG_BOOK_OPEN]
651
+ *
652
+ * @param p0
653
+ */
654
+ static N_0x1A9F09AB458D49C6(p0) {
655
+ inv('0x1A9F09AB458D49C6', p0);
656
+ }
657
+ /**
658
+ * @param effectName
659
+ * @param duration
660
+ */
661
+ static animpostfxPlayTimed(effectName, duration) {
662
+ inv('0x3A9A281FF71249E9', effectName, duration);
663
+ }
664
+ /**
665
+ * @param effectName
666
+ * @param entity
667
+ * @param offset
668
+ * @param rot
669
+ * @param boneIndex
670
+ * @param scale
429
671
  * @param xAxis
430
672
  * @param yAxis
431
673
  * @param zAxis
432
674
  * @returns
433
675
  */
434
- static startNetworkedParticleFxNonLoopedAtCoord(effectName, pos, rot, scale, xAxis, yAxis, zAxis) {
435
- return !!inv('0xFB97618457994A62', effectName, f(pos.x), f(pos.y), f(pos.z), f(rot.x), f(rot.y), f(rot.z), f(scale), xAxis, yAxis, zAxis, rai());
676
+ static startNetworkedParticleFxLoopedOnEntityBone(effectName, entity, offset, rot, boneIndex, scale, xAxis, yAxis, zAxis) {
677
+ return inv('0x9C56621462FFE7A6', effectName, entity.handle, f(offset.x), f(offset.y), f(offset.z), f(rot.x), f(rot.y), f(rot.z), boneIndex, f(scale), xAxis, yAxis, zAxis, rai());
436
678
  }
437
679
  /**
438
- * @returns
680
+ * @param p0
681
+ * @param p1
682
+ * @param p2
439
683
  */
440
- static getPhotoModeExposure() {
441
- return inv('0x06C0D8BB6B04A709', raf());
684
+ static N_0x735762E8D7573E42(p0, p1, p2) {
685
+ inv('0x735762E8D7573E42', p0, p1, p2);
442
686
  }
443
687
  /**
444
- * _SET_PARTICLE_FX_LOOPED_FA* - _SET_PARTICLE_FX_LOOPED_OF*
688
+ * Only used in guama1 R* Script
689
+ * Disables lod/distant lights when BOOL is set to true
445
690
  *
446
- * @param ptfxHandle
447
- * @param scalar
691
+ * @param disable
448
692
  */
449
- static setParticleFxLoopedUpdateDistantSmoke(ptfxHandle, scalar) {
450
- inv('0x9DDC222D85D5AF2A', ptfxHandle, f(scalar));
693
+ static disableFarArtificialLights(disable) {
694
+ inv('0xCD284E2F6AC27EE9', disable);
451
695
  }
452
696
  /**
453
- * Known effects: MP_Trans_SceneToPhoto
454
- * MP_Trans_WinLose
455
- * SpectateFilter
456
- * MP_CharacterCreatorPhoto
457
- * MP_Trans_PhotoToScene
458
- * InterrogationHit
697
+ * @param decal
698
+ */
699
+ static removeDecal(decal) {
700
+ inv('0x49A720552EB0BB88', decal);
701
+ }
702
+ /**
703
+ * Hardcoded to always set x to 1280 and y to 720.
704
+ *
705
+ * @returns x; y
706
+ */
707
+ static getScreenResolution() {
708
+ const result = inv('0x66773C92835D0909', pvi(), pvi());
709
+ return [result[0], result[1]];
710
+ }
711
+ /**
712
+ * ANIMPOSTFX_*
459
713
  *
460
714
  * @param effectName
461
- * @returns
462
715
  */
463
- static animpostfxGetStackhash(effectName) {
464
- return (inv('0x842CCC9491FFCD9B', effectName, rai())) & 0xFFFFFFFF;
716
+ static N_0xA201A3D0AC087C37(effectName) {
717
+ inv('0xA201A3D0AC087C37', effectName);
465
718
  }
466
719
  /**
467
- * @param height
720
+ * @param modifierName
721
+ * @param transitionBlend
468
722
  */
469
- static setCloudHeight(height) {
470
- inv('0xC332C91388F5580B', f(height));
723
+ static setTransitionTimecycleModifier(modifierName, transitionBlend) {
724
+ inv('0xFF927A09F481D80C', modifierName, f(transitionBlend));
725
+ }
726
+ static enableEntitymask() {
727
+ inv('0xFAAD23DE7A54FC14');
471
728
  }
472
729
  /**
473
- * When this is set to ON, shadows only draw as you get nearer. When OFF, they draw from a further distance.
730
+ * fxName: see data_0/data/effects/ptfx/fxlists/
474
731
  *
732
+ * @param fxName
733
+ */
734
+ static useParticleFxAsset(fxName) {
735
+ inv('0xA10DB07FC234DD12', fxName);
736
+ }
737
+ static animpostfxStopAll() {
738
+ inv('0x66560A0D4C64FD21');
739
+ }
740
+ /**
741
+ * @param pickup
475
742
  * @param toggle
476
743
  */
477
- static cascadeShadowsEnableEntityTracker(toggle) {
478
- inv('0x8FBFD2AEB196B369', toggle);
744
+ static blockPickupPlacementLight(pickup, toggle) {
745
+ inv('0x0552AA3FFC5B87AA', pickup.handle, toggle);
479
746
  }
480
747
  /**
481
- * Only used in R* Script nb_stalking_hunter
748
+ * ANIMPOSTFX_*
482
749
  *
750
+ * @param effectNameHash
751
+ */
752
+ static N_0x38D9D50F2085E9B3(effectNameHash) {
753
+ inv('0x38D9D50F2085E9B3', _h(effectNameHash));
754
+ }
755
+ /**
756
+ * Used for script function RPG_GLOBAL_STATS__PRIVATE__DEACTIVATE_STAT_FLAG - Inspiration Aura unequip
757
+ */
758
+ static resetEntityAura() {
759
+ inv('0xAF4D239B8903FCBE');
760
+ }
761
+ /**
483
762
  * @param p0
763
+ * @param p1
764
+ * @param p2
765
+ * @param p3
766
+ * @param p4
767
+ * @param p5
768
+ * @param p6
769
+ * @param p7
770
+ * @param p8
771
+ * @param p9
772
+ * @param p10
773
+ * @param p11
774
+ * @param p12
775
+ * @param p13
776
+ * @param p14
777
+ * @param p15
778
+ * @param p16
779
+ * @param p17
780
+ * @param p18
781
+ * @param p19
782
+ * @param p20
783
+ * @param p21
784
+ * @returns
484
785
  */
485
- static N_0xD1472AFF30C103D6(p0) {
486
- inv('0xD1472AFF30C103D6', f(p0));
786
+ static addDecal(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21) {
787
+ return inv('0x57CB267624EF85C0', p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, rai());
487
788
  }
488
789
  /**
489
- * @param worldX
490
- * @param worldY
491
- * @param worldZ
492
- * @returns screenX; screenY
790
+ * _SET_D* or _SET_E*
493
791
  */
494
- static getScreenCoordFromWorldCoord(worldX, worldY, worldZ) {
495
- const result = inv('0xCB50D7AFCC8B0EC6', f(worldX), f(worldY), f(worldZ), pvf(), pvf(), rai());
496
- return [!!result[0], result[1], result[2]];
792
+ static N_0xB032C085D9A03907() {
793
+ inv('0xB032C085D9A03907');
497
794
  }
498
795
  /**
499
- * @param point
796
+ * Returns handle to be used with REMOVE_GRASS_CULL_SPHERE
797
+ *
500
798
  * @param pos
501
- * @param radius
799
+ * @param p3
800
+ * @param p4
801
+ * @returns
502
802
  */
503
- static setTrackedPointInfo(point, pos, radius) {
504
- inv('0xF6FDA3D4404D4F2C', point, f(pos.x), f(pos.y), f(pos.z), f(radius));
803
+ static setGrassCullSphere(pos, p3, p4) {
804
+ return inv('0x27219300C36A8D40', f(pos.x), f(pos.y), f(pos.z), f(p3), p4, rai());
805
+ }
806
+ static N_0xA21AF60C9F99CCC5() {
807
+ inv('0xA21AF60C9F99CCC5');
505
808
  }
506
809
  /**
507
- * Draws a 2D sprite on the screen. Parameters:
508
- * 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)
509
- * 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
810
+ * @param effectName
811
+ * @param entity
812
+ * @param offset
813
+ * @param rot
814
+ * @param scale
815
+ * @param xAxis
816
+ * @param yAxis
817
+ * @param zAxis
818
+ * @returns
819
+ */
820
+ static startParticleFxLoopedOnEntity(effectName, entity, offset, rot, scale, xAxis, yAxis, zAxis) {
821
+ return inv('0xBD41E1440CE39800', effectName, entity.handle, f(offset.x), f(offset.y), f(offset.z), f(rot.x), f(rot.y), f(rot.z), f(scale), xAxis, yAxis, zAxis, rai());
822
+ }
823
+ /**
824
+ * 0 = succeeded
825
+ * 1 = getting status
826
+ * 2 = failed
510
827
  *
511
- * @param textureDict
512
- * @param textureName
513
- * @param screenX
514
- * @param screenY
515
- * @param width
516
- * @param height
517
- * @param heading
518
- * @param color
519
- * @param alpha
520
- * @param p11
828
+ * @returns
829
+ */
830
+ static getStatusOfSortedListOperation() {
831
+ return inv('0xB28894CD7408BD0C', rai());
832
+ }
833
+ /**
834
+ * @returns
835
+ */
836
+ static getPhotoModeContrast() {
837
+ return inv('0x98F4154989B81EC6', raf());
838
+ }
839
+ /**
840
+ * @param pos
841
+ */
842
+ static addBloodTrailPoint(pos) {
843
+ inv('0xDD9DC1AB63D513CE', f(pos.x), f(pos.y), f(pos.z));
844
+ }
845
+ /**
846
+ * Returns whether the 'killFX' setting is enabled. ANIMPOSTFX_*
847
+ *
848
+ * @returns
849
+ */
850
+ static N_0xFF584F097C17FA8F() {
851
+ return !!inv('0xFF584F097C17FA8F', rai());
852
+ }
853
+ /**
854
+ * Old name: _GET_STATUS_OF_DRAW_LOW_QUALITY_PHOTO
855
+ *
856
+ * @param p0
857
+ * @returns
858
+ */
859
+ static getStatusOfCreateLowQualityCopyOfPhoto(p0) {
860
+ return inv('0x13430D3D5A45F14B', p0, rai());
861
+ }
862
+ /**
863
+ * @param effectName
864
+ */
865
+ static animpostfxClearEffect(effectName) {
866
+ inv('0xC5CB91D65852ED7E', effectName);
867
+ }
868
+ static pedshotInitCleanupData() {
869
+ inv('0x55285F885F662169');
870
+ }
871
+ /**
872
+ * @param vegModifierHandle
873
+ * @param p1
874
+ */
875
+ static removeVegModifierSphere(vegModifierHandle, p1) {
876
+ inv('0x9CF1836C03FB67A2', vegModifierHandle, p1);
877
+ }
878
+ /**
879
+ * @param p0
880
+ */
881
+ static setStatePhotoTakenStat(p0) {
882
+ inv('0x8952E857696B8A79', p0);
883
+ }
884
+ /**
885
+ * Sets the draw order for script draw commands.
886
+ *
887
+ * @param drawOrder
521
888
  */
522
- static drawSprite(textureDict, textureName, screenX, screenY, width, height, heading, color, alpha, p11) {
523
- inv('0xC9884ECADE94CB34', textureDict, textureName, f(screenX), f(screenY), f(width), f(height), f(heading), color.r, color.g, color.b, color.a, alpha, p11);
889
+ static setScriptGfxDrawOrder(drawOrder) {
890
+ inv('0xCFCC78391C8B3814', drawOrder);
891
+ }
892
+ /**
893
+ * @param p0
894
+ */
895
+ static enableStaticVegModifier(p0) {
896
+ inv('0xDFEA23EC90113657', _h(p0));
524
897
  }
525
898
  /**
526
899
  * @returns
527
900
  */
528
- static getCurrentNumberOfLocalPhotos() {
529
- return inv('0x78C56B8A7B1D000C', rai());
901
+ static getTvChannel() {
902
+ return inv('0xF90FBFD68F3C59AE', rai());
903
+ }
904
+ static N_0x9D1B0B5066205692() {
905
+ inv('0x9D1B0B5066205692');
530
906
  }
531
907
  /**
532
- * @param ptfxHandle
533
- * @param p1
908
+ * @param alpha
534
909
  */
535
- static removeParticleFx(ptfxHandle, p1) {
536
- inv('0x459598F579C98929', ptfxHandle, p1);
910
+ static setParticleFxNonLoopedAlpha(alpha) {
911
+ inv('0xE8A35938A7026CEA', f(alpha));
537
912
  }
538
913
  /**
539
- * Removes all decals in range from a position, it includes the bullet holes, blood pools, petrol...
540
- *
541
- * @param pos
542
- * @param range
914
+ * @param point
543
915
  */
544
- static removeDecalsInRange(pos, range) {
545
- inv('0x86DE59FA02902B40', f(pos.x), f(pos.y), f(pos.z), f(range));
916
+ static destroyTrackedPoint(point) {
917
+ inv('0x37A59922109F8F1C', point);
546
918
  }
547
919
  /**
548
920
  * @param p0
549
921
  */
550
- static setPhotoOverlayEffectStat(p0) {
551
- inv('0x8B3296278328B5EB', p0);
922
+ static N_0x67B0778C62E74423(p0) {
923
+ inv('0x67B0778C62E74423', p0);
552
924
  }
553
925
  /**
554
- * @param ptfxHandle
555
- * @param r
556
- * @param g
557
- * @param b
558
- * @param p4
926
+ * ANIMPOSTFX_*
927
+ *
928
+ * @param effectNameHash
559
929
  */
560
- static setParticleFxLoopedColour(ptfxHandle, r, g, b, p4) {
561
- inv('0x239879FC61C610CC', ptfxHandle, f(r), f(g), f(b), p4);
930
+ static N_0x71845905BCCDE781(effectNameHash) {
931
+ inv('0x71845905BCCDE781', _h(effectNameHash));
932
+ }
933
+ static N_0xF2F543D48F319A3A() {
934
+ inv('0xF2F543D48F319A3A');
562
935
  }
563
936
  /**
564
- * @param effectNameHash
937
+ * ANIMPOSTFX_*
938
+ *
939
+ * @returns
565
940
  */
566
- static animpostfxStopStackhashPostfx(effectNameHash) {
567
- inv('0xEDA5CBECF56E1386', _h(effectNameHash));
941
+ static N_0x3DA7A10583A4BEC0() {
942
+ return !!inv('0x3DA7A10583A4BEC0', rai());
568
943
  }
569
944
  /**
570
- * @param value
945
+ * Does not affect weapons, particles, fire/explosions, flashlights or the sun.
946
+ * 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.
947
+ *
948
+ * @param state
571
949
  */
572
- static changePhotoModeContrast(value) {
573
- inv('0x62B9F9A1272AED80', f(value));
950
+ static setArtificialLightsState(state) {
951
+ inv('0xB2797619A7C7747B', state);
574
952
  }
575
953
  /**
576
- * Returns proxyInteriorIndex
954
+ * Possible values:
955
+ * "CSM_ST_POINT"
956
+ * "CSM_ST_LINEAR"
957
+ * "CSM_ST_BOX3x3"
958
+ * "CSM_ST_BOX4x4"
959
+ * "CSM_ST_DITHER2_LINEAR"
960
+ * "CSM_ST_CUBIC"
961
+ * "CSM_ST_POISSON16"
962
+ * "CSM_ST_SOFT8"
963
+ * "CSM_ST_SOFT16"
964
+ * "CSM_ST_SOFT32"
965
+ * "CSM_ST_DITHER16_RPDB"
966
+ * "CSM_ST_POISSON16_RPDB_GNORM"
967
+ * "CSM_ST_HIGHRES_BOX4x4"
968
+ * "CSM_ST_ESM"
577
969
  *
578
- * @param interiorId
579
- * @returns
970
+ * @param type
580
971
  */
581
- static getProxyInteriorIndex(interiorId) {
582
- return inv('0x5D1C5D8E62E8EE1C', interiorId, rai());
972
+ static cascadeShadowsSetShadowSampleType(type) {
973
+ inv('0xCE4774E0F9AD48D1', type);
583
974
  }
584
- static endPetrolTrailDecals() {
585
- inv('0x0E126AAE933F3B56');
975
+ /**
976
+ * @param p0
977
+ */
978
+ static N_0x519928DF02EB5101(p0) {
979
+ inv('0x519928DF02EB5101', p0);
586
980
  }
587
981
  /**
588
- * ANIMPOSTFX_*
982
+ * Gets set to 1 when GET_STATUS_OF_TAKE_HIGH_QUALITY_PHOTO = PHOTO_OPERATION_SUCCEEDED
589
983
  *
590
- * @param effectName
591
- * @param p1
592
- * @param p2
593
- * @returns p3
984
+ * @param p0
594
985
  */
595
- static N_0xFBF161FCFEC8589E(effectName, p1, p2) {
596
- const result = inv('0xFBF161FCFEC8589E', effectName, p1, p2, pvi(), rai());
597
- return [!!result[0], !!result[1]];
986
+ static N_0x0D5B19C34068FEE7(p0) {
987
+ inv('0x0D5B19C34068FEE7', p0);
598
988
  }
599
989
  /**
600
- * 0 = succeeded
601
- * 1 = getting status
602
- * 2 = failed
990
+ * type must be less than or equal to 20
603
991
  *
604
- * @returns
992
+ * @param entity
993
+ * @param type
605
994
  */
606
- static getStatusOfSaveHighQualityPhoto() {
607
- return inv('0xD6663EC374092383', rai());
995
+ static setLightsTypeForEntity(entity, type) {
996
+ inv('0xAB72C67163DC4DB4', entity.handle, type);
608
997
  }
609
998
  /**
610
- * @returns
999
+ * @param p0
1000
+ * @param p1
1001
+ * @param p2
1002
+ * @param p3
611
1003
  */
612
- static isPhotoFrame() {
613
- return !!inv('0x86076AE35CBBE55F', rai());
1004
+ static N_0xD543487A1F12828F(p0, p1, p2, p3) {
1005
+ inv('0xD543487A1F12828F', p0, p1, p2, p3);
1006
+ }
1007
+ /**
1008
+ * @param p0
1009
+ */
1010
+ static N_0xFF8018C778349234(p0) {
1011
+ inv('0xFF8018C778349234', p0);
614
1012
  }
615
1013
  /**
1014
+ * Old name: _SET_HIDOF_ENV_BLUR_PARAMS
1015
+ *
616
1016
  * @param p0
617
1017
  * @param p1
618
1018
  * @param p2
619
1019
  * @param p3
620
1020
  * @param p4
621
1021
  * @param p5
622
- * @param p6
623
- * @param p7
624
- * @param p8
625
- * @param p9
626
- * @param p10
627
1022
  */
628
- static N_0x4D14AF567FC02885(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10) {
629
- inv('0x4D14AF567FC02885', p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10);
1023
+ static setHidofOverride(p0, p1, p2, p3, p4, p5) {
1024
+ inv('0xCC23AA1A7CBFE840', p0, p1, f(p2), f(p3), f(p4), f(p5));
630
1025
  }
631
1026
  /**
632
1027
  * @param effectName
1028
+ * @param entity
1029
+ * @param offset
1030
+ * @param rot
1031
+ * @param boneIndex
1032
+ * @param scale
1033
+ * @param xAxis
1034
+ * @param yAxis
1035
+ * @param zAxis
633
1036
  * @returns
634
1037
  */
635
- static animpostfxIsRunning(effectName) {
636
- return !!inv('0x4A123E85D7C4CA0B', effectName, rai());
1038
+ static startParticleFxLoopedOnEntityBone(effectName, entity, offset, rot, boneIndex, scale, xAxis, yAxis, zAxis) {
1039
+ return inv('0xD3BA6EC7F2FBD5E9', effectName, entity.handle, f(offset.x), f(offset.y), f(offset.z), f(rot.x), f(rot.y), f(rot.z), boneIndex, f(scale), xAxis, yAxis, zAxis, rai());
637
1040
  }
638
1041
  /**
639
- * Used for script function RPG_GLOBAL_STATS__PRIVATE__ACTIVATE_STAT_FLAG - Quite and Inspiration Aura equip
640
- * Params: 0f, 2f, 2f
1042
+ * Sets the checkpoint icon color.
1043
+ *
1044
+ * @param checkpoint
1045
+ * @param color
1046
+ * @param alpha
1047
+ */
1048
+ static setCheckpointRgba2(checkpoint, color, alpha) {
1049
+ inv('0x99AFF17222D4DEB4', checkpoint, color.r, color.g, color.b, color.a, alpha);
1050
+ }
1051
+ /**
1052
+ * nullsub, doesn't do anything (GTA5 leftover, there is no phone in RDR3)
641
1053
  *
642
1054
  * @param p0
643
- * @param p1
644
- * @param p2
1055
+ * @param photoRotation
645
1056
  */
646
- static setEntityAura(p0, p1, p2) {
647
- inv('0x249CD6B7285536F2', f(p0), f(p1), f(p2));
1057
+ static drawLowQualityPhotoToPhone(p0, photoRotation) {
1058
+ inv('0xF1142E5D64B47802', p0, photoRotation);
648
1059
  }
649
1060
  /**
650
- * ANIMPOSTFX_*
1061
+ * https://gfycat.com/meagerfaireyra
651
1062
  *
652
- * @param effectNameHash
653
- * @returns
1063
+ * @param entity
1064
+ * @param color
654
1065
  */
655
- static N_0xE75CDDEBF618C8FF(effectNameHash) {
656
- return !!inv('0xE75CDDEBF618C8FF', _h(effectNameHash), rai());
1066
+ static setLightsColorForEntity(entity, color) {
1067
+ inv('0x6EC2A67962296F49', entity.handle, color.r, color.g, color.b, color.a);
657
1068
  }
658
1069
  /**
659
- * @param pos
1070
+ * @param effectName
1071
+ * @param ped
1072
+ * @param offset
1073
+ * @param rot
1074
+ * @param boneIndex
1075
+ * @param scale
1076
+ * @param axisX
1077
+ * @param axisY
1078
+ * @param axisZ
1079
+ * @returns
660
1080
  */
661
- static addBloodTrailSplat(pos) {
662
- inv('0xF5E45CB1CF965D2D', f(pos.x), f(pos.y), f(pos.z));
1081
+ static startParticleFxNonLoopedOnPedBone2(effectName, ped, offset, rot, boneIndex, scale, axisX, axisY, axisZ) {
1082
+ return inv('0xC695870B8A149B96', effectName, ped.handle, f(offset.x), f(offset.y), f(offset.z), f(rot.x), f(rot.y), f(rot.z), boneIndex, f(scale), axisX, axisY, axisZ);
1083
+ }
1084
+ static N_0x981C7D863980FA51() {
1085
+ inv('0x981C7D863980FA51');
663
1086
  }
664
1087
  /**
665
- * https://i.imgur.com/ULQU9US.jpg
666
- * More rounded and small puddle
667
- *
668
- * @param pos
669
- * @param unused
1088
+ * @param p0
1089
+ * @param p1
670
1090
  */
671
- static addBloodPool(pos, unused) {
672
- inv('0xFA2ECC78A6014D4F', f(pos.x), f(pos.y), f(pos.z), unused);
1091
+ static N_0x9F6D859C80708B26(p0, p1) {
1092
+ inv('0x9F6D859C80708B26', p0, p1);
673
1093
  }
674
1094
  /**
675
- * Only used in finale2, smuggler2, winter4
676
- * _SET_CLOUD_A* - _SET_CLOUD_H*
677
- *
678
- * @param pos
1095
+ * @param oldAsset
1096
+ * @param newAsset
679
1097
  */
680
- static setCloudPosition(pos) {
681
- inv('0x10C1767B93257480', f(pos.x), f(pos.y), f(pos.z));
1098
+ static setParticleFxOverride(oldAsset, newAsset) {
1099
+ inv('0xBE711A169E9C7E95', oldAsset, newAsset);
682
1100
  }
683
1101
  /**
684
1102
  * @param p0
685
1103
  * @param p1
686
1104
  */
687
- static N_0xA04EF43030593ABC(p0, p1) {
688
- inv('0xA04EF43030593ABC', p0, p1);
1105
+ static N_0xA0F4D12D6042F6D5(p0, p1) {
1106
+ inv('0xA0F4D12D6042F6D5', p0, p1);
1107
+ }
1108
+ /**
1109
+ * @param ptfxHandle
1110
+ * @param pos
1111
+ * @param rot
1112
+ */
1113
+ static setParticleFxLoopedOffsets(ptfxHandle, pos, rot) {
1114
+ inv('0xD3A4A95FC94FE83B', ptfxHandle, f(pos.x), f(pos.y), f(pos.z), f(rot.x), f(rot.y), f(rot.z));
689
1115
  }
690
1116
  /**
691
- * Called together with FREE_MEMORY_FOR_LOW_QUALITY_PHOTO
692
- *
693
1117
  * @param p0
694
- * @returns
695
1118
  */
696
- static beginCreateLowQualityCopyOfPhoto(p0) {
697
- return !!inv('0x494A9874F17A7D50', p0, rai());
1119
+ static disableStaticVegModifier(p0) {
1120
+ inv('0xDD0BC0EDCB2162F6', _h(p0));
1121
+ }
1122
+ /**
1123
+ * @param ptfxHandle
1124
+ * @param scale
1125
+ */
1126
+ static setParticleFxLoopedScale(ptfxHandle, scale) {
1127
+ inv('0x1A9E1C0D98D093B7', ptfxHandle, f(scale));
698
1128
  }
699
1129
  /**
700
- * @param player
1130
+ * https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_non_looped.lua
1131
+ *
1132
+ * @param effectName
1133
+ * @param pos
1134
+ * @param rot
1135
+ * @param scale
1136
+ * @param eventType
1137
+ * @param bPeekOnly
1138
+ * @param bIsRegistered
1139
+ * @returns
701
1140
  */
702
- static setPlayerAppearInPhoto(player) {
703
- inv('0x75D568607909333E', player.handle);
1141
+ static startParticleFxNonLoopedAtCoord(effectName, pos, rot, scale, eventType, bPeekOnly, bIsRegistered) {
1142
+ return inv('0x2E80BF72EF7C87AC', effectName, f(pos.x), f(pos.y), f(pos.z), f(rot.x), f(rot.y), f(rot.z), f(scale), eventType, bPeekOnly, bIsRegistered, rai());
704
1143
  }
705
1144
  /**
706
- * @param checkpoint
1145
+ * @param p0
707
1146
  * @returns
708
1147
  */
709
- static doesCheckpointHaveFx(checkpoint) {
710
- return inv('0x4C11CCACB7C02B6E', checkpoint);
1148
+ static isStaticVegModifierEnabled(p0) {
1149
+ return inv('0xDE9BAD3292AA6D5E', _h(p0));
711
1150
  }
712
1151
  /**
713
1152
  * Creates blood pools for the given ped in some interval for a few seconds.
@@ -823,527 +1262,367 @@ export class Graphics {
823
1262
  static animpostfxStop(effectName) {
824
1263
  inv('0xB4FD7446BAB2F394', effectName);
825
1264
  }
826
- /**
827
- * @param p0
828
- * @param p1
829
- */
830
- static N_0xC489FE31AC726512(p0, p1) {
831
- inv('0xC489FE31AC726512', p0, p1);
832
- }
833
- /**
834
- * https://i.imgur.com/rPITUCV.jpg
835
- * More customizable and more like quadrants
836
- *
837
- * @param pos
838
- * @param p3
839
- * @param size
840
- * @param p5
841
- * @param permanent
842
- * @param p7
843
- * @param p8
844
- */
845
- static addBloodPool2(pos, p3, size, p5, permanent, p7, p8) {
846
- inv('0xF708298675ABDC6A', f(pos.x), f(pos.y), f(pos.z), f(p3), f(size), f(p5), permanent, f(p7), p8);
847
- }
848
- /**
849
- * p1: 0.3f in R* Scripts
850
- *
851
- * @param waypointRecording
852
- * @param p1
853
- */
854
- static bloodTrailForWaypoint(waypointRecording, p1) {
855
- inv('0xB9C92616929CC25D', waypointRecording, f(p1));
856
- }
857
- /**
858
- * @param ptfxHandle
859
- * @param range
860
- */
861
- static setParticleFxLoopedFarClipDist(ptfxHandle, range) {
862
- inv('0x9B04D471DA0AD7AA', ptfxHandle, f(range));
863
- }
864
- /**
865
- * @param p0
866
- * @param p1
867
- */
868
- static N_0x085C5B61A0114F32(p0, p1) {
869
- inv('0x085C5B61A0114F32', p0, p1);
870
- }
871
- /**
872
- * @param p0
873
- */
874
- static N_0x9F158A49B0D84C3C(p0) {
875
- inv('0x9F158A49B0D84C3C', p0);
1265
+ static resetPausedRenderphases() {
1266
+ inv('0xCCD9AAD85E1B559E');
876
1267
  }
877
1268
  /**
1269
+ * @param unused
878
1270
  * @returns
879
1271
  */
880
- static N_0x5C674EB487891F6B() {
881
- return inv('0x5C674EB487891F6B');
882
- }
883
- /**
884
- * Params: component - used in odriscolls1 and sean1 R* SP Script: COMPONENT_BINOCULARS_SCOPE01
885
- * Triggers the binocular scaleform
886
- *
887
- * @param component
888
- */
889
- static N_0x21F00E08CBB5F37B(component) {
890
- inv('0x21F00E08CBB5F37B', component);
891
- }
892
- /**
893
- * Sets an unknown value related to timecycles.
894
- *
895
- * @param unk
896
- */
897
- static resetAdaptation(unk) {
898
- inv('0x297B72E2AF094742', unk);
899
- }
900
- /**
901
- * @param effectNameHash
902
- */
903
- static animpostfxPreloadPostfxByStackhash(effectNameHash) {
904
- inv('0xF3E039322BFBD4D8', _h(effectNameHash));
1272
+ static saveHighQualityPhoto(unused) {
1273
+ return inv('0x57639FD876B68A91', unused);
905
1274
  }
906
1275
  /**
907
- * @param effectNameHash
908
- * @param p1
1276
+ * @param pos
909
1277
  * @param p2
910
- * @returns p3
911
1278
  */
912
- static animpostfxHasEventTriggeredByStackhash(effectNameHash, p1, p2) {
913
- const result = inv('0x9AB192A9EF980EED', _h(effectNameHash), p1, p2, pvi());
914
- return [result[0], !!result[1]];
915
- }
916
- static destroySwatchTextureDict() {
917
- inv('0xDAD7FB8402651654');
1279
+ static setCloudLayer(pos, p2) {
1280
+ inv('0xB8C984C0D47F4F07', f(pos.x), f(pos.y), p2);
918
1281
  }
919
1282
  /**
1283
+ * @param p0
920
1284
  * @returns
921
1285
  */
922
- static beginTakeHighQualityPhoto() {
923
- return inv('0xA15BFFC0A01B34E1');
1286
+ static N_0xEC3D8C228FE553D7(p0) {
1287
+ return !!inv('0xEC3D8C228FE553D7', p0, rai());
924
1288
  }
925
1289
  /**
926
- * Old name: _IS_TV_PLAYLIST_ITEM_PLAYING
927
- *
928
- * @param videoCliphash
929
- * @returns
1290
+ * *RESET**
930
1291
  */
931
- static isTvshowCurrentlyPlaying(videoCliphash) {
932
- return !!inv('0x4D562223E0EB65F3', _h(videoCliphash), rai());
1292
+ static N_0x1460B644397453EB() {
1293
+ inv('0x1460B644397453EB');
933
1294
  }
934
1295
  /**
935
- * @param p0
1296
+ * @param personaPhotoLocalCacheType
936
1297
  */
937
- static N_0x8996FA6AD9FE4E90(p0) {
938
- inv('0x8996FA6AD9FE4E90', p0);
1298
+ static pedshotSetPersonaPhotoType(personaPhotoLocalCacheType) {
1299
+ inv('0x196D3ACBEBA4A44B', personaPhotoLocalCacheType);
939
1300
  }
940
- /**
941
- * @param obj
942
- */
943
- static removeDecalsFromObject(obj) {
944
- inv('0xFB8972BAE0013140', obj.handle);
1301
+ static pedshotFinishCleanupData() {
1302
+ inv('0xC2B8164C3BE871A4');
945
1303
  }
946
- /**
947
- * https://github.com/femga/rdr3_discoveries/blob/master/graphics/markers/marker_types.lua
948
- * Old name: _DRAW_MARKER
949
- *
950
- * @param type
951
- * @param pos
952
- * @param direction
953
- * @param rot
954
- * @param scale
955
- * @param color
956
- * @param alpha
957
- * @param bobUpAndDown
958
- * @param faceCamera
959
- * @param p19
960
- * @param rotate
961
- * @param textureDict
962
- * @param textureName
963
- * @param drawOnEnts
964
- */
965
- static drawMarker(type, pos, direction, rot, scale, color, alpha, bobUpAndDown, faceCamera, p19, rotate, textureDict, textureName, drawOnEnts) {
966
- inv('0x2A32FAA57B937173', _h(type), f(pos.x), f(pos.y), f(pos.z), f(direction.x), f(direction.y), f(direction.z), f(rot.x), f(rot.y), f(rot.z), f(scale.x), f(scale.y), f(scale.z), color.r, color.g, color.b, color.a, alpha, bobUpAndDown, faceCamera, p19, rotate, textureDict, textureName, drawOnEnts);
1304
+ static N_0x1C6306E5BC25C29C() {
1305
+ inv('0x1C6306E5BC25C29C');
967
1306
  }
968
1307
  /**
969
- * @param r
970
- * @param g
971
- * @param b
1308
+ * @param pos
972
1309
  */
973
- static setParticleFxNonLoopedColour(r, g, b) {
974
- inv('0x60B85BED6577A35B', f(r), f(g), f(b));
1310
+ static setCloudNoise(pos) {
1311
+ inv('0xFE7966DF01452F32', f(pos.x), f(pos.y), f(pos.z));
975
1312
  }
976
1313
  /**
977
1314
  * @param p0
978
1315
  */
979
- static N_0xF5793BB386E1FF9C(p0) {
980
- inv('0xF5793BB386E1FF9C', p0);
1316
+ static N_0xEB48CE48EEC41FD4(p0) {
1317
+ inv('0xEB48CE48EEC41FD4', p0);
981
1318
  }
982
1319
  /**
983
- * Used in shop scripts for CATALOG_BOOK
984
- * false = Normal -> [CATALOG_BOOK_SHUTDOWN]
985
- * true = Trees flickering? -> [CATALOG_BOOK_OPEN]
1320
+ * Used in NET_CAMP_SPIRIT_ANIMAL_CLEAR_ANIMAL_VISIBILITY
986
1321
  *
987
- * @param p0
988
- */
989
- static N_0x1A9F09AB458D49C6(p0) {
990
- inv('0x1A9F09AB458D49C6', p0);
991
- }
992
- /**
993
- * @param effectName
994
- * @param duration
1322
+ * @param entity
995
1323
  */
996
- static animpostfxPlayTimed(effectName, duration) {
997
- inv('0x3A9A281FF71249E9', effectName, duration);
1324
+ static N_0xC06F2F45A73EABCD(entity) {
1325
+ inv('0xC06F2F45A73EABCD', entity.handle);
998
1326
  }
999
1327
  /**
1000
1328
  * @param effectName
1001
- * @param entity
1002
- * @param offset
1329
+ * @param pos
1003
1330
  * @param rot
1004
- * @param boneIndex
1005
1331
  * @param scale
1006
1332
  * @param xAxis
1007
1333
  * @param yAxis
1008
1334
  * @param zAxis
1009
1335
  * @returns
1010
1336
  */
1011
- static startNetworkedParticleFxLoopedOnEntityBone(effectName, entity, offset, rot, boneIndex, scale, xAxis, yAxis, zAxis) {
1012
- return inv('0x9C56621462FFE7A6', effectName, entity.handle, f(offset.x), f(offset.y), f(offset.z), f(rot.x), f(rot.y), f(rot.z), boneIndex, f(scale), xAxis, yAxis, zAxis, rai());
1013
- }
1014
- /**
1015
- * @param p0
1016
- * @param p1
1017
- * @param p2
1018
- */
1019
- static N_0x735762E8D7573E42(p0, p1, p2) {
1020
- inv('0x735762E8D7573E42', p0, p1, p2);
1021
- }
1022
- /**
1023
- * Only used in guama1 R* Script
1024
- * Disables lod/distant lights when BOOL is set to true
1025
- *
1026
- * @param disable
1027
- */
1028
- static disableFarArtificialLights(disable) {
1029
- inv('0xCD284E2F6AC27EE9', disable);
1030
- }
1031
- /**
1032
- * @param decal
1033
- */
1034
- static removeDecal(decal) {
1035
- inv('0x49A720552EB0BB88', decal);
1337
+ static startNetworkedParticleFxNonLoopedAtCoord(effectName, pos, rot, scale, xAxis, yAxis, zAxis) {
1338
+ return !!inv('0xFB97618457994A62', effectName, f(pos.x), f(pos.y), f(pos.z), f(rot.x), f(rot.y), f(rot.z), f(scale), xAxis, yAxis, zAxis, rai());
1036
1339
  }
1037
1340
  /**
1038
- * Hardcoded to always set x to 1280 and y to 720.
1039
- *
1040
- * @returns x; y
1341
+ * @returns
1041
1342
  */
1042
- static getScreenResolution() {
1043
- const result = inv('0x66773C92835D0909', pvi(), pvi());
1044
- return [result[0], result[1]];
1343
+ static getPhotoModeExposure() {
1344
+ return inv('0x06C0D8BB6B04A709', raf());
1045
1345
  }
1046
1346
  /**
1047
- * ANIMPOSTFX_*
1347
+ * _SET_PARTICLE_FX_LOOPED_FA* - _SET_PARTICLE_FX_LOOPED_OF*
1048
1348
  *
1049
- * @param effectName
1050
- */
1051
- static N_0xA201A3D0AC087C37(effectName) {
1052
- inv('0xA201A3D0AC087C37', effectName);
1053
- }
1054
- /**
1055
- * @param modifierName
1056
- * @param transitionBlend
1349
+ * @param ptfxHandle
1350
+ * @param scalar
1057
1351
  */
1058
- static setTransitionTimecycleModifier(modifierName, transitionBlend) {
1059
- inv('0xFF927A09F481D80C', modifierName, f(transitionBlend));
1060
- }
1061
- static enableEntitymask() {
1062
- inv('0xFAAD23DE7A54FC14');
1352
+ static setParticleFxLoopedUpdateDistantSmoke(ptfxHandle, scalar) {
1353
+ inv('0x9DDC222D85D5AF2A', ptfxHandle, f(scalar));
1063
1354
  }
1064
1355
  /**
1065
- * fxName: see data_0/data/effects/ptfx/fxlists/
1356
+ * Known effects: MP_Trans_SceneToPhoto
1357
+ * MP_Trans_WinLose
1358
+ * SpectateFilter
1359
+ * MP_CharacterCreatorPhoto
1360
+ * MP_Trans_PhotoToScene
1361
+ * InterrogationHit
1066
1362
  *
1067
- * @param fxName
1363
+ * @param effectName
1364
+ * @returns
1068
1365
  */
1069
- static useParticleFxAsset(fxName) {
1070
- inv('0xA10DB07FC234DD12', fxName);
1071
- }
1072
- static animpostfxStopAll() {
1073
- inv('0x66560A0D4C64FD21');
1366
+ static animpostfxGetStackhash(effectName) {
1367
+ return (inv('0x842CCC9491FFCD9B', effectName, rai())) & 0xFFFFFFFF;
1074
1368
  }
1075
1369
  /**
1076
- * @param pickup
1077
- * @param toggle
1370
+ * @param height
1078
1371
  */
1079
- static blockPickupPlacementLight(pickup, toggle) {
1080
- inv('0x0552AA3FFC5B87AA', pickup.handle, toggle);
1372
+ static setCloudHeight(height) {
1373
+ inv('0xC332C91388F5580B', f(height));
1081
1374
  }
1082
1375
  /**
1083
- * ANIMPOSTFX_*
1376
+ * https://imgur.com/a/I2swSDJ Old name: _SET_PICKUP_OBJECT_GLOW_ENABLED
1084
1377
  *
1085
- * @param effectNameHash
1378
+ * @param object
1379
+ * @param toggle
1086
1380
  */
1087
- static N_0x38D9D50F2085E9B3(effectNameHash) {
1088
- inv('0x38D9D50F2085E9B3', _h(effectNameHash));
1381
+ static setPickupLight(object, toggle) {
1382
+ inv('0x7DFB49BCDB73089A', object.handle, toggle);
1089
1383
  }
1090
1384
  /**
1091
- * Used for script function RPG_GLOBAL_STATS__PRIVATE__DEACTIVATE_STAT_FLAG - Inspiration Aura unequip
1385
+ * @param entity
1092
1386
  */
1093
- static resetEntityAura() {
1094
- inv('0xAF4D239B8903FCBE');
1387
+ static removeParticleFxFromEntity(entity) {
1388
+ inv('0x92884B4A49D81325', entity.handle);
1095
1389
  }
1096
1390
  /**
1097
- * @param p0
1391
+ * @param ptfxHandle
1098
1392
  * @param p1
1099
- * @param p2
1100
- * @param p3
1101
- * @param p4
1102
- * @param p5
1103
- * @param p6
1104
- * @param p7
1105
- * @param p8
1106
- * @param p9
1107
- * @param p10
1108
- * @param p11
1109
- * @param p12
1110
- * @param p13
1111
- * @param p14
1112
- * @param p15
1113
- * @param p16
1114
- * @param p17
1115
- * @param p18
1116
- * @param p19
1117
- * @param p20
1118
- * @param p21
1119
- * @returns
1120
- */
1121
- static addDecal(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21) {
1122
- return inv('0x57CB267624EF85C0', p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, rai());
1123
- }
1124
- /**
1125
- * _SET_D* or _SET_E*
1126
1393
  */
1127
- static N_0xB032C085D9A03907() {
1128
- inv('0xB032C085D9A03907');
1394
+ static stopParticleFxLooped(ptfxHandle, p1) {
1395
+ inv('0x22970F3A088B133B', ptfxHandle, p1);
1129
1396
  }
1130
1397
  /**
1131
- * Returns handle to be used with REMOVE_GRASS_CULL_SPHERE
1398
+ * p1: AMB_ANN_COAL_CHUTE_DIVE, AMB_ANN_COAL_CHUTE
1399
+ * p2: EMIT
1400
+ * p3: either 0.0f or 1.0f
1132
1401
  *
1133
- * @param pos
1402
+ * @param entity
1403
+ * @param p1
1404
+ * @param p2
1134
1405
  * @param p3
1135
- * @param p4
1136
- * @returns
1137
1406
  */
1138
- static setGrassCullSphere(pos, p3, p4) {
1139
- return inv('0x27219300C36A8D40', f(pos.x), f(pos.y), f(pos.z), f(p3), p4, rai());
1140
- }
1141
- static N_0xA21AF60C9F99CCC5() {
1142
- inv('0xA21AF60C9F99CCC5');
1407
+ static N_0x4FB67D172C4476F3(entity, p1, p2, p3) {
1408
+ inv('0x4FB67D172C4476F3', entity.handle, p1, p2, f(p3));
1143
1409
  }
1144
1410
  /**
1145
- * @param effectName
1146
- * @param entity
1147
- * @param offset
1148
- * @param rot
1149
- * @param scale
1150
- * @param xAxis
1151
- * @param yAxis
1152
- * @param zAxis
1411
+ * @param typeHash
1412
+ * @param pos1
1413
+ * @param pos2
1414
+ * @param radius
1415
+ * @param color
1416
+ * @param alpha
1417
+ * @param reserved
1153
1418
  * @returns
1154
1419
  */
1155
- static startParticleFxLoopedOnEntity(effectName, entity, offset, rot, scale, xAxis, yAxis, zAxis) {
1156
- return inv('0xBD41E1440CE39800', effectName, entity.handle, f(offset.x), f(offset.y), f(offset.z), f(rot.x), f(rot.y), f(rot.z), f(scale), xAxis, yAxis, zAxis, rai());
1420
+ static createCheckpointWithNamehash(typeHash, pos1, pos2, radius, color, alpha, reserved) {
1421
+ return inv('0x175668836B44CBB0', _h(typeHash), f(pos1.x), f(pos1.y), f(pos1.z), f(pos2.x), f(pos2.y), f(pos2.z), f(radius), color.r, color.g, color.b, color.a, alpha, reserved, rai());
1422
+ }
1423
+ static disableEntitymask() {
1424
+ inv('0x5C9978A2A3DC3D0D');
1157
1425
  }
1158
1426
  /**
1159
- * 0 = succeeded
1160
- * 1 = getting status
1161
- * 2 = failed
1427
+ * Returns iNumPixels, iPixelsVisible
1162
1428
  *
1429
+ * @param iTrackedPoint
1163
1430
  * @returns
1164
1431
  */
1165
- static getStatusOfSortedListOperation() {
1166
- return inv('0xB28894CD7408BD0C', rai());
1432
+ static N_0xDFE332A5DA6FE7C9(iTrackedPoint) {
1433
+ return inv('0xDFE332A5DA6FE7C9', iTrackedPoint, rai());
1167
1434
  }
1168
1435
  /**
1169
- * @returns
1436
+ * @param entity
1437
+ * @returns layer0; layer1; layer2; layer3
1170
1438
  */
1171
- static getPhotoModeContrast() {
1172
- return inv('0x98F4154989B81EC6', raf());
1439
+ static setEntityMaskLayers(entity) {
1440
+ const result = inv('0xE92012611461A42A', entity.handle, pvf(), pvf(), pvf(), pvf());
1441
+ return [result[0], result[1], result[2], result[3]];
1173
1442
  }
1174
1443
  /**
1175
- * @param pos
1444
+ * @param point
1445
+ * @returns
1176
1446
  */
1177
- static addBloodTrailPoint(pos) {
1178
- inv('0xDD9DC1AB63D513CE', f(pos.x), f(pos.y), f(pos.z));
1447
+ static isTrackedPointVisible(point) {
1448
+ return !!inv('0xCBB056BA159FB48D', point, rai());
1449
+ }
1450
+ static clearTimecycleModifier() {
1451
+ inv('0x0E3F4AF2D63491FB');
1179
1452
  }
1180
1453
  /**
1181
- * Returns whether the 'killFX' setting is enabled. ANIMPOSTFX_*
1182
- *
1183
- * @returns
1454
+ * Closes the the binocular scaleform
1184
1455
  */
1185
- static N_0xFF584F097C17FA8F() {
1186
- return !!inv('0xFF584F097C17FA8F', rai());
1456
+ static N_0x5AC6E0FA028369DE() {
1457
+ inv('0x5AC6E0FA028369DE');
1187
1458
  }
1188
1459
  /**
1189
- * Old name: _GET_STATUS_OF_DRAW_LOW_QUALITY_PHOTO
1460
+ * ANIMPOSTFX_*
1190
1461
  *
1191
- * @param p0
1192
- * @returns
1462
+ * @param effectNameHash
1193
1463
  */
1194
- static getStatusOfCreateLowQualityCopyOfPhoto(p0) {
1195
- return inv('0x13430D3D5A45F14B', p0, rai());
1464
+ static N_0xC76FC4C2FC5F4405(effectNameHash) {
1465
+ inv('0xC76FC4C2FC5F4405', _h(effectNameHash));
1196
1466
  }
1197
1467
  /**
1198
1468
  * @param effectName
1199
1469
  */
1200
- static animpostfxClearEffect(effectName) {
1201
- inv('0xC5CB91D65852ED7E', effectName);
1202
- }
1203
- static pedshotInitCleanupData() {
1204
- inv('0x55285F885F662169');
1470
+ static animpostfxStopTag(effectName) {
1471
+ inv('0xAD74C22A541AB987', effectName);
1205
1472
  }
1206
1473
  /**
1207
- * @param vegModifierHandle
1208
- * @param p1
1474
+ * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
1475
+ * *ENABLE**
1209
1476
  */
1210
- static removeVegModifierSphere(vegModifierHandle, p1) {
1211
- inv('0x9CF1836C03FB67A2', vegModifierHandle, p1);
1477
+ static N_0x812C1563185C6FB2() {
1478
+ inv('0x812C1563185C6FB2');
1212
1479
  }
1213
1480
  /**
1214
- * @param p0
1481
+ * @param posseId
1215
1482
  */
1216
- static setStatePhotoTakenStat(p0) {
1217
- inv('0x8952E857696B8A79', p0);
1483
+ static setPosseIdForPhoto(posseId) {
1484
+ inv('0x564837D4A9EDE296', posseId);
1218
1485
  }
1219
1486
  /**
1220
- * @param ptfxHandle
1487
+ * Sets the checkpoint color.
1488
+ *
1489
+ * @param checkpoint
1490
+ * @param color
1221
1491
  * @param alpha
1222
1492
  */
1223
- static setParticleFxLoopedAlpha(ptfxHandle, alpha) {
1224
- inv('0x88786E76234F7054', ptfxHandle, f(alpha));
1493
+ static setCheckpointRgba(checkpoint, color, alpha) {
1494
+ inv('0xCAAFC225E33B1D15', checkpoint, color.r, color.g, color.b, color.a, alpha);
1225
1495
  }
1226
1496
  /**
1227
- * @param p0
1497
+ * Health Core Effect Filter Potency: p1 = 1
1498
+ * Stamina Core Effect Filter Potency: p1 = 2
1499
+ * Multiple Core Effect Filter Potency: p1 = 3
1500
+ *
1501
+ * @param effectName
1228
1502
  * @param p1
1229
- * @param p2
1230
- * @param p3
1231
- * @returns
1503
+ * @param potency
1232
1504
  */
1233
- static N_0xA15CCAB8AD038291(p0, p1, p2, p3) {
1234
- return inv('0xA15CCAB8AD038291', p0, p1, p2, p3);
1505
+ static animpostfxSetPotency(effectName, p1, potency) {
1506
+ inv('0xF972F0AB16DC5260', effectName, p1, f(potency));
1235
1507
  }
1236
1508
  /**
1237
- * @param entity
1509
+ * @returns
1238
1510
  */
1239
- static removeEntityFromEntityMask(entity) {
1240
- inv('0x56A786E87FF53478', entity.handle);
1511
+ static pedshotIsAvailable() {
1512
+ return inv('0xAF6E67D073D2DCE2');
1241
1513
  }
1242
1514
  /**
1243
1515
  * @param p0
1244
- * @param p1
1245
- * @param p2
1246
1516
  */
1247
- static setParticleFxNonLoopedEmitterScale(p0, p1, p2) {
1248
- inv('0x56C392C2BD78B024', f(p0), f(p1), f(p2));
1517
+ static N_0xD9BC98B55BCFAA9B(p0) {
1518
+ inv('0xD9BC98B55BCFAA9B', p0);
1249
1519
  }
1250
1520
  /**
1251
- * @param effectNameHash
1252
- * @returns
1521
+ * @param pos
1522
+ * @param xScale
1523
+ * @param yScale
1524
+ * @param rotation
1525
+ * @param color
1526
+ * @param alpha
1253
1527
  */
1254
- static animpostfxIsStackhashPlaying(effectNameHash) {
1255
- return inv('0xEEF83A759AE06A27', _h(effectNameHash));
1528
+ static drawTvChannel(pos, xScale, yScale, rotation, color, alpha) {
1529
+ inv('0xC0A145540254A840', f(pos.x), f(pos.y), f(xScale), f(yScale), f(rotation), color.r, color.g, color.b, color.a, alpha);
1256
1530
  }
1257
1531
  /**
1258
- * @param p0
1532
+ * @param handle
1259
1533
  */
1260
- static N_0x503941F65DBA24EC(p0) {
1261
- inv('0x503941F65DBA24EC', p0);
1534
+ static removeGrassCullSphere(handle) {
1535
+ inv('0xAE7BF7CA9E4BA48D', handle);
1262
1536
  }
1263
1537
  /**
1264
- * @param p0
1265
- * @param p1
1266
- * @param p2
1267
- * @param p3
1268
- * @param p4
1269
- * @param p5
1270
- * @param p6
1538
+ * @param slots
1539
+ * @returns
1271
1540
  */
1272
- static N_0x48FE0DB54045B975(p0, p1, p2, p3, p4, p5, p6) {
1273
- inv('0x48FE0DB54045B975', p0, p1, p2, p3, p4, p5, p6);
1541
+ static createSwatchTextureDict(slots) {
1542
+ return inv('0x3D084D5568FB4028', slots);
1274
1543
  }
1275
- static cascadeShadowsClearShadowSampleType() {
1276
- inv('0xF7C29D7C12C36F03');
1544
+ /**
1545
+ * _GET_C* - _GET_E*
1546
+ *
1547
+ * @returns
1548
+ */
1549
+ static getModifiedVisibilityDistance() {
1550
+ return inv('0x25CA89B2A39DCC69', raf());
1277
1551
  }
1278
1552
  /**
1279
- * 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)
1553
+ * nullsub, doesn't do anything
1280
1554
  *
1281
- * @param x
1282
- * @param y
1283
- * @param width
1284
- * @param height
1285
- * @param color
1286
- * @param alpha
1287
- * @param p8
1288
- * @param p9
1555
+ * @param p0
1289
1556
  */
1290
- static drawRect(x, y, width, height, color, alpha, p8, p9) {
1291
- inv('0x405224591DF02025', f(x), f(y), f(width), f(height), color.r, color.g, color.b, color.a, alpha, p8, p9);
1557
+ static N_0x94B261F1F35293E1(p0) {
1558
+ inv('0x94B261F1F35293E1', p0);
1292
1559
  }
1293
1560
  /**
1294
- * @param tvChannel
1295
- * @param playlistName
1296
- * @param restart
1561
+ * Probably changes tvs from being a 3d audio to being "global" audio
1562
+ *
1563
+ * @param toggle
1297
1564
  */
1298
- static setTvChannelPlaylist(tvChannel, playlistName, restart) {
1299
- inv('0xDEC6B25F5DC8925B', tvChannel, playlistName, restart);
1565
+ static setTvAudioFrontend(toggle) {
1566
+ inv('0x64437C98FCC5F291', toggle);
1300
1567
  }
1301
1568
  /**
1302
- * @param checkpoint
1569
+ * @returns
1303
1570
  */
1304
- static deleteCheckpoint(checkpoint) {
1305
- inv('0x0DED5B0C8EBAAE12', checkpoint);
1571
+ static getTimecycleTransitionModifierIndex() {
1572
+ return inv('0x2DA67BA3C8A6755D', rai());
1306
1573
  }
1307
1574
  /**
1308
- * *DISABLE**
1309
- *
1310
- * @param p0
1575
+ * @param ptfxHandle
1576
+ * @param propertyName
1577
+ * @param amount
1578
+ * @param noNetwork
1311
1579
  */
1312
- static N_0xFB680A9B33D0EDBE(p0) {
1313
- inv('0xFB680A9B33D0EDBE', p0);
1580
+ static setParticleFxLoopedEvolution(ptfxHandle, propertyName, amount, noNetwork) {
1581
+ inv('0x3674F389B0FACD80', ptfxHandle, propertyName, f(amount), noNetwork);
1314
1582
  }
1315
1583
  /**
1584
+ * @param effectName
1316
1585
  * @returns
1317
1586
  */
1318
- static N_0xC28F62AC9774FC1B() {
1319
- return inv('0xC28F62AC9774FC1B');
1587
+ static animpostfxHasLoaded(effectName) {
1588
+ return inv('0xBF2DD155B2ADCD0A', effectName);
1320
1589
  }
1321
1590
  /**
1322
- * @param p1
1323
- * @param p2
1324
- * @param p3
1325
- * @returns p0
1591
+ * @param decal
1592
+ * @returns
1326
1593
  */
1327
- static loadMissionCreatorPhoto(p1, p2, p3) {
1328
- const result = inv('0x84F0BA7462FF8D58', pvi(), p1, p2, p3, rai());
1329
- return [!!result[0], result[1]];
1594
+ static isDecalAlive(decal) {
1595
+ return !!inv('0x3E4B4E5CF5D3EEB5', decal, rai());
1330
1596
  }
1331
1597
  /**
1332
- * @param entity
1333
- * @returns layer0; layer1; layer2; layer3
1598
+ * @param p0
1334
1599
  */
1335
- static getEntityMaskLayers(entity) {
1336
- const result = inv('0xE8A8378BF651079C', entity.handle, pvf(), pvf(), pvf(), pvf(), rai());
1337
- return [!!result[0], result[1], result[2], result[3], result[4]];
1600
+ static N_0x453D16D41FC51D3E(p0) {
1601
+ inv('0x453D16D41FC51D3E', p0);
1338
1602
  }
1339
1603
  /**
1340
- * @param ped
1604
+ * @param p0
1341
1605
  * @param p1
1342
- * @param size
1606
+ * @param p2
1343
1607
  * @param p3
1608
+ * @param p4
1609
+ * @param p5
1610
+ * @param p6
1611
+ * @returns
1344
1612
  */
1345
- static addBloodPoolsForPedWithParams(ped, p1, size, p3) {
1346
- inv('0xC349EE1E6EFA494B', ped.handle, f(p1), f(size), f(p3));
1613
+ static N_0xE63D68F455CA0B47(p0, p1, p2, p3, p4, p5, p6) {
1614
+ return inv('0xE63D68F455CA0B47', p0, p1, p2, p3, p4, p5, p6);
1615
+ }
1616
+ /**
1617
+ * @param pos
1618
+ * @param colorR
1619
+ * @param colorG
1620
+ * @param colorB
1621
+ * @param range
1622
+ * @param intensity
1623
+ */
1624
+ static drawLightWithRange(pos, colorR, colorG, colorB, range, intensity) {
1625
+ inv('0xD2D9E04C0DF927F4', f(pos.x), f(pos.y), f(pos.z), colorR, colorG, colorB, f(range), f(intensity));
1347
1626
  }
1348
1627
  /**
1349
1628
  * Only used in guama1 R* SP Script while spawning the ship
@@ -1478,284 +1757,126 @@ export class Graphics {
1478
1757
  *
1479
1758
  * @returns
1480
1759
  */
1481
- static N_0xC37792A3F9C90771() {
1482
- return inv('0xC37792A3F9C90771');
1483
- }
1484
- /**
1485
- * Adds Vegetation Blocking Zone, Added Snow Flattening veg mod Zone
1486
- * Returns veg modifier handle
1487
- *
1488
- * @param volume
1489
- * @param p1
1490
- * @param flags
1491
- * @param p3
1492
- * @returns
1493
- */
1494
- static addVegModifierZone(volume, p1, flags, p3) {
1495
- return inv('0xBD3324281E8B9933', volume.handle, p1, flags, p3, rai());
1496
- }
1497
- /**
1498
- * @param p0
1499
- */
1500
- static N_0xFF8018C778349234(p0) {
1501
- inv('0xFF8018C778349234', p0);
1502
- }
1503
- /**
1504
- * Old name: _SET_HIDOF_ENV_BLUR_PARAMS
1505
- *
1506
- * @param p0
1507
- * @param p1
1508
- * @param p2
1509
- * @param p3
1510
- * @param p4
1511
- * @param p5
1512
- */
1513
- static setHidofOverride(p0, p1, p2, p3, p4, p5) {
1514
- inv('0xCC23AA1A7CBFE840', p0, p1, f(p2), f(p3), f(p4), f(p5));
1515
- }
1516
- /**
1517
- * @param effectName
1518
- * @param entity
1519
- * @param offset
1520
- * @param rot
1521
- * @param boneIndex
1522
- * @param scale
1523
- * @param xAxis
1524
- * @param yAxis
1525
- * @param zAxis
1526
- * @returns
1527
- */
1528
- static startParticleFxLoopedOnEntityBone(effectName, entity, offset, rot, boneIndex, scale, xAxis, yAxis, zAxis) {
1529
- return inv('0xD3BA6EC7F2FBD5E9', effectName, entity.handle, f(offset.x), f(offset.y), f(offset.z), f(rot.x), f(rot.y), f(rot.z), boneIndex, f(scale), xAxis, yAxis, zAxis, rai());
1530
- }
1531
- /**
1532
- * Sets the checkpoint icon color.
1533
- *
1534
- * @param checkpoint
1535
- * @param color
1536
- * @param alpha
1537
- */
1538
- static setCheckpointRgba2(checkpoint, color, alpha) {
1539
- inv('0x99AFF17222D4DEB4', checkpoint, color.r, color.g, color.b, color.a, alpha);
1540
- }
1541
- /**
1542
- * nullsub, doesn't do anything (GTA5 leftover, there is no phone in RDR3)
1543
- *
1544
- * @param p0
1545
- * @param photoRotation
1546
- */
1547
- static drawLowQualityPhotoToPhone(p0, photoRotation) {
1548
- inv('0xF1142E5D64B47802', p0, photoRotation);
1549
- }
1550
- /**
1551
- * https://gfycat.com/meagerfaireyra
1552
- *
1553
- * @param entity
1554
- * @param color
1555
- */
1556
- static setLightsColorForEntity(entity, color) {
1557
- inv('0x6EC2A67962296F49', entity.handle, color.r, color.g, color.b, color.a);
1558
- }
1559
- /**
1560
- * @param effectName
1561
- * @param ped
1562
- * @param offset
1563
- * @param rot
1564
- * @param boneIndex
1565
- * @param scale
1566
- * @param axisX
1567
- * @param axisY
1568
- * @param axisZ
1569
- * @returns
1570
- */
1571
- static startParticleFxNonLoopedOnPedBone2(effectName, ped, offset, rot, boneIndex, scale, axisX, axisY, axisZ) {
1572
- return inv('0xC695870B8A149B96', effectName, ped.handle, f(offset.x), f(offset.y), f(offset.z), f(rot.x), f(rot.y), f(rot.z), boneIndex, f(scale), axisX, axisY, axisZ);
1573
- }
1574
- static N_0x981C7D863980FA51() {
1575
- inv('0x981C7D863980FA51');
1576
- }
1577
- /**
1578
- * @param p0
1579
- * @param p1
1580
- */
1581
- static N_0x9F6D859C80708B26(p0, p1) {
1582
- inv('0x9F6D859C80708B26', p0, p1);
1583
- }
1584
- /**
1585
- * @param oldAsset
1586
- * @param newAsset
1587
- */
1588
- static setParticleFxOverride(oldAsset, newAsset) {
1589
- inv('0xBE711A169E9C7E95', oldAsset, newAsset);
1590
- }
1591
- /**
1592
- * @param p0
1593
- * @param p1
1594
- */
1595
- static N_0xA0F4D12D6042F6D5(p0, p1) {
1596
- inv('0xA0F4D12D6042F6D5', p0, p1);
1597
- }
1598
- /**
1599
- * @param ptfxHandle
1600
- * @param pos
1601
- * @param rot
1602
- */
1603
- static setParticleFxLoopedOffsets(ptfxHandle, pos, rot) {
1604
- inv('0xD3A4A95FC94FE83B', ptfxHandle, f(pos.x), f(pos.y), f(pos.z), f(rot.x), f(rot.y), f(rot.z));
1605
- }
1606
- /**
1607
- * @param p0
1608
- */
1609
- static disableStaticVegModifier(p0) {
1610
- inv('0xDD0BC0EDCB2162F6', _h(p0));
1611
- }
1612
- /**
1613
- * @param ptfxHandle
1614
- * @param scale
1615
- */
1616
- static setParticleFxLoopedScale(ptfxHandle, scale) {
1617
- inv('0x1A9E1C0D98D093B7', ptfxHandle, f(scale));
1618
- }
1619
- /**
1620
- * https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_non_looped.lua
1621
- *
1622
- * @param effectName
1623
- * @param pos
1624
- * @param rot
1625
- * @param scale
1626
- * @param eventType
1627
- * @param bPeekOnly
1628
- * @param bIsRegistered
1629
- * @returns
1630
- */
1631
- static startParticleFxNonLoopedAtCoord(effectName, pos, rot, scale, eventType, bPeekOnly, bIsRegistered) {
1632
- return inv('0x2E80BF72EF7C87AC', effectName, f(pos.x), f(pos.y), f(pos.z), f(rot.x), f(rot.y), f(rot.z), f(scale), eventType, bPeekOnly, bIsRegistered, rai());
1633
- }
1634
- /**
1635
- * @param p0
1636
- * @returns
1637
- */
1638
- static isStaticVegModifierEnabled(p0) {
1639
- return inv('0xDE9BAD3292AA6D5E', _h(p0));
1640
- }
1641
- /**
1642
- * https://github.com/femga/rdr3_discoveries/blob/master/graphics/timecycles
1643
- *
1644
- * @param modifierName
1645
- */
1646
- static setTimecycleModifier(modifierName) {
1647
- inv('0xFA08722A5EA82DA7', modifierName);
1648
- }
1649
- /**
1650
- * @param strength
1651
- */
1652
- static setTimecycleModifierStrength(strength) {
1653
- inv('0xFDB74C9CC54C3F37', f(strength));
1654
- }
1655
- /**
1656
- * @param toggle
1657
- */
1658
- static togglePausedRenderphases(toggle) {
1659
- inv('0xEF9E1C45732F55FA', toggle);
1760
+ static N_0xC37792A3F9C90771() {
1761
+ return inv('0xC37792A3F9C90771');
1660
1762
  }
1661
1763
  /**
1662
- * R* Script spd_agnesdow1: p0 = SPD_AGNES_DOWD_01
1764
+ * Adds Vegetation Blocking Zone, Added Snow Flattening veg mod Zone
1765
+ * Returns veg modifier handle
1663
1766
  *
1664
- * @param p0
1767
+ * @param volume
1768
+ * @param p1
1769
+ * @param flags
1770
+ * @param p3
1665
1771
  * @returns
1666
1772
  */
1667
- static N_0xFD05B1DDE83749FA(p0) {
1668
- return !!inv('0xFD05B1DDE83749FA', p0, rai());
1773
+ static addVegModifierZone(volume, p1, flags, p3) {
1774
+ return inv('0xBD3324281E8B9933', volume.handle, p1, flags, p3, rai());
1775
+ }
1776
+ static N_0xEC3F7F24EEEB3BA3() {
1777
+ inv('0xEC3F7F24EEEB3BA3');
1669
1778
  }
1670
1779
  /**
1780
+ * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
1781
+ *
1671
1782
  * @param p0
1672
1783
  */
1673
- static setParticleFxFootLodrangeScale(p0) {
1674
- inv('0x2A1625858887D4E6', f(p0));
1784
+ static N_0x41F88A85A579A61D(p0) {
1785
+ inv('0x41F88A85A579A61D', f(p0));
1786
+ }
1787
+ static freeMemoryForLowQualityPhoto() {
1788
+ inv('0x614682E715ADBAAC');
1789
+ }
1790
+ static freeMemoryForHighQualityPhoto() {
1791
+ inv('0xD45547D8396F002A');
1792
+ }
1793
+ static N_0x32DE2BFFDA43E62A() {
1794
+ inv('0x32DE2BFFDA43E62A');
1675
1795
  }
1676
1796
  /**
1677
- * @param ptfxHandle
1678
- * @returns
1797
+ * Resets the exposure to the value when exposure lock was enabled
1679
1798
  */
1680
- static doesParticleFxLoopedExist(ptfxHandle) {
1681
- return !!inv('0x9DD5AFF561E88F2A', ptfxHandle, rai());
1799
+ static updatePhotoModeExposure() {
1800
+ inv('0x9229ED770975BD9E');
1682
1801
  }
1683
1802
  /**
1684
1803
  * @param effectName
1685
- * @param entity
1686
- * @param offset
1687
- * @param rot
1688
- * @param scale
1689
- * @param axisX
1690
- * @param axisY
1691
- * @param axisZ
1692
- * @returns
1693
1804
  */
1694
- static startParticleFxNonLoopedOnEntity(effectName, entity, offset, rot, scale, axisX, axisY, axisZ) {
1695
- return !!inv('0xFF4C64C513388C12', effectName, entity.handle, f(offset.x), f(offset.y), f(offset.z), f(rot.x), f(rot.y), f(rot.z), f(scale), axisX, axisY, axisZ, rai());
1805
+ static animpostfxPreloadPostfx(effectName) {
1806
+ inv('0x5199405EABFBD7F0', effectName);
1696
1807
  }
1697
1808
  /**
1698
- * @returns
1809
+ * @param strength
1699
1810
  */
1700
- static getTogglePausedRenderphasesStatus() {
1701
- return !!inv('0x86ED21BDB2791CE8', rai());
1811
+ static setTransitionOutOfTimecycleModifier(strength) {
1812
+ inv('0xBB6C707F20D955D4', f(strength));
1702
1813
  }
1703
1814
  /**
1704
- * Only used in R* SP Script spd_agnesdown1
1705
- *
1706
- * @param p0
1707
- * @returns
1815
+ * @param effectName
1816
+ * @param p1
1817
+ * @param color
1818
+ * @param alpha
1708
1819
  */
1709
- static N_0x5C9C3A466B3296A8(p0) {
1710
- return inv('0x5C9C3A466B3296A8', p0);
1820
+ static animpostfxSetPostfxColor(effectName, p1, color, alpha) {
1821
+ inv('0x63011D0C7C6519E0', effectName, p1, color.r, color.g, color.b, color.a, alpha);
1711
1822
  }
1712
1823
  /**
1713
- * @param entity
1714
- * @param mask
1824
+ * @param p0
1825
+ * @param p1
1715
1826
  */
1716
- static addEntityToEntityMask(entity, mask) {
1717
- inv('0xC6F81FCD15350323', entity.handle, mask);
1827
+ static startPetrolTrailDecals(p0, p1) {
1828
+ inv('0x46F246D6504F0031', p0, p1);
1718
1829
  }
1719
1830
  /**
1720
- * Always returns 200.
1721
- *
1722
- * @returns
1831
+ * @param pickupObject
1832
+ * @param allow
1723
1833
  */
1724
- static getMaxNumberOfLocalPhotos() {
1725
- return inv('0x8E587FCD30E05592', rai());
1834
+ static allowPickupLightSync(pickupObject, allow) {
1835
+ inv('0x7C348310A6E2FB91', pickupObject.handle, allow);
1726
1836
  }
1727
- /**
1728
- * @param channel
1729
- */
1730
- static setTvChannel(channel) {
1731
- inv('0x593FAF7FC9401A56', channel);
1837
+ static freeMemoryForMissionCreatorPhoto() {
1838
+ inv('0x7DFF8F94937D2659');
1732
1839
  }
1733
1840
  /**
1841
+ * Returns veg modifier handle
1842
+ *
1734
1843
  * @param pos
1735
- * @param p3
1844
+ * @param radius
1845
+ * @param modType
1846
+ * @param flags
1847
+ * @param p6
1848
+ * @returns
1736
1849
  */
1737
- static addPetrolTrailDecalInfo(pos, p3) {
1738
- inv('0x73354FB6D03D2E8A', f(pos.x), f(pos.y), f(pos.z), f(p3));
1850
+ static addVegModifierSphere(pos, radius, modType, flags, p6) {
1851
+ return inv('0xFA50F79257745E74', f(pos.x), f(pos.y), f(pos.z), f(radius), modType, flags, p6, rai());
1739
1852
  }
1740
1853
  /**
1741
- * ANIMPOSTFX_*
1854
+ * Only used in R* SP Script spd_agnesdown1
1742
1855
  *
1743
- * @param effectName
1856
+ * @param p0
1857
+ * @param pos
1858
+ * @param p4
1859
+ * @param p5
1860
+ * @param heading
1744
1861
  * @returns
1745
1862
  */
1746
- static N_0xB958D97A0DFAA0C2(effectName) {
1747
- return !!inv('0xB958D97A0DFAA0C2', effectName, rai());
1863
+ static N_0x402E1A61D2587FCD(p0, pos, p4, p5, heading) {
1864
+ return !!inv('0x402E1A61D2587FCD', p0, f(pos.x), f(pos.y), f(pos.z), f(p4), f(p5), f(heading), rai());
1748
1865
  }
1749
1866
  /**
1750
- * @param txdHash
1751
- * @param dict
1752
1867
  * @returns
1753
1868
  */
1754
- static isTextureInDict(txdHash, dict) {
1755
- return inv('0xA2A51869BDED733B', _h(txdHash), _h(dict));
1869
+ static N_0xFC9B53C072F418E0() {
1870
+ return inv('0xFC9B53C072F418E0');
1756
1871
  }
1757
- static N_0x910E260AEAD855DE() {
1758
- inv('0x910E260AEAD855DE');
1872
+ /**
1873
+ * state: false disables artificial interior light sources for specific proxyInteriorIndex
1874
+ *
1875
+ * @param proxyInteriorIndex
1876
+ * @param state
1877
+ */
1878
+ static setProxyInteriorIndexArtificialLightsState(proxyInteriorIndex, state) {
1879
+ inv('0xBFCB17895BB99E4E', proxyInteriorIndex, state);
1759
1880
  }
1760
1881
  /**
1761
1882
  * @param scale
@@ -1884,127 +2005,6 @@ export class Graphics {
1884
2005
  static N_0x6C03118E9E5C1A14(p0) {
1885
2006
  inv('0x6C03118E9E5C1A14', p0);
1886
2007
  }
1887
- /**
1888
- * https://imgur.com/a/I2swSDJ Old name: _SET_PICKUP_OBJECT_GLOW_ENABLED
1889
- *
1890
- * @param object
1891
- * @param toggle
1892
- */
1893
- static setPickupLight(object, toggle) {
1894
- inv('0x7DFB49BCDB73089A', object.handle, toggle);
1895
- }
1896
- /**
1897
- * @param entity
1898
- */
1899
- static removeParticleFxFromEntity(entity) {
1900
- inv('0x92884B4A49D81325', entity.handle);
1901
- }
1902
- /**
1903
- * @param ptfxHandle
1904
- * @param p1
1905
- */
1906
- static stopParticleFxLooped(ptfxHandle, p1) {
1907
- inv('0x22970F3A088B133B', ptfxHandle, p1);
1908
- }
1909
- /**
1910
- * p1: AMB_ANN_COAL_CHUTE_DIVE, AMB_ANN_COAL_CHUTE
1911
- * p2: EMIT
1912
- * p3: either 0.0f or 1.0f
1913
- *
1914
- * @param entity
1915
- * @param p1
1916
- * @param p2
1917
- * @param p3
1918
- */
1919
- static N_0x4FB67D172C4476F3(entity, p1, p2, p3) {
1920
- inv('0x4FB67D172C4476F3', entity.handle, p1, p2, f(p3));
1921
- }
1922
- /**
1923
- * @param typeHash
1924
- * @param pos1
1925
- * @param pos2
1926
- * @param radius
1927
- * @param color
1928
- * @param alpha
1929
- * @param reserved
1930
- * @returns
1931
- */
1932
- static createCheckpointWithNamehash(typeHash, pos1, pos2, radius, color, alpha, reserved) {
1933
- return inv('0x175668836B44CBB0', _h(typeHash), f(pos1.x), f(pos1.y), f(pos1.z), f(pos2.x), f(pos2.y), f(pos2.z), f(radius), color.r, color.g, color.b, color.a, alpha, reserved, rai());
1934
- }
1935
- static disableEntitymask() {
1936
- inv('0x5C9978A2A3DC3D0D');
1937
- }
1938
- /**
1939
- * Returns iNumPixels, iPixelsVisible
1940
- *
1941
- * @param iTrackedPoint
1942
- * @returns
1943
- */
1944
- static N_0xDFE332A5DA6FE7C9(iTrackedPoint) {
1945
- return inv('0xDFE332A5DA6FE7C9', iTrackedPoint, rai());
1946
- }
1947
- /**
1948
- * @param entity
1949
- * @returns layer0; layer1; layer2; layer3
1950
- */
1951
- static setEntityMaskLayers(entity) {
1952
- const result = inv('0xE92012611461A42A', entity.handle, pvf(), pvf(), pvf(), pvf());
1953
- return [result[0], result[1], result[2], result[3]];
1954
- }
1955
- /**
1956
- * @param point
1957
- * @returns
1958
- */
1959
- static isTrackedPointVisible(point) {
1960
- return !!inv('0xCBB056BA159FB48D', point, rai());
1961
- }
1962
- static clearTimecycleModifier() {
1963
- inv('0x0E3F4AF2D63491FB');
1964
- }
1965
- /**
1966
- * Closes the the binocular scaleform
1967
- */
1968
- static N_0x5AC6E0FA028369DE() {
1969
- inv('0x5AC6E0FA028369DE');
1970
- }
1971
- /**
1972
- * ANIMPOSTFX_*
1973
- *
1974
- * @param effectNameHash
1975
- */
1976
- static N_0xC76FC4C2FC5F4405(effectNameHash) {
1977
- inv('0xC76FC4C2FC5F4405', _h(effectNameHash));
1978
- }
1979
- /**
1980
- * @param effectName
1981
- */
1982
- static animpostfxStopTag(effectName) {
1983
- inv('0xAD74C22A541AB987', effectName);
1984
- }
1985
- /**
1986
- * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
1987
- * *ENABLE**
1988
- */
1989
- static N_0x812C1563185C6FB2() {
1990
- inv('0x812C1563185C6FB2');
1991
- }
1992
- /**
1993
- * @param posseId
1994
- */
1995
- static setPosseIdForPhoto(posseId) {
1996
- inv('0x564837D4A9EDE296', posseId);
1997
- }
1998
- /**
1999
- * Sets the checkpoint color.
2000
- *
2001
- * @param checkpoint
2002
- * @param color
2003
- * @param alpha
2004
- */
2005
- static setCheckpointRgba(checkpoint, color, alpha) {
2006
- inv('0xCAAFC225E33B1D15', checkpoint, color.r, color.g, color.b, color.a, alpha);
2007
- }
2008
2008
  /**
2009
2009
  * Related to Campfires.
2010
2010
  * p1: AMB_BONFIRE_MP, AMB_CAMPFIRE_LRG_MP