@nativewrappers/redm-codegen 0.0.2 → 0.0.4

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 (248) hide show
  1. package/dist/classes/AnimScene.d.ts +101 -101
  2. package/dist/classes/AnimScene.d.ts.map +1 -1
  3. package/dist/classes/AnimScene.js +147 -147
  4. package/dist/classes/BaseModel.d.ts +12 -12
  5. package/dist/classes/BaseModel.d.ts.map +1 -1
  6. package/dist/classes/BaseModel.js +18 -18
  7. package/dist/classes/BaseTask.d.ts +22 -22
  8. package/dist/classes/BaseTask.d.ts.map +1 -1
  9. package/dist/classes/BaseTask.js +29 -29
  10. package/dist/classes/Cam.d.ts +86 -86
  11. package/dist/classes/Cam.d.ts.map +1 -1
  12. package/dist/classes/Cam.js +116 -116
  13. package/dist/classes/Entity.d.ts +426 -425
  14. package/dist/classes/Entity.d.ts.map +1 -1
  15. package/dist/classes/Entity.js +594 -589
  16. package/dist/classes/Interior.d.ts +1 -1
  17. package/dist/classes/Interior.d.ts.map +1 -1
  18. package/dist/classes/Ped.d.ts +13 -12
  19. package/dist/classes/Ped.d.ts.map +1 -1
  20. package/dist/classes/Ped.js +5 -0
  21. package/dist/classes/PedTask.d.ts +729 -729
  22. package/dist/classes/PedTask.d.ts.map +1 -1
  23. package/dist/classes/PedTask.js +951 -951
  24. package/dist/classes/PersChar.d.ts +11 -11
  25. package/dist/classes/PersChar.d.ts.map +1 -1
  26. package/dist/classes/PersChar.js +17 -17
  27. package/dist/classes/Pickup.d.ts +3 -3
  28. package/dist/classes/Pickup.d.ts.map +1 -1
  29. package/dist/classes/Pickup.js +7 -7
  30. package/dist/classes/Player.d.ts +164 -164
  31. package/dist/classes/Player.d.ts.map +1 -1
  32. package/dist/classes/Player.js +218 -218
  33. package/dist/classes/Prop.d.ts +87 -86
  34. package/dist/classes/Prop.d.ts.map +1 -1
  35. package/dist/classes/Prop.js +131 -126
  36. package/dist/classes/PropSet.d.ts +18 -18
  37. package/dist/classes/PropSet.d.ts.map +1 -1
  38. package/dist/classes/PropSet.js +25 -25
  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 +18 -18
  43. package/dist/classes/VehicleTask.d.ts.map +1 -1
  44. package/dist/classes/VehicleTask.js +26 -26
  45. package/dist/classes/Volume.d.ts +1 -1
  46. package/dist/classes/Volume.d.ts.map +1 -1
  47. package/dist/classes/Weapon.d.ts +277 -277
  48. package/dist/classes/Weapon.d.ts.map +1 -1
  49. package/dist/classes/Weapon.js +398 -398
  50. package/dist/namespaces/Aitransport.d.ts +77 -77
  51. package/dist/namespaces/Aitransport.d.ts.map +1 -1
  52. package/dist/namespaces/Aitransport.js +94 -94
  53. package/dist/namespaces/Animscene.d.ts +51 -51
  54. package/dist/namespaces/Animscene.d.ts.map +1 -1
  55. package/dist/namespaces/Animscene.js +69 -69
  56. package/dist/namespaces/Audio.d.ts +2 -2
  57. package/dist/namespaces/Audio.d.ts.map +1 -1
  58. package/dist/namespaces/Bounty.d.ts +57 -57
  59. package/dist/namespaces/Bounty.d.ts.map +1 -1
  60. package/dist/namespaces/Bounty.js +90 -90
  61. package/dist/namespaces/Brain.d.ts +15 -15
  62. package/dist/namespaces/Brain.d.ts.map +1 -1
  63. package/dist/namespaces/Brain.js +20 -20
  64. package/dist/namespaces/CamStatics.d.ts +317 -317
  65. package/dist/namespaces/CamStatics.d.ts.map +1 -1
  66. package/dist/namespaces/CamStatics.js +449 -449
  67. package/dist/namespaces/Collection.d.ts +13 -13
  68. package/dist/namespaces/Collection.d.ts.map +1 -1
  69. package/dist/namespaces/Collection.js +8 -8
  70. package/dist/namespaces/Companion.d.ts +22 -22
  71. package/dist/namespaces/Companion.d.ts.map +1 -1
  72. package/dist/namespaces/Companion.js +30 -30
  73. package/dist/namespaces/Compendium.d.ts +60 -60
  74. package/dist/namespaces/Compendium.d.ts.map +1 -1
  75. package/dist/namespaces/Compendium.js +80 -80
  76. package/dist/namespaces/Crashlog.d.ts +10 -10
  77. package/dist/namespaces/Crashlog.d.ts.map +1 -1
  78. package/dist/namespaces/Crashlog.js +14 -14
  79. package/dist/namespaces/Databinding.d.ts +173 -173
  80. package/dist/namespaces/Databinding.d.ts.map +1 -1
  81. package/dist/namespaces/Databinding.js +263 -263
  82. package/dist/namespaces/Dlc.d.ts +5 -5
  83. package/dist/namespaces/Dlc.d.ts.map +1 -1
  84. package/dist/namespaces/Dlc.js +9 -9
  85. package/dist/namespaces/EntityStatics.d.ts +178 -178
  86. package/dist/namespaces/EntityStatics.d.ts.map +1 -1
  87. package/dist/namespaces/EntityStatics.js +242 -242
  88. package/dist/namespaces/Event.d.ts +62 -62
  89. package/dist/namespaces/Event.d.ts.map +1 -1
  90. package/dist/namespaces/Event.js +82 -82
  91. package/dist/namespaces/Fire.d.ts +7 -7
  92. package/dist/namespaces/Fire.d.ts.map +1 -1
  93. package/dist/namespaces/Fire.js +9 -9
  94. package/dist/namespaces/Graphics.d.ts +797 -797
  95. package/dist/namespaces/Graphics.d.ts.map +1 -1
  96. package/dist/namespaces/Graphics.js +1095 -1095
  97. package/dist/namespaces/Hud.d.ts +477 -477
  98. package/dist/namespaces/Hud.d.ts.map +1 -1
  99. package/dist/namespaces/Hud.js +721 -721
  100. package/dist/namespaces/InteriorStatics.d.ts +2 -2
  101. package/dist/namespaces/InteriorStatics.d.ts.map +1 -1
  102. package/dist/namespaces/Inventory.d.ts +216 -216
  103. package/dist/namespaces/Inventory.d.ts.map +1 -1
  104. package/dist/namespaces/Inventory.js +301 -301
  105. package/dist/namespaces/Itemdatabase.d.ts +8 -8
  106. package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
  107. package/dist/namespaces/Itemdatabase.js +7 -7
  108. package/dist/namespaces/Law.d.ts +2 -2
  109. package/dist/namespaces/Law.d.ts.map +1 -1
  110. package/dist/namespaces/Map.d.ts +65 -65
  111. package/dist/namespaces/Map.d.ts.map +1 -1
  112. package/dist/namespaces/Map.js +91 -91
  113. package/dist/namespaces/Minigame.d.ts +17 -17
  114. package/dist/namespaces/Minigame.d.ts.map +1 -1
  115. package/dist/namespaces/Minigame.js +25 -25
  116. package/dist/namespaces/Misc.d.ts +5 -5
  117. package/dist/namespaces/Misc.d.ts.map +1 -1
  118. package/dist/namespaces/Missiondata.d.ts +3 -3
  119. package/dist/namespaces/Missiondata.d.ts.map +1 -1
  120. package/dist/namespaces/Netshopping.d.ts +1 -1
  121. package/dist/namespaces/Netshopping.d.ts.map +1 -1
  122. package/dist/namespaces/Network.d.ts +1302 -1310
  123. package/dist/namespaces/Network.d.ts.map +1 -1
  124. package/dist/namespaces/Network.js +1910 -1918
  125. package/dist/namespaces/Object.d.ts +170 -170
  126. package/dist/namespaces/Object.d.ts.map +1 -1
  127. package/dist/namespaces/Object.js +232 -232
  128. package/dist/namespaces/Pad.d.ts +103 -103
  129. package/dist/namespaces/Pad.d.ts.map +1 -1
  130. package/dist/namespaces/Pad.js +134 -134
  131. package/dist/namespaces/PedStatics.d.ts +3 -3
  132. package/dist/namespaces/PedStatics.d.ts.map +1 -1
  133. package/dist/namespaces/Perschar.d.ts +71 -71
  134. package/dist/namespaces/Perschar.d.ts.map +1 -1
  135. package/dist/namespaces/Perschar.js +106 -106
  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/PlayerStatics.d.ts +52 -52
  140. package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
  141. package/dist/namespaces/PlayerStatics.js +71 -71
  142. package/dist/namespaces/Population.d.ts +3 -3
  143. package/dist/namespaces/Population.d.ts.map +1 -1
  144. package/dist/namespaces/Posse.d.ts +28 -28
  145. package/dist/namespaces/Posse.d.ts.map +1 -1
  146. package/dist/namespaces/Posse.js +44 -44
  147. package/dist/namespaces/Propset.d.ts +59 -59
  148. package/dist/namespaces/Propset.d.ts.map +1 -1
  149. package/dist/namespaces/Propset.js +81 -81
  150. package/dist/namespaces/Scripts.d.ts +3 -3
  151. package/dist/namespaces/Scripts.d.ts.map +1 -1
  152. package/dist/namespaces/Socialclub.d.ts +1 -1
  153. package/dist/namespaces/Socialclub.d.ts.map +1 -1
  154. package/dist/namespaces/Stats.d.ts +85 -85
  155. package/dist/namespaces/Stats.d.ts.map +1 -1
  156. package/dist/namespaces/Stats.js +113 -113
  157. package/dist/namespaces/Streaming.d.ts +35 -35
  158. package/dist/namespaces/Streaming.d.ts.map +1 -1
  159. package/dist/namespaces/Streaming.js +53 -53
  160. package/dist/namespaces/Task.d.ts +367 -367
  161. package/dist/namespaces/Task.d.ts.map +1 -1
  162. package/dist/namespaces/Task.js +508 -508
  163. package/dist/namespaces/Telemetry.d.ts +198 -198
  164. package/dist/namespaces/Telemetry.d.ts.map +1 -1
  165. package/dist/namespaces/Telemetry.js +274 -274
  166. package/dist/namespaces/Uiapps.d.ts +24 -24
  167. package/dist/namespaces/Uiapps.d.ts.map +1 -1
  168. package/dist/namespaces/Uiapps.js +33 -33
  169. package/dist/namespaces/Uistickyfeed.d.ts +16 -16
  170. package/dist/namespaces/Uistickyfeed.d.ts.map +1 -1
  171. package/dist/namespaces/Uistickyfeed.js +21 -21
  172. package/dist/namespaces/VehicleStatics.d.ts +2 -2
  173. package/dist/namespaces/VehicleStatics.d.ts.map +1 -1
  174. package/dist/namespaces/Water.d.ts +27 -27
  175. package/dist/namespaces/Water.d.ts.map +1 -1
  176. package/dist/namespaces/Water.js +41 -41
  177. package/dist/namespaces/WeaponStatics.d.ts +250 -250
  178. package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
  179. package/dist/namespaces/WeaponStatics.js +372 -372
  180. package/dist/namespaces/Zone.d.ts +8 -8
  181. package/dist/namespaces/Zone.d.ts.map +1 -1
  182. package/dist/namespaces/Zone.js +9 -9
  183. package/package.json +1 -1
  184. package/src/classes/AnimScene.ts +170 -170
  185. package/src/classes/BaseModel.ts +21 -21
  186. package/src/classes/BaseTask.ts +31 -31
  187. package/src/classes/Cam.ts +124 -124
  188. package/src/classes/Entity.ts +619 -614
  189. package/src/classes/Interior.ts +1 -1
  190. package/src/classes/Ped.ts +17 -12
  191. package/src/classes/PedTask.ts +1011 -1011
  192. package/src/classes/PersChar.ts +19 -19
  193. package/src/classes/Pickup.ts +8 -8
  194. package/src/classes/Player.ts +227 -227
  195. package/src/classes/Prop.ts +146 -141
  196. package/src/classes/PropSet.ts +29 -29
  197. package/src/classes/Vehicle.ts +5 -0
  198. package/src/classes/VehicleTask.ts +30 -30
  199. package/src/classes/Volume.ts +1 -1
  200. package/src/classes/Weapon.ts +414 -414
  201. package/src/namespaces/Aitransport.ts +102 -102
  202. package/src/namespaces/Animscene.ts +78 -78
  203. package/src/namespaces/Audio.ts +2 -2
  204. package/src/namespaces/Bounty.ts +102 -102
  205. package/src/namespaces/Brain.ts +22 -22
  206. package/src/namespaces/CamStatics.ts +501 -501
  207. package/src/namespaces/Collection.ts +16 -16
  208. package/src/namespaces/Companion.ts +34 -34
  209. package/src/namespaces/Compendium.ts +93 -93
  210. package/src/namespaces/Crashlog.ts +16 -16
  211. package/src/namespaces/Databinding.ts +280 -280
  212. package/src/namespaces/Dlc.ts +9 -9
  213. package/src/namespaces/EntityStatics.ts +249 -249
  214. package/src/namespaces/Event.ts +92 -92
  215. package/src/namespaces/Fire.ts +10 -10
  216. package/src/namespaces/Graphics.ts +1155 -1155
  217. package/src/namespaces/Hud.ts +763 -763
  218. package/src/namespaces/InteriorStatics.ts +2 -2
  219. package/src/namespaces/Inventory.ts +321 -321
  220. package/src/namespaces/Itemdatabase.ts +11 -11
  221. package/src/namespaces/Law.ts +2 -2
  222. package/src/namespaces/Map.ts +104 -104
  223. package/src/namespaces/Minigame.ts +29 -29
  224. package/src/namespaces/Misc.ts +5 -5
  225. package/src/namespaces/Missiondata.ts +3 -3
  226. package/src/namespaces/Netshopping.ts +1 -1
  227. package/src/namespaces/Network.ts +1921 -1929
  228. package/src/namespaces/Object.ts +237 -237
  229. package/src/namespaces/Pad.ts +151 -151
  230. package/src/namespaces/PedStatics.ts +3 -3
  231. package/src/namespaces/Perschar.ts +116 -116
  232. package/src/namespaces/Persistence.ts +48 -48
  233. package/src/namespaces/PlayerStatics.ts +75 -75
  234. package/src/namespaces/Population.ts +3 -3
  235. package/src/namespaces/Posse.ts +47 -47
  236. package/src/namespaces/Propset.ts +92 -92
  237. package/src/namespaces/Scripts.ts +3 -3
  238. package/src/namespaces/Socialclub.ts +1 -1
  239. package/src/namespaces/Stats.ts +129 -129
  240. package/src/namespaces/Streaming.ts +62 -62
  241. package/src/namespaces/Task.ts +538 -538
  242. package/src/namespaces/Telemetry.ts +295 -295
  243. package/src/namespaces/Uiapps.ts +39 -39
  244. package/src/namespaces/Uistickyfeed.ts +23 -23
  245. package/src/namespaces/VehicleStatics.ts +2 -2
  246. package/src/namespaces/Water.ts +47 -47
  247. package/src/namespaces/WeaponStatics.ts +394 -394
  248. package/src/namespaces/Zone.ts +11 -11
