@nativewrappers/redm-codegen 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (313) hide show
  1. package/dist/classes/AnimScene.d.ts +135 -135
  2. package/dist/classes/AnimScene.d.ts.map +1 -1
  3. package/dist/classes/AnimScene.js +208 -208
  4. package/dist/classes/BaseModel.d.ts +21 -21
  5. package/dist/classes/BaseModel.d.ts.map +1 -1
  6. package/dist/classes/BaseModel.js +33 -33
  7. package/dist/classes/BaseTask.d.ts +23 -23
  8. package/dist/classes/BaseTask.d.ts.map +1 -1
  9. package/dist/classes/BaseTask.js +27 -27
  10. package/dist/classes/Cam.d.ts +98 -98
  11. package/dist/classes/Cam.d.ts.map +1 -1
  12. package/dist/classes/Cam.js +134 -134
  13. package/dist/classes/Entity.d.ts +385 -380
  14. package/dist/classes/Entity.d.ts.map +1 -1
  15. package/dist/classes/Entity.js +498 -489
  16. package/dist/classes/Interior.d.ts +5 -5
  17. package/dist/classes/Interior.d.ts.map +1 -1
  18. package/dist/classes/Interior.js +8 -8
  19. package/dist/classes/ItemSet.d.ts +2 -2
  20. package/dist/classes/ItemSet.d.ts.map +1 -1
  21. package/dist/classes/ItemSet.js +3 -3
  22. package/dist/classes/Ped.d.ts +336 -336
  23. package/dist/classes/Ped.d.ts.map +1 -1
  24. package/dist/classes/Ped.js +495 -495
  25. package/dist/classes/PedModel.d.ts +1 -1
  26. package/dist/classes/PedModel.d.ts.map +1 -1
  27. package/dist/classes/PedModel.js +2 -2
  28. package/dist/classes/PedTask.d.ts +255 -255
  29. package/dist/classes/PedTask.d.ts.map +1 -1
  30. package/dist/classes/PedTask.js +345 -345
  31. package/dist/classes/PersChar.d.ts +13 -13
  32. package/dist/classes/PersChar.d.ts.map +1 -1
  33. package/dist/classes/PersChar.js +29 -29
  34. package/dist/classes/Pickup.d.ts +8 -8
  35. package/dist/classes/Pickup.d.ts.map +1 -1
  36. package/dist/classes/Pickup.js +15 -15
  37. package/dist/classes/Player.d.ts +713 -709
  38. package/dist/classes/Player.d.ts.map +1 -1
  39. package/dist/classes/Player.js +979 -973
  40. package/dist/classes/Prop.d.ts +115 -115
  41. package/dist/classes/Prop.d.ts.map +1 -1
  42. package/dist/classes/Prop.js +160 -160
  43. package/dist/classes/PropSet.d.ts +5 -5
  44. package/dist/classes/PropSet.d.ts.map +1 -1
  45. package/dist/classes/PropSet.js +6 -6
  46. package/dist/classes/Vehicle.d.ts +122 -122
  47. package/dist/classes/Vehicle.d.ts.map +1 -1
  48. package/dist/classes/Vehicle.js +147 -147
  49. package/dist/classes/VehicleModel.d.ts +1 -1
  50. package/dist/classes/VehicleModel.d.ts.map +1 -1
  51. package/dist/classes/VehicleModel.js +2 -2
  52. package/dist/classes/VehicleTask.d.ts +9 -9
  53. package/dist/classes/VehicleTask.d.ts.map +1 -1
  54. package/dist/classes/VehicleTask.js +12 -12
  55. package/dist/classes/Volume.d.ts +56 -56
  56. package/dist/classes/Volume.d.ts.map +1 -1
  57. package/dist/classes/Volume.js +84 -84
  58. package/dist/classes/Weapon.d.ts +354 -354
  59. package/dist/classes/Weapon.d.ts.map +1 -1
  60. package/dist/classes/Weapon.js +464 -464
  61. package/dist/namespaces/Aicoverpoint.d.ts +23 -23
  62. package/dist/namespaces/Aicoverpoint.d.ts.map +1 -1
  63. package/dist/namespaces/Aicoverpoint.js +35 -35
  64. package/dist/namespaces/Aitransport.d.ts +78 -78
  65. package/dist/namespaces/Aitransport.d.ts.map +1 -1
  66. package/dist/namespaces/Aitransport.js +95 -95
  67. package/dist/namespaces/Animscene.d.ts +49 -49
  68. package/dist/namespaces/Animscene.d.ts.map +1 -1
  69. package/dist/namespaces/Animscene.js +67 -67
  70. package/dist/namespaces/Audio.d.ts +447 -447
  71. package/dist/namespaces/Audio.d.ts.map +1 -1
  72. package/dist/namespaces/Audio.js +635 -635
  73. package/dist/namespaces/CamStatics.d.ts +441 -441
  74. package/dist/namespaces/CamStatics.d.ts.map +1 -1
  75. package/dist/namespaces/CamStatics.js +675 -675
  76. package/dist/namespaces/Collection.d.ts +6 -6
  77. package/dist/namespaces/Collection.d.ts.map +1 -1
  78. package/dist/namespaces/Collection.js +11 -11
  79. package/dist/namespaces/Companion.d.ts +22 -22
  80. package/dist/namespaces/Companion.d.ts.map +1 -1
  81. package/dist/namespaces/Companion.js +30 -30
  82. package/dist/namespaces/Compapp.js +1 -1
  83. package/dist/namespaces/Compendium.d.ts +82 -82
  84. package/dist/namespaces/Compendium.d.ts.map +1 -1
  85. package/dist/namespaces/Compendium.js +115 -115
  86. package/dist/namespaces/Crashlog.js +9 -9
  87. package/dist/namespaces/Crew.js +4 -4
  88. package/dist/namespaces/Databinding.d.ts +164 -164
  89. package/dist/namespaces/Databinding.d.ts.map +1 -1
  90. package/dist/namespaces/Databinding.js +232 -232
  91. package/dist/namespaces/Datafile.js +4 -4
  92. package/dist/namespaces/Decorator.d.ts +19 -19
  93. package/dist/namespaces/Decorator.d.ts.map +1 -1
  94. package/dist/namespaces/Decorator.js +34 -34
  95. package/dist/namespaces/Dlc.d.ts +5 -5
  96. package/dist/namespaces/Dlc.d.ts.map +1 -1
  97. package/dist/namespaces/Dlc.js +9 -9
  98. package/dist/namespaces/EntityStatics.d.ts +119 -119
  99. package/dist/namespaces/EntityStatics.d.ts.map +1 -1
  100. package/dist/namespaces/EntityStatics.js +164 -164
  101. package/dist/namespaces/Event.js +4 -4
  102. package/dist/namespaces/Fire.d.ts +89 -89
  103. package/dist/namespaces/Fire.d.ts.map +1 -1
  104. package/dist/namespaces/Fire.js +115 -115
  105. package/dist/namespaces/Flock.js +2 -2
  106. package/dist/namespaces/Gang.js +2 -2
  107. package/dist/namespaces/GoogleAnalytics.js +2 -2
  108. package/dist/namespaces/Graphics.d.ts +375 -375
  109. package/dist/namespaces/Graphics.d.ts.map +1 -1
  110. package/dist/namespaces/Graphics.js +569 -569
  111. package/dist/namespaces/Hud.d.ts +507 -507
  112. package/dist/namespaces/Hud.d.ts.map +1 -1
  113. package/dist/namespaces/Hud.js +706 -706
  114. package/dist/namespaces/Ik.js +1 -1
  115. package/dist/namespaces/Interaction.js +3 -3
  116. package/dist/namespaces/InteriorStatics.js +2 -2
  117. package/dist/namespaces/Inventory.d.ts +159 -159
  118. package/dist/namespaces/Inventory.d.ts.map +1 -1
  119. package/dist/namespaces/Inventory.js +214 -214
  120. package/dist/namespaces/Itemdatabase.d.ts +5 -5
  121. package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
  122. package/dist/namespaces/Itemdatabase.js +10 -10
  123. package/dist/namespaces/Itemset.js +2 -2
  124. package/dist/namespaces/Law.d.ts +1 -1
  125. package/dist/namespaces/Law.d.ts.map +1 -1
  126. package/dist/namespaces/Law.js +19 -19
  127. package/dist/namespaces/Localization.js +1 -1
  128. package/dist/namespaces/Map.d.ts +173 -173
  129. package/dist/namespaces/Map.d.ts.map +1 -1
  130. package/dist/namespaces/Map.js +240 -240
  131. package/dist/namespaces/Minigame.d.ts +17 -17
  132. package/dist/namespaces/Minigame.d.ts.map +1 -1
  133. package/dist/namespaces/Minigame.js +25 -25
  134. package/dist/namespaces/Misc.d.ts +3 -3
  135. package/dist/namespaces/Misc.d.ts.map +1 -1
  136. package/dist/namespaces/Misc.js +35 -35
  137. package/dist/namespaces/Missiondata.d.ts +15 -15
  138. package/dist/namespaces/Missiondata.d.ts.map +1 -1
  139. package/dist/namespaces/Missiondata.js +24 -24
  140. package/dist/namespaces/Money.js +3 -3
  141. package/dist/namespaces/Netshopping.d.ts +58 -58
  142. package/dist/namespaces/Netshopping.d.ts.map +1 -1
  143. package/dist/namespaces/Netshopping.js +89 -89
  144. package/dist/namespaces/Network.d.ts +694 -694
  145. package/dist/namespaces/Network.d.ts.map +1 -1
  146. package/dist/namespaces/Network.js +1129 -1129
  147. package/dist/namespaces/Object.d.ts +142 -142
  148. package/dist/namespaces/Object.d.ts.map +1 -1
  149. package/dist/namespaces/Object.js +195 -195
  150. package/dist/namespaces/Pad.d.ts +101 -101
  151. package/dist/namespaces/Pad.d.ts.map +1 -1
  152. package/dist/namespaces/Pad.js +142 -142
  153. package/dist/namespaces/Pathfind.js +10 -10
  154. package/dist/namespaces/PedStatics.d.ts +20 -20
  155. package/dist/namespaces/PedStatics.d.ts.map +1 -1
  156. package/dist/namespaces/PedStatics.js +36 -36
  157. package/dist/namespaces/Perschar.d.ts +49 -49
  158. package/dist/namespaces/Perschar.d.ts.map +1 -1
  159. package/dist/namespaces/Perschar.js +76 -76
  160. package/dist/namespaces/Physics.d.ts +89 -89
  161. package/dist/namespaces/Physics.d.ts.map +1 -1
  162. package/dist/namespaces/Physics.js +125 -125
  163. package/dist/namespaces/PlayerStatics.d.ts +139 -139
  164. package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
  165. package/dist/namespaces/PlayerStatics.js +200 -200
  166. package/dist/namespaces/Population.d.ts +75 -75
  167. package/dist/namespaces/Population.d.ts.map +1 -1
  168. package/dist/namespaces/Population.js +101 -101
  169. package/dist/namespaces/Posse.d.ts +54 -54
  170. package/dist/namespaces/Posse.d.ts.map +1 -1
  171. package/dist/namespaces/Posse.js +86 -86
  172. package/dist/namespaces/Replay.d.ts +1 -1
  173. package/dist/namespaces/Replay.d.ts.map +1 -1
  174. package/dist/namespaces/Replay.js +2 -2
  175. package/dist/namespaces/Scripts.d.ts +1 -1
  176. package/dist/namespaces/Scripts.d.ts.map +1 -1
  177. package/dist/namespaces/Scripts.js +12 -12
  178. package/dist/namespaces/Socialclub.js +8 -8
  179. package/dist/namespaces/Socialclubfeed.js +1 -1
  180. package/dist/namespaces/Spactionproxy.js +4 -4
  181. package/dist/namespaces/Stats.d.ts +197 -197
  182. package/dist/namespaces/Stats.d.ts.map +1 -1
  183. package/dist/namespaces/Stats.js +285 -285
  184. package/dist/namespaces/Streaming.d.ts +46 -46
  185. package/dist/namespaces/Streaming.d.ts.map +1 -1
  186. package/dist/namespaces/Streaming.js +79 -79
  187. package/dist/namespaces/Task.d.ts +138 -138
  188. package/dist/namespaces/Task.d.ts.map +1 -1
  189. package/dist/namespaces/Task.js +204 -204
  190. package/dist/namespaces/Telemetry.d.ts +212 -212
  191. package/dist/namespaces/Telemetry.d.ts.map +1 -1
  192. package/dist/namespaces/Telemetry.js +308 -308
  193. package/dist/namespaces/Txd.js +1 -1
  194. package/dist/namespaces/Uiapps.d.ts +25 -25
  195. package/dist/namespaces/Uiapps.d.ts.map +1 -1
  196. package/dist/namespaces/Uiapps.js +36 -36
  197. package/dist/namespaces/Uievents.js +1 -1
  198. package/dist/namespaces/Uifeed.d.ts +15 -15
  199. package/dist/namespaces/Uifeed.d.ts.map +1 -1
  200. package/dist/namespaces/Uifeed.js +25 -25
  201. package/dist/namespaces/Uistickyfeed.d.ts +16 -16
  202. package/dist/namespaces/Uistickyfeed.d.ts.map +1 -1
  203. package/dist/namespaces/Uistickyfeed.js +21 -21
  204. package/dist/namespaces/Unlock.js +5 -5
  205. package/dist/namespaces/VehicleStatics.js +12 -12
  206. package/dist/namespaces/Voice.d.ts +38 -38
  207. package/dist/namespaces/Voice.d.ts.map +1 -1
  208. package/dist/namespaces/Voice.js +61 -61
  209. package/dist/namespaces/VolumeStatics.d.ts +161 -161
  210. package/dist/namespaces/VolumeStatics.d.ts.map +1 -1
  211. package/dist/namespaces/VolumeStatics.js +217 -217
  212. package/dist/namespaces/Water.d.ts +27 -27
  213. package/dist/namespaces/Water.d.ts.map +1 -1
  214. package/dist/namespaces/Water.js +41 -41
  215. package/dist/namespaces/WeaponStatics.d.ts +274 -274
  216. package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
  217. package/dist/namespaces/WeaponStatics.js +390 -390
  218. package/dist/namespaces/Zone.d.ts +7 -7
  219. package/dist/namespaces/Zone.d.ts.map +1 -1
  220. package/dist/namespaces/Zone.js +9 -9
  221. package/dist/types/NativeAliases.d.ts +3 -1
  222. package/dist/types/NativeAliases.d.ts.map +1 -1
  223. package/dist/types/NativeAliases.js +3 -1
  224. package/package.json +1 -1
  225. package/src/classes/AnimScene.ts +227 -227
  226. package/src/classes/BaseModel.ts +36 -36
  227. package/src/classes/BaseTask.ts +29 -29
  228. package/src/classes/Cam.ts +143 -143
  229. package/src/classes/Entity.ts +517 -506
  230. package/src/classes/Interior.ts +8 -8
  231. package/src/classes/ItemSet.ts +3 -3
  232. package/src/classes/Ped.ts +512 -512
  233. package/src/classes/PedModel.ts +2 -2
  234. package/src/classes/PedTask.ts +429 -429
  235. package/src/classes/PersChar.ts +35 -35
  236. package/src/classes/Pickup.ts +16 -16
  237. package/src/classes/Player.ts +995 -988
  238. package/src/classes/Prop.ts +177 -177
  239. package/src/classes/PropSet.ts +6 -6
  240. package/src/classes/Vehicle.ts +147 -147
  241. package/src/classes/VehicleModel.ts +2 -2
  242. package/src/classes/VehicleTask.ts +13 -13
  243. package/src/classes/Volume.ts +91 -91
  244. package/src/classes/Weapon.ts +489 -489
  245. package/src/namespaces/Aicoverpoint.ts +40 -40
  246. package/src/namespaces/Aitransport.ts +104 -104
  247. package/src/namespaces/Animscene.ts +74 -74
  248. package/src/namespaces/Audio.ts +647 -647
  249. package/src/namespaces/CamStatics.ts +768 -768
  250. package/src/namespaces/Collection.ts +12 -12
  251. package/src/namespaces/Companion.ts +34 -34
  252. package/src/namespaces/Compapp.ts +1 -1
  253. package/src/namespaces/Compendium.ts +120 -120
  254. package/src/namespaces/Crashlog.ts +9 -9
  255. package/src/namespaces/Crew.ts +4 -4
  256. package/src/namespaces/Databinding.ts +249 -249
  257. package/src/namespaces/Datafile.ts +4 -4
  258. package/src/namespaces/Decorator.ts +37 -37
  259. package/src/namespaces/Dlc.ts +9 -9
  260. package/src/namespaces/EntityStatics.ts +172 -172
  261. package/src/namespaces/Event.ts +4 -4
  262. package/src/namespaces/Fire.ts +127 -127
  263. package/src/namespaces/Flock.ts +2 -2
  264. package/src/namespaces/Gang.ts +2 -2
  265. package/src/namespaces/GoogleAnalytics.ts +2 -2
  266. package/src/namespaces/Graphics.ts +583 -583
  267. package/src/namespaces/Hud.ts +741 -741
  268. package/src/namespaces/Ik.ts +1 -1
  269. package/src/namespaces/Interaction.ts +3 -3
  270. package/src/namespaces/InteriorStatics.ts +2 -2
  271. package/src/namespaces/Inventory.ts +236 -236
  272. package/src/namespaces/Itemdatabase.ts +11 -11
  273. package/src/namespaces/Itemset.ts +2 -2
  274. package/src/namespaces/Law.ts +20 -20
  275. package/src/namespaces/Localization.ts +1 -1
  276. package/src/namespaces/Map.ts +256 -256
  277. package/src/namespaces/Minigame.ts +29 -29
  278. package/src/namespaces/Misc.ts +38 -38
  279. package/src/namespaces/Missiondata.ts +28 -28
  280. package/src/namespaces/Money.ts +3 -3
  281. package/src/namespaces/Netshopping.ts +99 -99
  282. package/src/namespaces/Network.ts +1165 -1165
  283. package/src/namespaces/Object.ts +214 -214
  284. package/src/namespaces/Pad.ts +150 -150
  285. package/src/namespaces/Pathfind.ts +10 -10
  286. package/src/namespaces/PedStatics.ts +42 -42
  287. package/src/namespaces/Perschar.ts +78 -78
  288. package/src/namespaces/Physics.ts +141 -141
  289. package/src/namespaces/PlayerStatics.ts +228 -228
  290. package/src/namespaces/Population.ts +114 -114
  291. package/src/namespaces/Posse.ts +87 -87
  292. package/src/namespaces/Replay.ts +3 -3
  293. package/src/namespaces/Scripts.ts +13 -13
  294. package/src/namespaces/Socialclub.ts +8 -8
  295. package/src/namespaces/Socialclubfeed.ts +1 -1
  296. package/src/namespaces/Spactionproxy.ts +4 -4
  297. package/src/namespaces/Stats.ts +293 -293
  298. package/src/namespaces/Streaming.ts +93 -93
  299. package/src/namespaces/Task.ts +228 -228
  300. package/src/namespaces/Telemetry.ts +322 -322
  301. package/src/namespaces/Txd.ts +1 -1
  302. package/src/namespaces/Uiapps.ts +43 -43
  303. package/src/namespaces/Uievents.ts +1 -1
  304. package/src/namespaces/Uifeed.ts +28 -28
  305. package/src/namespaces/Uistickyfeed.ts +23 -23
  306. package/src/namespaces/Unlock.ts +5 -5
  307. package/src/namespaces/VehicleStatics.ts +12 -12
  308. package/src/namespaces/Voice.ts +70 -70
  309. package/src/namespaces/VolumeStatics.ts +222 -222
  310. package/src/namespaces/Water.ts +47 -47
  311. package/src/namespaces/WeaponStatics.ts +402 -402
  312. package/src/namespaces/Zone.ts +10 -10
  313. package/src/types/NativeAliases.ts +6 -1
