@nativewrappers/redm-codegen 0.0.2 → 0.0.3

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