@@ -3,99 +3,109 @@ 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
+ * @returns
22
27
  */
23
- static unloadCameraDataDict(cameraDictionary) {
24
- inv('0x798BE43C9393632B', cameraDictionary);
28
+ static N_0x14C4A49E36C29E49() {
29
+ return inv('0x14C4A49E36C29E49');
25
30
  }
26
31
  /**
27
- * @param sLocationDictName
28
32
  * @returns
29
33
  */
30
- static isCinematicCamLocationLoaded(sLocationDictName) {
31
- return inv('0xAA235E2F2C09E952', sLocationDictName, rai());
34
+ static isScreenFadingIn() {
35
+ return inv('0x0CECCC63FFA2EF24', rai());
32
36
  }
33
37
  /**
34
38
  * @returns
35
39
  */
36
- static N_0x450769C833D58844() {
37
- return inv('0x450769C833D58844');
40
+ static isGameplayCamShaking() {
41
+ return inv('0xEA4C5F4AA0A4DBEF', rai());
42
+ }
43
+ /**
44
+ * @returns
45
+ */
46
+ static N_0x190F7DA1AC09A8EF() {
47
+ return inv('0x190F7DA1AC09A8EF');
38
48
  }
39
49
  /**
40
50
  * @param p0
41
51
  * @param p1
42
52
  * @param p2
43
- * @param p3
44
- * @param p4
45
- * @param p5
46
53
  */
47
- static requestLetterBoxOvertime(p0, p1, p2, p3, p4, p5) {
48
- inv('0xE296208C273BD7F0', p0, p1, p2, p3, p4, p5);
54
+ static N_0x3B8E3AD9677CE12B(p0, p1, p2) {
55
+ inv('0x3B8E3AD9677CE12B', p0, p1, p2);
49
56
  }
50
57
  /**
51
- * NPLOI_UPDATE__GUN_SPINNING_PREVIEW - Adjusting Camera / Ped Reset Flags This Frame
52
- * *DISABLE**
58
+ * @returns
53
59
  */
54
- static N_0x0F1FFEF5D54AE832() {
55
- inv('0x0F1FFEF5D54AE832');
60
+ static getGameplayCamRelativePitch() {
61
+ return inv('0x99AADEBBA803F827', raf());
56
62
  }
57
63
  /**
58
- * Returns true if player is in first person
59
- *
60
- * @returns
64
+ * @param p0
61
65
  */
62
- static isInFullFirstPersonMode() {
63
- return inv('0xD1BA66940E94C547');
66
+ static N_0x8E036B41C37D0E5F(p0) {
67
+ inv('0x8E036B41C37D0E5F', p0);
64
68
  }
65
69
  /**
66
- * @returns
70
+ * @param p0
71
+ * @param p1
67
72
  */
68
- static isFirstPersonAimCamActive() {
69
- return inv('0xF63134C54B6EC212', rai());
73
+ static N_0x1F6EBD94680252CE(p0, p1) {
74
+ inv('0x1F6EBD94680252CE', p0, p1);
70
75
  }
71
76
  /**
72
- * @param cameraDictionary
77
+ * @returns
73
78
  */
74
- static N_0xAC77757C05DE9E5A(cameraDictionary) {
75
- inv('0xAC77757C05DE9E5A', cameraDictionary);
79
+ static N_0xB6A80E1E3A5444F1() {
80
+ return inv('0xB6A80E1E3A5444F1');
76
81
  }
77
82
  /**
78
- * @param p0
83
+ * @returns
79
84
  */
80
- static setGameplayCamMaxMotionBlurStrengthThisUpdate(p0) {
81
- inv('0x8459B3E64257B21D', f(p0));
85
+ static getGameplayCamRelativeHeading() {
86
+ return inv('0xC4ABF536048998AA', raf());
82
87
  }
83
88
  /**
84
89
  * @param p0
85
- * @param pos1
86
- * @param p4
87
- * @param p5
88
- * @param p6
89
- * @param p7
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_0x1FC6C727D30FFDDE(p0) {
92
+ inv('0x1FC6C727D30FFDDE', p0);
93
93
  }
94
94
  /**
95
95
  * @returns
96
96
  */
97
- static getFinalRenderedCamCoord() {
98
- return Vector3.fromArray(inv('0x5352E025EC2B416F', rav()));
97
+ static isInCinematicMode() {
98
+ return inv('0x74F1D22EFA71FAB8');
99
+ }
100
+ /**
101
+ * shakeName: REINFORCED_LASSO_STRUGGLE_SHAKE
102
+ * _RES*
103
+ *
104
+ * @param shakeName
105
+ * @param intensity
106
+ */
107
+ static N_0xC3E9E5D4F413B773(shakeName, intensity) {
108
+ inv('0xC3E9E5D4F413B773', shakeName, f(intensity));
99
109
  }
100
110
  /**
101
111
  * @param dictionary
@@ -186,6 +196,105 @@ export class CamStatics {
186
196
  static disableCinematicModeThisFrame() {
187
197
  inv('0x8910C24B7E0046EC');
188
198
  }
199
+ /**
200
+ * Zooms in the third person camera closer to ground level.
201
+ * Must be called every frame to interpolate.
202
+ * Pass false to reset.
203
+ *
204
+ * @param toggle
205
+ */
206
+ static N_0x71D71E08A7ED5BD7(toggle) {
207
+ inv('0x71D71E08A7ED5BD7', toggle);
208
+ }
209
+ /**
210
+ * @returns
211
+ */
212
+ static isAimCamActive() {
213
+ return inv('0x698F456FB909E077', rai());
214
+ }
215
+ /**
216
+ * @param p0
217
+ * @param p1
218
+ * @param p2
219
+ */
220
+ static cinematicLocationStopScriptedShotEvent(p0, p1, p2) {
221
+ inv('0x6D4D25C2137FF511', p0, p1, p2);
222
+ }
223
+ /**
224
+ * Zooms in the gameplay camera to the next zoom level?
225
+ * USE_* - WAS_*
226
+ */
227
+ static N_0x632BE8D84846FA56() {
228
+ inv('0x632BE8D84846FA56');
229
+ }
230
+ /**
231
+ * This native makes the gameplay camera zoom into first person/third person with a special effect.
232
+ * blendBackSmoothingType: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eBlendBackSmoothing
233
+ *
234
+ * @param render
235
+ * @param distance
236
+ * @param blendBackSmoothingType
237
+ * @param p3
238
+ * @param p4
239
+ * @param p5
240
+ */
241
+ static stopRenderingScriptCamsUsingCatchUp(render, distance, blendBackSmoothingType, p3, p4, p5) {
242
+ inv('0x8C7C7FF7CF0E5153', render, f(distance), blendBackSmoothingType, p3, p4, p5);
243
+ }
244
+ static N_0x7E40A01B11398FCB() {
245
+ inv('0x7E40A01B11398FCB');
246
+ }
247
+ /**
248
+ * @param p0
249
+ */
250
+ static N_0x39073DA4EDDBC91D(p0) {
251
+ inv('0x39073DA4EDDBC91D', p0);
252
+ }
253
+ /**
254
+ * @returns
255
+ */
256
+ static isFollowVehicleCamActive() {
257
+ return inv('0xA40C2F51FB589E9A', rai());
258
+ }
259
+ /**
260
+ * ease - smooth transition between the camera's positions
261
+ * easeTime - Time in milliseconds for the transition to happen If you have created a script (rendering) camera, and want to go back to the
262
+ * character (gameplay) camera, call this native with render set to FALSE.
263
+ * Setting ease to TRUE will smooth the transition.
264
+ *
265
+ * @param render
266
+ * @param ease
267
+ * @param easeTime
268
+ * @param p3
269
+ * @param p4
270
+ * @param p5
271
+ */
272
+ static renderScriptCams(render, ease, easeTime, p3, p4, p5) {
273
+ inv('0x33281167E4942E4F', render, ease, easeTime, p3, p4, p5);
274
+ }
275
+ /**
276
+ * @param p0
277
+ * @param p1
278
+ * @param p2
279
+ * @param p3
280
+ */
281
+ static N_0xE28F73212A813E82(p0, p1, p2, p3) {
282
+ inv('0xE28F73212A813E82', p0, p1, p2, p3);
283
+ }
284
+ /**
285
+ * More info: https://en.wikipedia.org/wiki/Letterboxing_(filming)
286
+ *
287
+ * @returns
288
+ */
289
+ static hasLetterBox() {
290
+ return inv('0x81DCFD13CF39920E');
291
+ }
292
+ /**
293
+ * @returns
294
+ */
295
+ static N_0x6DFD37E586D4F44F() {
296
+ return inv('0x6DFD37E586D4F44F');
297
+ }
189
298
  /**
190
299
  * @param p0
191
300
  * @param p1
@@ -258,6 +367,86 @@ export class CamStatics {
258
367
  static N_0x1D931B7CC0EE3956(dictionary, shotName, cameraName) {
259
368
  return inv('0x1D931B7CC0EE3956', dictionary, shotName, cameraName, rai());
260
369
  }
370
+ static forceLetterBoxThisUpdate() {
371
+ inv('0xC64ABC0676AF262B');
372
+ }
373
+ /**
374
+ * @param p0
375
+ * @param p1
376
+ * @param p2
377
+ * @param p3
378
+ * @param p4
379
+ * @param p5
380
+ * @param p6
381
+ * @param p7
382
+ */
383
+ static setGameplayVehicleHint(p0, p1, p2, p3, p4, p5, p6, p7) {
384
+ inv('0xE2B2BB7DAC280515', p0, f(p1), f(p2), f(p3), p4, p5, p6, p7);
385
+ }
386
+ /**
387
+ * Used for DUELING_MANAGE_DEATH_CAMERA - Initializing death camera
388
+ * _SET_P* - _SET_S*
389
+ *
390
+ * @param p0
391
+ */
392
+ static setStartCinematicDeathCam(p0) {
393
+ inv('0x6E969927CF632608', p0);
394
+ }
395
+ static N_0x6CAB0BA160B168D2() {
396
+ inv('0x6CAB0BA160B168D2');
397
+ }
398
+ /**
399
+ * @returns
400
+ */
401
+ static isScreenFadingOut() {
402
+ return inv('0x02F39BEFE7B88D00', rai());
403
+ }
404
+ /**
405
+ * @param p0
406
+ * @param p1
407
+ * @returns
408
+ */
409
+ static N_0x4138EE36BC3DC0A7(p0, p1) {
410
+ return inv('0x4138EE36BC3DC0A7', p0, p1);
411
+ }
412
+ /**
413
+ * nullsub, doesn't do anything
414
+ */
415
+ static disableFirstPersonFlashEffectThisUpdate() {
416
+ inv('0x77D65669A05D1A1A');
417
+ }
418
+ /**
419
+ * Returns true if first person camera is active in saloon1.ysc
420
+ *
421
+ * @returns
422
+ */
423
+ static forceFirstPersonCamThisFrame() {
424
+ return inv('0x90DA5BA5C2635416');
425
+ }
426
+ static N_0x18C3DFAC458783BB() {
427
+ inv('0x18C3DFAC458783BB');
428
+ }
429
+ static N_0x16E9ABDD34DDD931() {
430
+ inv('0x16E9ABDD34DDD931');
431
+ }
432
+ /**
433
+ * @param cameraDictionary
434
+ */
435
+ static create(cameraDictionary) {
436
+ inv('0xB8B207C34285E978', cameraDictionary);
437
+ }
438
+ /**
439
+ * @param p0
440
+ */
441
+ static N_0x5B637D6F3B67716A(p0) {
442
+ inv('0x5B637D6F3B67716A', p0);
443
+ }
444
+ /**
445
+ * @returns
446
+ */
447
+ static isCinematicCamRendering() {
448
+ return inv('0xBF7C780731AADBF8', rai());
449
+ }
261
450
  static N_0xCF69EA05CD9C33C9() {
262
451
  inv('0xCF69EA05CD9C33C9');
263
452
  }
@@ -364,109 +553,117 @@ export class CamStatics {
364
553
  inv('0x3C486E334520579D');
365
554
  }
366
555
  /**
367
- * Only used in R* Script camera_photomode
368
- *
556
+ * @param p0
557
+ */
558
+ static setScriptedCameraIsFirstPersonThisFrame(p0) {
559
+ inv('0x1DD95A8D6B24A0C9', p0);
560
+ }
561
+ /**
562
+ * @param p0
563
+ * @param p1
564
+ * @param p2
369
565
  * @returns
370
566
  */
371
- static isAnimSceneCamActive() {
372
- return inv('0x20389408F0E93B9A');
567
+ static isFirstPersonCameraActive(p0, p1, p2) {
568
+ return inv('0xA24C1D341C6E0D53', p0, p1, p2);
569
+ }
570
+ static N_0x3C8F74E8FE751614() {
571
+ inv('0x3C8F74E8FE751614');
373
572
  }
374
573
  /**
375
- * Hash used in finale1.ysc: 1726668277
376
- *
377
- * @param pos
574
+ * @param dictionary
575
+ * @param shotName
378
576
  * @param duration
379
- * @param blendOutDuration
380
- * @param blendInDuration
381
- * @param p6
577
+ * @returns
382
578
  */
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));
579
+ static N_0x465F04F68AD38197(dictionary, shotName, duration) {
580
+ return inv('0x465F04F68AD38197', dictionary, shotName, duration);
385
581
  }
386
582
  /**
387
- * @returns
583
+ * @param p0
388
584
  */
389
- static N_0x14C4A49E36C29E49() {
390
- return inv('0x14C4A49E36C29E49');
585
+ static N_0xE2BB2D6A9FE2ECDE(p0) {
586
+ inv('0xE2BB2D6A9FE2ECDE', p0);
391
587
  }
392
588
  /**
393
- * @returns
589
+ * @param cameraDictionary
394
590
  */
395
- static isScreenFadingIn() {
396
- return inv('0x0CECCC63FFA2EF24', rai());
591
+ static unloadCameraDataDict(cameraDictionary) {
592
+ inv('0x798BE43C9393632B', cameraDictionary);
397
593
  }
398
594
  /**
595
+ * @param sLocationDictName
399
596
  * @returns
400
597
  */
401
- static isGameplayCamShaking() {
402
- return inv('0xEA4C5F4AA0A4DBEF', rai());
598
+ static isCinematicCamLocationLoaded(sLocationDictName) {
599
+ return inv('0xAA235E2F2C09E952', sLocationDictName, rai());
403
600
  }
404
601
  /**
405
602
  * @returns
406
603
  */
407
- static N_0x190F7DA1AC09A8EF() {
408
- return inv('0x190F7DA1AC09A8EF');
604
+ static N_0x450769C833D58844() {
605
+ return inv('0x450769C833D58844');
409
606
  }
410
607
  /**
411
608
  * @param p0
412
609
  * @param p1
413
610
  * @param p2
611
+ * @param p3
612
+ * @param p4
613
+ * @param p5
414
614
  */
415
- static N_0x3B8E3AD9677CE12B(p0, p1, p2) {
416
- inv('0x3B8E3AD9677CE12B', p0, p1, p2);
417
- }
418
- /**
419
- * @returns
420
- */
421
- static getGameplayCamRelativePitch() {
422
- return inv('0x99AADEBBA803F827', raf());
615
+ static requestLetterBoxOvertime(p0, p1, p2, p3, p4, p5) {
616
+ inv('0xE296208C273BD7F0', p0, p1, p2, p3, p4, p5);
423
617
  }
424
618
  /**
425
- * @param p0
619
+ * NPLOI_UPDATE__GUN_SPINNING_PREVIEW - Adjusting Camera / Ped Reset Flags This Frame
620
+ * *DISABLE**
426
621
  */
427
- static N_0x8E036B41C37D0E5F(p0) {
428
- inv('0x8E036B41C37D0E5F', p0);
622
+ static N_0x0F1FFEF5D54AE832() {
623
+ inv('0x0F1FFEF5D54AE832');
429
624
  }
430
625
  /**
431
- * @param p0
432
- * @param p1
626
+ * Returns true if player is in first person
627
+ *
628
+ * @returns
433
629
  */
434
- static N_0x1F6EBD94680252CE(p0, p1) {
435
- inv('0x1F6EBD94680252CE', p0, p1);
630
+ static isInFullFirstPersonMode() {
631
+ return inv('0xD1BA66940E94C547');
436
632
  }
437
633
  /**
438
634
  * @returns
439
635
  */
440
- static N_0xB6A80E1E3A5444F1() {
441
- return inv('0xB6A80E1E3A5444F1');
636
+ static isFirstPersonAimCamActive() {
637
+ return inv('0xF63134C54B6EC212', rai());
442
638
  }
443
639
  /**
444
- * @returns
640
+ * @param cameraDictionary
445
641
  */
446
- static getGameplayCamRelativeHeading() {
447
- return inv('0xC4ABF536048998AA', raf());
642
+ static N_0xAC77757C05DE9E5A(cameraDictionary) {
643
+ inv('0xAC77757C05DE9E5A', cameraDictionary);
448
644
  }
449
645
  /**
450
646
  * @param p0
451
647
  */
452
- static N_0x1FC6C727D30FFDDE(p0) {
453
- inv('0x1FC6C727D30FFDDE', p0);
648
+ static setGameplayCamMaxMotionBlurStrengthThisUpdate(p0) {
649
+ inv('0x8459B3E64257B21D', f(p0));
454
650
  }
455
651
  /**
456
- * @returns
652
+ * @param p0
653
+ * @param pos1
654
+ * @param p4
655
+ * @param p5
656
+ * @param p6
657
+ * @param p7
457
658
  */
458
- static isInCinematicMode() {
459
- return inv('0x74F1D22EFA71FAB8');
659
+ static setGameplayPedHint(p0, pos1, p4, p5, p6, p7) {
660
+ inv('0x90FB951648851733', p0.handle, f(pos1.x), f(pos1.y), f(pos1.z), p4, p5, p6, p7);
460
661
  }
461
662
  /**
462
- * shakeName: REINFORCED_LASSO_STRUGGLE_SHAKE
463
- * _RES*
464
- *
465
- * @param shakeName
466
- * @param intensity
663
+ * @returns
467
664
  */
468
- static N_0xC3E9E5D4F413B773(shakeName, intensity) {
469
- inv('0xC3E9E5D4F413B773', shakeName, f(intensity));
665
+ static getFinalRenderedCamCoord() {
666
+ return Vector3.fromArray(inv('0x5352E025EC2B416F', rav()));
470
667
  }
471
668
  /**
472
669
  * @param p0
@@ -572,103 +769,109 @@ export class CamStatics {
572
769
  inv('0xD904F75DBD7AB865', entity.handle);
573
770
  }
574
771
  /**
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
772
+ * @returns
580
773
  */
581
- static N_0x71D71E08A7ED5BD7(toggle) {
582
- inv('0x71D71E08A7ED5BD7', toggle);
774
+ static N_0x8B1A5FE7E41E52B2() {
775
+ return inv('0x8B1A5FE7E41E52B2');
583
776
  }
584
777
  /**
585
- * @returns
778
+ * Forces gameplay cam to specified ped as if you were the ped or spectating it
779
+ *
780
+ * @param ped
586
781
  */
587
- static isAimCamActive() {
588
- return inv('0x698F456FB909E077', rai());
782
+ static setGameplayCamFollowPedThisUpdate(ped) {
783
+ inv('0x82E41D6ADE924FCA', ped.handle);
589
784
  }
590
785
  /**
591
- * @param p0
592
- * @param p1
593
- * @param p2
786
+ * @param name
787
+ * @param pos
788
+ * @param rot
594
789
  */
595
- static cinematicLocationStopScriptedShotEvent(p0, p1, p2) {
596
- inv('0x6D4D25C2137FF511', p0, p1, p2);
790
+ static cinematicLocationSetLocationAndRotation(name, pos, rot) {
791
+ inv('0x0E94C95EC3185FA9', name, f(pos.x), f(pos.y), f(pos.z), f(rot.x), f(rot.y), f(rot.z));
597
792
  }
598
793
  /**
599
- * Zooms in the gameplay camera to the next zoom level?
600
- * USE_* - WAS_*
794
+ * @param camInitialPitch
601
795
  */
602
- static N_0x632BE8D84846FA56() {
603
- inv('0x632BE8D84846FA56');
796
+ static setGameplayCamInitialPitch(camInitialPitch) {
797
+ inv('0x449995EA846D3FC2', f(camInitialPitch));
604
798
  }
605
799
  /**
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
800
+ * Old name: _SET_GAMEPLAY_HINT_ANIM_OFFSETY
608
801
  *
609
- * @param render
610
- * @param distance
611
- * @param blendBackSmoothingType
612
- * @param p3
613
- * @param p4
614
- * @param p5
802
+ * @param p0
615
803
  */
616
- static stopRenderingScriptCamsUsingCatchUp(render, distance, blendBackSmoothingType, p3, p4, p5) {
617
- inv('0x8C7C7FF7CF0E5153', render, f(distance), blendBackSmoothingType, p3, p4, p5);
804
+ static setGameplayHintCameraRelativeVerticalOffset(p0) {
805
+ inv('0x29E74F819150CC32', f(p0));
618
806
  }
619
- static N_0x7E40A01B11398FCB() {
620
- inv('0x7E40A01B11398FCB');
807
+ /**
808
+ * Old name: _SET_FIRST_PERSON_CAM_PITCH_RANGE
809
+ *
810
+ * @param p0
811
+ * @param p1
812
+ */
813
+ static setFirstPersonAimCamRelativePitchLimitsThisUpdate(p0, p1) {
814
+ inv('0x715B7F5E8BED32A2', f(p0), f(p1));
621
815
  }
622
816
  /**
817
+ * BOOL param indicates whether the cam should be destroyed if it belongs to the calling script.
818
+ *
623
819
  * @param p0
624
820
  */
625
- static N_0x39073DA4EDDBC91D(p0) {
626
- inv('0x39073DA4EDDBC91D', p0);
821
+ static destroyAllCams(p0) {
822
+ inv('0x163600D6E136C9F8', p0);
823
+ }
824
+ /**
825
+ * @param cameraDictionary
826
+ */
827
+ static destroy(cameraDictionary) {
828
+ inv('0x0A5A4F1979ABB40E', cameraDictionary);
627
829
  }
628
830
  /**
629
831
  * @returns
630
832
  */
631
- static isFollowVehicleCamActive() {
632
- return inv('0xA40C2F51FB589E9A', rai());
833
+ static getPhotoModeDof() {
834
+ return inv('0x4653A741D17F2CD0', raf());
633
835
  }
634
836
  /**
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.
837
+ * Checks data related to Cinematic Cam Locations, if the check fails, the location is being loaded using 0x1B3C2D961F5FC0E1.
639
838
  *
640
- * @param render
641
- * @param ease
642
- * @param easeTime
643
- * @param p3
644
- * @param p4
645
- * @param p5
839
+ * @param locationDictName
840
+ * @returns
646
841
  */
647
- static renderScriptCams(render, ease, easeTime, p3, p4, p5) {
648
- inv('0x33281167E4942E4F', render, ease, easeTime, p3, p4, p5);
842
+ static isCinematicCamLocationLoaded2(locationDictName) {
843
+ return inv('0x595550376B7EA230', locationDictName, rai());
649
844
  }
650
845
  /**
651
- * @param p0
652
- * @param p1
653
- * @param p2
654
- * @param p3
846
+ * @returns
655
847
  */
656
- static N_0xE28F73212A813E82(p0, p1, p2, p3) {
657
- inv('0xE28F73212A813E82', p0, p1, p2, p3);
848
+ static isGameplayCamRendering() {
849
+ return inv('0x8660EA714834E412', rai());
658
850
  }
659
851
  /**
660
- * More info: https://en.wikipedia.org/wiki/Letterboxing_(filming)
661
- *
662
852
  * @returns
663
853
  */
664
- static hasLetterBox() {
665
- return inv('0x81DCFD13CF39920E');
854
+ static N_0xEF9A3132A0AA6B19() {
855
+ return inv('0xEF9A3132A0AA6B19');
666
856
  }
667
857
  /**
668
858
  * @returns
669
859
  */
670
- static N_0x6DFD37E586D4F44F() {
671
- return inv('0x6DFD37E586D4F44F');
860
+ static getGameplayCamCoord() {
861
+ return Vector3.fromArray(inv('0x595320200B98596E', rav()));
862
+ }
863
+ /**
864
+ * @param p0
865
+ */
866
+ static setCinematicButtonActive(p0) {
867
+ inv('0xB90411F480457A6C', p0);
868
+ }
869
+ /**
870
+ * @param rotationOrder
871
+ * @returns
872
+ */
873
+ static getFinalRenderedCamRot(rotationOrder) {
874
+ return Vector3.fromArray(inv('0x602685BD85DD26CA', rotationOrder, rav()));
672
875
  }
673
876
  /**
674
877
  * @returns
@@ -763,127 +966,76 @@ export class CamStatics {
763
966
  return inv('0x2AB7C81B3F70570C');
764
967
  }
765
968
  /**
766
- * @param cameraDictionary
767
- */
768
- static loadCameraDataDict(cameraDictionary) {
769
- inv('0x6A4D224FC7643941', cameraDictionary);
770
- }
771
- /**
772
- * Does the same as 0x9C473089A934C930 (DISABLE_ON_FOOT_FIRST_PERSON_VIEW_THIS_UPDATE)
773
- */
774
- static disableOnFootFirstPersonViewThisUpdate2() {
775
- inv('0x05AB44D906738426');
776
- }
777
- static N_0xF1A6FEEDF3776EF9() {
778
- inv('0xF1A6FEEDF3776EF9');
779
- }
780
- /**
781
- * Old name: _ANIMATE_GAMEPLAY_CAM_ZOOM
782
- *
783
- * @param p0
784
- * @param distance
785
- */
786
- static setThirdPersonCamOrbitDistanceLimitsThisUpdate(p0, distance) {
787
- inv('0x2126C740A4AC370B', f(p0), f(distance));
788
- }
789
- /**
790
- * More info: see HAS_LETTER_BOX
791
- *
792
969
  * @returns
793
970
  */
794
- static getLetterBoxRatio() {
795
- return inv('0xA2B1C7EF759A63CE', raf());
971
+ static isInterpolatingToScriptCams() {
972
+ return inv('0x43AB9D5A7D415478', rai());
796
973
  }
797
974
  /**
798
975
  * @returns
799
976
  */
800
- static N_0x7CE9DC58E3E4755F() {
801
- return inv('0x7CE9DC58E3E4755F');
802
- }
803
- /**
804
- * @param p0
805
- * @param p1
806
- */
807
- static N_0xFEB8646818294C75(p0, p1) {
808
- inv('0xFEB8646818294C75', p0, p1);
809
- }
810
- /**
811
- * @param p0
812
- */
813
- static N_0xDB382FE20C2DA222(p0) {
814
- inv('0xDB382FE20C2DA222', p0);
977
+ static getFinalRenderedCamFov() {
978
+ return inv('0x04AF77971E508F6A', raf());
815
979
  }
816
980
  /**
981
+ * UPDATE_PLAYER_PLAYING_STATE - Releasing Lasso Hint Cam
982
+ * Return type char in ida
983
+ * *SET_GAMEPLAY_HINT**
984
+ *
817
985
  * @param p0
818
986
  */
819
- static N_0x29E6655DF3590B0D(p0) {
820
- inv('0x29E6655DF3590B0D', p0);
987
+ static N_0x88544C0E3291DCAE(p0) {
988
+ inv('0x88544C0E3291DCAE', p0);
821
989
  }
822
990
  /**
823
- * @param pos
824
- * @param radius
825
991
  * @returns
826
992
  */
827
- static isSphereVisible(pos, radius) {
828
- return inv('0x2E941B5FFA2989C6', f(pos.x), f(pos.y), f(pos.z), f(radius), rai());
829
- }
830
- /**
831
- * @param camInitialHeading
832
- */
833
- static setGameplayCamInitialHeading(camInitialHeading) {
834
- inv('0x6C1053C433A573CF', f(camInitialHeading));
993
+ static isScreenFadedIn() {
994
+ return inv('0x37F9A426FBCF4AF2', rai());
835
995
  }
836
996
  /**
837
- * @param p0
997
+ * Old name: _DISABLE_FIRST_PERSON_CAM_THIS_FRAME
838
998
  */
839
- static stopGameplayHint(p0) {
840
- inv('0x1BCEC33D54CFCA8A', p0);
999
+ static disableOnFootFirstPersonViewThisUpdate() {
1000
+ inv('0x9C473089A934C930');
841
1001
  }
842
1002
  /**
843
- * @param p0
1003
+ * Old name: _INVALIDATE_VEHICLE_IDLE_CAM
844
1004
  */
845
- static N_0x0961B089947BA6D0(p0) {
846
- inv('0x0961B089947BA6D0', p0);
1005
+ static invalidateCinematicVehicleIdleMode() {
1006
+ inv('0x634F4A0562CF19B8');
847
1007
  }
848
1008
  /**
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
851
- *
852
- * @param minimum
853
- * @param maximum
1009
+ * @param dictionaryName
854
1010
  */
855
- static setThirdPersonCamRelativePitchLimitsThisUpdate(minimum, maximum) {
856
- inv('0x326C7AA308F3DF6A', f(minimum), f(maximum));
1011
+ static unloadCinematicCameraLocation(dictionaryName) {
1012
+ inv('0x2412216FCC7B4E3E', dictionaryName);
857
1013
  }
858
1014
  /**
859
1015
  * @returns
860
1016
  */
861
- static N_0x6072B7420A83A03F() {
862
- return inv('0x6072B7420A83A03F');
1017
+ static isScreenFadedOut() {
1018
+ return inv('0xF5472C80DF2FF847', rai());
863
1019
  }
864
1020
  /**
865
- * @param p0
1021
+ * @param dictionary
1022
+ * @param shotName
1023
+ * @param duration
866
1024
  */
867
- static N_0xC205B3C54C6A4E37(p0) {
868
- inv('0xC205B3C54C6A4E37', p0);
1025
+ static N_0xA54D643D0773EB65(dictionary, shotName, duration) {
1026
+ inv('0xA54D643D0773EB65', dictionary, shotName, duration);
869
1027
  }
870
1028
  /**
871
- * @param p0
1029
+ * @returns
872
1030
  */
873
- static setScriptedCameraIsFirstPersonThisFrame(p0) {
874
- inv('0x1DD95A8D6B24A0C9', p0);
1031
+ static isDeathFailCameraRunning() {
1032
+ return inv('0x139EFB0A71DD9011');
875
1033
  }
876
1034
  /**
877
- * @param p0
878
- * @param p1
879
- * @param p2
880
1035
  * @returns
881
1036
  */
882
- static isFirstPersonCameraActive(p0, p1, p2) {
883
- return inv('0xA24C1D341C6E0D53', p0, p1, p2);
884
- }
885
- static N_0x3C8F74E8FE751614() {
886
- inv('0x3C8F74E8FE751614');
1037
+ static N_0xDC62CD70658E7A02() {
1038
+ return inv('0xDC62CD70658E7A02');
887
1039
  }
888
1040
  /**
889
1041
  * p6 & p7 - possibly length or time
@@ -993,111 +1145,6 @@ export class CamStatics {
993
1145
  static triggerMissionFailedCam() {
994
1146
  inv('0x9A92C06ACBAF9731');
995
1147
  }
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
1148
  /**
1102
1149
  * @param locationDictName
1103
1150
  */
@@ -1206,155 +1253,108 @@ export class CamStatics {
1206
1253
  inv('0x4285804FD65D8066', shakeName, p1);
1207
1254
  }
1208
1255
  /**
1209
- * @returns
1256
+ * @param cameraDictionary
1210
1257
  */
1211
- static isInterpolatingToScriptCams() {
1212
- return inv('0x43AB9D5A7D415478', rai());
1258
+ static loadCameraDataDict(cameraDictionary) {
1259
+ inv('0x6A4D224FC7643941', cameraDictionary);
1213
1260
  }
1214
1261
  /**
1215
- * @returns
1262
+ * Does the same as 0x9C473089A934C930 (DISABLE_ON_FOOT_FIRST_PERSON_VIEW_THIS_UPDATE)
1216
1263
  */
1217
- static getFinalRenderedCamFov() {
1218
- return inv('0x04AF77971E508F6A', raf());
1264
+ static disableOnFootFirstPersonViewThisUpdate2() {
1265
+ inv('0x05AB44D906738426');
1266
+ }
1267
+ static N_0xF1A6FEEDF3776EF9() {
1268
+ inv('0xF1A6FEEDF3776EF9');
1219
1269
  }
1220
1270
  /**
1221
- * UPDATE_PLAYER_PLAYING_STATE - Releasing Lasso Hint Cam
1222
- * Return type char in ida
1223
- * *SET_GAMEPLAY_HINT**
1271
+ * Old name: _ANIMATE_GAMEPLAY_CAM_ZOOM
1224
1272
  *
1225
1273
  * @param p0
1274
+ * @param distance
1226
1275
  */
1227
- static N_0x88544C0E3291DCAE(p0) {
1228
- inv('0x88544C0E3291DCAE', p0);
1276
+ static setThirdPersonCamOrbitDistanceLimitsThisUpdate(p0, distance) {
1277
+ inv('0x2126C740A4AC370B', f(p0), f(distance));
1229
1278
  }
1230
1279
  /**
1280
+ * More info: see HAS_LETTER_BOX
1281
+ *
1231
1282
  * @returns
1232
1283
  */
1233
- static isScreenFadedIn() {
1234
- return inv('0x37F9A426FBCF4AF2', rai());
1235
- }
1236
- /**
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);
1284
+ static getLetterBoxRatio() {
1285
+ return inv('0xA2B1C7EF759A63CE', raf());
1253
1286
  }
1254
1287
  /**
1255
1288
  * @returns
1256
1289
  */
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);
1290
+ static N_0x7CE9DC58E3E4755F() {
1291
+ return inv('0x7CE9DC58E3E4755F');
1267
1292
  }
1268
1293
  /**
1269
- * @returns
1294
+ * @param p0
1295
+ * @param p1
1270
1296
  */
1271
- static isDeathFailCameraRunning() {
1272
- return inv('0x139EFB0A71DD9011');
1297
+ static N_0xFEB8646818294C75(p0, p1) {
1298
+ inv('0xFEB8646818294C75', p0, p1);
1273
1299
  }
1274
1300
  /**
1275
- * @returns
1301
+ * @param p0
1276
1302
  */
1277
- static N_0xDC62CD70658E7A02() {
1278
- return inv('0xDC62CD70658E7A02');
1279
- }
1280
- static forceLetterBoxThisUpdate() {
1281
- inv('0xC64ABC0676AF262B');
1303
+ static N_0xDB382FE20C2DA222(p0) {
1304
+ inv('0xDB382FE20C2DA222', p0);
1282
1305
  }
1283
1306
  /**
1284
1307
  * @param p0
1285
- * @param p1
1286
- * @param p2
1287
- * @param p3
1288
- * @param p4
1289
- * @param p5
1290
- * @param p6
1291
- * @param p7
1292
1308
  */
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);
1309
+ static N_0x29E6655DF3590B0D(p0) {
1310
+ inv('0x29E6655DF3590B0D', p0);
1295
1311
  }
1296
1312
  /**
1297
- * Used for DUELING_MANAGE_DEATH_CAMERA - Initializing death camera
1298
- * _SET_P* - _SET_S*
1299
- *
1300
- * @param p0
1313
+ * @param pos
1314
+ * @param radius
1315
+ * @returns
1301
1316
  */
1302
- static setStartCinematicDeathCam(p0) {
1303
- inv('0x6E969927CF632608', p0);
1304
- }
1305
- static N_0x6CAB0BA160B168D2() {
1306
- inv('0x6CAB0BA160B168D2');
1317
+ static isSphereVisible(pos, radius) {
1318
+ return inv('0x2E941B5FFA2989C6', f(pos.x), f(pos.y), f(pos.z), f(radius), rai());
1307
1319
  }
1308
1320
  /**
1309
- * @returns
1321
+ * @param camInitialHeading
1310
1322
  */
1311
- static isScreenFadingOut() {
1312
- return inv('0x02F39BEFE7B88D00', rai());
1323
+ static setGameplayCamInitialHeading(camInitialHeading) {
1324
+ inv('0x6C1053C433A573CF', f(camInitialHeading));
1313
1325
  }
1314
1326
  /**
1315
1327
  * @param p0
1316
- * @param p1
1317
- * @returns
1318
1328
  */
1319
- static N_0x4138EE36BC3DC0A7(p0, p1) {
1320
- return inv('0x4138EE36BC3DC0A7', p0, p1);
1329
+ static stopGameplayHint(p0) {
1330
+ inv('0x1BCEC33D54CFCA8A', p0);
1321
1331
  }
1322
1332
  /**
1323
- * nullsub, doesn't do anything
1333
+ * @param p0
1324
1334
  */
1325
- static disableFirstPersonFlashEffectThisUpdate() {
1326
- inv('0x77D65669A05D1A1A');
1335
+ static N_0x0961B089947BA6D0(p0) {
1336
+ inv('0x0961B089947BA6D0', p0);
1327
1337
  }
1328
1338
  /**
1329
- * Returns true if first person camera is active in saloon1.ysc
1339
+ * minimum: Degrees between -90f and 90f.
1340
+ * maximum: Degrees between -90f and 90f. Clamps the gameplay camera's current pitch. Eg. _CLAMP_GAMEPLAY_CAM_PITCH(0.0f, 0.0f) will set the vertical angle directly behind the player. Old name: _CLAMP_GAMEPLAY_CAM_PITCH
1330
1341
  *
1331
- * @returns
1342
+ * @param minimum
1343
+ * @param maximum
1332
1344
  */
1333
- static forceFirstPersonCamThisFrame() {
1334
- return inv('0x90DA5BA5C2635416');
1335
- }
1336
- static N_0x18C3DFAC458783BB() {
1337
- inv('0x18C3DFAC458783BB');
1338
- }
1339
- static N_0x16E9ABDD34DDD931() {
1340
- inv('0x16E9ABDD34DDD931');
1345
+ static setThirdPersonCamRelativePitchLimitsThisUpdate(minimum, maximum) {
1346
+ inv('0x326C7AA308F3DF6A', f(minimum), f(maximum));
1341
1347
  }
1342
1348
  /**
1343
- * @param cameraDictionary
1349
+ * @returns
1344
1350
  */
1345
- static create(cameraDictionary) {
1346
- inv('0xB8B207C34285E978', cameraDictionary);
1351
+ static N_0x6072B7420A83A03F() {
1352
+ return inv('0x6072B7420A83A03F');
1347
1353
  }
1348
1354
  /**
1349
1355
  * @param p0
1350
1356
  */
1351
- static N_0x5B637D6F3B67716A(p0) {
1352
- inv('0x5B637D6F3B67716A', p0);
1353
- }
1354
- /**
1355
- * @returns
1356
- */
1357
- static isCinematicCamRendering() {
1358
- return inv('0xBF7C780731AADBF8', rai());
1357
+ static N_0xC205B3C54C6A4E37(p0) {
1358
+ inv('0xC205B3C54C6A4E37', p0);
1359
1359
  }
1360
1360
  }