@nativewrappers/redm-codegen 0.0.4 → 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 (317) hide show
  1. package/dist/classes/AnimScene.d.ts +109 -109
  2. package/dist/classes/AnimScene.d.ts.map +1 -1
  3. package/dist/classes/AnimScene.js +158 -158
  4. package/dist/classes/BaseModel.d.ts +34 -34
  5. package/dist/classes/BaseModel.d.ts.map +1 -1
  6. package/dist/classes/BaseModel.js +53 -53
  7. package/dist/classes/BaseTask.d.ts +36 -36
  8. package/dist/classes/BaseTask.d.ts.map +1 -1
  9. package/dist/classes/BaseTask.js +44 -44
  10. package/dist/classes/Cam.d.ts +91 -91
  11. package/dist/classes/Cam.d.ts.map +1 -1
  12. package/dist/classes/Cam.js +124 -124
  13. package/dist/classes/Entity.d.ts +507 -502
  14. package/dist/classes/Entity.d.ts.map +1 -1
  15. package/dist/classes/Entity.js +723 -714
  16. package/dist/classes/Interior.d.ts +27 -27
  17. package/dist/classes/Interior.d.ts.map +1 -1
  18. package/dist/classes/Interior.js +42 -42
  19. package/dist/classes/ItemSet.d.ts +2 -2
  20. package/dist/classes/ItemSet.d.ts.map +1 -1
  21. package/dist/classes/ItemSet.js +3 -3
  22. package/dist/classes/Ped.d.ts +286 -286
  23. package/dist/classes/Ped.d.ts.map +1 -1
  24. package/dist/classes/Ped.js +425 -425
  25. package/dist/classes/PedModel.d.ts +1 -1
  26. package/dist/classes/PedModel.d.ts.map +1 -1
  27. package/dist/classes/PedModel.js +2 -2
  28. package/dist/classes/PedTask.d.ts +770 -770
  29. package/dist/classes/PedTask.d.ts.map +1 -1
  30. package/dist/classes/PedTask.js +985 -985
  31. package/dist/classes/PersChar.d.ts +11 -11
  32. package/dist/classes/PersChar.d.ts.map +1 -1
  33. package/dist/classes/PersChar.js +23 -23
  34. package/dist/classes/Pickup.d.ts +6 -6
  35. package/dist/classes/Pickup.d.ts.map +1 -1
  36. package/dist/classes/Pickup.js +12 -12
  37. package/dist/classes/Player.d.ts +237 -233
  38. package/dist/classes/Player.d.ts.map +1 -1
  39. package/dist/classes/Player.js +309 -303
  40. package/dist/classes/Prop.d.ts +126 -126
  41. package/dist/classes/Prop.d.ts.map +1 -1
  42. package/dist/classes/Prop.js +180 -180
  43. package/dist/classes/PropSet.d.ts +16 -16
  44. package/dist/classes/PropSet.d.ts.map +1 -1
  45. package/dist/classes/PropSet.js +22 -22
  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 +17 -17
  53. package/dist/classes/VehicleTask.d.ts.map +1 -1
  54. package/dist/classes/VehicleTask.js +24 -24
  55. package/dist/classes/Volume.d.ts +44 -44
  56. package/dist/classes/Volume.d.ts.map +1 -1
  57. package/dist/classes/Volume.js +58 -58
  58. package/dist/classes/Weapon.d.ts +243 -243
  59. package/dist/classes/Weapon.d.ts.map +1 -1
  60. package/dist/classes/Weapon.js +339 -339
  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 +37 -37
  68. package/dist/namespaces/Animscene.d.ts.map +1 -1
  69. package/dist/namespaces/Animscene.js +51 -51
  70. package/dist/namespaces/Audio.d.ts +395 -395
  71. package/dist/namespaces/Audio.d.ts.map +1 -1
  72. package/dist/namespaces/Audio.js +530 -530
  73. package/dist/namespaces/Bounty.d.ts +23 -23
  74. package/dist/namespaces/Bounty.d.ts.map +1 -1
  75. package/dist/namespaces/Bounty.js +40 -40
  76. package/dist/namespaces/Brain.d.ts +15 -15
  77. package/dist/namespaces/Brain.d.ts.map +1 -1
  78. package/dist/namespaces/Brain.js +20 -20
  79. package/dist/namespaces/CamStatics.d.ts +483 -483
  80. package/dist/namespaces/CamStatics.d.ts.map +1 -1
  81. package/dist/namespaces/CamStatics.js +693 -693
  82. package/dist/namespaces/Clock.d.ts +51 -51
  83. package/dist/namespaces/Clock.d.ts.map +1 -1
  84. package/dist/namespaces/Clock.js +73 -73
  85. package/dist/namespaces/Collection.d.ts +6 -6
  86. package/dist/namespaces/Collection.d.ts.map +1 -1
  87. package/dist/namespaces/Collection.js +11 -11
  88. package/dist/namespaces/Compapp.js +1 -1
  89. package/dist/namespaces/Compendium.d.ts +58 -58
  90. package/dist/namespaces/Compendium.d.ts.map +1 -1
  91. package/dist/namespaces/Compendium.js +83 -83
  92. package/dist/namespaces/Crashlog.js +9 -9
  93. package/dist/namespaces/Crew.d.ts +9 -9
  94. package/dist/namespaces/Crew.d.ts.map +1 -1
  95. package/dist/namespaces/Crew.js +18 -18
  96. package/dist/namespaces/Databinding.d.ts +146 -146
  97. package/dist/namespaces/Databinding.d.ts.map +1 -1
  98. package/dist/namespaces/Databinding.js +218 -218
  99. package/dist/namespaces/Datafile.js +4 -4
  100. package/dist/namespaces/Decorator.d.ts +19 -19
  101. package/dist/namespaces/Decorator.d.ts.map +1 -1
  102. package/dist/namespaces/Decorator.js +34 -34
  103. package/dist/namespaces/Dlc.js +2 -2
  104. package/dist/namespaces/EntityStatics.d.ts +186 -186
  105. package/dist/namespaces/EntityStatics.d.ts.map +1 -1
  106. package/dist/namespaces/EntityStatics.js +249 -249
  107. package/dist/namespaces/Event.js +4 -4
  108. package/dist/namespaces/Fire.d.ts +89 -89
  109. package/dist/namespaces/Fire.d.ts.map +1 -1
  110. package/dist/namespaces/Fire.js +115 -115
  111. package/dist/namespaces/Flock.js +2 -2
  112. package/dist/namespaces/Gang.js +2 -2
  113. package/dist/namespaces/GoogleAnalytics.js +2 -2
  114. package/dist/namespaces/Graphics.d.ts +776 -776
  115. package/dist/namespaces/Graphics.d.ts.map +1 -1
  116. package/dist/namespaces/Graphics.js +1120 -1120
  117. package/dist/namespaces/Hud.d.ts +497 -497
  118. package/dist/namespaces/Hud.d.ts.map +1 -1
  119. package/dist/namespaces/Hud.js +748 -748
  120. package/dist/namespaces/Ik.js +1 -1
  121. package/dist/namespaces/Interaction.js +3 -3
  122. package/dist/namespaces/InteriorStatics.d.ts +40 -40
  123. package/dist/namespaces/InteriorStatics.d.ts.map +1 -1
  124. package/dist/namespaces/InteriorStatics.js +57 -57
  125. package/dist/namespaces/Inventory.d.ts +205 -205
  126. package/dist/namespaces/Inventory.d.ts.map +1 -1
  127. package/dist/namespaces/Inventory.js +340 -340
  128. package/dist/namespaces/Itemdatabase.d.ts +78 -78
  129. package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
  130. package/dist/namespaces/Itemdatabase.js +109 -109
  131. package/dist/namespaces/Itemset.js +2 -2
  132. package/dist/namespaces/Law.d.ts +1 -1
  133. package/dist/namespaces/Law.d.ts.map +1 -1
  134. package/dist/namespaces/Law.js +19 -19
  135. package/dist/namespaces/Localization.js +1 -1
  136. package/dist/namespaces/Map.d.ts +156 -156
  137. package/dist/namespaces/Map.d.ts.map +1 -1
  138. package/dist/namespaces/Map.js +209 -209
  139. package/dist/namespaces/Minigame.d.ts +66 -66
  140. package/dist/namespaces/Minigame.d.ts.map +1 -1
  141. package/dist/namespaces/Minigame.js +111 -111
  142. package/dist/namespaces/Misc.d.ts +3 -3
  143. package/dist/namespaces/Misc.d.ts.map +1 -1
  144. package/dist/namespaces/Misc.js +35 -35
  145. package/dist/namespaces/Missiondata.js +1 -1
  146. package/dist/namespaces/Money.js +3 -3
  147. package/dist/namespaces/Netshopping.d.ts +58 -58
  148. package/dist/namespaces/Netshopping.d.ts.map +1 -1
  149. package/dist/namespaces/Netshopping.js +89 -89
  150. package/dist/namespaces/Network.d.ts +1199 -1199
  151. package/dist/namespaces/Network.d.ts.map +1 -1
  152. package/dist/namespaces/Network.js +1650 -1650
  153. package/dist/namespaces/Object.d.ts +262 -262
  154. package/dist/namespaces/Object.d.ts.map +1 -1
  155. package/dist/namespaces/Object.js +367 -367
  156. package/dist/namespaces/Pad.d.ts +102 -102
  157. package/dist/namespaces/Pad.d.ts.map +1 -1
  158. package/dist/namespaces/Pad.js +141 -141
  159. package/dist/namespaces/Pathfind.js +10 -10
  160. package/dist/namespaces/PedStatics.d.ts +2 -2
  161. package/dist/namespaces/PedStatics.d.ts.map +1 -1
  162. package/dist/namespaces/PedStatics.js +10 -10
  163. package/dist/namespaces/Perschar.d.ts +42 -42
  164. package/dist/namespaces/Perschar.d.ts.map +1 -1
  165. package/dist/namespaces/Perschar.js +59 -59
  166. package/dist/namespaces/Physics.d.ts +37 -37
  167. package/dist/namespaces/Physics.d.ts.map +1 -1
  168. package/dist/namespaces/Physics.js +54 -54
  169. package/dist/namespaces/PlayerStatics.d.ts +68 -68
  170. package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
  171. package/dist/namespaces/PlayerStatics.js +104 -104
  172. package/dist/namespaces/Population.d.ts +86 -86
  173. package/dist/namespaces/Population.d.ts.map +1 -1
  174. package/dist/namespaces/Population.js +116 -116
  175. package/dist/namespaces/Posse.d.ts +48 -48
  176. package/dist/namespaces/Posse.d.ts.map +1 -1
  177. package/dist/namespaces/Posse.js +78 -78
  178. package/dist/namespaces/Propset.d.ts +59 -59
  179. package/dist/namespaces/Propset.d.ts.map +1 -1
  180. package/dist/namespaces/Propset.js +81 -81
  181. package/dist/namespaces/Replay.d.ts +1 -1
  182. package/dist/namespaces/Replay.d.ts.map +1 -1
  183. package/dist/namespaces/Replay.js +2 -2
  184. package/dist/namespaces/Scripts.d.ts +1 -1
  185. package/dist/namespaces/Scripts.d.ts.map +1 -1
  186. package/dist/namespaces/Scripts.js +12 -12
  187. package/dist/namespaces/Socialclub.js +8 -8
  188. package/dist/namespaces/Socialclubfeed.js +1 -1
  189. package/dist/namespaces/Spactionproxy.js +4 -4
  190. package/dist/namespaces/Stats.d.ts +203 -203
  191. package/dist/namespaces/Stats.d.ts.map +1 -1
  192. package/dist/namespaces/Stats.js +294 -294
  193. package/dist/namespaces/Streaming.d.ts +128 -128
  194. package/dist/namespaces/Streaming.d.ts.map +1 -1
  195. package/dist/namespaces/Streaming.js +202 -202
  196. package/dist/namespaces/Task.d.ts +366 -366
  197. package/dist/namespaces/Task.d.ts.map +1 -1
  198. package/dist/namespaces/Task.js +517 -517
  199. package/dist/namespaces/Telemetry.d.ts +83 -83
  200. package/dist/namespaces/Telemetry.d.ts.map +1 -1
  201. package/dist/namespaces/Telemetry.js +111 -111
  202. package/dist/namespaces/Txd.js +1 -1
  203. package/dist/namespaces/Uiapps.d.ts +25 -25
  204. package/dist/namespaces/Uiapps.d.ts.map +1 -1
  205. package/dist/namespaces/Uiapps.js +36 -36
  206. package/dist/namespaces/Uievents.js +1 -1
  207. package/dist/namespaces/Uifeed.js +1 -1
  208. package/dist/namespaces/Uistickyfeed.d.ts +16 -16
  209. package/dist/namespaces/Uistickyfeed.d.ts.map +1 -1
  210. package/dist/namespaces/Uistickyfeed.js +21 -21
  211. package/dist/namespaces/Unlock.js +5 -5
  212. package/dist/namespaces/VehicleStatics.js +12 -12
  213. package/dist/namespaces/Voice.js +7 -7
  214. package/dist/namespaces/VolumeStatics.d.ts +99 -99
  215. package/dist/namespaces/VolumeStatics.d.ts.map +1 -1
  216. package/dist/namespaces/VolumeStatics.js +137 -137
  217. package/dist/namespaces/Water.d.ts +27 -27
  218. package/dist/namespaces/Water.d.ts.map +1 -1
  219. package/dist/namespaces/Water.js +41 -41
  220. package/dist/namespaces/WeaponStatics.d.ts +206 -206
  221. package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
  222. package/dist/namespaces/WeaponStatics.js +303 -303
  223. package/dist/types/NativeAliases.d.ts +3 -1
  224. package/dist/types/NativeAliases.d.ts.map +1 -1
  225. package/dist/types/NativeAliases.js +3 -1
  226. package/package.json +1 -1
  227. package/src/classes/AnimScene.ts +164 -164
  228. package/src/classes/BaseModel.ts +60 -60
  229. package/src/classes/BaseTask.ts +46 -46
  230. package/src/classes/Cam.ts +136 -136
  231. package/src/classes/Entity.ts +738 -727
  232. package/src/classes/Interior.ts +43 -43
  233. package/src/classes/ItemSet.ts +3 -3
  234. package/src/classes/Ped.ts +432 -432
  235. package/src/classes/PedModel.ts +2 -2
  236. package/src/classes/PedTask.ts +1023 -1023
  237. package/src/classes/PersChar.ts +28 -28
  238. package/src/classes/Pickup.ts +13 -13
  239. package/src/classes/Player.ts +326 -319
  240. package/src/classes/Prop.ts +185 -185
  241. package/src/classes/PropSet.ts +25 -25
  242. package/src/classes/Vehicle.ts +147 -147
  243. package/src/classes/VehicleModel.ts +2 -2
  244. package/src/classes/VehicleTask.ts +27 -27
  245. package/src/classes/Volume.ts +62 -62
  246. package/src/classes/Weapon.ts +358 -358
  247. package/src/namespaces/Aicoverpoint.ts +40 -40
  248. package/src/namespaces/Aitransport.ts +104 -104
  249. package/src/namespaces/Animscene.ts +55 -55
  250. package/src/namespaces/Audio.ts +565 -565
  251. package/src/namespaces/Bounty.ts +46 -46
  252. package/src/namespaces/Brain.ts +22 -22
  253. package/src/namespaces/CamStatics.ts +706 -706
  254. package/src/namespaces/Clock.ts +82 -82
  255. package/src/namespaces/Collection.ts +12 -12
  256. package/src/namespaces/Compapp.ts +1 -1
  257. package/src/namespaces/Compendium.ts +94 -94
  258. package/src/namespaces/Crashlog.ts +9 -9
  259. package/src/namespaces/Crew.ts +20 -20
  260. package/src/namespaces/Databinding.ts +222 -222
  261. package/src/namespaces/Datafile.ts +4 -4
  262. package/src/namespaces/Decorator.ts +37 -37
  263. package/src/namespaces/Dlc.ts +2 -2
  264. package/src/namespaces/EntityStatics.ts +259 -259
  265. package/src/namespaces/Event.ts +4 -4
  266. package/src/namespaces/Fire.ts +127 -127
  267. package/src/namespaces/Flock.ts +2 -2
  268. package/src/namespaces/Gang.ts +2 -2
  269. package/src/namespaces/GoogleAnalytics.ts +2 -2
  270. package/src/namespaces/Graphics.ts +1081 -1081
  271. package/src/namespaces/Hud.ts +767 -767
  272. package/src/namespaces/Ik.ts +1 -1
  273. package/src/namespaces/Interaction.ts +3 -3
  274. package/src/namespaces/InteriorStatics.ts +65 -65
  275. package/src/namespaces/Inventory.ts +352 -352
  276. package/src/namespaces/Itemdatabase.ts +121 -121
  277. package/src/namespaces/Itemset.ts +2 -2
  278. package/src/namespaces/Law.ts +20 -20
  279. package/src/namespaces/Localization.ts +1 -1
  280. package/src/namespaces/Map.ts +217 -217
  281. package/src/namespaces/Minigame.ts +119 -119
  282. package/src/namespaces/Misc.ts +38 -38
  283. package/src/namespaces/Missiondata.ts +1 -1
  284. package/src/namespaces/Money.ts +3 -3
  285. package/src/namespaces/Netshopping.ts +99 -99
  286. package/src/namespaces/Network.ts +1738 -1738
  287. package/src/namespaces/Object.ts +370 -370
  288. package/src/namespaces/Pad.ts +155 -155
  289. package/src/namespaces/Pathfind.ts +10 -10
  290. package/src/namespaces/PedStatics.ts +12 -12
  291. package/src/namespaces/Perschar.ts +67 -67
  292. package/src/namespaces/Physics.ts +62 -62
  293. package/src/namespaces/PlayerStatics.ts +112 -112
  294. package/src/namespaces/Population.ts +131 -131
  295. package/src/namespaces/Posse.ts +81 -81
  296. package/src/namespaces/Propset.ts +92 -92
  297. package/src/namespaces/Replay.ts +3 -3
  298. package/src/namespaces/Scripts.ts +13 -13
  299. package/src/namespaces/Socialclub.ts +8 -8
  300. package/src/namespaces/Socialclubfeed.ts +1 -1
  301. package/src/namespaces/Spactionproxy.ts +4 -4
  302. package/src/namespaces/Stats.ts +296 -296
  303. package/src/namespaces/Streaming.ts +236 -236
  304. package/src/namespaces/Task.ts +583 -583
  305. package/src/namespaces/Telemetry.ts +125 -125
  306. package/src/namespaces/Txd.ts +1 -1
  307. package/src/namespaces/Uiapps.ts +43 -43
  308. package/src/namespaces/Uievents.ts +1 -1
  309. package/src/namespaces/Uifeed.ts +1 -1
  310. package/src/namespaces/Uistickyfeed.ts +23 -23
  311. package/src/namespaces/Unlock.ts +5 -5
  312. package/src/namespaces/VehicleStatics.ts +12 -12
  313. package/src/namespaces/Voice.ts +7 -7
  314. package/src/namespaces/VolumeStatics.ts +143 -143
  315. package/src/namespaces/Water.ts +47 -47
  316. package/src/namespaces/WeaponStatics.ts +311 -311
  317. package/src/types/NativeAliases.ts +6 -1
