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