@@ -99,7 +99,7 @@ export class Graphics {
99
99
  * @returns
100
100
  */
101
101
  static isDecalAlive(decal) {
102
- return inv('0x3E4B4E5CF5D3EEB5', decal, rai());
102
+ return !!inv('0x3E4B4E5CF5D3EEB5', decal, rai());
103
103
  }
104
104
  /**
105
105
  * @param p0
@@ -132,388 +132,342 @@ export class Graphics {
132
132
  inv('0xD2D9E04C0DF927F4', f(pos.x), f(pos.y), f(pos.z), colorR, colorG, colorB, f(range), f(intensity));
133
133
  }
134
134
  /**
135
- * Only used in guama1 R* SP Script while spawning the ship
136
- * *SET_ENTITY_QUATERNION** - SET_ENTITY_RENDER_*
135
+ * Sets the draw order for script draw commands.
137
136
  *
138
- * @param vehicle
139
- * @param toggle
137
+ * @param drawOrder
140
138
  */
141
- static setEntityRenderGuarmaShip(vehicle, toggle) {
142
- inv('0xC38B4952B728397A', vehicle.handle, toggle);
139
+ static setScriptGfxDrawOrder(drawOrder) {
140
+ inv('0xCFCC78391C8B3814', drawOrder);
143
141
  }
144
142
  /**
145
- * @param effectName
146
- * @param entity
147
- * @param offset
148
- * @param rot
149
- * @param scale
150
- * @param axisX
151
- * @param axisY
152
- * @param axisZ
153
- * @returns
143
+ * @param p0
154
144
  */
155
- static startNetworkedParticleFxNonLoopedOnEntity(effectName, entity, offset, rot, scale, axisX, axisY, axisZ) {
156
- return inv('0xE6CFE43937061143', 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());
145
+ static enableStaticVegModifier(p0) {
146
+ inv('0xDFEA23EC90113657', _h(p0));
157
147
  }
158
148
  /**
159
- * @param lock
149
+ * @returns
160
150
  */
161
- static setPhotoModeExposureLocked(lock) {
162
- inv('0x5CD6A2CCE5087161', lock);
151
+ static getTvChannel() {
152
+ return inv('0xF90FBFD68F3C59AE', rai());
163
153
  }
164
- static N_0x815653A42C5ABE76() {
165
- inv('0x815653A42C5ABE76');
154
+ static N_0x9D1B0B5066205692() {
155
+ inv('0x9D1B0B5066205692');
166
156
  }
167
157
  /**
168
- * @param effectName
169
- * @returns
158
+ * @param alpha
170
159
  */
171
- static animpostfxIsTagPlaying(effectName) {
172
- return inv('0x2D4F9C852CE8A253', effectName);
160
+ static setParticleFxNonLoopedAlpha(alpha) {
161
+ inv('0xE8A35938A7026CEA', f(alpha));
173
162
  }
174
163
  /**
175
- * enum class eSnowCoverageType
176
- * {
177
- * Primary,
178
- * Secondary,
179
- * Xmas,
180
- * XmasSecondary // since b1232
181
- * };
182
- *
183
- * @param type
164
+ * @param point
184
165
  */
185
- static setSnowCoverageType(type) {
186
- inv('0xF02A9C330BBFC5C7', type);
166
+ static destroyTrackedPoint(point) {
167
+ inv('0x37A59922109F8F1C', point);
187
168
  }
188
169
  /**
189
- * @param effectNameHash
170
+ * @param p0
190
171
  */
191
- static animpostfxPlayTag(effectNameHash) {
192
- inv('0x9B8D5D4CB8AF58B3', _h(effectNameHash));
172
+ static N_0x67B0778C62E74423(p0) {
173
+ inv('0x67B0778C62E74423', p0);
193
174
  }
194
175
  /**
195
- * @param pickupObject
196
- * @param toggle
176
+ * ANIMPOSTFX_*
177
+ *
178
+ * @param effectNameHash
197
179
  */
198
- static blockPickupObjectLight(pickupObject, toggle) {
199
- inv('0x50C14328119E1DD1', pickupObject.handle, toggle);
180
+ static N_0x71845905BCCDE781(effectNameHash) {
181
+ inv('0x71845905BCCDE781', _h(effectNameHash));
182
+ }
183
+ static N_0xF2F543D48F319A3A() {
184
+ inv('0xF2F543D48F319A3A');
200
185
  }
201
186
  /**
202
- * @param effectName
203
- * @param entity
204
- * @param offset
205
- * @param rot
206
- * @param scale
207
- * @param xAxis
208
- * @param yAxis
209
- * @param zAxis
187
+ * ANIMPOSTFX_*
188
+ *
210
189
  * @returns
211
190
  */
212
- static startNetworkedParticleFxLoopedOnEntity(effectName, entity, offset, rot, scale, xAxis, yAxis, zAxis) {
213
- return inv('0x8F90AB32E1944BDE', 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());
191
+ static N_0x3DA7A10583A4BEC0() {
192
+ return !!inv('0x3DA7A10583A4BEC0', rai());
214
193
  }
215
194
  /**
216
- * @param pos
217
- * @param radius
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
218
199
  */
219
- static removeParticleFxInRange(pos, radius) {
220
- inv('0x87B5905ECA623B68', f(pos.x), f(pos.y), f(pos.z), f(radius));
200
+ static setArtificialLightsState(state) {
201
+ inv('0xB2797619A7C7747B', state);
221
202
  }
222
203
  /**
223
- * https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_looped.lua
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"
224
219
  *
225
- * @param effectName
226
- * @param pos
227
- * @param rot
228
- * @param scale
229
- * @param xAxis
230
- * @param yAxis
231
- * @param zAxis
232
- * @param p11
233
- * @returns
220
+ * @param type
234
221
  */
235
- static startParticleFxLoopedAtCoord(effectName, pos, rot, scale, xAxis, yAxis, zAxis, p11) {
236
- return inv('0xBA32867E86125D3A', effectName, f(pos.x), f(pos.y), f(pos.z), f(rot.x), f(rot.y), f(rot.z), f(scale), xAxis, yAxis, zAxis, p11, rai());
222
+ static cascadeShadowsSetShadowSampleType(type) {
223
+ inv('0xCE4774E0F9AD48D1', type);
237
224
  }
238
225
  /**
239
- * @returns
226
+ * @param p0
240
227
  */
241
- static getTimecycleModifierIndex() {
242
- return inv('0xA705394293E2B3D3', rai());
228
+ static N_0x519928DF02EB5101(p0) {
229
+ inv('0x519928DF02EB5101', p0);
243
230
  }
244
231
  /**
245
- * nullsub, doesn't do anything
232
+ * Gets set to 1 when GET_STATUS_OF_TAKE_HIGH_QUALITY_PHOTO = PHOTO_OPERATION_SUCCEEDED
246
233
  *
247
- * @param toggle
248
- */
249
- static enableMovieSubtitles(toggle) {
250
- inv('0x6FC9B065229C0787', toggle);
251
- }
252
- /**
253
234
  * @param p0
254
- * @param p1
255
- * @param p2
256
- * @param p3
257
- * @param p4
258
235
  */
259
- static N_0x171C18E994C1A395(p0, p1, p2, p3, p4) {
260
- inv('0x171C18E994C1A395', p0, p1, p2, p3, p4);
236
+ static N_0x0D5B19C34068FEE7(p0) {
237
+ inv('0x0D5B19C34068FEE7', p0);
261
238
  }
262
239
  /**
263
- * Doesn't actually return anything. ANIMPOSTFX_*
240
+ * type must be less than or equal to 20
264
241
  *
265
- * @returns
242
+ * @param entity
243
+ * @param type
266
244
  */
267
- static N_0xC37792A3F9C90771() {
268
- return inv('0xC37792A3F9C90771');
245
+ static setLightsTypeForEntity(entity, type) {
246
+ inv('0xAB72C67163DC4DB4', entity.handle, type);
269
247
  }
270
248
  /**
271
- * Adds Vegetation Blocking Zone, Added Snow Flattening veg mod Zone
272
- * Returns veg modifier handle
273
- *
274
- * @param volume
249
+ * @param p0
275
250
  * @param p1
276
- * @param flags
251
+ * @param p2
277
252
  * @param p3
278
- * @returns
279
253
  */
280
- static addVegModifierZone(volume, p1, flags, p3) {
281
- return inv('0xBD3324281E8B9933', volume.handle, p1, flags, p3, rai());
254
+ static N_0xD543487A1F12828F(p0, p1, p2, p3) {
255
+ inv('0xD543487A1F12828F', p0, p1, p2, p3);
256
+ }
257
+ static N_0xEC3F7F24EEEB3BA3() {
258
+ inv('0xEC3F7F24EEEB3BA3');
282
259
  }
283
260
  /**
284
- * Creates blood pools for the given ped in some interval for a few seconds.
261
+ * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
285
262
  *
286
- * @param ped
263
+ * @param p0
287
264
  */
288
- static addBloodPoolsForPed(ped) {
289
- inv('0xDFCE8CE9F3EBE93F', ped.handle);
265
+ static N_0x41F88A85A579A61D(p0) {
266
+ inv('0x41F88A85A579A61D', f(p0));
290
267
  }
291
- /**
292
- * @param texture
293
- * @param ped
294
- * @param playerSlot
295
- * @returns
296
- */
297
- static pedshotGeneratePersonaPhoto(texture, ped, playerSlot) {
298
- return inv('0xD9C24F53631F2372', texture, ped.handle, playerSlot, rai());
268
+ static freeMemoryForLowQualityPhoto() {
269
+ inv('0x614682E715ADBAAC');
299
270
  }
300
- /**
301
- * @returns
302
- */
303
- static queueOperationToCreateSortedListOfPhotos() {
304
- return inv('0xA42EDF1E88734A7E');
271
+ static freeMemoryForHighQualityPhoto() {
272
+ inv('0xD45547D8396F002A');
273
+ }
274
+ static N_0x32DE2BFFDA43E62A() {
275
+ inv('0x32DE2BFFDA43E62A');
305
276
  }
306
277
  /**
307
- * @param p0
278
+ * Resets the exposure to the value when exposure lock was enabled
308
279
  */
309
- static setRegionPhotoTakenStat(p0) {
310
- inv('0xD1031B83AC093BC7', p0);
280
+ static updatePhotoModeExposure() {
281
+ inv('0x9229ED770975BD9E');
311
282
  }
312
283
  /**
313
284
  * @param effectName
314
285
  */
315
- static animpostfxSetToUnload(effectName) {
316
- inv('0x37D7BDBA89F13959', effectName);
286
+ static animpostfxPreloadPostfx(effectName) {
287
+ inv('0x5199405EABFBD7F0', effectName);
317
288
  }
318
289
  /**
319
- * @param proxyInteriorIndex
320
- * @returns
290
+ * @param strength
321
291
  */
322
- static isProxyInteriorIndexArtificialLightsEnabled(proxyInteriorIndex) {
323
- return inv('0x113857D66A9CABE6', proxyInteriorIndex);
292
+ static setTransitionOutOfTimecycleModifier(strength) {
293
+ inv('0xBB6C707F20D955D4', f(strength));
324
294
  }
325
295
  /**
326
- * @param p0
296
+ * @param effectName
297
+ * @param p1
298
+ * @param color
299
+ * @param alpha
327
300
  */
328
- static setPhotoInPhotomodeStat(p0) {
329
- inv('0xFA91736933AB3D93', p0);
301
+ static animpostfxSetPostfxColor(effectName, p1, color, alpha) {
302
+ inv('0x63011D0C7C6519E0', effectName, p1, color.r, color.g, color.b, color.a, alpha);
330
303
  }
331
304
  /**
332
- * @param entity
333
- * @param intensity
305
+ * @param p0
306
+ * @param p1
334
307
  */
335
- static setLightsIntensityForEntity(entity, intensity) {
336
- inv('0x07C0F87AAC57F2E4', entity.handle, f(intensity));
308
+ static startPetrolTrailDecals(p0, p1) {
309
+ inv('0x46F246D6504F0031', p0, p1);
337
310
  }
338
311
  /**
339
- * @param entity
312
+ * @param pickupObject
313
+ * @param allow
340
314
  */
341
- static updateLightsOnEntity(entity) {
342
- inv('0xBDBACB52A03CC760', entity.handle);
315
+ static allowPickupLightSync(pickupObject, allow) {
316
+ inv('0x7C348310A6E2FB91', pickupObject.handle, allow);
343
317
  }
344
- /**
345
- * @returns
346
- */
347
- static getStatusOfTakeHighQualityPhoto() {
348
- return inv('0x4A3DA74C3CCB1725', rai());
318
+ static freeMemoryForMissionCreatorPhoto() {
319
+ inv('0x7DFF8F94937D2659');
349
320
  }
350
321
  /**
322
+ * Returns veg modifier handle
323
+ *
324
+ * @param pos
325
+ * @param radius
326
+ * @param modType
327
+ * @param flags
328
+ * @param p6
351
329
  * @returns
352
330
  */
353
- static N_0x285438C26C732F9D() {
354
- return inv('0x285438C26C732F9D');
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());
355
333
  }
356
334
  /**
357
- * Sets a flag defining whether or not script draw commands should continue being drawn behind the pause menu. This is usually used for draw commands that are used with a world render target.
335
+ * Only used in R* SP Script spd_agnesdown1
358
336
  *
359
- * @param toggle
360
- */
361
- static setScriptGfxDrawBehindPausemenu(toggle) {
362
- inv('0x906B86E6D7896B9E', toggle);
363
- }
364
- /**
365
337
  * @param p0
366
- */
367
- static setDistrictPhotoTakenStat(p0) {
368
- inv('0x9937FACBBF267244', p0);
369
- }
370
- /**
371
- * @param effectName
372
- * @param ped
373
- * @param offset
374
- * @param rot
375
- * @param boneIndex
376
- * @param scale
377
- * @param xAxis
378
- * @param yAxis
379
- * @param zAxis
338
+ * @param pos
339
+ * @param p4
340
+ * @param p5
341
+ * @param heading
380
342
  * @returns
381
343
  */
382
- static startParticleFxLoopedOnPedBone(effectName, ped, offset, rot, boneIndex, scale, xAxis, yAxis, zAxis) {
383
- return inv('0xE689C1B1432BB8AF', effectName, ped.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());
384
- }
385
- /**
386
- * @param p0
387
- */
388
- static setPhotoStudioStat(p0) {
389
- inv('0x8E6AFF353C09652E', p0);
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());
390
346
  }
391
347
  /**
392
- * @param effectName
348
+ * @returns
393
349
  */
394
- static animpostfxStop(effectName) {
395
- inv('0xB4FD7446BAB2F394', effectName);
350
+ static N_0xFC9B53C072F418E0() {
351
+ return inv('0xFC9B53C072F418E0');
396
352
  }
397
353
  /**
398
- * https://imgur.com/a/I2swSDJ Old name: _SET_PICKUP_OBJECT_GLOW_ENABLED
354
+ * state: false disables artificial interior light sources for specific proxyInteriorIndex
399
355
  *
400
- * @param object
401
- * @param toggle
356
+ * @param proxyInteriorIndex
357
+ * @param state
402
358
  */
403
- static setPickupLight(object, toggle) {
404
- inv('0x7DFB49BCDB73089A', object.handle, toggle);
359
+ static setProxyInteriorIndexArtificialLightsState(proxyInteriorIndex, state) {
360
+ inv('0xBFCB17895BB99E4E', proxyInteriorIndex, state);
405
361
  }
406
- /**
407
- * @param entity
408
- */
409
- static removeParticleFxFromEntity(entity) {
410
- inv('0x92884B4A49D81325', entity.handle);
362
+ static resetPausedRenderphases() {
363
+ inv('0xCCD9AAD85E1B559E');
411
364
  }
412
365
  /**
413
- * @param ptfxHandle
414
- * @param p1
366
+ * @param unused
367
+ * @returns
415
368
  */
416
- static stopParticleFxLooped(ptfxHandle, p1) {
417
- inv('0x22970F3A088B133B', ptfxHandle, p1);
369
+ static saveHighQualityPhoto(unused) {
370
+ return inv('0x57639FD876B68A91', unused);
418
371
  }
419
372
  /**
420
- * p1: AMB_ANN_COAL_CHUTE_DIVE, AMB_ANN_COAL_CHUTE
421
- * p2: EMIT
422
- * p3: either 0.0f or 1.0f
423
- *
424
- * @param entity
425
- * @param p1
373
+ * @param pos
426
374
  * @param p2
427
- * @param p3
428
375
  */
429
- static N_0x4FB67D172C4476F3(entity, p1, p2, p3) {
430
- inv('0x4FB67D172C4476F3', entity.handle, p1, p2, f(p3));
376
+ static setCloudLayer(pos, p2) {
377
+ inv('0xB8C984C0D47F4F07', f(pos.x), f(pos.y), p2);
431
378
  }
432
379
  /**
433
- * @param typeHash
434
- * @param pos1
435
- * @param pos2
436
- * @param radius
437
- * @param color
438
- * @param alpha
439
- * @param reserved
380
+ * @param p0
440
381
  * @returns
441
382
  */
442
- static createCheckpointWithNamehash(typeHash, pos1, pos2, radius, color, alpha, reserved) {
443
- 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());
444
- }
445
- static disableEntitymask() {
446
- inv('0x5C9978A2A3DC3D0D');
383
+ static N_0xEC3D8C228FE553D7(p0) {
384
+ return !!inv('0xEC3D8C228FE553D7', p0, rai());
447
385
  }
448
386
  /**
449
- * Returns iNumPixels, iPixelsVisible
450
- *
451
- * @param iTrackedPoint
452
- * @returns
387
+ * *RESET**
453
388
  */
454
- static N_0xDFE332A5DA6FE7C9(iTrackedPoint) {
455
- return inv('0xDFE332A5DA6FE7C9', iTrackedPoint, rai());
389
+ static N_0x1460B644397453EB() {
390
+ inv('0x1460B644397453EB');
456
391
  }
457
392
  /**
458
- * @param entity
459
- * @returns layer0; layer1; layer2; layer3
393
+ * @param personaPhotoLocalCacheType
460
394
  */
461
- static setEntityMaskLayers(entity) {
462
- const result = inv('0xE92012611461A42A', entity.handle, pvf(), pvf(), pvf(), pvf());
463
- return [result[0], result[1], result[2], result[3]];
395
+ static pedshotSetPersonaPhotoType(personaPhotoLocalCacheType) {
396
+ inv('0x196D3ACBEBA4A44B', personaPhotoLocalCacheType);
397
+ }
398
+ static pedshotFinishCleanupData() {
399
+ inv('0xC2B8164C3BE871A4');
400
+ }
401
+ static N_0x1C6306E5BC25C29C() {
402
+ inv('0x1C6306E5BC25C29C');
464
403
  }
465
404
  /**
466
- * @param point
467
- * @returns
405
+ * @param pos
468
406
  */
469
- static isTrackedPointVisible(point) {
470
- return inv('0xCBB056BA159FB48D', point, rai());
471
- }
472
- static clearTimecycleModifier() {
473
- inv('0x0E3F4AF2D63491FB');
407
+ static setCloudNoise(pos) {
408
+ inv('0xFE7966DF01452F32', f(pos.x), f(pos.y), f(pos.z));
474
409
  }
475
410
  /**
476
- * Closes the the binocular scaleform
411
+ * @param p0
477
412
  */
478
- static N_0x5AC6E0FA028369DE() {
479
- inv('0x5AC6E0FA028369DE');
413
+ static N_0xEB48CE48EEC41FD4(p0) {
414
+ inv('0xEB48CE48EEC41FD4', p0);
480
415
  }
481
416
  /**
482
- * ANIMPOSTFX_*
417
+ * Used in NET_CAMP_SPIRIT_ANIMAL_CLEAR_ANIMAL_VISIBILITY
483
418
  *
484
- * @param effectNameHash
419
+ * @param entity
485
420
  */
486
- static N_0xC76FC4C2FC5F4405(effectNameHash) {
487
- inv('0xC76FC4C2FC5F4405', _h(effectNameHash));
421
+ static N_0xC06F2F45A73EABCD(entity) {
422
+ inv('0xC06F2F45A73EABCD', entity.handle);
488
423
  }
489
424
  /**
490
425
  * @param effectName
426
+ * @param pos
427
+ * @param rot
428
+ * @param scale
429
+ * @param xAxis
430
+ * @param yAxis
431
+ * @param zAxis
432
+ * @returns
491
433
  */
492
- static animpostfxStopTag(effectName) {
493
- inv('0xAD74C22A541AB987', effectName);
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());
494
436
  }
495
437
  /**
496
- * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
497
- * *ENABLE**
438
+ * @returns
498
439
  */
499
- static N_0x812C1563185C6FB2() {
500
- inv('0x812C1563185C6FB2');
440
+ static getPhotoModeExposure() {
441
+ return inv('0x06C0D8BB6B04A709', raf());
501
442
  }
502
443
  /**
503
- * @param posseId
444
+ * _SET_PARTICLE_FX_LOOPED_FA* - _SET_PARTICLE_FX_LOOPED_OF*
445
+ *
446
+ * @param ptfxHandle
447
+ * @param scalar
504
448
  */
505
- static setPosseIdForPhoto(posseId) {
506
- inv('0x564837D4A9EDE296', posseId);
449
+ static setParticleFxLoopedUpdateDistantSmoke(ptfxHandle, scalar) {
450
+ inv('0x9DDC222D85D5AF2A', ptfxHandle, f(scalar));
507
451
  }
508
452
  /**
509
- * Sets the checkpoint color.
453
+ * Known effects: MP_Trans_SceneToPhoto
454
+ * MP_Trans_WinLose
455
+ * SpectateFilter
456
+ * MP_CharacterCreatorPhoto
457
+ * MP_Trans_PhotoToScene
458
+ * InterrogationHit
510
459
  *
511
- * @param checkpoint
512
- * @param color
513
- * @param alpha
460
+ * @param effectName
461
+ * @returns
514
462
  */
515
- static setCheckpointRgba(checkpoint, color, alpha) {
516
- inv('0xCAAFC225E33B1D15', checkpoint, color.r, color.g, color.b, color.a, alpha);
463
+ static animpostfxGetStackhash(effectName) {
464
+ return (inv('0x842CCC9491FFCD9B', effectName, rai())) & 0xFFFFFFFF;
465
+ }
466
+ /**
467
+ * @param height
468
+ */
469
+ static setCloudHeight(height) {
470
+ inv('0xC332C91388F5580B', f(height));
517
471
  }
518
472
  /**
519
473
  * When this is set to ON, shadows only draw as you get nearer. When OFF, they draw from a further distance.
@@ -618,129 +572,6 @@ export class Graphics {
618
572
  static changePhotoModeContrast(value) {
619
573
  inv('0x62B9F9A1272AED80', f(value));
620
574
  }
621
- /**
622
- * Sets the draw order for script draw commands.
623
- *
624
- * @param drawOrder
625
- */
626
- static setScriptGfxDrawOrder(drawOrder) {
627
- inv('0xCFCC78391C8B3814', drawOrder);
628
- }
629
- /**
630
- * @param p0
631
- */
632
- static enableStaticVegModifier(p0) {
633
- inv('0xDFEA23EC90113657', _h(p0));
634
- }
635
- /**
636
- * @returns
637
- */
638
- static getTvChannel() {
639
- return inv('0xF90FBFD68F3C59AE', rai());
640
- }
641
- static N_0x9D1B0B5066205692() {
642
- inv('0x9D1B0B5066205692');
643
- }
644
- /**
645
- * @param alpha
646
- */
647
- static setParticleFxNonLoopedAlpha(alpha) {
648
- inv('0xE8A35938A7026CEA', f(alpha));
649
- }
650
- /**
651
- * @param point
652
- */
653
- static destroyTrackedPoint(point) {
654
- inv('0x37A59922109F8F1C', point);
655
- }
656
- /**
657
- * @param p0
658
- */
659
- static N_0x67B0778C62E74423(p0) {
660
- inv('0x67B0778C62E74423', p0);
661
- }
662
- /**
663
- * ANIMPOSTFX_*
664
- *
665
- * @param effectNameHash
666
- */
667
- static N_0x71845905BCCDE781(effectNameHash) {
668
- inv('0x71845905BCCDE781', _h(effectNameHash));
669
- }
670
- static N_0xF2F543D48F319A3A() {
671
- inv('0xF2F543D48F319A3A');
672
- }
673
- /**
674
- * ANIMPOSTFX_*
675
- *
676
- * @returns
677
- */
678
- static N_0x3DA7A10583A4BEC0() {
679
- return inv('0x3DA7A10583A4BEC0', rai());
680
- }
681
- /**
682
- * Does not affect weapons, particles, fire/explosions, flashlights or the sun.
683
- * 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.
684
- *
685
- * @param state
686
- */
687
- static setArtificialLightsState(state) {
688
- inv('0xB2797619A7C7747B', state);
689
- }
690
- /**
691
- * Possible values:
692
- * "CSM_ST_POINT"
693
- * "CSM_ST_LINEAR"
694
- * "CSM_ST_BOX3x3"
695
- * "CSM_ST_BOX4x4"
696
- * "CSM_ST_DITHER2_LINEAR"
697
- * "CSM_ST_CUBIC"
698
- * "CSM_ST_POISSON16"
699
- * "CSM_ST_SOFT8"
700
- * "CSM_ST_SOFT16"
701
- * "CSM_ST_SOFT32"
702
- * "CSM_ST_DITHER16_RPDB"
703
- * "CSM_ST_POISSON16_RPDB_GNORM"
704
- * "CSM_ST_HIGHRES_BOX4x4"
705
- * "CSM_ST_ESM"
706
- *
707
- * @param type
708
- */
709
- static cascadeShadowsSetShadowSampleType(type) {
710
- inv('0xCE4774E0F9AD48D1', type);
711
- }
712
- /**
713
- * @param p0
714
- */
715
- static N_0x519928DF02EB5101(p0) {
716
- inv('0x519928DF02EB5101', p0);
717
- }
718
- /**
719
- * Gets set to 1 when GET_STATUS_OF_TAKE_HIGH_QUALITY_PHOTO = PHOTO_OPERATION_SUCCEEDED
720
- *
721
- * @param p0
722
- */
723
- static N_0x0D5B19C34068FEE7(p0) {
724
- inv('0x0D5B19C34068FEE7', p0);
725
- }
726
- /**
727
- * type must be less than or equal to 20
728
- *
729
- * @param entity
730
- * @param type
731
- */
732
- static setLightsTypeForEntity(entity, type) {
733
- inv('0xAB72C67163DC4DB4', entity.handle, type);
734
- }
735
- /**
736
- * @param p0
737
- * @param p1
738
- * @param p2
739
- * @param p3
740
- */
741
- static N_0xD543487A1F12828F(p0, p1, p2, p3) {
742
- inv('0xD543487A1F12828F', p0, p1, p2, p3);
743
- }
744
575
  /**
745
576
  * Returns proxyInteriorIndex
746
577
  *
@@ -779,7 +610,7 @@ export class Graphics {
779
610
  * @returns
780
611
  */
781
612
  static isPhotoFrame() {
782
- return inv('0x86076AE35CBBE55F', rai());
613
+ return !!inv('0x86076AE35CBBE55F', rai());
783
614
  }
784
615
  /**
785
616
  * @param p0
@@ -802,7 +633,7 @@ export class Graphics {
802
633
  * @returns
803
634
  */
804
635
  static animpostfxIsRunning(effectName) {
805
- return inv('0x4A123E85D7C4CA0B', effectName, rai());
636
+ return !!inv('0x4A123E85D7C4CA0B', effectName, rai());
806
637
  }
807
638
  /**
808
639
  * Used for script function RPG_GLOBAL_STATS__PRIVATE__ACTIVATE_STAT_FLAG - Quite and Inspiration Aura equip
@@ -822,7 +653,7 @@ export class Graphics {
822
653
  * @returns
823
654
  */
824
655
  static N_0xE75CDDEBF618C8FF(effectNameHash) {
825
- return inv('0xE75CDDEBF618C8FF', _h(effectNameHash), rai());
656
+ return !!inv('0xE75CDDEBF618C8FF', _h(effectNameHash), rai());
826
657
  }
827
658
  /**
828
659
  * @param pos
@@ -863,7 +694,7 @@ export class Graphics {
863
694
  * @returns
864
695
  */
865
696
  static beginCreateLowQualityCopyOfPhoto(p0) {
866
- return inv('0x494A9874F17A7D50', p0, rai());
697
+ return !!inv('0x494A9874F17A7D50', p0, rai());
867
698
  }
868
699
  /**
869
700
  * @param player
@@ -878,110 +709,119 @@ export class Graphics {
878
709
  static doesCheckpointHaveFx(checkpoint) {
879
710
  return inv('0x4C11CCACB7C02B6E', checkpoint);
880
711
  }
881
- static N_0xEC3F7F24EEEB3BA3() {
882
- inv('0xEC3F7F24EEEB3BA3');
712
+ /**
713
+ * Creates blood pools for the given ped in some interval for a few seconds.
714
+ *
715
+ * @param ped
716
+ */
717
+ static addBloodPoolsForPed(ped) {
718
+ inv('0xDFCE8CE9F3EBE93F', ped.handle);
719
+ }
720
+ /**
721
+ * @param texture
722
+ * @param ped
723
+ * @param playerSlot
724
+ * @returns
725
+ */
726
+ static pedshotGeneratePersonaPhoto(texture, ped, playerSlot) {
727
+ return !!inv('0xD9C24F53631F2372', texture, ped.handle, playerSlot, rai());
728
+ }
729
+ /**
730
+ * @returns
731
+ */
732
+ static queueOperationToCreateSortedListOfPhotos() {
733
+ return inv('0xA42EDF1E88734A7E');
883
734
  }
884
735
  /**
885
- * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
886
- *
887
736
  * @param p0
888
737
  */
889
- static N_0x41F88A85A579A61D(p0) {
890
- inv('0x41F88A85A579A61D', f(p0));
891
- }
892
- static freeMemoryForLowQualityPhoto() {
893
- inv('0x614682E715ADBAAC');
894
- }
895
- static freeMemoryForHighQualityPhoto() {
896
- inv('0xD45547D8396F002A');
897
- }
898
- static N_0x32DE2BFFDA43E62A() {
899
- inv('0x32DE2BFFDA43E62A');
738
+ static setRegionPhotoTakenStat(p0) {
739
+ inv('0xD1031B83AC093BC7', p0);
900
740
  }
901
741
  /**
902
- * Resets the exposure to the value when exposure lock was enabled
742
+ * @param effectName
903
743
  */
904
- static updatePhotoModeExposure() {
905
- inv('0x9229ED770975BD9E');
744
+ static animpostfxSetToUnload(effectName) {
745
+ inv('0x37D7BDBA89F13959', effectName);
906
746
  }
907
747
  /**
908
- * @param effectName
748
+ * @param proxyInteriorIndex
749
+ * @returns
909
750
  */
910
- static animpostfxPreloadPostfx(effectName) {
911
- inv('0x5199405EABFBD7F0', effectName);
751
+ static isProxyInteriorIndexArtificialLightsEnabled(proxyInteriorIndex) {
752
+ return inv('0x113857D66A9CABE6', proxyInteriorIndex);
912
753
  }
913
754
  /**
914
- * @param strength
755
+ * @param p0
915
756
  */
916
- static setTransitionOutOfTimecycleModifier(strength) {
917
- inv('0xBB6C707F20D955D4', f(strength));
757
+ static setPhotoInPhotomodeStat(p0) {
758
+ inv('0xFA91736933AB3D93', p0);
918
759
  }
919
760
  /**
920
- * @param effectName
921
- * @param p1
922
- * @param color
923
- * @param alpha
761
+ * @param entity
762
+ * @param intensity
924
763
  */
925
- static animpostfxSetPostfxColor(effectName, p1, color, alpha) {
926
- inv('0x63011D0C7C6519E0', effectName, p1, color.r, color.g, color.b, color.a, alpha);
764
+ static setLightsIntensityForEntity(entity, intensity) {
765
+ inv('0x07C0F87AAC57F2E4', entity.handle, f(intensity));
927
766
  }
928
767
  /**
929
- * @param p0
930
- * @param p1
768
+ * @param entity
931
769
  */
932
- static startPetrolTrailDecals(p0, p1) {
933
- inv('0x46F246D6504F0031', p0, p1);
770
+ static updateLightsOnEntity(entity) {
771
+ inv('0xBDBACB52A03CC760', entity.handle);
934
772
  }
935
773
  /**
936
- * @param pickupObject
937
- * @param allow
774
+ * @returns
938
775
  */
939
- static allowPickupLightSync(pickupObject, allow) {
940
- inv('0x7C348310A6E2FB91', pickupObject.handle, allow);
941
- }
942
- static freeMemoryForMissionCreatorPhoto() {
943
- inv('0x7DFF8F94937D2659');
776
+ static getStatusOfTakeHighQualityPhoto() {
777
+ return inv('0x4A3DA74C3CCB1725', rai());
944
778
  }
945
779
  /**
946
- * Returns veg modifier handle
947
- *
948
- * @param pos
949
- * @param radius
950
- * @param modType
951
- * @param flags
952
- * @param p6
953
780
  * @returns
954
781
  */
955
- static addVegModifierSphere(pos, radius, modType, flags, p6) {
956
- return inv('0xFA50F79257745E74', f(pos.x), f(pos.y), f(pos.z), f(radius), modType, flags, p6, rai());
782
+ static N_0x285438C26C732F9D() {
783
+ return inv('0x285438C26C732F9D');
957
784
  }
958
785
  /**
959
- * Only used in R* SP Script spd_agnesdown1
786
+ * Sets a flag defining whether or not script draw commands should continue being drawn behind the pause menu. This is usually used for draw commands that are used with a world render target.
960
787
  *
788
+ * @param toggle
789
+ */
790
+ static setScriptGfxDrawBehindPausemenu(toggle) {
791
+ inv('0x906B86E6D7896B9E', toggle);
792
+ }
793
+ /**
961
794
  * @param p0
962
- * @param pos
963
- * @param p4
964
- * @param p5
965
- * @param heading
966
- * @returns
967
795
  */
968
- static N_0x402E1A61D2587FCD(p0, pos, p4, p5, heading) {
969
- return inv('0x402E1A61D2587FCD', p0, f(pos.x), f(pos.y), f(pos.z), f(p4), f(p5), f(heading), rai());
796
+ static setDistrictPhotoTakenStat(p0) {
797
+ inv('0x9937FACBBF267244', p0);
970
798
  }
971
799
  /**
800
+ * @param effectName
801
+ * @param ped
802
+ * @param offset
803
+ * @param rot
804
+ * @param boneIndex
805
+ * @param scale
806
+ * @param xAxis
807
+ * @param yAxis
808
+ * @param zAxis
972
809
  * @returns
973
810
  */
974
- static N_0xFC9B53C072F418E0() {
975
- return inv('0xFC9B53C072F418E0');
811
+ static startParticleFxLoopedOnPedBone(effectName, ped, offset, rot, boneIndex, scale, xAxis, yAxis, zAxis) {
812
+ return inv('0xE689C1B1432BB8AF', effectName, ped.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());
976
813
  }
977
814
  /**
978
- * state: false disables artificial interior light sources for specific proxyInteriorIndex
979
- *
980
- * @param proxyInteriorIndex
981
- * @param state
815
+ * @param p0
982
816
  */
983
- static setProxyInteriorIndexArtificialLightsState(proxyInteriorIndex, state) {
984
- inv('0xBFCB17895BB99E4E', proxyInteriorIndex, state);
817
+ static setPhotoStudioStat(p0) {
818
+ inv('0x8E6AFF353C09652E', p0);
819
+ }
820
+ /**
821
+ * @param effectName
822
+ */
823
+ static animpostfxStop(effectName) {
824
+ inv('0xB4FD7446BAB2F394', effectName);
985
825
  }
986
826
  /**
987
827
  * @param p0
@@ -1089,7 +929,7 @@ export class Graphics {
1089
929
  * @returns
1090
930
  */
1091
931
  static isTvshowCurrentlyPlaying(videoCliphash) {
1092
- return inv('0x4D562223E0EB65F3', _h(videoCliphash), rai());
932
+ return !!inv('0x4D562223E0EB65F3', _h(videoCliphash), rai());
1093
933
  }
1094
934
  /**
1095
935
  * @param p0
@@ -1343,7 +1183,7 @@ export class Graphics {
1343
1183
  * @returns
1344
1184
  */
1345
1185
  static N_0xFF584F097C17FA8F() {
1346
- return inv('0xFF584F097C17FA8F', rai());
1186
+ return !!inv('0xFF584F097C17FA8F', rai());
1347
1187
  }
1348
1188
  /**
1349
1189
  * Old name: _GET_STATUS_OF_DRAW_LOW_QUALITY_PHOTO
@@ -1421,89 +1261,238 @@ export class Graphics {
1421
1261
  inv('0x503941F65DBA24EC', p0);
1422
1262
  }
1423
1263
  /**
1424
- * @param p0
1425
- * @param p1
1426
- * @param p2
1427
- * @param p3
1428
- * @param p4
1429
- * @param p5
1430
- * @param p6
1264
+ * @param p0
1265
+ * @param p1
1266
+ * @param p2
1267
+ * @param p3
1268
+ * @param p4
1269
+ * @param p5
1270
+ * @param p6
1271
+ */
1272
+ static N_0x48FE0DB54045B975(p0, p1, p2, p3, p4, p5, p6) {
1273
+ inv('0x48FE0DB54045B975', p0, p1, p2, p3, p4, p5, p6);
1274
+ }
1275
+ static cascadeShadowsClearShadowSampleType() {
1276
+ inv('0xF7C29D7C12C36F03');
1277
+ }
1278
+ /**
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)
1280
+ *
1281
+ * @param x
1282
+ * @param y
1283
+ * @param width
1284
+ * @param height
1285
+ * @param color
1286
+ * @param alpha
1287
+ * @param p8
1288
+ * @param p9
1289
+ */
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);
1292
+ }
1293
+ /**
1294
+ * @param tvChannel
1295
+ * @param playlistName
1296
+ * @param restart
1297
+ */
1298
+ static setTvChannelPlaylist(tvChannel, playlistName, restart) {
1299
+ inv('0xDEC6B25F5DC8925B', tvChannel, playlistName, restart);
1300
+ }
1301
+ /**
1302
+ * @param checkpoint
1303
+ */
1304
+ static deleteCheckpoint(checkpoint) {
1305
+ inv('0x0DED5B0C8EBAAE12', checkpoint);
1306
+ }
1307
+ /**
1308
+ * *DISABLE**
1309
+ *
1310
+ * @param p0
1311
+ */
1312
+ static N_0xFB680A9B33D0EDBE(p0) {
1313
+ inv('0xFB680A9B33D0EDBE', p0);
1314
+ }
1315
+ /**
1316
+ * @returns
1317
+ */
1318
+ static N_0xC28F62AC9774FC1B() {
1319
+ return inv('0xC28F62AC9774FC1B');
1320
+ }
1321
+ /**
1322
+ * @param p1
1323
+ * @param p2
1324
+ * @param p3
1325
+ * @returns p0
1326
+ */
1327
+ static loadMissionCreatorPhoto(p1, p2, p3) {
1328
+ const result = inv('0x84F0BA7462FF8D58', pvi(), p1, p2, p3, rai());
1329
+ return [!!result[0], result[1]];
1330
+ }
1331
+ /**
1332
+ * @param entity
1333
+ * @returns layer0; layer1; layer2; layer3
1334
+ */
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]];
1338
+ }
1339
+ /**
1340
+ * @param ped
1341
+ * @param p1
1342
+ * @param size
1343
+ * @param p3
1344
+ */
1345
+ static addBloodPoolsForPedWithParams(ped, p1, size, p3) {
1346
+ inv('0xC349EE1E6EFA494B', ped.handle, f(p1), f(size), f(p3));
1347
+ }
1348
+ /**
1349
+ * Only used in guama1 R* SP Script while spawning the ship
1350
+ * *SET_ENTITY_QUATERNION** - SET_ENTITY_RENDER_*
1351
+ *
1352
+ * @param vehicle
1353
+ * @param toggle
1354
+ */
1355
+ static setEntityRenderGuarmaShip(vehicle, toggle) {
1356
+ inv('0xC38B4952B728397A', vehicle.handle, toggle);
1357
+ }
1358
+ /**
1359
+ * @param effectName
1360
+ * @param entity
1361
+ * @param offset
1362
+ * @param rot
1363
+ * @param scale
1364
+ * @param axisX
1365
+ * @param axisY
1366
+ * @param axisZ
1367
+ * @returns
1368
+ */
1369
+ static startNetworkedParticleFxNonLoopedOnEntity(effectName, entity, offset, rot, scale, axisX, axisY, axisZ) {
1370
+ return !!inv('0xE6CFE43937061143', 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());
1371
+ }
1372
+ /**
1373
+ * @param lock
1374
+ */
1375
+ static setPhotoModeExposureLocked(lock) {
1376
+ inv('0x5CD6A2CCE5087161', lock);
1377
+ }
1378
+ static N_0x815653A42C5ABE76() {
1379
+ inv('0x815653A42C5ABE76');
1380
+ }
1381
+ /**
1382
+ * @param effectName
1383
+ * @returns
1384
+ */
1385
+ static animpostfxIsTagPlaying(effectName) {
1386
+ return inv('0x2D4F9C852CE8A253', effectName);
1387
+ }
1388
+ /**
1389
+ * enum class eSnowCoverageType
1390
+ * {
1391
+ * Primary,
1392
+ * Secondary,
1393
+ * Xmas,
1394
+ * XmasSecondary // since b1232
1395
+ * };
1396
+ *
1397
+ * @param type
1398
+ */
1399
+ static setSnowCoverageType(type) {
1400
+ inv('0xF02A9C330BBFC5C7', type);
1401
+ }
1402
+ /**
1403
+ * @param effectNameHash
1431
1404
  */
1432
- static N_0x48FE0DB54045B975(p0, p1, p2, p3, p4, p5, p6) {
1433
- inv('0x48FE0DB54045B975', p0, p1, p2, p3, p4, p5, p6);
1434
- }
1435
- static cascadeShadowsClearShadowSampleType() {
1436
- inv('0xF7C29D7C12C36F03');
1405
+ static animpostfxPlayTag(effectNameHash) {
1406
+ inv('0x9B8D5D4CB8AF58B3', _h(effectNameHash));
1437
1407
  }
1438
1408
  /**
1439
- * 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)
1440
- *
1441
- * @param x
1442
- * @param y
1443
- * @param width
1444
- * @param height
1445
- * @param color
1446
- * @param alpha
1447
- * @param p8
1448
- * @param p9
1409
+ * @param pickupObject
1410
+ * @param toggle
1449
1411
  */
1450
- static drawRect(x, y, width, height, color, alpha, p8, p9) {
1451
- inv('0x405224591DF02025', f(x), f(y), f(width), f(height), color.r, color.g, color.b, color.a, alpha, p8, p9);
1412
+ static blockPickupObjectLight(pickupObject, toggle) {
1413
+ inv('0x50C14328119E1DD1', pickupObject.handle, toggle);
1452
1414
  }
1453
1415
  /**
1454
- * @param tvChannel
1455
- * @param playlistName
1456
- * @param restart
1416
+ * @param effectName
1417
+ * @param entity
1418
+ * @param offset
1419
+ * @param rot
1420
+ * @param scale
1421
+ * @param xAxis
1422
+ * @param yAxis
1423
+ * @param zAxis
1424
+ * @returns
1457
1425
  */
1458
- static setTvChannelPlaylist(tvChannel, playlistName, restart) {
1459
- inv('0xDEC6B25F5DC8925B', tvChannel, playlistName, restart);
1426
+ static startNetworkedParticleFxLoopedOnEntity(effectName, entity, offset, rot, scale, xAxis, yAxis, zAxis) {
1427
+ return inv('0x8F90AB32E1944BDE', 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());
1460
1428
  }
1461
1429
  /**
1462
- * @param checkpoint
1430
+ * @param pos
1431
+ * @param radius
1463
1432
  */
1464
- static deleteCheckpoint(checkpoint) {
1465
- inv('0x0DED5B0C8EBAAE12', checkpoint);
1433
+ static removeParticleFxInRange(pos, radius) {
1434
+ inv('0x87B5905ECA623B68', f(pos.x), f(pos.y), f(pos.z), f(radius));
1466
1435
  }
1467
1436
  /**
1468
- * *DISABLE**
1437
+ * https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_looped.lua
1469
1438
  *
1470
- * @param p0
1439
+ * @param effectName
1440
+ * @param pos
1441
+ * @param rot
1442
+ * @param scale
1443
+ * @param xAxis
1444
+ * @param yAxis
1445
+ * @param zAxis
1446
+ * @param p11
1447
+ * @returns
1471
1448
  */
1472
- static N_0xFB680A9B33D0EDBE(p0) {
1473
- inv('0xFB680A9B33D0EDBE', p0);
1449
+ static startParticleFxLoopedAtCoord(effectName, pos, rot, scale, xAxis, yAxis, zAxis, p11) {
1450
+ return inv('0xBA32867E86125D3A', effectName, f(pos.x), f(pos.y), f(pos.z), f(rot.x), f(rot.y), f(rot.z), f(scale), xAxis, yAxis, zAxis, p11, rai());
1474
1451
  }
1475
1452
  /**
1476
1453
  * @returns
1477
1454
  */
1478
- static N_0xC28F62AC9774FC1B() {
1479
- return inv('0xC28F62AC9774FC1B');
1455
+ static getTimecycleModifierIndex() {
1456
+ return inv('0xA705394293E2B3D3', rai());
1457
+ }
1458
+ /**
1459
+ * nullsub, doesn't do anything
1460
+ *
1461
+ * @param toggle
1462
+ */
1463
+ static enableMovieSubtitles(toggle) {
1464
+ inv('0x6FC9B065229C0787', toggle);
1480
1465
  }
1481
1466
  /**
1467
+ * @param p0
1482
1468
  * @param p1
1483
1469
  * @param p2
1484
1470
  * @param p3
1485
- * @returns p0
1471
+ * @param p4
1486
1472
  */
1487
- static loadMissionCreatorPhoto(p1, p2, p3) {
1488
- const result = inv('0x84F0BA7462FF8D58', pvi(), p1, p2, p3, rai());
1489
- return [!!result[0], result[1]];
1473
+ static N_0x171C18E994C1A395(p0, p1, p2, p3, p4) {
1474
+ inv('0x171C18E994C1A395', p0, p1, p2, p3, p4);
1490
1475
  }
1491
1476
  /**
1492
- * @param entity
1493
- * @returns layer0; layer1; layer2; layer3
1477
+ * Doesn't actually return anything. ANIMPOSTFX_*
1478
+ *
1479
+ * @returns
1494
1480
  */
1495
- static getEntityMaskLayers(entity) {
1496
- const result = inv('0xE8A8378BF651079C', entity.handle, pvf(), pvf(), pvf(), pvf(), rai());
1497
- return [!!result[0], result[1], result[2], result[3], result[4]];
1481
+ static N_0xC37792A3F9C90771() {
1482
+ return inv('0xC37792A3F9C90771');
1498
1483
  }
1499
1484
  /**
1500
- * @param ped
1485
+ * Adds Vegetation Blocking Zone, Added Snow Flattening veg mod Zone
1486
+ * Returns veg modifier handle
1487
+ *
1488
+ * @param volume
1501
1489
  * @param p1
1502
- * @param size
1490
+ * @param flags
1503
1491
  * @param p3
1492
+ * @returns
1504
1493
  */
1505
- static addBloodPoolsForPedWithParams(ped, p1, size, p3) {
1506
- inv('0xC349EE1E6EFA494B', ped.handle, f(p1), f(size), f(p3));
1494
+ static addVegModifierZone(volume, p1, flags, p3) {
1495
+ return inv('0xBD3324281E8B9933', volume.handle, p1, flags, p3, rai());
1507
1496
  }
1508
1497
  /**
1509
1498
  * @param p0
@@ -1676,7 +1665,7 @@ export class Graphics {
1676
1665
  * @returns
1677
1666
  */
1678
1667
  static N_0xFD05B1DDE83749FA(p0) {
1679
- return inv('0xFD05B1DDE83749FA', p0, rai());
1668
+ return !!inv('0xFD05B1DDE83749FA', p0, rai());
1680
1669
  }
1681
1670
  /**
1682
1671
  * @param p0
@@ -1689,7 +1678,7 @@ export class Graphics {
1689
1678
  * @returns
1690
1679
  */
1691
1680
  static doesParticleFxLoopedExist(ptfxHandle) {
1692
- return inv('0x9DD5AFF561E88F2A', ptfxHandle, rai());
1681
+ return !!inv('0x9DD5AFF561E88F2A', ptfxHandle, rai());
1693
1682
  }
1694
1683
  /**
1695
1684
  * @param effectName
@@ -1703,13 +1692,13 @@ export class Graphics {
1703
1692
  * @returns
1704
1693
  */
1705
1694
  static startParticleFxNonLoopedOnEntity(effectName, entity, offset, rot, scale, axisX, axisY, axisZ) {
1706
- 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());
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());
1707
1696
  }
1708
1697
  /**
1709
1698
  * @returns
1710
1699
  */
1711
1700
  static getTogglePausedRenderphasesStatus() {
1712
- return inv('0x86ED21BDB2791CE8', rai());
1701
+ return !!inv('0x86ED21BDB2791CE8', rai());
1713
1702
  }
1714
1703
  /**
1715
1704
  * Only used in R* SP Script spd_agnesdown1
@@ -1755,7 +1744,7 @@ export class Graphics {
1755
1744
  * @returns
1756
1745
  */
1757
1746
  static N_0xB958D97A0DFAA0C2(effectName) {
1758
- return inv('0xB958D97A0DFAA0C2', effectName, rai());
1747
+ return !!inv('0xB958D97A0DFAA0C2', effectName, rai());
1759
1748
  }
1760
1749
  /**
1761
1750
  * @param txdHash
@@ -1878,7 +1867,7 @@ export class Graphics {
1878
1867
  * @returns
1879
1868
  */
1880
1869
  static startParticleFxNonLoopedOnPedBone(effectName, ped, offset, rot, boneIndex, scale, axisX, axisY, axisZ) {
1881
- return inv('0x3FAA72BD940C3AC0', 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, rai());
1870
+ return !!inv('0x3FAA72BD940C3AC0', 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, rai());
1882
1871
  }
1883
1872
  /**
1884
1873
  * contentId: returned by NETWORK::_UGC_QUERY_GET_CREATOR_PHOTO(uVar0, 0, sParam3)
@@ -1895,115 +1884,126 @@ export class Graphics {
1895
1884
  static N_0x6C03118E9E5C1A14(p0) {
1896
1885
  inv('0x6C03118E9E5C1A14', p0);
1897
1886
  }
1898
- static resetPausedRenderphases() {
1899
- inv('0xCCD9AAD85E1B559E');
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);
1900
1895
  }
1901
1896
  /**
1902
- * @param unused
1903
- * @returns
1897
+ * @param entity
1904
1898
  */
1905
- static saveHighQualityPhoto(unused) {
1906
- return inv('0x57639FD876B68A91', unused);
1899
+ static removeParticleFxFromEntity(entity) {
1900
+ inv('0x92884B4A49D81325', entity.handle);
1907
1901
  }
1908
1902
  /**
1909
- * @param pos
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
1910
1916
  * @param p2
1917
+ * @param p3
1911
1918
  */
1912
- static setCloudLayer(pos, p2) {
1913
- inv('0xB8C984C0D47F4F07', f(pos.x), f(pos.y), p2);
1919
+ static N_0x4FB67D172C4476F3(entity, p1, p2, p3) {
1920
+ inv('0x4FB67D172C4476F3', entity.handle, p1, p2, f(p3));
1914
1921
  }
1915
1922
  /**
1916
- * @param p0
1923
+ * @param typeHash
1924
+ * @param pos1
1925
+ * @param pos2
1926
+ * @param radius
1927
+ * @param color
1928
+ * @param alpha
1929
+ * @param reserved
1917
1930
  * @returns
1918
1931
  */
1919
- static N_0xEC3D8C228FE553D7(p0) {
1920
- return inv('0xEC3D8C228FE553D7', p0, rai());
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');
1921
1937
  }
1922
1938
  /**
1923
- * *RESET**
1939
+ * Returns iNumPixels, iPixelsVisible
1940
+ *
1941
+ * @param iTrackedPoint
1942
+ * @returns
1924
1943
  */
1925
- static N_0x1460B644397453EB() {
1926
- inv('0x1460B644397453EB');
1944
+ static N_0xDFE332A5DA6FE7C9(iTrackedPoint) {
1945
+ return inv('0xDFE332A5DA6FE7C9', iTrackedPoint, rai());
1927
1946
  }
1928
1947
  /**
1929
- * @param personaPhotoLocalCacheType
1948
+ * @param entity
1949
+ * @returns layer0; layer1; layer2; layer3
1930
1950
  */
1931
- static pedshotSetPersonaPhotoType(personaPhotoLocalCacheType) {
1932
- inv('0x196D3ACBEBA4A44B', personaPhotoLocalCacheType);
1933
- }
1934
- static pedshotFinishCleanupData() {
1935
- inv('0xC2B8164C3BE871A4');
1936
- }
1937
- static N_0x1C6306E5BC25C29C() {
1938
- inv('0x1C6306E5BC25C29C');
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]];
1939
1954
  }
1940
1955
  /**
1941
- * @param pos
1956
+ * @param point
1957
+ * @returns
1942
1958
  */
1943
- static setCloudNoise(pos) {
1944
- inv('0xFE7966DF01452F32', f(pos.x), f(pos.y), f(pos.z));
1959
+ static isTrackedPointVisible(point) {
1960
+ return !!inv('0xCBB056BA159FB48D', point, rai());
1961
+ }
1962
+ static clearTimecycleModifier() {
1963
+ inv('0x0E3F4AF2D63491FB');
1945
1964
  }
1946
1965
  /**
1947
- * @param p0
1966
+ * Closes the the binocular scaleform
1948
1967
  */
1949
- static N_0xEB48CE48EEC41FD4(p0) {
1950
- inv('0xEB48CE48EEC41FD4', p0);
1968
+ static N_0x5AC6E0FA028369DE() {
1969
+ inv('0x5AC6E0FA028369DE');
1951
1970
  }
1952
1971
  /**
1953
- * Used in NET_CAMP_SPIRIT_ANIMAL_CLEAR_ANIMAL_VISIBILITY
1972
+ * ANIMPOSTFX_*
1954
1973
  *
1955
- * @param entity
1974
+ * @param effectNameHash
1956
1975
  */
1957
- static N_0xC06F2F45A73EABCD(entity) {
1958
- inv('0xC06F2F45A73EABCD', entity.handle);
1976
+ static N_0xC76FC4C2FC5F4405(effectNameHash) {
1977
+ inv('0xC76FC4C2FC5F4405', _h(effectNameHash));
1959
1978
  }
1960
1979
  /**
1961
1980
  * @param effectName
1962
- * @param pos
1963
- * @param rot
1964
- * @param scale
1965
- * @param xAxis
1966
- * @param yAxis
1967
- * @param zAxis
1968
- * @returns
1969
1981
  */
1970
- static startNetworkedParticleFxNonLoopedAtCoord(effectName, pos, rot, scale, xAxis, yAxis, zAxis) {
1971
- 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());
1982
+ static animpostfxStopTag(effectName) {
1983
+ inv('0xAD74C22A541AB987', effectName);
1972
1984
  }
1973
1985
  /**
1974
- * @returns
1986
+ * Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
1987
+ * *ENABLE**
1975
1988
  */
1976
- static getPhotoModeExposure() {
1977
- return inv('0x06C0D8BB6B04A709', raf());
1989
+ static N_0x812C1563185C6FB2() {
1990
+ inv('0x812C1563185C6FB2');
1978
1991
  }
1979
1992
  /**
1980
- * _SET_PARTICLE_FX_LOOPED_FA* - _SET_PARTICLE_FX_LOOPED_OF*
1981
- *
1982
- * @param ptfxHandle
1983
- * @param scalar
1993
+ * @param posseId
1984
1994
  */
1985
- static setParticleFxLoopedUpdateDistantSmoke(ptfxHandle, scalar) {
1986
- inv('0x9DDC222D85D5AF2A', ptfxHandle, f(scalar));
1995
+ static setPosseIdForPhoto(posseId) {
1996
+ inv('0x564837D4A9EDE296', posseId);
1987
1997
  }
1988
1998
  /**
1989
- * Known effects: MP_Trans_SceneToPhoto
1990
- * MP_Trans_WinLose
1991
- * SpectateFilter
1992
- * MP_CharacterCreatorPhoto
1993
- * MP_Trans_PhotoToScene
1994
- * InterrogationHit
1999
+ * Sets the checkpoint color.
1995
2000
  *
1996
- * @param effectName
1997
- * @returns
1998
- */
1999
- static animpostfxGetStackhash(effectName) {
2000
- return (inv('0x842CCC9491FFCD9B', effectName, rai())) & 0xFFFFFFFF;
2001
- }
2002
- /**
2003
- * @param height
2001
+ * @param checkpoint
2002
+ * @param color
2003
+ * @param alpha
2004
2004
  */
2005
- static setCloudHeight(height) {
2006
- inv('0xC332C91388F5580B', f(height));
2005
+ static setCheckpointRgba(checkpoint, color, alpha) {
2006
+ inv('0xCAAFC225E33B1D15', checkpoint, color.r, color.g, color.b, color.a, alpha);
2007
2007
  }
2008
2008
  /**
2009
2009
  * Related to Campfires.