@@ -3,179 +3,191 @@ import { createFromHandle } from '../types/HandleRegistry';
3
3
  import { inv, rai, raf, rav, pvi, _h, f } from '../types/NativeAliases';
4
4
  export class CamStatics {
5
5
  /**
6
- * Only used in R* Script camera_photomode
6
+ * p6 & p7 - possibly length or time
7
7
  *
8
- * @returns
8
+ * @param entity
9
+ * @param offset
10
+ * @param p4
11
+ * @param p5
12
+ * @param p6
13
+ * @param p7
14
+ * @param p8
9
15
  */
10
- static isAnimSceneCamActive() {
11
- return inv('0x20389408F0E93B9A');
16
+ static setGameplayEntityHint(entity, offset, p4, p5, p6, p7, p8) {
17
+ inv('0xD1F7F32640ADFD12', entity.handle, f(offset.x), f(offset.y), f(offset.z), p4, p5, p6, p7, p8);
12
18
  }
13
19
  /**
14
- * Hash used in finale1.ysc: 1726668277
15
- *
16
- * @param pos
17
- * @param duration
18
- * @param blendOutDuration
19
- * @param blendInDuration
20
- * @param p6
20
+ * Forces camera position to second furthest 3rd person
21
21
  */
22
- static setGameplayCoordHint(pos, duration, blendOutDuration, blendInDuration, p6) {
23
- inv('0xFA33B8C69A4A6A0F', f(pos.x), f(pos.y), f(pos.z), duration, blendOutDuration, blendInDuration, _h(p6));
22
+ static forceThirdPersonCamThisFrame() {
23
+ inv('0x8370D34BD2E60B73');
24
24
  }
25
25
  /**
26
- * @returns
26
+ * @param p0
27
27
  */
28
- static N_0x14C4A49E36C29E49() {
29
- return inv('0x14C4A49E36C29E49');
28
+ static setGameplayHintFollowDistanceScalar(p0) {
29
+ inv('0xDDDC54181868F81F', f(p0));
30
30
  }
31
31
  /**
32
32
  * @returns
33
33
  */
34
- static isScreenFadingIn() {
35
- return inv('0x0CECCC63FFA2EF24', rai());
34
+ static isCamPhotofxRunning() {
35
+ return inv('0xA14D5FE82BCB1D9E');
36
36
  }
37
37
  /**
38
- * @returns
38
+ * Sets the amplitude for the gameplay (i.e. 3rd or 1st) camera to shake.
39
+ *
40
+ * @param amplitude
39
41
  */
40
- static isGameplayCamShaking() {
41
- return inv('0xEA4C5F4AA0A4DBEF', rai());
42
+ static setGameplayCamShakeAmplitude(amplitude) {
43
+ inv('0x570E35F5C4A44838', f(amplitude));
42
44
  }
43
45
  /**
44
- * @returns
46
+ * @param dictionary
47
+ * @param shotName
48
+ * @param duration
45
49
  */
46
- static N_0x190F7DA1AC09A8EF() {
47
- return inv('0x190F7DA1AC09A8EF');
50
+ static cinematicLocationTriggerScriptedShotEvent2(dictionary, shotName, duration) {
51
+ inv('0xBC016635D6A73B31', dictionary, shotName, duration);
48
52
  }
49
53
  /**
50
- * @param p0
51
- * @param p1
52
- * @param p2
54
+ * Sets the camera pitch. Parameters:
55
+ * x = pitches the camera on the x axis.
56
+ * Value2 = always seems to be hex 0x3F800000 (1.000000 float).
57
+ *
58
+ * @param x
59
+ * @param Value2
53
60
  */
54
- static N_0x3B8E3AD9677CE12B(p0, p1, p2) {
55
- inv('0x3B8E3AD9677CE12B', p0, p1, p2);
61
+ static setGameplayCamRelativePitch(x, Value2) {
62
+ inv('0xFB760AF4F537B8BF', f(x), f(Value2));
56
63
  }
57
64
  /**
58
- * @returns
65
+ * Creates Kill Cam for specified Ped Handle
66
+ *
67
+ * @param ped
59
68
  */
60
- static getGameplayCamRelativePitch() {
61
- return inv('0x99AADEBBA803F827', raf());
69
+ static createKillCam(ped) {
70
+ inv('0x2F994CC29CAA9D22', ped.handle);
62
71
  }
63
72
  /**
64
73
  * @param p0
65
74
  */
66
- static N_0x8E036B41C37D0E5F(p0) {
67
- inv('0x8E036B41C37D0E5F', p0);
75
+ static setGameplayHintBaseOrbitPitchOffset(p0) {
76
+ inv('0x421192A2DA48FD01', f(p0));
68
77
  }
69
78
  /**
70
79
  * @param p0
71
80
  * @param p1
81
+ * @param p2
82
+ * @param p3
83
+ * @param p4
84
+ * @param p5
85
+ * @param p6
86
+ * @param p7
72
87
  */
73
- static N_0x1F6EBD94680252CE(p0, p1) {
74
- inv('0x1F6EBD94680252CE', p0, p1);
88
+ static setGameplayObjectHint(p0, p1, p2, p3, p4, p5, p6, p7) {
89
+ inv('0xC40551D65F2BF297', p0, f(p1), f(p2), f(p3), p4, p5, p6, p7);
75
90
  }
76
91
  /**
77
- * @returns
92
+ * Forces camera position to furthest 3rd person
78
93
  */
79
- static N_0xB6A80E1E3A5444F1() {
80
- return inv('0xB6A80E1E3A5444F1');
94
+ static forceThirdPersonCamFarThisFrame() {
95
+ inv('0x1CFB749AD4317BDE');
81
96
  }
82
97
  /**
83
- * @returns
98
+ * Used to enable headshot kill replay when you headshot set ped.
99
+ * Params: p1 seems to be 0 or 1 in R* Scripts
100
+ *
101
+ * @param ped
102
+ * @param p1
84
103
  */
85
- static getGameplayCamRelativeHeading() {
86
- return inv('0xC4ABF536048998AA', raf());
104
+ static reactivatePedHeadshotExecuteSlowcam(ped, p1) {
105
+ inv('0x986F7A51EE3E1F92', ped.handle, p1);
106
+ }
107
+ static N_0x641092322A8852AB() {
108
+ inv('0x641092322A8852AB');
109
+ }
110
+ static triggerMissionFailedCam() {
111
+ inv('0x9A92C06ACBAF9731');
87
112
  }
88
113
  /**
89
114
  * @param p0
90
115
  */
91
- static N_0x1FC6C727D30FFDDE(p0) {
92
- inv('0x1FC6C727D30FFDDE', p0);
116
+ static N_0x1D9F72DD4FD9A9D7(p0) {
117
+ inv('0x1D9F72DD4FD9A9D7', p0);
93
118
  }
94
- /**
95
- * @returns
96
- */
97
- static isInCinematicMode() {
98
- return inv('0x74F1D22EFA71FAB8');
119
+ static N_0xE6F364DE6C2FDEFE() {
120
+ inv('0xE6F364DE6C2FDEFE');
99
121
  }
100
122
  /**
101
- * shakeName: REINFORCED_LASSO_STRUGGLE_SHAKE
102
- * _RES*
103
- *
104
123
  * @param shakeName
105
124
  * @param intensity
106
125
  */
107
- static N_0xC3E9E5D4F413B773(shakeName, intensity) {
108
- inv('0xC3E9E5D4F413B773', shakeName, f(intensity));
109
- }
110
- /**
111
- * @param dictionary
112
- * @param shotName
113
- * @param cameraName
114
- * @param p3
115
- */
116
- static cinematicLocationTriggerScriptedShotEvent(dictionary, shotName, cameraName, p3) {
117
- inv('0x02389579A53C3276', dictionary, shotName, cameraName, p3);
126
+ static shakeGameplayCam(shakeName, intensity) {
127
+ inv('0xD9B31B4650520529', shakeName, f(intensity));
118
128
  }
119
129
  /**
120
- * @param cameraDictionary
121
130
  * @returns
122
131
  */
123
- static isCamDataDictLoaded(cameraDictionary) {
124
- return inv('0xDD0B7C5AE58F721D', cameraDictionary);
125
- }
126
- /**
127
- * Forces camera position to closest 3rd person
128
- */
129
- static forceThirdPersonCloseThisFrame() {
130
- inv('0x718C6ECF5E8CBDD4');
132
+ static N_0x796085220ADCC847() {
133
+ return inv('0x796085220ADCC847');
131
134
  }
132
135
  /**
133
136
  * @param p0
134
- * @param p1
135
137
  */
136
- static N_0x0FF7125F07DEB84F(p0, p1) {
137
- inv('0x0FF7125F07DEB84F', p0, p1);
138
+ static forceCinematicRenderingThisUpdate(p0) {
139
+ inv('0x702B75DC9D3EDE56', p0);
138
140
  }
139
141
  /**
140
- * @param cameraDictionary
142
+ * Maintains the death camera after respawn
143
+ *
144
+ * @param toggle
141
145
  */
142
- static create2(cameraDictionary) {
143
- inv('0x7B0279170961A73F', cameraDictionary);
146
+ static N_0x63E5841A9264D016(toggle) {
147
+ inv('0x63E5841A9264D016', toggle);
148
+ }
149
+ static N_0x41E452A3C580D1A7() {
150
+ inv('0x41E452A3C580D1A7');
144
151
  }
145
152
  /**
146
- * Camera will be or is running
153
+ * @param p0
147
154
  */
148
- static N_0xC3742F1FDF0A6824() {
149
- inv('0xC3742F1FDF0A6824');
155
+ static N_0x728491FB3DFFEF99(p0) {
156
+ inv('0x728491FB3DFFEF99', p0);
150
157
  }
151
158
  /**
152
159
  * @returns
153
160
  */
154
- static getRenderingCam() {
155
- return createFromHandle('Cam', inv('0x03A8931ECC8015D6', rai()));
161
+ static isGameplayHintActive() {
162
+ return !!inv('0x2E04AB5FEE042D4A', rai());
156
163
  }
157
164
  /**
158
- * @param p0
165
+ * @param FOV
159
166
  */
160
- static N_0x8505E05FC8822843(p0) {
161
- inv('0x8505E05FC8822843', p0);
167
+ static setGameplayHintFov(FOV) {
168
+ inv('0x661E58BC6F00A49A', f(FOV));
162
169
  }
163
170
  /**
164
171
  * @param p0
165
172
  */
166
- static N_0x2DD3149DC34A3F4C(p0) {
167
- inv('0x2DD3149DC34A3F4C', p0);
173
+ static N_0xB85C13E0BF1F2A1C(p0) {
174
+ inv('0xB85C13E0BF1F2A1C', p0);
168
175
  }
169
- static N_0xFC3F638BE2B6BB02() {
170
- inv('0xFC3F638BE2B6BB02');
176
+ /**
177
+ * @returns
178
+ */
179
+ static N_0x73FF6BE63DC18819() {
180
+ return inv('0x73FF6BE63DC18819');
171
181
  }
172
182
  /**
173
- * _IS_SCRIPTED_S*
183
+ * shakeNames in script_rel: CORRECTOR_SHAKE, MINIGAME_BOUNTY_SHAKE, POV_DRUNK_SHAKE, DRUNK_SHAKE, MINIGAME_TRAIN_SHAKE
184
+ * *IS_GAMEPLAY**
174
185
  *
186
+ * @param shakeName
175
187
  * @returns
176
188
  */
177
- static N_0x975F6EBB62632FE3() {
178
- return inv('0x975F6EBB62632FE3', rai());
189
+ static N_0x0060B31968E60E41(shakeName) {
190
+ return !!inv('0x0060B31968E60E41', shakeName, rai());
179
191
  }
180
192
  /**
181
193
  * @param dictionary
@@ -183,18 +195,23 @@ export class CamStatics {
183
195
  * @param duration
184
196
  * @returns
185
197
  */
186
- static N_0xEA113BF9B0C0C5D7(dictionary, shotName, duration) {
187
- return inv('0xEA113BF9B0C0C5D7', dictionary, shotName, duration);
198
+ static N_0xC3AEBB276825A359(dictionary, shotName, duration) {
199
+ return !!inv('0xC3AEBB276825A359', dictionary, shotName, duration, rai());
188
200
  }
189
201
  /**
190
- * @param cameraDictionary
191
- * @returns
202
+ * @param p0
203
+ * @param p1
192
204
  */
193
- static N_0xC285FD21294A1C49(cameraDictionary) {
194
- return inv('0xC285FD21294A1C49', cameraDictionary, rai());
205
+ static setFirstPersonAimCamRelativeHeadingLimitsThisUpdate(p0, p1) {
206
+ inv('0x05BD5E4088B30A66', f(p0), f(p1));
195
207
  }
196
- static disableCinematicModeThisFrame() {
197
- inv('0x8910C24B7E0046EC');
208
+ /**
209
+ * Old name: _DISABLE_CAM_COLLISION_FOR_ENTITY
210
+ *
211
+ * @param entity
212
+ */
213
+ static setGameplayCamIgnoreEntityCollisionThisUpdate(entity) {
214
+ inv('0xD904F75DBD7AB865', entity.handle);
198
215
  }
199
216
  /**
200
217
  * Zooms in the third person camera closer to ground level.
@@ -210,7 +227,7 @@ export class CamStatics {
210
227
  * @returns
211
228
  */
212
229
  static isAimCamActive() {
213
- return inv('0x698F456FB909E077', rai());
230
+ return !!inv('0x698F456FB909E077', rai());
214
231
  }
215
232
  /**
216
233
  * @param p0
@@ -254,7 +271,7 @@ export class CamStatics {
254
271
  * @returns
255
272
  */
256
273
  static isFollowVehicleCamActive() {
257
- return inv('0xA40C2F51FB589E9A', rai());
274
+ return !!inv('0xA40C2F51FB589E9A', rai());
258
275
  }
259
276
  /**
260
277
  * ease - smooth transition between the camera's positions
@@ -296,1065 +313,1048 @@ export class CamStatics {
296
313
  return inv('0x6DFD37E586D4F44F');
297
314
  }
298
315
  /**
299
- * @param p0
300
- * @param p1
316
+ * @param locationDictName
301
317
  */
302
- static N_0xF48664E9C83825E3(p0, p1) {
303
- inv('0xF48664E9C83825E3', p0, p1);
318
+ static loadCinematicCamLocation(locationDictName) {
319
+ inv('0x1B3C2D961F5FC0E1', locationDictName);
304
320
  }
305
321
  /**
306
- * @returns
322
+ * _SET_GAMEPLAY_P* - _SET_GAMEPLAY_V*
323
+ *
324
+ * @param shakeName
325
+ * @param intensity
307
326
  */
308
- static isGameplayCamLookingBehind() {
309
- return inv('0x8FE0D24FFD04D5A2', rai());
327
+ static N_0xFEFDDC6E8FDF8A75(shakeName, intensity) {
328
+ inv('0xFEFDDC6E8FDF8A75', shakeName, f(intensity));
310
329
  }
311
330
  /**
312
- * @param cameraDictionary
313
331
  * @returns
314
332
  */
315
- static isCameraAvailable(cameraDictionary) {
316
- return inv('0x927B810E43E99932', cameraDictionary);
333
+ static N_0x5060FA977CEA4455() {
334
+ return inv('0x5060FA977CEA4455');
317
335
  }
318
336
  /**
319
- * Old name: _DISABLE_VEHICLE_FIRST_PERSON_CAM_THIS_FRAME
337
+ * [SHOP_CAMERA_SUPPORT_START_NEW_ORBIT]
338
+ * p0: struct<32> /*256*\/
339
+ *
340
+ * @returns p0
320
341
  */
321
- static disableCinematicBonnetCameraThisUpdate() {
322
- inv('0xA5929C2E57AC90D1');
342
+ static startCameraOrbit() {
343
+ const result = inv('0x65B205BF30C13DDB', pvi());
344
+ return result;
323
345
  }
324
346
  /**
325
- * NPLOI_UPDATE__GUN_SPINNING_PREVIEW - Adjusting Camera / Ped Reset Flags This Frame
326
- * *DISABLE**
347
+ * @param p0
348
+ * @param p1
327
349
  */
328
- static N_0xA8BA2E0204D8486F() {
329
- inv('0xA8BA2E0204D8486F');
350
+ static setWidescreenBorders(p0, p1) {
351
+ inv('0xD7F4D54CF80AFA34', p0, p1);
352
+ }
353
+ static N_0x06557F6D96C86881() {
354
+ inv('0x06557F6D96C86881');
330
355
  }
331
356
  /**
332
- * Forces gameplay cam to specified vehicle as if you were in it
357
+ * minimum: Degrees between -180f and 180f.
358
+ * maximum: Degrees between -180f and 180f. Clamps the gameplay camera's current yaw. Eg. _CLAMP_GAMEPLAY_CAM_YAW(0.0f, 0.0f) will set the horizontal angle directly behind the player. Old name: _CLAMP_GAMEPLAY_CAM_YAW
333
359
  *
334
- * @param vehicle
335
- * @param p1
336
- */
337
- static setInVehicleCamStateThisUpdate(vehicle, p1) {
338
- inv('0xFA1D5E8D1C3CCD67', vehicle.handle, p1);
339
- }
340
- /**
341
- * @param camName
342
- * @param pos
343
- * @param rot
344
- * @param fov
345
- * @param p8
346
- * @param p9
347
- * @returns
360
+ * @param minimum
361
+ * @param maximum
348
362
  */
349
- static createCamWithParams(camName, pos, rot, fov, p8, p9) {
350
- return createFromHandle('Cam', inv('0x40C23491CE83708E', camName, f(pos.x), f(pos.y), f(pos.z), f(rot.x), f(rot.y), f(rot.z), f(fov), p8, p9, rai()));
363
+ static setThirdPersonCamRelativeHeadingLimitsThisUpdate(minimum, maximum) {
364
+ inv('0x14F3947318CA8AD2', f(minimum), f(maximum));
351
365
  }
352
366
  /**
353
- * @returns
367
+ * @param p0
354
368
  */
355
- static getPhotoModeFocusDistance() {
356
- return inv('0x18FC740FFDCD7454', raf());
369
+ static N_0xDF7F5BE9150E47E4(p0) {
370
+ inv('0xDF7F5BE9150E47E4', p0);
357
371
  }
358
- static N_0x70A6658D476C6187() {
359
- inv('0x70A6658D476C6187');
372
+ static N_0x04084490CC302CFB() {
373
+ inv('0x04084490CC302CFB');
360
374
  }
361
375
  /**
362
- * @param dictionary
363
- * @param shotName
364
- * @param cameraName
365
- * @returns
376
+ * @param p0
366
377
  */
367
- static N_0x1D931B7CC0EE3956(dictionary, shotName, cameraName) {
368
- return inv('0x1D931B7CC0EE3956', dictionary, shotName, cameraName, rai());
369
- }
370
- static forceLetterBoxThisUpdate() {
371
- inv('0xC64ABC0676AF262B');
378
+ static stopGameplayCamShaking(p0) {
379
+ inv('0xE0DE43D290FB65F9', p0);
372
380
  }
373
381
  /**
382
+ * Creates Cinematic Black Bars (at top and bottom)
383
+ * Disable instantly: false/false, Enable instantly: true/true
384
+ *
374
385
  * @param p0
375
386
  * @param p1
376
- * @param p2
377
- * @param p3
378
- * @param p4
379
- * @param p5
380
- * @param p6
381
- * @param p7
382
387
  */
383
- static setGameplayVehicleHint(p0, p1, p2, p3, p4, p5, p6, p7) {
384
- inv('0xE2B2BB7DAC280515', p0, f(p1), f(p2), f(p3), p4, p5, p6, p7);
388
+ static requestLetterBoxNow(p0, p1) {
389
+ inv('0x69D65E89FFD72313', p0, p1);
385
390
  }
386
391
  /**
387
- * Used for DUELING_MANAGE_DEATH_CAMERA - Initializing death camera
388
- * _SET_P* - _SET_S*
389
- *
390
- * @param p0
392
+ * @param entity
391
393
  */
392
- static setStartCinematicDeathCam(p0) {
393
- inv('0x6E969927CF632608', p0);
394
- }
395
- static N_0x6CAB0BA160B168D2() {
396
- inv('0x6CAB0BA160B168D2');
394
+ static disableCamCollisionForObject(entity) {
395
+ inv('0x7E3F546ACFE6C8D9', entity.handle);
397
396
  }
398
397
  /**
399
398
  * @returns
400
399
  */
401
- static isScreenFadingOut() {
402
- return inv('0x02F39BEFE7B88D00', rai());
400
+ static getGameplayCamFov() {
401
+ return inv('0xF6A96E5ACEEC6E50', raf());
403
402
  }
404
403
  /**
405
- * @param p0
406
- * @param p1
407
- * @returns
404
+ * Fades the screen in. duration: The time the fade should take, in milliseconds.
405
+ *
406
+ * @param duration
408
407
  */
409
- static N_0x4138EE36BC3DC0A7(p0, p1) {
410
- return inv('0x4138EE36BC3DC0A7', p0, p1);
408
+ static doScreenFadeIn(duration) {
409
+ inv('0x6A053CF596F67DF7', duration);
411
410
  }
412
411
  /**
413
- * nullsub, doesn't do anything
412
+ * script_rel: DRUNK_SHAKE, REINFORCED_LASSO_STRUGGLE_SHAKE, CORRECTOR_SHAKE, MINIGAME_BOUNTY_SHAKE, HAND_SHAKE, MINIGAME_TRAIN_SHAKE
413
+ * script_mp_rel: DRUNK_SHAKE, REINFORCED_LASSO_STRUGGLE_SHAKE
414
+ * _STOP_GAMEPLAY_CAM* - _STOP_I*
415
+ *
416
+ * @param shakeName
417
+ * @param p1
414
418
  */
415
- static disableFirstPersonFlashEffectThisUpdate() {
416
- inv('0x77D65669A05D1A1A');
419
+ static stopGameplayCamShakingWithName(shakeName, p1) {
420
+ inv('0x4285804FD65D8066', shakeName, p1);
417
421
  }
418
422
  /**
419
- * Returns true if first person camera is active in saloon1.ysc
420
- *
421
423
  * @returns
422
424
  */
423
- static forceFirstPersonCamThisFrame() {
424
- return inv('0x90DA5BA5C2635416');
425
- }
426
- static N_0x18C3DFAC458783BB() {
427
- inv('0x18C3DFAC458783BB');
428
- }
429
- static N_0x16E9ABDD34DDD931() {
430
- inv('0x16E9ABDD34DDD931');
425
+ static isInterpolatingToScriptCams() {
426
+ return !!inv('0x43AB9D5A7D415478', rai());
431
427
  }
432
428
  /**
433
- * @param cameraDictionary
429
+ * @returns
434
430
  */
435
- static create(cameraDictionary) {
436
- inv('0xB8B207C34285E978', cameraDictionary);
431
+ static getFinalRenderedCamFov() {
432
+ return inv('0x04AF77971E508F6A', raf());
437
433
  }
438
434
  /**
435
+ * UPDATE_PLAYER_PLAYING_STATE - Releasing Lasso Hint Cam
436
+ * Return type char in ida
437
+ * *SET_GAMEPLAY_HINT**
438
+ *
439
439
  * @param p0
440
440
  */
441
- static N_0x5B637D6F3B67716A(p0) {
442
- inv('0x5B637D6F3B67716A', p0);
441
+ static N_0x88544C0E3291DCAE(p0) {
442
+ inv('0x88544C0E3291DCAE', p0);
443
443
  }
444
444
  /**
445
445
  * @returns
446
446
  */
447
- static isCinematicCamRendering() {
448
- return inv('0xBF7C780731AADBF8', rai());
449
- }
450
- static N_0xCF69EA05CD9C33C9() {
451
- inv('0xCF69EA05CD9C33C9');
447
+ static isScreenFadedIn() {
448
+ return !!inv('0x37F9A426FBCF4AF2', rai());
452
449
  }
453
450
  /**
454
- * @param camHash
455
- * @param p1
456
- * @returns
451
+ * Old name: _DISABLE_FIRST_PERSON_CAM_THIS_FRAME
457
452
  */
458
- static createCamera(camHash, p1) {
459
- return createFromHandle('Cam', inv('0x57CDF879EA466C46', _h(camHash), p1, rai()));
453
+ static disableOnFootFirstPersonViewThisUpdate() {
454
+ inv('0x9C473089A934C930');
460
455
  }
461
456
  /**
462
- * Used in Script Function SHOP_CAMERA_SUPPORT_START_NEW_ORBIT
463
- *
464
- * @param camInitialZoom
457
+ * Old name: _INVALIDATE_VEHICLE_IDLE_CAM
465
458
  */
466
- static setGameplayCamInitialZoom(camInitialZoom) {
467
- inv('0xBCDA0BA8762FACB9', f(camInitialZoom));
459
+ static invalidateCinematicVehicleIdleMode() {
460
+ inv('0x634F4A0562CF19B8');
468
461
  }
469
462
  /**
470
- * Only used in R* Script fm_mission_controller
471
- *
472
- * @param name
473
- * @param entity
463
+ * @param dictionaryName
474
464
  */
475
- static cinematicLocationOverrideTargetEntityThisUpdate(name, entity) {
476
- inv('0x0B0F914459731F60', name, entity.handle);
465
+ static unloadCinematicCameraLocation(dictionaryName) {
466
+ inv('0x2412216FCC7B4E3E', dictionaryName);
477
467
  }
478
468
  /**
479
- * Used for DUELING_LOCK_CAMERA_CONTROLS_THIS_FRAME: Disabling look/aim controls
480
- * *IS_SC(REEN*)* (?)
481
- *
482
469
  * @returns
483
470
  */
484
- static N_0x1204EB53A5FBC63D() {
485
- return inv('0x1204EB53A5FBC63D', rai());
486
- }
487
- static freezeGameplayCamThisFrame() {
488
- inv('0x027CAB2C3AF27010');
471
+ static isScreenFadedOut() {
472
+ return !!inv('0xF5472C80DF2FF847', rai());
489
473
  }
490
474
  /**
491
- * @returns
475
+ * @param dictionary
476
+ * @param shotName
477
+ * @param duration
492
478
  */
493
- static isInterpolatingFromScriptCams() {
494
- return inv('0x251241CAEC707106', rai());
479
+ static N_0xA54D643D0773EB65(dictionary, shotName, duration) {
480
+ inv('0xA54D643D0773EB65', dictionary, shotName, duration);
495
481
  }
496
482
  /**
497
- * @param p0
483
+ * @returns
498
484
  */
499
- static N_0x9AC65A36D3C0C189(p0) {
500
- inv('0x9AC65A36D3C0C189', p0);
485
+ static isDeathFailCameraRunning() {
486
+ return !!inv('0x139EFB0A71DD9011', rai());
501
487
  }
502
488
  /**
503
489
  * @returns
504
490
  */
505
- static N_0xF824530B612FE0CE() {
506
- return inv('0xF824530B612FE0CE');
491
+ static N_0xDC62CD70658E7A02() {
492
+ return inv('0xDC62CD70658E7A02');
507
493
  }
508
494
  /**
509
- * @returns
495
+ * @param cameraDictionary
510
496
  */
511
- static getFirstPersonAimCamZoomFactor() {
512
- return inv('0xB4132CA1B0EE1365', raf());
497
+ static loadCameraDataDict(cameraDictionary) {
498
+ inv('0x6A4D224FC7643941', cameraDictionary);
513
499
  }
514
500
  /**
515
- * @param rotationOrder
516
- * @returns
501
+ * Does the same as 0x9C473089A934C930 (DISABLE_ON_FOOT_FIRST_PERSON_VIEW_THIS_UPDATE)
517
502
  */
518
- static getGameplayCamRot(rotationOrder) {
519
- return Vector3.fromArray(inv('0x0252D2B5582957A6', rotationOrder, rav()));
503
+ static disableOnFootFirstPersonViewThisUpdate2() {
504
+ inv('0x05AB44D906738426');
505
+ }
506
+ static N_0xF1A6FEEDF3776EF9() {
507
+ inv('0xF1A6FEEDF3776EF9');
520
508
  }
521
509
  /**
522
- * @param camName
523
- * @param p1
524
- * @returns
510
+ * Old name: _ANIMATE_GAMEPLAY_CAM_ZOOM
511
+ *
512
+ * @param p0
513
+ * @param distance
525
514
  */
526
- static createCam(camName, p1) {
527
- return createFromHandle('Cam', inv('0xE72CDBA7F0A02DD6', camName, p1, rai()));
515
+ static setThirdPersonCamOrbitDistanceLimitsThisUpdate(p0, distance) {
516
+ inv('0x2126C740A4AC370B', f(p0), f(distance));
528
517
  }
529
518
  /**
530
- * Fades the screen out. duration: The time the fade should take, in milliseconds.
519
+ * More info: see HAS_LETTER_BOX
531
520
  *
532
- * @param duration
521
+ * @returns
533
522
  */
534
- static doScreenFadeOut(duration) {
535
- inv('0x40C719A5E410B9E4', duration);
523
+ static getLetterBoxRatio() {
524
+ return inv('0xA2B1C7EF759A63CE', raf());
536
525
  }
537
526
  /**
538
- * Used for DUELING_MANAGE_DEATH_CAMERA - Initializing death camera
539
- * Params: targetPed = death cam focuses on it
540
- *
541
- * @param targetPed
527
+ * @returns
542
528
  */
543
- static forceCinematicDeathCamOnPed(targetPed) {
544
- inv('0xE3639DB78B3B5400', targetPed.handle);
529
+ static N_0x7CE9DC58E3E4755F() {
530
+ return inv('0x7CE9DC58E3E4755F');
545
531
  }
546
532
  /**
547
533
  * @param p0
534
+ * @param p1
548
535
  */
549
- static N_0xC252C0CC969AF79A(p0) {
550
- inv('0xC252C0CC969AF79A', p0);
551
- }
552
- static N_0x3C486E334520579D() {
553
- inv('0x3C486E334520579D');
536
+ static N_0xFEB8646818294C75(p0, p1) {
537
+ inv('0xFEB8646818294C75', p0, p1);
554
538
  }
555
539
  /**
556
540
  * @param p0
557
541
  */
558
- static setScriptedCameraIsFirstPersonThisFrame(p0) {
559
- inv('0x1DD95A8D6B24A0C9', p0);
542
+ static N_0xDB382FE20C2DA222(p0) {
543
+ inv('0xDB382FE20C2DA222', p0);
560
544
  }
561
545
  /**
562
546
  * @param p0
563
- * @param p1
564
- * @param p2
565
- * @returns
566
547
  */
567
- static isFirstPersonCameraActive(p0, p1, p2) {
568
- return inv('0xA24C1D341C6E0D53', p0, p1, p2);
569
- }
570
- static N_0x3C8F74E8FE751614() {
571
- inv('0x3C8F74E8FE751614');
548
+ static N_0x29E6655DF3590B0D(p0) {
549
+ inv('0x29E6655DF3590B0D', p0);
572
550
  }
573
551
  /**
574
- * @param dictionary
575
- * @param shotName
576
- * @param duration
552
+ * @param pos
553
+ * @param radius
577
554
  * @returns
578
555
  */
579
- static N_0x465F04F68AD38197(dictionary, shotName, duration) {
580
- return inv('0x465F04F68AD38197', dictionary, shotName, duration);
556
+ static isSphereVisible(pos, radius) {
557
+ return !!inv('0x2E941B5FFA2989C6', f(pos.x), f(pos.y), f(pos.z), f(radius), rai());
581
558
  }
582
559
  /**
583
- * @param p0
560
+ * @param camInitialHeading
584
561
  */
585
- static N_0xE2BB2D6A9FE2ECDE(p0) {
586
- inv('0xE2BB2D6A9FE2ECDE', p0);
562
+ static setGameplayCamInitialHeading(camInitialHeading) {
563
+ inv('0x6C1053C433A573CF', f(camInitialHeading));
587
564
  }
588
565
  /**
589
- * @param cameraDictionary
566
+ * @param p0
590
567
  */
591
- static unloadCameraDataDict(cameraDictionary) {
592
- inv('0x798BE43C9393632B', cameraDictionary);
568
+ static stopGameplayHint(p0) {
569
+ inv('0x1BCEC33D54CFCA8A', p0);
593
570
  }
594
571
  /**
595
- * @param sLocationDictName
596
- * @returns
572
+ * @param p0
597
573
  */
598
- static isCinematicCamLocationLoaded(sLocationDictName) {
599
- return inv('0xAA235E2F2C09E952', sLocationDictName, rai());
574
+ static N_0x0961B089947BA6D0(p0) {
575
+ inv('0x0961B089947BA6D0', p0);
600
576
  }
601
577
  /**
602
- * @returns
578
+ * minimum: Degrees between -90f and 90f.
579
+ * maximum: Degrees between -90f and 90f. Clamps the gameplay camera's current pitch. Eg. _CLAMP_GAMEPLAY_CAM_PITCH(0.0f, 0.0f) will set the vertical angle directly behind the player. Old name: _CLAMP_GAMEPLAY_CAM_PITCH
580
+ *
581
+ * @param minimum
582
+ * @param maximum
603
583
  */
604
- static N_0x450769C833D58844() {
605
- return inv('0x450769C833D58844');
584
+ static setThirdPersonCamRelativePitchLimitsThisUpdate(minimum, maximum) {
585
+ inv('0x326C7AA308F3DF6A', f(minimum), f(maximum));
606
586
  }
607
587
  /**
608
- * @param p0
609
- * @param p1
610
- * @param p2
611
- * @param p3
612
- * @param p4
613
- * @param p5
588
+ * @returns
614
589
  */
615
- static requestLetterBoxOvertime(p0, p1, p2, p3, p4, p5) {
616
- inv('0xE296208C273BD7F0', p0, p1, p2, p3, p4, p5);
590
+ static N_0x6072B7420A83A03F() {
591
+ return inv('0x6072B7420A83A03F');
617
592
  }
618
593
  /**
619
- * NPLOI_UPDATE__GUN_SPINNING_PREVIEW - Adjusting Camera / Ped Reset Flags This Frame
620
- * *DISABLE**
594
+ * @param p0
621
595
  */
622
- static N_0x0F1FFEF5D54AE832() {
623
- inv('0x0F1FFEF5D54AE832');
596
+ static N_0xC205B3C54C6A4E37(p0) {
597
+ inv('0xC205B3C54C6A4E37', p0);
624
598
  }
625
599
  /**
626
- * Returns true if player is in first person
600
+ * Only used in R* Script camera_photomode
627
601
  *
628
602
  * @returns
629
603
  */
630
- static isInFullFirstPersonMode() {
631
- return inv('0xD1BA66940E94C547');
604
+ static isAnimSceneCamActive() {
605
+ return inv('0x20389408F0E93B9A');
632
606
  }
633
607
  /**
634
- * @returns
608
+ * Hash used in finale1.ysc: 1726668277
609
+ *
610
+ * @param pos
611
+ * @param duration
612
+ * @param blendOutDuration
613
+ * @param blendInDuration
614
+ * @param p6
635
615
  */
636
- static isFirstPersonAimCamActive() {
637
- return inv('0xF63134C54B6EC212', rai());
616
+ static setGameplayCoordHint(pos, duration, blendOutDuration, blendInDuration, p6) {
617
+ inv('0xFA33B8C69A4A6A0F', f(pos.x), f(pos.y), f(pos.z), duration, blendOutDuration, blendInDuration, _h(p6));
638
618
  }
639
619
  /**
640
- * @param cameraDictionary
620
+ * @returns
641
621
  */
642
- static N_0xAC77757C05DE9E5A(cameraDictionary) {
643
- inv('0xAC77757C05DE9E5A', cameraDictionary);
622
+ static N_0x14C4A49E36C29E49() {
623
+ return inv('0x14C4A49E36C29E49');
644
624
  }
645
625
  /**
646
- * @param p0
626
+ * @returns
647
627
  */
648
- static setGameplayCamMaxMotionBlurStrengthThisUpdate(p0) {
649
- inv('0x8459B3E64257B21D', f(p0));
628
+ static isScreenFadingIn() {
629
+ return !!inv('0x0CECCC63FFA2EF24', rai());
650
630
  }
651
631
  /**
652
- * @param p0
653
- * @param pos1
654
- * @param p4
655
- * @param p5
656
- * @param p6
657
- * @param p7
632
+ * @returns
658
633
  */
659
- static setGameplayPedHint(p0, pos1, p4, p5, p6, p7) {
660
- inv('0x90FB951648851733', p0.handle, f(pos1.x), f(pos1.y), f(pos1.z), p4, p5, p6, p7);
634
+ static isGameplayCamShaking() {
635
+ return !!inv('0xEA4C5F4AA0A4DBEF', rai());
661
636
  }
662
637
  /**
663
638
  * @returns
664
639
  */
665
- static getFinalRenderedCamCoord() {
666
- return Vector3.fromArray(inv('0x5352E025EC2B416F', rav()));
640
+ static N_0x190F7DA1AC09A8EF() {
641
+ return inv('0x190F7DA1AC09A8EF');
667
642
  }
668
643
  /**
669
644
  * @param p0
645
+ * @param p1
646
+ * @param p2
670
647
  */
671
- static N_0x1D9F72DD4FD9A9D7(p0) {
672
- inv('0x1D9F72DD4FD9A9D7', p0);
673
- }
674
- static N_0xE6F364DE6C2FDEFE() {
675
- inv('0xE6F364DE6C2FDEFE');
676
- }
677
- /**
678
- * @param shakeName
679
- * @param intensity
680
- */
681
- static shakeGameplayCam(shakeName, intensity) {
682
- inv('0xD9B31B4650520529', shakeName, f(intensity));
648
+ static N_0x3B8E3AD9677CE12B(p0, p1, p2) {
649
+ inv('0x3B8E3AD9677CE12B', p0, p1, p2);
683
650
  }
684
651
  /**
685
652
  * @returns
686
653
  */
687
- static N_0x796085220ADCC847() {
688
- return inv('0x796085220ADCC847');
654
+ static getGameplayCamRelativePitch() {
655
+ return inv('0x99AADEBBA803F827', raf());
689
656
  }
690
657
  /**
691
658
  * @param p0
692
659
  */
693
- static forceCinematicRenderingThisUpdate(p0) {
694
- inv('0x702B75DC9D3EDE56', p0);
695
- }
696
- /**
697
- * Maintains the death camera after respawn
698
- *
699
- * @param toggle
700
- */
701
- static N_0x63E5841A9264D016(toggle) {
702
- inv('0x63E5841A9264D016', toggle);
703
- }
704
- static N_0x41E452A3C580D1A7() {
705
- inv('0x41E452A3C580D1A7');
660
+ static N_0x8E036B41C37D0E5F(p0) {
661
+ inv('0x8E036B41C37D0E5F', p0);
706
662
  }
707
663
  /**
708
664
  * @param p0
665
+ * @param p1
709
666
  */
710
- static N_0x728491FB3DFFEF99(p0) {
711
- inv('0x728491FB3DFFEF99', p0);
667
+ static N_0x1F6EBD94680252CE(p0, p1) {
668
+ inv('0x1F6EBD94680252CE', p0, p1);
712
669
  }
713
670
  /**
714
671
  * @returns
715
672
  */
716
- static isGameplayHintActive() {
717
- return inv('0x2E04AB5FEE042D4A', rai());
673
+ static N_0xB6A80E1E3A5444F1() {
674
+ return inv('0xB6A80E1E3A5444F1');
718
675
  }
719
676
  /**
720
- * @param FOV
677
+ * @returns
721
678
  */
722
- static setGameplayHintFov(FOV) {
723
- inv('0x661E58BC6F00A49A', f(FOV));
679
+ static getGameplayCamRelativeHeading() {
680
+ return inv('0xC4ABF536048998AA', raf());
724
681
  }
725
682
  /**
726
683
  * @param p0
727
684
  */
728
- static N_0xB85C13E0BF1F2A1C(p0) {
729
- inv('0xB85C13E0BF1F2A1C', p0);
685
+ static N_0x1FC6C727D30FFDDE(p0) {
686
+ inv('0x1FC6C727D30FFDDE', p0);
730
687
  }
731
688
  /**
732
689
  * @returns
733
690
  */
734
- static N_0x73FF6BE63DC18819() {
735
- return inv('0x73FF6BE63DC18819');
691
+ static isInCinematicMode() {
692
+ return inv('0x74F1D22EFA71FAB8');
736
693
  }
737
694
  /**
738
- * shakeNames in script_rel: CORRECTOR_SHAKE, MINIGAME_BOUNTY_SHAKE, POV_DRUNK_SHAKE, DRUNK_SHAKE, MINIGAME_TRAIN_SHAKE
739
- * *IS_GAMEPLAY**
695
+ * shakeName: REINFORCED_LASSO_STRUGGLE_SHAKE
696
+ * _RES*
740
697
  *
741
698
  * @param shakeName
742
- * @returns
699
+ * @param intensity
743
700
  */
744
- static N_0x0060B31968E60E41(shakeName) {
745
- return inv('0x0060B31968E60E41', shakeName, rai());
701
+ static N_0xC3E9E5D4F413B773(shakeName, intensity) {
702
+ inv('0xC3E9E5D4F413B773', shakeName, f(intensity));
746
703
  }
747
704
  /**
748
705
  * @param dictionary
749
706
  * @param shotName
750
- * @param duration
751
- * @returns
707
+ * @param cameraName
708
+ * @param p3
752
709
  */
753
- static N_0xC3AEBB276825A359(dictionary, shotName, duration) {
754
- return inv('0xC3AEBB276825A359', dictionary, shotName, duration, rai());
710
+ static cinematicLocationTriggerScriptedShotEvent(dictionary, shotName, cameraName, p3) {
711
+ inv('0x02389579A53C3276', dictionary, shotName, cameraName, p3);
755
712
  }
756
713
  /**
757
- * @param p0
758
- * @param p1
714
+ * @param cameraDictionary
715
+ * @returns
759
716
  */
760
- static setFirstPersonAimCamRelativeHeadingLimitsThisUpdate(p0, p1) {
761
- inv('0x05BD5E4088B30A66', f(p0), f(p1));
717
+ static isCamDataDictLoaded(cameraDictionary) {
718
+ return inv('0xDD0B7C5AE58F721D', cameraDictionary);
762
719
  }
763
720
  /**
764
- * Old name: _DISABLE_CAM_COLLISION_FOR_ENTITY
765
- *
766
- * @param entity
721
+ * Forces camera position to closest 3rd person
767
722
  */
768
- static setGameplayCamIgnoreEntityCollisionThisUpdate(entity) {
769
- inv('0xD904F75DBD7AB865', entity.handle);
723
+ static forceThirdPersonCloseThisFrame() {
724
+ inv('0x718C6ECF5E8CBDD4');
770
725
  }
771
726
  /**
772
- * @returns
727
+ * @param p0
728
+ * @param p1
773
729
  */
774
- static N_0x8B1A5FE7E41E52B2() {
775
- return inv('0x8B1A5FE7E41E52B2');
730
+ static N_0x0FF7125F07DEB84F(p0, p1) {
731
+ inv('0x0FF7125F07DEB84F', p0, p1);
776
732
  }
777
733
  /**
778
- * Forces gameplay cam to specified ped as if you were the ped or spectating it
779
- *
780
- * @param ped
734
+ * @param cameraDictionary
781
735
  */
782
- static setGameplayCamFollowPedThisUpdate(ped) {
783
- inv('0x82E41D6ADE924FCA', ped.handle);
736
+ static create2(cameraDictionary) {
737
+ inv('0x7B0279170961A73F', cameraDictionary);
784
738
  }
785
739
  /**
786
- * @param name
787
- * @param pos
788
- * @param rot
740
+ * Camera will be or is running
789
741
  */
790
- static cinematicLocationSetLocationAndRotation(name, pos, rot) {
791
- inv('0x0E94C95EC3185FA9', name, f(pos.x), f(pos.y), f(pos.z), f(rot.x), f(rot.y), f(rot.z));
742
+ static N_0xC3742F1FDF0A6824() {
743
+ inv('0xC3742F1FDF0A6824');
792
744
  }
793
745
  /**
794
- * @param camInitialPitch
746
+ * @returns
795
747
  */
796
- static setGameplayCamInitialPitch(camInitialPitch) {
797
- inv('0x449995EA846D3FC2', f(camInitialPitch));
748
+ static getRenderingCam() {
749
+ return createFromHandle('Cam', inv('0x03A8931ECC8015D6', rai()));
798
750
  }
799
751
  /**
800
- * Old name: _SET_GAMEPLAY_HINT_ANIM_OFFSETY
801
- *
802
752
  * @param p0
803
753
  */
804
- static setGameplayHintCameraRelativeVerticalOffset(p0) {
805
- inv('0x29E74F819150CC32', f(p0));
754
+ static N_0x8505E05FC8822843(p0) {
755
+ inv('0x8505E05FC8822843', p0);
806
756
  }
807
757
  /**
808
- * Old name: _SET_FIRST_PERSON_CAM_PITCH_RANGE
809
- *
810
758
  * @param p0
811
- * @param p1
812
759
  */
813
- static setFirstPersonAimCamRelativePitchLimitsThisUpdate(p0, p1) {
814
- inv('0x715B7F5E8BED32A2', f(p0), f(p1));
760
+ static N_0x2DD3149DC34A3F4C(p0) {
761
+ inv('0x2DD3149DC34A3F4C', p0);
762
+ }
763
+ static N_0xFC3F638BE2B6BB02() {
764
+ inv('0xFC3F638BE2B6BB02');
815
765
  }
816
766
  /**
817
- * BOOL param indicates whether the cam should be destroyed if it belongs to the calling script.
767
+ * _IS_SCRIPTED_S*
818
768
  *
819
- * @param p0
769
+ * @returns
820
770
  */
821
- static destroyAllCams(p0) {
822
- inv('0x163600D6E136C9F8', p0);
771
+ static N_0x975F6EBB62632FE3() {
772
+ return !!inv('0x975F6EBB62632FE3', rai());
823
773
  }
824
774
  /**
825
- * @param cameraDictionary
775
+ * @param dictionary
776
+ * @param shotName
777
+ * @param duration
778
+ * @returns
826
779
  */
827
- static destroy(cameraDictionary) {
828
- inv('0x0A5A4F1979ABB40E', cameraDictionary);
780
+ static N_0xEA113BF9B0C0C5D7(dictionary, shotName, duration) {
781
+ return inv('0xEA113BF9B0C0C5D7', dictionary, shotName, duration);
829
782
  }
830
783
  /**
784
+ * @param cameraDictionary
831
785
  * @returns
832
786
  */
833
- static getPhotoModeDof() {
834
- return inv('0x4653A741D17F2CD0', raf());
787
+ static N_0xC285FD21294A1C49(cameraDictionary) {
788
+ return !!inv('0xC285FD21294A1C49', cameraDictionary, rai());
789
+ }
790
+ static disableCinematicModeThisFrame() {
791
+ inv('0x8910C24B7E0046EC');
835
792
  }
836
793
  /**
837
- * Checks data related to Cinematic Cam Locations, if the check fails, the location is being loaded using 0x1B3C2D961F5FC0E1.
838
- *
839
- * @param locationDictName
840
- * @returns
794
+ * @param p0
795
+ * @param p1
841
796
  */
842
- static isCinematicCamLocationLoaded2(locationDictName) {
843
- return inv('0x595550376B7EA230', locationDictName, rai());
797
+ static N_0xF48664E9C83825E3(p0, p1) {
798
+ inv('0xF48664E9C83825E3', p0, p1);
844
799
  }
845
800
  /**
846
801
  * @returns
847
802
  */
848
- static isGameplayCamRendering() {
849
- return inv('0x8660EA714834E412', rai());
803
+ static isGameplayCamLookingBehind() {
804
+ return !!inv('0x8FE0D24FFD04D5A2', rai());
850
805
  }
851
806
  /**
807
+ * @param cameraDictionary
852
808
  * @returns
853
809
  */
854
- static N_0xEF9A3132A0AA6B19() {
855
- return inv('0xEF9A3132A0AA6B19');
810
+ static isCameraAvailable(cameraDictionary) {
811
+ return inv('0x927B810E43E99932', cameraDictionary);
856
812
  }
857
813
  /**
858
- * @returns
814
+ * Old name: _DISABLE_VEHICLE_FIRST_PERSON_CAM_THIS_FRAME
859
815
  */
860
- static getGameplayCamCoord() {
861
- return Vector3.fromArray(inv('0x595320200B98596E', rav()));
816
+ static disableCinematicBonnetCameraThisUpdate() {
817
+ inv('0xA5929C2E57AC90D1');
862
818
  }
863
819
  /**
864
- * @param p0
820
+ * NPLOI_UPDATE__GUN_SPINNING_PREVIEW - Adjusting Camera / Ped Reset Flags This Frame
821
+ * *DISABLE**
865
822
  */
866
- static setCinematicButtonActive(p0) {
867
- inv('0xB90411F480457A6C', p0);
823
+ static N_0xA8BA2E0204D8486F() {
824
+ inv('0xA8BA2E0204D8486F');
868
825
  }
869
826
  /**
870
- * @param rotationOrder
871
- * @returns
827
+ * Forces gameplay cam to specified vehicle as if you were in it
828
+ *
829
+ * @param vehicle
830
+ * @param p1
872
831
  */
873
- static getFinalRenderedCamRot(rotationOrder) {
874
- return Vector3.fromArray(inv('0x602685BD85DD26CA', rotationOrder, rav()));
832
+ static setInVehicleCamStateThisUpdate(vehicle, p1) {
833
+ inv('0xFA1D5E8D1C3CCD67', vehicle.handle, p1);
875
834
  }
876
835
  /**
836
+ * @param camName
837
+ * @param pos
838
+ * @param rot
839
+ * @param fov
840
+ * @param p8
841
+ * @param p9
877
842
  * @returns
878
843
  */
879
- static N_0x1811A02277A9E49D() {
880
- return inv('0x1811A02277A9E49D', rai());
844
+ static createCamWithParams(camName, pos, rot, fov, p8, p9) {
845
+ return createFromHandle('Cam', inv('0x40C23491CE83708E', camName, f(pos.x), f(pos.y), f(pos.z), f(rot.x), f(rot.y), f(rot.z), f(fov), p8, p9, rai()));
881
846
  }
882
847
  /**
883
848
  * @returns
884
849
  */
885
- static N_0x80D7A3E39B120BC4() {
886
- return inv('0x80D7A3E39B120BC4');
850
+ static getPhotoModeFocusDistance() {
851
+ return inv('0x18FC740FFDCD7454', raf());
887
852
  }
888
- /**
889
- * Not official name
890
- * This native allows to move the gameplay cam with the given speed, enableSlide will allow to move the cam to the slideOffset, enableZoom will allow to move the cam to the zoomOffset. EXAMPLE:
891
- * Citizen.InvokeNative(0x066167c63111d8cf,1.0, true, -1.0, true, 2.0)
892
- *
893
- * @param camSpeed
894
- * @param enableSlide
895
- * @param slideOffset
896
- * @param enableZoom
897
- * @param zoomOffset
898
- */
899
- static setGameplayCamParamsThisUpdate(camSpeed, enableSlide, slideOffset, enableZoom, zoomOffset) {
900
- inv('0x066167C63111D8CF', f(camSpeed), enableSlide, f(slideOffset), enableZoom, f(zoomOffset));
853
+ static N_0x70A6658D476C6187() {
854
+ inv('0x70A6658D476C6187');
901
855
  }
902
856
  /**
903
- * @param p0
857
+ * @param dictionary
858
+ * @param shotName
859
+ * @param cameraName
860
+ * @returns
904
861
  */
905
- static stopCodeGameplayHint(p0) {
906
- inv('0x93759A83D0D844E7', p0);
862
+ static N_0x1D931B7CC0EE3956(dictionary, shotName, cameraName) {
863
+ return !!inv('0x1D931B7CC0EE3956', dictionary, shotName, cameraName, rai());
864
+ }
865
+ static N_0xCF69EA05CD9C33C9() {
866
+ inv('0xCF69EA05CD9C33C9');
907
867
  }
908
868
  /**
909
869
  * @param camHash
910
- * @param pos
911
- * @param rot
912
- * @param fov
913
- * @param p8
914
- * @param p9
870
+ * @param p1
915
871
  * @returns
916
872
  */
917
- static createCameraWithParams(camHash, pos, rot, fov, p8, p9) {
918
- return createFromHandle('Cam', inv('0x98B99B9F27E2D60B', _h(camHash), f(pos.x), f(pos.y), f(pos.z), f(rot.x), f(rot.y), f(rot.z), f(fov), p8, p9, rai()));
873
+ static createCamera(camHash, p1) {
874
+ return createFromHandle('Cam', inv('0x57CDF879EA466C46', _h(camHash), p1, rai()));
919
875
  }
920
876
  /**
921
- * @param p0
877
+ * Used in Script Function SHOP_CAMERA_SUPPORT_START_NEW_ORBIT
878
+ *
879
+ * @param camInitialZoom
922
880
  */
923
- static setCinematicModeActive(p0) {
924
- inv('0xCE7A90B160F75046', p0);
881
+ static setGameplayCamInitialZoom(camInitialZoom) {
882
+ inv('0xBCDA0BA8762FACB9', f(camInitialZoom));
925
883
  }
926
884
  /**
927
- * Old name: _SET_GAMEPLAY_HINT_ANIM_OFFSETX
885
+ * Only used in R* Script fm_mission_controller
928
886
  *
929
- * @param p0
887
+ * @param name
888
+ * @param entity
930
889
  */
931
- static setGameplayHintCameraRelativeSideOffset(p0) {
932
- inv('0xF86B6F93727C59C9', f(p0));
890
+ static cinematicLocationOverrideTargetEntityThisUpdate(name, entity) {
891
+ inv('0x0B0F914459731F60', name, entity.handle);
933
892
  }
934
893
  /**
935
- * @param p0
894
+ * Used for DUELING_LOCK_CAMERA_CONTROLS_THIS_FRAME: Disabling look/aim controls
895
+ * *IS_SC(REEN*)* (?)
896
+ *
897
+ * @returns
936
898
  */
937
- static N_0x6519238858AF5479(p0) {
938
- inv('0x6519238858AF5479', p0);
899
+ static N_0x1204EB53A5FBC63D() {
900
+ return !!inv('0x1204EB53A5FBC63D', rai());
901
+ }
902
+ static freezeGameplayCamThisFrame() {
903
+ inv('0x027CAB2C3AF27010');
939
904
  }
940
905
  /**
941
- * Sets the camera position relative to heading in float from -360 to +360. Heading is always 0 in aiming camera.
942
- *
943
- * @param heading
944
- * @param p1
906
+ * @returns
945
907
  */
946
- static setGameplayCamRelativeHeading(heading, p1) {
947
- inv('0x5D1EB123EAC5D071', f(heading), f(p1));
908
+ static isInterpolatingFromScriptCams() {
909
+ return !!inv('0x251241CAEC707106', rai());
948
910
  }
949
911
  /**
950
912
  * @param p0
951
- * @param p1
952
913
  */
953
- static N_0x4D2F46D1B28D90FB(p0, p1) {
954
- inv('0x4D2F46D1B28D90FB', p0, p1);
914
+ static N_0x9AC65A36D3C0C189(p0) {
915
+ inv('0x9AC65A36D3C0C189', p0);
955
916
  }
956
917
  /**
957
918
  * @returns
958
919
  */
959
- static getPhotoModeFocalLength() {
960
- return inv('0x2533BAFFBE737E54', raf());
920
+ static N_0xF824530B612FE0CE() {
921
+ return inv('0xF824530B612FE0CE');
961
922
  }
962
923
  /**
963
924
  * @returns
964
925
  */
965
- static N_0x2AB7C81B3F70570C() {
966
- return inv('0x2AB7C81B3F70570C');
926
+ static getFirstPersonAimCamZoomFactor() {
927
+ return inv('0xB4132CA1B0EE1365', raf());
967
928
  }
968
929
  /**
930
+ * @param rotationOrder
969
931
  * @returns
970
932
  */
971
- static isInterpolatingToScriptCams() {
972
- return inv('0x43AB9D5A7D415478', rai());
933
+ static getGameplayCamRot(rotationOrder) {
934
+ return Vector3.fromArray(inv('0x0252D2B5582957A6', rotationOrder, rav()));
973
935
  }
974
936
  /**
937
+ * @param camName
938
+ * @param p1
975
939
  * @returns
976
940
  */
977
- static getFinalRenderedCamFov() {
978
- return inv('0x04AF77971E508F6A', raf());
941
+ static createCam(camName, p1) {
942
+ return createFromHandle('Cam', inv('0xE72CDBA7F0A02DD6', camName, p1, rai()));
979
943
  }
980
944
  /**
981
- * UPDATE_PLAYER_PLAYING_STATE - Releasing Lasso Hint Cam
982
- * Return type char in ida
983
- * *SET_GAMEPLAY_HINT**
945
+ * Fades the screen out. duration: The time the fade should take, in milliseconds.
984
946
  *
985
- * @param p0
947
+ * @param duration
986
948
  */
987
- static N_0x88544C0E3291DCAE(p0) {
988
- inv('0x88544C0E3291DCAE', p0);
949
+ static doScreenFadeOut(duration) {
950
+ inv('0x40C719A5E410B9E4', duration);
989
951
  }
990
952
  /**
991
- * @returns
953
+ * Used for DUELING_MANAGE_DEATH_CAMERA - Initializing death camera
954
+ * Params: targetPed = death cam focuses on it
955
+ *
956
+ * @param targetPed
992
957
  */
993
- static isScreenFadedIn() {
994
- return inv('0x37F9A426FBCF4AF2', rai());
958
+ static forceCinematicDeathCamOnPed(targetPed) {
959
+ inv('0xE3639DB78B3B5400', targetPed.handle);
995
960
  }
996
961
  /**
997
- * Old name: _DISABLE_FIRST_PERSON_CAM_THIS_FRAME
962
+ * @param p0
998
963
  */
999
- static disableOnFootFirstPersonViewThisUpdate() {
1000
- inv('0x9C473089A934C930');
964
+ static N_0xC252C0CC969AF79A(p0) {
965
+ inv('0xC252C0CC969AF79A', p0);
1001
966
  }
1002
- /**
1003
- * Old name: _INVALIDATE_VEHICLE_IDLE_CAM
1004
- */
1005
- static invalidateCinematicVehicleIdleMode() {
1006
- inv('0x634F4A0562CF19B8');
967
+ static N_0x3C486E334520579D() {
968
+ inv('0x3C486E334520579D');
1007
969
  }
1008
970
  /**
1009
- * @param dictionaryName
971
+ * @param dictionary
972
+ * @param shotName
973
+ * @param duration
974
+ * @returns
1010
975
  */
1011
- static unloadCinematicCameraLocation(dictionaryName) {
1012
- inv('0x2412216FCC7B4E3E', dictionaryName);
976
+ static N_0x465F04F68AD38197(dictionary, shotName, duration) {
977
+ return inv('0x465F04F68AD38197', dictionary, shotName, duration);
1013
978
  }
1014
979
  /**
1015
- * @returns
980
+ * @param p0
1016
981
  */
1017
- static isScreenFadedOut() {
1018
- return inv('0xF5472C80DF2FF847', rai());
982
+ static N_0xE2BB2D6A9FE2ECDE(p0) {
983
+ inv('0xE2BB2D6A9FE2ECDE', p0);
1019
984
  }
1020
985
  /**
1021
- * @param dictionary
1022
- * @param shotName
1023
- * @param duration
986
+ * @param cameraDictionary
1024
987
  */
1025
- static N_0xA54D643D0773EB65(dictionary, shotName, duration) {
1026
- inv('0xA54D643D0773EB65', dictionary, shotName, duration);
988
+ static unloadCameraDataDict(cameraDictionary) {
989
+ inv('0x798BE43C9393632B', cameraDictionary);
1027
990
  }
1028
991
  /**
992
+ * @param sLocationDictName
1029
993
  * @returns
1030
994
  */
1031
- static isDeathFailCameraRunning() {
1032
- return inv('0x139EFB0A71DD9011');
995
+ static isCinematicCamLocationLoaded(sLocationDictName) {
996
+ return !!inv('0xAA235E2F2C09E952', sLocationDictName, rai());
1033
997
  }
1034
998
  /**
1035
999
  * @returns
1036
1000
  */
1037
- static N_0xDC62CD70658E7A02() {
1038
- return inv('0xDC62CD70658E7A02');
1001
+ static N_0x450769C833D58844() {
1002
+ return inv('0x450769C833D58844');
1039
1003
  }
1040
1004
  /**
1041
- * p6 & p7 - possibly length or time
1042
- *
1043
- * @param entity
1044
- * @param offset
1005
+ * @param p0
1006
+ * @param p1
1007
+ * @param p2
1008
+ * @param p3
1045
1009
  * @param p4
1046
1010
  * @param p5
1047
- * @param p6
1048
- * @param p7
1049
- * @param p8
1050
1011
  */
1051
- static setGameplayEntityHint(entity, offset, p4, p5, p6, p7, p8) {
1052
- inv('0xD1F7F32640ADFD12', entity.handle, f(offset.x), f(offset.y), f(offset.z), p4, p5, p6, p7, p8);
1012
+ static requestLetterBoxOvertime(p0, p1, p2, p3, p4, p5) {
1013
+ inv('0xE296208C273BD7F0', p0, p1, p2, p3, p4, p5);
1053
1014
  }
1054
1015
  /**
1055
- * Forces camera position to second furthest 3rd person
1016
+ * NPLOI_UPDATE__GUN_SPINNING_PREVIEW - Adjusting Camera / Ped Reset Flags This Frame
1017
+ * *DISABLE**
1056
1018
  */
1057
- static forceThirdPersonCamThisFrame() {
1058
- inv('0x8370D34BD2E60B73');
1019
+ static N_0x0F1FFEF5D54AE832() {
1020
+ inv('0x0F1FFEF5D54AE832');
1059
1021
  }
1060
1022
  /**
1061
- * @param p0
1023
+ * Returns true if player is in first person
1024
+ *
1025
+ * @returns
1062
1026
  */
1063
- static setGameplayHintFollowDistanceScalar(p0) {
1064
- inv('0xDDDC54181868F81F', f(p0));
1027
+ static isInFullFirstPersonMode() {
1028
+ return inv('0xD1BA66940E94C547');
1065
1029
  }
1066
1030
  /**
1067
1031
  * @returns
1068
1032
  */
1069
- static isCamPhotofxRunning() {
1070
- return inv('0xA14D5FE82BCB1D9E');
1033
+ static isFirstPersonAimCamActive() {
1034
+ return !!inv('0xF63134C54B6EC212', rai());
1071
1035
  }
1072
1036
  /**
1073
- * Sets the amplitude for the gameplay (i.e. 3rd or 1st) camera to shake.
1074
- *
1075
- * @param amplitude
1037
+ * @param cameraDictionary
1076
1038
  */
1077
- static setGameplayCamShakeAmplitude(amplitude) {
1078
- inv('0x570E35F5C4A44838', f(amplitude));
1039
+ static N_0xAC77757C05DE9E5A(cameraDictionary) {
1040
+ inv('0xAC77757C05DE9E5A', cameraDictionary);
1079
1041
  }
1080
1042
  /**
1081
- * @param dictionary
1082
- * @param shotName
1083
- * @param duration
1043
+ * @param p0
1084
1044
  */
1085
- static cinematicLocationTriggerScriptedShotEvent2(dictionary, shotName, duration) {
1086
- inv('0xBC016635D6A73B31', dictionary, shotName, duration);
1045
+ static setGameplayCamMaxMotionBlurStrengthThisUpdate(p0) {
1046
+ inv('0x8459B3E64257B21D', f(p0));
1087
1047
  }
1088
1048
  /**
1089
- * Sets the camera pitch. Parameters:
1090
- * x = pitches the camera on the x axis.
1091
- * Value2 = always seems to be hex 0x3F800000 (1.000000 float).
1092
- *
1093
- * @param x
1094
- * @param Value2
1049
+ * @param p0
1050
+ * @param pos1
1051
+ * @param p4
1052
+ * @param p5
1053
+ * @param p6
1054
+ * @param p7
1095
1055
  */
1096
- static setGameplayCamRelativePitch(x, Value2) {
1097
- inv('0xFB760AF4F537B8BF', f(x), f(Value2));
1056
+ static setGameplayPedHint(p0, pos1, p4, p5, p6, p7) {
1057
+ inv('0x90FB951648851733', p0.handle, f(pos1.x), f(pos1.y), f(pos1.z), p4, p5, p6, p7);
1098
1058
  }
1099
1059
  /**
1100
- * Creates Kill Cam for specified Ped Handle
1101
- *
1102
- * @param ped
1060
+ * @returns
1103
1061
  */
1104
- static createKillCam(ped) {
1105
- inv('0x2F994CC29CAA9D22', ped.handle);
1062
+ static getFinalRenderedCamCoord() {
1063
+ return Vector3.fromArray(inv('0x5352E025EC2B416F', rav()));
1106
1064
  }
1107
1065
  /**
1108
- * @param p0
1066
+ * @returns
1109
1067
  */
1110
- static setGameplayHintBaseOrbitPitchOffset(p0) {
1111
- inv('0x421192A2DA48FD01', f(p0));
1068
+ static N_0x8B1A5FE7E41E52B2() {
1069
+ return inv('0x8B1A5FE7E41E52B2');
1112
1070
  }
1113
1071
  /**
1114
- * @param p0
1115
- * @param p1
1116
- * @param p2
1117
- * @param p3
1118
- * @param p4
1119
- * @param p5
1120
- * @param p6
1121
- * @param p7
1072
+ * Forces gameplay cam to specified ped as if you were the ped or spectating it
1073
+ *
1074
+ * @param ped
1122
1075
  */
1123
- static setGameplayObjectHint(p0, p1, p2, p3, p4, p5, p6, p7) {
1124
- inv('0xC40551D65F2BF297', p0, f(p1), f(p2), f(p3), p4, p5, p6, p7);
1076
+ static setGameplayCamFollowPedThisUpdate(ped) {
1077
+ inv('0x82E41D6ADE924FCA', ped.handle);
1125
1078
  }
1126
1079
  /**
1127
- * Forces camera position to furthest 3rd person
1080
+ * @param name
1081
+ * @param pos
1082
+ * @param rot
1128
1083
  */
1129
- static forceThirdPersonCamFarThisFrame() {
1130
- inv('0x1CFB749AD4317BDE');
1084
+ static cinematicLocationSetLocationAndRotation(name, pos, rot) {
1085
+ inv('0x0E94C95EC3185FA9', name, f(pos.x), f(pos.y), f(pos.z), f(rot.x), f(rot.y), f(rot.z));
1131
1086
  }
1132
1087
  /**
1133
- * Used to enable headshot kill replay when you headshot set ped.
1134
- * Params: p1 seems to be 0 or 1 in R* Scripts
1135
- *
1136
- * @param ped
1137
- * @param p1
1088
+ * @param camInitialPitch
1138
1089
  */
1139
- static reactivatePedHeadshotExecuteSlowcam(ped, p1) {
1140
- inv('0x986F7A51EE3E1F92', ped.handle, p1);
1141
- }
1142
- static N_0x641092322A8852AB() {
1143
- inv('0x641092322A8852AB');
1090
+ static setGameplayCamInitialPitch(camInitialPitch) {
1091
+ inv('0x449995EA846D3FC2', f(camInitialPitch));
1144
1092
  }
1145
- static triggerMissionFailedCam() {
1146
- inv('0x9A92C06ACBAF9731');
1093
+ /**
1094
+ * Old name: _SET_GAMEPLAY_HINT_ANIM_OFFSETY
1095
+ *
1096
+ * @param p0
1097
+ */
1098
+ static setGameplayHintCameraRelativeVerticalOffset(p0) {
1099
+ inv('0x29E74F819150CC32', f(p0));
1147
1100
  }
1148
1101
  /**
1149
- * @param locationDictName
1102
+ * Old name: _SET_FIRST_PERSON_CAM_PITCH_RANGE
1103
+ *
1104
+ * @param p0
1105
+ * @param p1
1150
1106
  */
1151
- static loadCinematicCamLocation(locationDictName) {
1152
- inv('0x1B3C2D961F5FC0E1', locationDictName);
1107
+ static setFirstPersonAimCamRelativePitchLimitsThisUpdate(p0, p1) {
1108
+ inv('0x715B7F5E8BED32A2', f(p0), f(p1));
1153
1109
  }
1154
1110
  /**
1155
- * _SET_GAMEPLAY_P* - _SET_GAMEPLAY_V*
1111
+ * BOOL param indicates whether the cam should be destroyed if it belongs to the calling script.
1156
1112
  *
1157
- * @param shakeName
1158
- * @param intensity
1113
+ * @param p0
1159
1114
  */
1160
- static N_0xFEFDDC6E8FDF8A75(shakeName, intensity) {
1161
- inv('0xFEFDDC6E8FDF8A75', shakeName, f(intensity));
1115
+ static destroyAllCams(p0) {
1116
+ inv('0x163600D6E136C9F8', p0);
1117
+ }
1118
+ /**
1119
+ * @param cameraDictionary
1120
+ */
1121
+ static destroy(cameraDictionary) {
1122
+ inv('0x0A5A4F1979ABB40E', cameraDictionary);
1162
1123
  }
1163
1124
  /**
1164
1125
  * @returns
1165
1126
  */
1166
- static N_0x5060FA977CEA4455() {
1167
- return inv('0x5060FA977CEA4455');
1127
+ static getPhotoModeDof() {
1128
+ return inv('0x4653A741D17F2CD0', raf());
1168
1129
  }
1169
1130
  /**
1170
- * [SHOP_CAMERA_SUPPORT_START_NEW_ORBIT]
1171
- * p0: struct<32> /*256*\/
1131
+ * Checks data related to Cinematic Cam Locations, if the check fails, the location is being loaded using 0x1B3C2D961F5FC0E1.
1172
1132
  *
1173
- * @returns p0
1133
+ * @param locationDictName
1134
+ * @returns
1174
1135
  */
1175
- static startCameraOrbit() {
1176
- const result = inv('0x65B205BF30C13DDB', pvi());
1177
- return result;
1136
+ static isCinematicCamLocationLoaded2(locationDictName) {
1137
+ return !!inv('0x595550376B7EA230', locationDictName, rai());
1178
1138
  }
1179
1139
  /**
1180
- * @param p0
1181
- * @param p1
1140
+ * @returns
1182
1141
  */
1183
- static setWidescreenBorders(p0, p1) {
1184
- inv('0xD7F4D54CF80AFA34', p0, p1);
1142
+ static isGameplayCamRendering() {
1143
+ return !!inv('0x8660EA714834E412', rai());
1185
1144
  }
1186
- static N_0x06557F6D96C86881() {
1187
- inv('0x06557F6D96C86881');
1145
+ /**
1146
+ * @returns
1147
+ */
1148
+ static N_0xEF9A3132A0AA6B19() {
1149
+ return inv('0xEF9A3132A0AA6B19');
1188
1150
  }
1189
1151
  /**
1190
- * minimum: Degrees between -180f and 180f.
1191
- * maximum: Degrees between -180f and 180f. Clamps the gameplay camera's current yaw. Eg. _CLAMP_GAMEPLAY_CAM_YAW(0.0f, 0.0f) will set the horizontal angle directly behind the player. Old name: _CLAMP_GAMEPLAY_CAM_YAW
1192
- *
1193
- * @param minimum
1194
- * @param maximum
1152
+ * @returns
1195
1153
  */
1196
- static setThirdPersonCamRelativeHeadingLimitsThisUpdate(minimum, maximum) {
1197
- inv('0x14F3947318CA8AD2', f(minimum), f(maximum));
1154
+ static getGameplayCamCoord() {
1155
+ return Vector3.fromArray(inv('0x595320200B98596E', rav()));
1198
1156
  }
1199
1157
  /**
1200
1158
  * @param p0
1201
1159
  */
1202
- static N_0xDF7F5BE9150E47E4(p0) {
1203
- inv('0xDF7F5BE9150E47E4', p0);
1160
+ static setCinematicButtonActive(p0) {
1161
+ inv('0xB90411F480457A6C', p0);
1204
1162
  }
1205
- static N_0x04084490CC302CFB() {
1206
- inv('0x04084490CC302CFB');
1163
+ /**
1164
+ * @param rotationOrder
1165
+ * @returns
1166
+ */
1167
+ static getFinalRenderedCamRot(rotationOrder) {
1168
+ return Vector3.fromArray(inv('0x602685BD85DD26CA', rotationOrder, rav()));
1207
1169
  }
1208
1170
  /**
1209
- * @param p0
1171
+ * @returns
1210
1172
  */
1211
- static stopGameplayCamShaking(p0) {
1212
- inv('0xE0DE43D290FB65F9', p0);
1173
+ static N_0x1811A02277A9E49D() {
1174
+ return !!inv('0x1811A02277A9E49D', rai());
1213
1175
  }
1214
1176
  /**
1215
- * Creates Cinematic Black Bars (at top and bottom)
1216
- * Disable instantly: false/false, Enable instantly: true/true
1177
+ * @returns
1178
+ */
1179
+ static N_0x80D7A3E39B120BC4() {
1180
+ return inv('0x80D7A3E39B120BC4');
1181
+ }
1182
+ /**
1183
+ * Not official name
1184
+ * This native allows to move the gameplay cam with the given speed, enableSlide will allow to move the cam to the slideOffset, enableZoom will allow to move the cam to the zoomOffset. EXAMPLE:
1185
+ * Citizen.InvokeNative(0x066167c63111d8cf,1.0, true, -1.0, true, 2.0)
1217
1186
  *
1218
- * @param p0
1219
- * @param p1
1187
+ * @param camSpeed
1188
+ * @param enableSlide
1189
+ * @param slideOffset
1190
+ * @param enableZoom
1191
+ * @param zoomOffset
1220
1192
  */
1221
- static requestLetterBoxNow(p0, p1) {
1222
- inv('0x69D65E89FFD72313', p0, p1);
1193
+ static setGameplayCamParamsThisUpdate(camSpeed, enableSlide, slideOffset, enableZoom, zoomOffset) {
1194
+ inv('0x066167C63111D8CF', f(camSpeed), enableSlide, f(slideOffset), enableZoom, f(zoomOffset));
1223
1195
  }
1224
1196
  /**
1225
- * @param entity
1197
+ * @param p0
1226
1198
  */
1227
- static disableCamCollisionForObject(entity) {
1228
- inv('0x7E3F546ACFE6C8D9', entity.handle);
1199
+ static stopCodeGameplayHint(p0) {
1200
+ inv('0x93759A83D0D844E7', p0);
1229
1201
  }
1230
1202
  /**
1203
+ * @param camHash
1204
+ * @param pos
1205
+ * @param rot
1206
+ * @param fov
1207
+ * @param p8
1208
+ * @param p9
1231
1209
  * @returns
1232
1210
  */
1233
- static getGameplayCamFov() {
1234
- return inv('0xF6A96E5ACEEC6E50', raf());
1211
+ static createCameraWithParams(camHash, pos, rot, fov, p8, p9) {
1212
+ return createFromHandle('Cam', inv('0x98B99B9F27E2D60B', _h(camHash), f(pos.x), f(pos.y), f(pos.z), f(rot.x), f(rot.y), f(rot.z), f(fov), p8, p9, rai()));
1235
1213
  }
1236
1214
  /**
1237
- * Fades the screen in. duration: The time the fade should take, in milliseconds.
1238
- *
1239
- * @param duration
1215
+ * @param p0
1240
1216
  */
1241
- static doScreenFadeIn(duration) {
1242
- inv('0x6A053CF596F67DF7', duration);
1217
+ static setCinematicModeActive(p0) {
1218
+ inv('0xCE7A90B160F75046', p0);
1243
1219
  }
1244
1220
  /**
1245
- * script_rel: DRUNK_SHAKE, REINFORCED_LASSO_STRUGGLE_SHAKE, CORRECTOR_SHAKE, MINIGAME_BOUNTY_SHAKE, HAND_SHAKE, MINIGAME_TRAIN_SHAKE
1246
- * script_mp_rel: DRUNK_SHAKE, REINFORCED_LASSO_STRUGGLE_SHAKE
1247
- * _STOP_GAMEPLAY_CAM* - _STOP_I*
1221
+ * Old name: _SET_GAMEPLAY_HINT_ANIM_OFFSETX
1248
1222
  *
1249
- * @param shakeName
1250
- * @param p1
1223
+ * @param p0
1251
1224
  */
1252
- static stopGameplayCamShakingWithName(shakeName, p1) {
1253
- inv('0x4285804FD65D8066', shakeName, p1);
1225
+ static setGameplayHintCameraRelativeSideOffset(p0) {
1226
+ inv('0xF86B6F93727C59C9', f(p0));
1254
1227
  }
1255
1228
  /**
1256
- * @param cameraDictionary
1229
+ * @param p0
1257
1230
  */
1258
- static loadCameraDataDict(cameraDictionary) {
1259
- inv('0x6A4D224FC7643941', cameraDictionary);
1231
+ static N_0x6519238858AF5479(p0) {
1232
+ inv('0x6519238858AF5479', p0);
1260
1233
  }
1261
1234
  /**
1262
- * Does the same as 0x9C473089A934C930 (DISABLE_ON_FOOT_FIRST_PERSON_VIEW_THIS_UPDATE)
1235
+ * Sets the camera position relative to heading in float from -360 to +360. Heading is always 0 in aiming camera.
1236
+ *
1237
+ * @param heading
1238
+ * @param p1
1263
1239
  */
1264
- static disableOnFootFirstPersonViewThisUpdate2() {
1265
- inv('0x05AB44D906738426');
1266
- }
1267
- static N_0xF1A6FEEDF3776EF9() {
1268
- inv('0xF1A6FEEDF3776EF9');
1240
+ static setGameplayCamRelativeHeading(heading, p1) {
1241
+ inv('0x5D1EB123EAC5D071', f(heading), f(p1));
1269
1242
  }
1270
1243
  /**
1271
- * Old name: _ANIMATE_GAMEPLAY_CAM_ZOOM
1272
- *
1273
1244
  * @param p0
1274
- * @param distance
1245
+ * @param p1
1275
1246
  */
1276
- static setThirdPersonCamOrbitDistanceLimitsThisUpdate(p0, distance) {
1277
- inv('0x2126C740A4AC370B', f(p0), f(distance));
1247
+ static N_0x4D2F46D1B28D90FB(p0, p1) {
1248
+ inv('0x4D2F46D1B28D90FB', p0, p1);
1278
1249
  }
1279
1250
  /**
1280
- * More info: see HAS_LETTER_BOX
1281
- *
1282
1251
  * @returns
1283
1252
  */
1284
- static getLetterBoxRatio() {
1285
- return inv('0xA2B1C7EF759A63CE', raf());
1253
+ static getPhotoModeFocalLength() {
1254
+ return inv('0x2533BAFFBE737E54', raf());
1286
1255
  }
1287
1256
  /**
1288
1257
  * @returns
1289
1258
  */
1290
- static N_0x7CE9DC58E3E4755F() {
1291
- return inv('0x7CE9DC58E3E4755F');
1259
+ static N_0x2AB7C81B3F70570C() {
1260
+ return inv('0x2AB7C81B3F70570C');
1261
+ }
1262
+ static forceLetterBoxThisUpdate() {
1263
+ inv('0xC64ABC0676AF262B');
1292
1264
  }
1293
1265
  /**
1294
1266
  * @param p0
1295
1267
  * @param p1
1268
+ * @param p2
1269
+ * @param p3
1270
+ * @param p4
1271
+ * @param p5
1272
+ * @param p6
1273
+ * @param p7
1296
1274
  */
1297
- static N_0xFEB8646818294C75(p0, p1) {
1298
- inv('0xFEB8646818294C75', p0, p1);
1275
+ static setGameplayVehicleHint(p0, p1, p2, p3, p4, p5, p6, p7) {
1276
+ inv('0xE2B2BB7DAC280515', p0, f(p1), f(p2), f(p3), p4, p5, p6, p7);
1299
1277
  }
1300
1278
  /**
1279
+ * Used for DUELING_MANAGE_DEATH_CAMERA - Initializing death camera
1280
+ * _SET_P* - _SET_S*
1281
+ *
1301
1282
  * @param p0
1302
1283
  */
1303
- static N_0xDB382FE20C2DA222(p0) {
1304
- inv('0xDB382FE20C2DA222', p0);
1284
+ static setStartCinematicDeathCam(p0) {
1285
+ inv('0x6E969927CF632608', p0);
1286
+ }
1287
+ static N_0x6CAB0BA160B168D2() {
1288
+ inv('0x6CAB0BA160B168D2');
1305
1289
  }
1306
1290
  /**
1307
- * @param p0
1291
+ * @returns
1308
1292
  */
1309
- static N_0x29E6655DF3590B0D(p0) {
1310
- inv('0x29E6655DF3590B0D', p0);
1293
+ static isScreenFadingOut() {
1294
+ return !!inv('0x02F39BEFE7B88D00', rai());
1311
1295
  }
1312
1296
  /**
1313
- * @param pos
1314
- * @param radius
1297
+ * @param p0
1298
+ * @param p1
1315
1299
  * @returns
1316
1300
  */
1317
- static isSphereVisible(pos, radius) {
1318
- return inv('0x2E941B5FFA2989C6', f(pos.x), f(pos.y), f(pos.z), f(radius), rai());
1301
+ static N_0x4138EE36BC3DC0A7(p0, p1) {
1302
+ return inv('0x4138EE36BC3DC0A7', p0, p1);
1319
1303
  }
1320
1304
  /**
1321
- * @param camInitialHeading
1305
+ * nullsub, doesn't do anything
1322
1306
  */
1323
- static setGameplayCamInitialHeading(camInitialHeading) {
1324
- inv('0x6C1053C433A573CF', f(camInitialHeading));
1307
+ static disableFirstPersonFlashEffectThisUpdate() {
1308
+ inv('0x77D65669A05D1A1A');
1325
1309
  }
1326
1310
  /**
1327
- * @param p0
1311
+ * Returns true if first person camera is active in saloon1.ysc
1312
+ *
1313
+ * @returns
1328
1314
  */
1329
- static stopGameplayHint(p0) {
1330
- inv('0x1BCEC33D54CFCA8A', p0);
1315
+ static forceFirstPersonCamThisFrame() {
1316
+ return inv('0x90DA5BA5C2635416');
1317
+ }
1318
+ static N_0x18C3DFAC458783BB() {
1319
+ inv('0x18C3DFAC458783BB');
1320
+ }
1321
+ static N_0x16E9ABDD34DDD931() {
1322
+ inv('0x16E9ABDD34DDD931');
1331
1323
  }
1332
1324
  /**
1333
- * @param p0
1325
+ * @param cameraDictionary
1334
1326
  */
1335
- static N_0x0961B089947BA6D0(p0) {
1336
- inv('0x0961B089947BA6D0', p0);
1327
+ static create(cameraDictionary) {
1328
+ inv('0xB8B207C34285E978', cameraDictionary);
1337
1329
  }
1338
1330
  /**
1339
- * minimum: Degrees between -90f and 90f.
1340
- * maximum: Degrees between -90f and 90f. Clamps the gameplay camera's current pitch. Eg. _CLAMP_GAMEPLAY_CAM_PITCH(0.0f, 0.0f) will set the vertical angle directly behind the player. Old name: _CLAMP_GAMEPLAY_CAM_PITCH
1341
- *
1342
- * @param minimum
1343
- * @param maximum
1331
+ * @param p0
1344
1332
  */
1345
- static setThirdPersonCamRelativePitchLimitsThisUpdate(minimum, maximum) {
1346
- inv('0x326C7AA308F3DF6A', f(minimum), f(maximum));
1333
+ static N_0x5B637D6F3B67716A(p0) {
1334
+ inv('0x5B637D6F3B67716A', p0);
1347
1335
  }
1348
1336
  /**
1349
1337
  * @returns
1350
1338
  */
1351
- static N_0x6072B7420A83A03F() {
1352
- return inv('0x6072B7420A83A03F');
1339
+ static isCinematicCamRendering() {
1340
+ return !!inv('0xBF7C780731AADBF8', rai());
1353
1341
  }
1354
1342
  /**
1355
1343
  * @param p0
1356
1344
  */
1357
- static N_0xC205B3C54C6A4E37(p0) {
1358
- inv('0xC205B3C54C6A4E37', p0);
1345
+ static setScriptedCameraIsFirstPersonThisFrame(p0) {
1346
+ inv('0x1DD95A8D6B24A0C9', p0);
1347
+ }
1348
+ /**
1349
+ * @param p0
1350
+ * @param p1
1351
+ * @param p2
1352
+ * @returns
1353
+ */
1354
+ static isFirstPersonCameraActive(p0, p1, p2) {
1355
+ return !!inv('0xA24C1D341C6E0D53', p0, p1, p2, rai());
1356
+ }
1357
+ static N_0x3C8F74E8FE751614() {
1358
+ inv('0x3C8F74E8FE751614');
1359
1359
  }
1360
1360
  }