@nativewrappers/redm-codegen 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. package/dist/classes/AnimScene.d.ts +126 -126
  2. package/dist/classes/AnimScene.d.ts.map +1 -1
  3. package/dist/classes/AnimScene.js +184 -184
  4. package/dist/classes/BaseModel.d.ts +17 -17
  5. package/dist/classes/BaseModel.d.ts.map +1 -1
  6. package/dist/classes/BaseModel.js +25 -25
  7. package/dist/classes/BaseTask.d.ts +12 -12
  8. package/dist/classes/BaseTask.d.ts.map +1 -1
  9. package/dist/classes/BaseTask.js +14 -14
  10. package/dist/classes/Cam.d.ts +94 -94
  11. package/dist/classes/Cam.d.ts.map +1 -1
  12. package/dist/classes/Cam.js +126 -126
  13. package/dist/classes/Entity.d.ts +471 -471
  14. package/dist/classes/Entity.d.ts.map +1 -1
  15. package/dist/classes/Entity.js +672 -672
  16. package/dist/classes/PedTask.d.ts +155 -155
  17. package/dist/classes/PedTask.d.ts.map +1 -1
  18. package/dist/classes/PedTask.js +204 -204
  19. package/dist/classes/PersChar.d.ts +9 -9
  20. package/dist/classes/PersChar.d.ts.map +1 -1
  21. package/dist/classes/PersChar.js +21 -21
  22. package/dist/classes/Pickup.d.ts +5 -5
  23. package/dist/classes/Pickup.d.ts.map +1 -1
  24. package/dist/classes/Pickup.js +9 -9
  25. package/dist/classes/Player.d.ts +687 -687
  26. package/dist/classes/Player.d.ts.map +1 -1
  27. package/dist/classes/Player.js +1013 -1013
  28. package/dist/classes/Prop.d.ts +87 -87
  29. package/dist/classes/Prop.d.ts.map +1 -1
  30. package/dist/classes/Prop.js +121 -121
  31. package/dist/classes/PropSet.d.ts +4 -4
  32. package/dist/classes/PropSet.d.ts.map +1 -1
  33. package/dist/classes/PropSet.js +6 -6
  34. package/dist/classes/VehicleTask.d.ts +17 -17
  35. package/dist/classes/VehicleTask.d.ts.map +1 -1
  36. package/dist/classes/VehicleTask.js +21 -21
  37. package/dist/classes/Weapon.d.ts +306 -306
  38. package/dist/classes/Weapon.d.ts.map +1 -1
  39. package/dist/classes/Weapon.js +411 -411
  40. package/dist/namespaces/Animscene.d.ts +59 -59
  41. package/dist/namespaces/Animscene.d.ts.map +1 -1
  42. package/dist/namespaces/Animscene.js +77 -77
  43. package/dist/namespaces/Audio.d.ts +569 -569
  44. package/dist/namespaces/Audio.d.ts.map +1 -1
  45. package/dist/namespaces/Audio.js +728 -728
  46. package/dist/namespaces/Bounty.d.ts +70 -70
  47. package/dist/namespaces/Bounty.d.ts.map +1 -1
  48. package/dist/namespaces/Bounty.js +115 -115
  49. package/dist/namespaces/Brain.d.ts +15 -15
  50. package/dist/namespaces/Brain.d.ts.map +1 -1
  51. package/dist/namespaces/Brain.js +20 -20
  52. package/dist/namespaces/CamStatics.d.ts +399 -399
  53. package/dist/namespaces/CamStatics.d.ts.map +1 -1
  54. package/dist/namespaces/CamStatics.js +574 -574
  55. package/dist/namespaces/Clock.d.ts +51 -51
  56. package/dist/namespaces/Clock.d.ts.map +1 -1
  57. package/dist/namespaces/Clock.js +73 -73
  58. package/dist/namespaces/Collection.d.ts +76 -76
  59. package/dist/namespaces/Collection.d.ts.map +1 -1
  60. package/dist/namespaces/Collection.js +108 -108
  61. package/dist/namespaces/Companion.d.ts +22 -22
  62. package/dist/namespaces/Companion.d.ts.map +1 -1
  63. package/dist/namespaces/Companion.js +30 -30
  64. package/dist/namespaces/Compendium.d.ts +38 -38
  65. package/dist/namespaces/Compendium.d.ts.map +1 -1
  66. package/dist/namespaces/Compendium.js +52 -52
  67. package/dist/namespaces/Crashlog.d.ts +10 -10
  68. package/dist/namespaces/Crashlog.d.ts.map +1 -1
  69. package/dist/namespaces/Crashlog.js +14 -14
  70. package/dist/namespaces/Crew.d.ts +9 -9
  71. package/dist/namespaces/Crew.d.ts.map +1 -1
  72. package/dist/namespaces/Crew.js +14 -14
  73. package/dist/namespaces/Databinding.d.ts +177 -177
  74. package/dist/namespaces/Databinding.d.ts.map +1 -1
  75. package/dist/namespaces/Databinding.js +271 -271
  76. package/dist/namespaces/Dlc.d.ts +5 -5
  77. package/dist/namespaces/Dlc.d.ts.map +1 -1
  78. package/dist/namespaces/Dlc.js +9 -9
  79. package/dist/namespaces/EntityStatics.d.ts +193 -193
  80. package/dist/namespaces/EntityStatics.d.ts.map +1 -1
  81. package/dist/namespaces/EntityStatics.js +263 -263
  82. package/dist/namespaces/Fire.d.ts +7 -7
  83. package/dist/namespaces/Fire.d.ts.map +1 -1
  84. package/dist/namespaces/Fire.js +9 -9
  85. package/dist/namespaces/Graphics.d.ts +820 -820
  86. package/dist/namespaces/Graphics.d.ts.map +1 -1
  87. package/dist/namespaces/Graphics.js +1118 -1118
  88. package/dist/namespaces/Hud.d.ts +494 -494
  89. package/dist/namespaces/Hud.d.ts.map +1 -1
  90. package/dist/namespaces/Hud.js +789 -789
  91. package/dist/namespaces/Inventory.d.ts +180 -180
  92. package/dist/namespaces/Inventory.d.ts.map +1 -1
  93. package/dist/namespaces/Inventory.js +239 -239
  94. package/dist/namespaces/Itemdatabase.d.ts +78 -78
  95. package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
  96. package/dist/namespaces/Itemdatabase.js +106 -106
  97. package/dist/namespaces/Map.d.ts +156 -156
  98. package/dist/namespaces/Map.d.ts.map +1 -1
  99. package/dist/namespaces/Map.js +207 -207
  100. package/dist/namespaces/Minigame.d.ts +78 -78
  101. package/dist/namespaces/Minigame.d.ts.map +1 -1
  102. package/dist/namespaces/Minigame.js +116 -116
  103. package/dist/namespaces/Missiondata.d.ts +15 -15
  104. package/dist/namespaces/Missiondata.d.ts.map +1 -1
  105. package/dist/namespaces/Missiondata.js +23 -23
  106. package/dist/namespaces/Network.d.ts +636 -636
  107. package/dist/namespaces/Network.d.ts.map +1 -1
  108. package/dist/namespaces/Network.js +915 -915
  109. package/dist/namespaces/Object.d.ts +121 -121
  110. package/dist/namespaces/Object.d.ts.map +1 -1
  111. package/dist/namespaces/Object.js +162 -162
  112. package/dist/namespaces/Pad.d.ts +94 -94
  113. package/dist/namespaces/Pad.d.ts.map +1 -1
  114. package/dist/namespaces/Pad.js +127 -127
  115. package/dist/namespaces/Perschar.d.ts +44 -44
  116. package/dist/namespaces/Perschar.d.ts.map +1 -1
  117. package/dist/namespaces/Perschar.js +68 -68
  118. package/dist/namespaces/Physics.d.ts +158 -158
  119. package/dist/namespaces/Physics.d.ts.map +1 -1
  120. package/dist/namespaces/Physics.js +207 -207
  121. package/dist/namespaces/PlayerStatics.d.ts +127 -127
  122. package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
  123. package/dist/namespaces/PlayerStatics.js +177 -177
  124. package/dist/namespaces/Population.d.ts +75 -75
  125. package/dist/namespaces/Population.d.ts.map +1 -1
  126. package/dist/namespaces/Population.js +101 -101
  127. package/dist/namespaces/Posse.d.ts +38 -38
  128. package/dist/namespaces/Posse.d.ts.map +1 -1
  129. package/dist/namespaces/Posse.js +62 -62
  130. package/dist/namespaces/Propset.d.ts +30 -30
  131. package/dist/namespaces/Propset.d.ts.map +1 -1
  132. package/dist/namespaces/Propset.js +38 -38
  133. package/dist/namespaces/Shapetest.d.ts +11 -11
  134. package/dist/namespaces/Shapetest.d.ts.map +1 -1
  135. package/dist/namespaces/Shapetest.js +13 -13
  136. package/dist/namespaces/Stats.d.ts +88 -88
  137. package/dist/namespaces/Stats.d.ts.map +1 -1
  138. package/dist/namespaces/Stats.js +123 -123
  139. package/dist/namespaces/Streaming.d.ts +58 -58
  140. package/dist/namespaces/Streaming.d.ts.map +1 -1
  141. package/dist/namespaces/Streaming.js +92 -92
  142. package/dist/namespaces/Task.d.ts +62 -62
  143. package/dist/namespaces/Task.d.ts.map +1 -1
  144. package/dist/namespaces/Task.js +90 -90
  145. package/dist/namespaces/Telemetry.d.ts +172 -172
  146. package/dist/namespaces/Telemetry.d.ts.map +1 -1
  147. package/dist/namespaces/Telemetry.js +240 -240
  148. package/dist/namespaces/Uifeed.d.ts +15 -15
  149. package/dist/namespaces/Uifeed.d.ts.map +1 -1
  150. package/dist/namespaces/Uifeed.js +24 -24
  151. package/dist/namespaces/Voice.d.ts +38 -38
  152. package/dist/namespaces/Voice.d.ts.map +1 -1
  153. package/dist/namespaces/Voice.js +56 -56
  154. package/dist/namespaces/Water.d.ts +27 -27
  155. package/dist/namespaces/Water.d.ts.map +1 -1
  156. package/dist/namespaces/Water.js +41 -41
  157. package/dist/namespaces/WeaponStatics.d.ts +250 -250
  158. package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
  159. package/dist/namespaces/WeaponStatics.js +346 -346
  160. package/package.json +1 -1
  161. package/src/classes/AnimScene.ts +199 -199
  162. package/src/classes/BaseModel.ts +29 -29
  163. package/src/classes/BaseTask.ts +15 -15
  164. package/src/classes/Cam.ts +135 -135
  165. package/src/classes/Entity.ts +687 -687
  166. package/src/classes/PedTask.ts +223 -223
  167. package/src/classes/PersChar.ts +24 -24
  168. package/src/classes/Pickup.ts +10 -10
  169. package/src/classes/Player.ts +1024 -1024
  170. package/src/classes/Prop.ts +136 -136
  171. package/src/classes/PropSet.ts +7 -7
  172. package/src/classes/VehicleTask.ts +23 -23
  173. package/src/classes/Weapon.ts +429 -429
  174. package/src/namespaces/Animscene.ts +86 -86
  175. package/src/namespaces/Audio.ts +804 -804
  176. package/src/namespaces/Bounty.ts +131 -131
  177. package/src/namespaces/Brain.ts +22 -22
  178. package/src/namespaces/CamStatics.ts +599 -599
  179. package/src/namespaces/Clock.ts +82 -82
  180. package/src/namespaces/Collection.ts +109 -109
  181. package/src/namespaces/Companion.ts +34 -34
  182. package/src/namespaces/Compendium.ts +59 -59
  183. package/src/namespaces/Crashlog.ts +16 -16
  184. package/src/namespaces/Crew.ts +16 -16
  185. package/src/namespaces/Databinding.ts +286 -286
  186. package/src/namespaces/Dlc.ts +9 -9
  187. package/src/namespaces/EntityStatics.ts +279 -279
  188. package/src/namespaces/Fire.ts +10 -10
  189. package/src/namespaces/Graphics.ts +1196 -1196
  190. package/src/namespaces/Hud.ts +799 -799
  191. package/src/namespaces/Inventory.ts +245 -245
  192. package/src/namespaces/Itemdatabase.ts +118 -118
  193. package/src/namespaces/Map.ts +215 -215
  194. package/src/namespaces/Minigame.ts +132 -132
  195. package/src/namespaces/Missiondata.ts +27 -27
  196. package/src/namespaces/Network.ts +951 -951
  197. package/src/namespaces/Object.ts +171 -171
  198. package/src/namespaces/Pad.ts +127 -127
  199. package/src/namespaces/Perschar.ts +72 -72
  200. package/src/namespaces/Physics.ts +231 -231
  201. package/src/namespaces/PlayerStatics.ts +202 -202
  202. package/src/namespaces/Population.ts +114 -114
  203. package/src/namespaces/Posse.ts +62 -62
  204. package/src/namespaces/Propset.ts +42 -42
  205. package/src/namespaces/Shapetest.ts +14 -14
  206. package/src/namespaces/Stats.ts +139 -139
  207. package/src/namespaces/Streaming.ts +104 -104
  208. package/src/namespaces/Task.ts +100 -100
  209. package/src/namespaces/Telemetry.ts +265 -265
  210. package/src/namespaces/Uifeed.ts +27 -27
  211. package/src/namespaces/Voice.ts +65 -65
  212. package/src/namespaces/Water.ts +47 -47
  213. package/src/namespaces/WeaponStatics.ts +365 -365
@@ -3,99 +3,112 @@ 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
9
- * @returns
10
- */
11
- static N_0x465F04F68AD38197(dictionary, shotName, duration) {
12
- return inv('0x465F04F68AD38197', dictionary, shotName, duration);
13
- }
14
- /**
15
- * @param p0
6
+ * p6 & p7 - possibly length or time
7
+ *
8
+ * @param entity
9
+ * @param offset
10
+ * @param p4
11
+ * @param p5
12
+ * @param p6
13
+ * @param p7
14
+ * @param p8
16
15
  */
17
- static N_0xE2BB2D6A9FE2ECDE(p0) {
18
- inv('0xE2BB2D6A9FE2ECDE', p0);
16
+ static setGameplayEntityHint(entity, offset, p4, p5, p6, p7, p8) {
17
+ inv('0xD1F7F32640ADFD12', entity.handle, f(offset.x), f(offset.y), f(offset.z), p4, p5, p6, p7, p8);
19
18
  }
20
19
  /**
21
- * @param cameraDictionary
20
+ * Forces camera position to second furthest 3rd person
22
21
  */
23
- static unloadCameraDataDict(cameraDictionary) {
24
- inv('0x798BE43C9393632B', cameraDictionary);
22
+ static forceThirdPersonCamThisFrame() {
23
+ inv('0x8370D34BD2E60B73');
25
24
  }
26
25
  /**
27
- * @param sLocationDictName
28
- * @returns
26
+ * @param p0
29
27
  */
30
- static isCinematicCamLocationLoaded(sLocationDictName) {
31
- return !!inv('0xAA235E2F2C09E952', sLocationDictName, rai());
28
+ static setGameplayHintFollowDistanceScalar(p0) {
29
+ inv('0xDDDC54181868F81F', f(p0));
32
30
  }
33
31
  /**
34
32
  * @returns
35
33
  */
36
- static N_0x450769C833D58844() {
37
- return inv('0x450769C833D58844');
34
+ static isCamPhotofxRunning() {
35
+ return inv('0xA14D5FE82BCB1D9E');
38
36
  }
39
37
  /**
40
- * @param p0
41
- * @param p1
42
- * @param p2
43
- * @param p3
44
- * @param p4
45
- * @param p5
38
+ * Sets the amplitude for the gameplay (i.e. 3rd or 1st) camera to shake.
39
+ *
40
+ * @param amplitude
46
41
  */
47
- static requestLetterBoxOvertime(p0, p1, p2, p3, p4, p5) {
48
- inv('0xE296208C273BD7F0', p0, p1, p2, p3, p4, p5);
42
+ static setGameplayCamShakeAmplitude(amplitude) {
43
+ inv('0x570E35F5C4A44838', f(amplitude));
49
44
  }
50
45
  /**
51
- * NPLOI_UPDATE__GUN_SPINNING_PREVIEW - Adjusting Camera / Ped Reset Flags This Frame
52
- * *DISABLE**
46
+ * @param dictionary
47
+ * @param shotName
48
+ * @param duration
53
49
  */
54
- static N_0x0F1FFEF5D54AE832() {
55
- inv('0x0F1FFEF5D54AE832');
50
+ static cinematicLocationTriggerScriptedShotEvent2(dictionary, shotName, duration) {
51
+ inv('0xBC016635D6A73B31', dictionary, shotName, duration);
56
52
  }
57
53
  /**
58
- * Returns true if player is in first person
54
+ * Sets the camera pitch. Parameters:
55
+ * x = pitches the camera on the x axis.
56
+ * Value2 = always seems to be hex 0x3F800000 (1.000000 float).
59
57
  *
60
- * @returns
61
- */
62
- static isInFullFirstPersonMode() {
63
- return inv('0xD1BA66940E94C547');
64
- }
65
- /**
66
- * @returns
58
+ * @param x
59
+ * @param Value2
67
60
  */
68
- static isFirstPersonAimCamActive() {
69
- return !!inv('0xF63134C54B6EC212', rai());
61
+ static setGameplayCamRelativePitch(x, Value2) {
62
+ inv('0xFB760AF4F537B8BF', f(x), f(Value2));
70
63
  }
71
64
  /**
72
- * @param cameraDictionary
65
+ * Creates Kill Cam for specified Ped Handle
66
+ *
67
+ * @param ped
73
68
  */
74
- static N_0xAC77757C05DE9E5A(cameraDictionary) {
75
- inv('0xAC77757C05DE9E5A', cameraDictionary);
69
+ static createKillCam(ped) {
70
+ inv('0x2F994CC29CAA9D22', ped.handle);
76
71
  }
77
72
  /**
78
73
  * @param p0
79
74
  */
80
- static setGameplayCamMaxMotionBlurStrengthThisUpdate(p0) {
81
- inv('0x8459B3E64257B21D', f(p0));
75
+ static setGameplayHintBaseOrbitPitchOffset(p0) {
76
+ inv('0x421192A2DA48FD01', f(p0));
82
77
  }
83
78
  /**
84
79
  * @param p0
85
- * @param pos1
80
+ * @param p1
81
+ * @param p2
82
+ * @param p3
86
83
  * @param p4
87
84
  * @param p5
88
85
  * @param p6
89
86
  * @param p7
90
87
  */
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);
88
+ static setGameplayObjectHint(p0, p1, p2, p3, p4, p5, p6, p7) {
89
+ inv('0xC40551D65F2BF297', p0, f(p1), f(p2), f(p3), p4, p5, p6, p7);
93
90
  }
94
91
  /**
95
- * @returns
92
+ * Forces camera position to furthest 3rd person
96
93
  */
97
- static getFinalRenderedCamCoord() {
98
- return Vector3.fromArray(inv('0x5352E025EC2B416F', rav()));
94
+ static forceThirdPersonCamFarThisFrame() {
95
+ inv('0x1CFB749AD4317BDE');
96
+ }
97
+ /**
98
+ * Used to enable headshot kill replay when you headshot set ped.
99
+ * Params: p1 seems to be 0 or 1 in R* Scripts
100
+ *
101
+ * @param ped
102
+ * @param p1
103
+ */
104
+ static reactivatePedHeadshotExecuteSlowcam(ped, p1) {
105
+ inv('0x986F7A51EE3E1F92', ped.handle, p1);
106
+ }
107
+ static N_0x641092322A8852AB() {
108
+ inv('0x641092322A8852AB');
109
+ }
110
+ static triggerMissionFailedCam() {
111
+ inv('0x9A92C06ACBAF9731');
99
112
  }
100
113
  /**
101
114
  * @param p0
@@ -201,201 +214,407 @@ export class CamStatics {
201
214
  inv('0xD904F75DBD7AB865', entity.handle);
202
215
  }
203
216
  /**
204
- * @returns
217
+ * Zooms in the third person camera closer to ground level.
218
+ * Must be called every frame to interpolate.
219
+ * Pass false to reset.
220
+ *
221
+ * @param toggle
205
222
  */
206
- static N_0x1811A02277A9E49D() {
207
- return !!inv('0x1811A02277A9E49D', rai());
223
+ static N_0x71D71E08A7ED5BD7(toggle) {
224
+ inv('0x71D71E08A7ED5BD7', toggle);
208
225
  }
209
226
  /**
210
227
  * @returns
211
228
  */
212
- static N_0x80D7A3E39B120BC4() {
213
- return inv('0x80D7A3E39B120BC4');
214
- }
215
- /**
216
- * Not official name
217
- * This native allows to move the gameplay cam with the given speed, enableSlide will allow to move the cam to the slideOffset, enableZoom will allow to move the cam to the zoomOffset. EXAMPLE:
218
- * Citizen.InvokeNative(0x066167c63111d8cf,1.0, true, -1.0, true, 2.0)
219
- *
220
- * @param camSpeed
221
- * @param enableSlide
222
- * @param slideOffset
223
- * @param enableZoom
224
- * @param zoomOffset
225
- */
226
- static setGameplayCamParamsThisUpdate(camSpeed, enableSlide, slideOffset, enableZoom, zoomOffset) {
227
- inv('0x066167C63111D8CF', f(camSpeed), enableSlide, f(slideOffset), enableZoom, f(zoomOffset));
229
+ static isAimCamActive() {
230
+ return !!inv('0x698F456FB909E077', rai());
228
231
  }
229
232
  /**
230
233
  * @param p0
234
+ * @param p1
235
+ * @param p2
231
236
  */
232
- static stopCodeGameplayHint(p0) {
233
- inv('0x93759A83D0D844E7', p0);
237
+ static cinematicLocationStopScriptedShotEvent(p0, p1, p2) {
238
+ inv('0x6D4D25C2137FF511', p0, p1, p2);
234
239
  }
235
240
  /**
236
- * @param camHash
237
- * @param pos
238
- * @param rot
239
- * @param fov
240
- * @param p8
241
- * @param p9
242
- * @returns
241
+ * Zooms in the gameplay camera to the next zoom level?
242
+ * USE_* - WAS_*
243
243
  */
244
- static createCameraWithParams(camHash, pos, rot, fov, p8, p9) {
245
- return createFromHandle('Cam', inv('0x98B99B9F27E2D60B', _h(camHash), f(pos.x), f(pos.y), f(pos.z), f(rot.x), f(rot.y), f(rot.z), f(fov), p8, p9, rai()));
244
+ static N_0x632BE8D84846FA56() {
245
+ inv('0x632BE8D84846FA56');
246
246
  }
247
247
  /**
248
- * @param p0
248
+ * This native makes the gameplay camera zoom into first person/third person with a special effect.
249
+ * blendBackSmoothingType: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eBlendBackSmoothing
250
+ *
251
+ * @param render
252
+ * @param distance
253
+ * @param blendBackSmoothingType
254
+ * @param p3
255
+ * @param p4
256
+ * @param p5
249
257
  */
250
- static setCinematicModeActive(p0) {
251
- inv('0xCE7A90B160F75046', p0);
258
+ static stopRenderingScriptCamsUsingCatchUp(render, distance, blendBackSmoothingType, p3, p4, p5) {
259
+ inv('0x8C7C7FF7CF0E5153', render, f(distance), blendBackSmoothingType, p3, p4, p5);
260
+ }
261
+ static N_0x7E40A01B11398FCB() {
262
+ inv('0x7E40A01B11398FCB');
252
263
  }
253
264
  /**
254
- * Old name: _SET_GAMEPLAY_HINT_ANIM_OFFSETX
255
- *
256
265
  * @param p0
257
266
  */
258
- static setGameplayHintCameraRelativeSideOffset(p0) {
259
- inv('0xF86B6F93727C59C9', f(p0));
267
+ static N_0x39073DA4EDDBC91D(p0) {
268
+ inv('0x39073DA4EDDBC91D', p0);
260
269
  }
261
270
  /**
262
- * @param p0
271
+ * @returns
263
272
  */
264
- static N_0x6519238858AF5479(p0) {
265
- inv('0x6519238858AF5479', p0);
273
+ static isFollowVehicleCamActive() {
274
+ return !!inv('0xA40C2F51FB589E9A', rai());
266
275
  }
267
276
  /**
268
- * Sets the camera position relative to heading in float from -360 to +360. Heading is always 0 in aiming camera.
277
+ * ease - smooth transition between the camera's positions
278
+ * easeTime - Time in milliseconds for the transition to happen If you have created a script (rendering) camera, and want to go back to the
279
+ * character (gameplay) camera, call this native with render set to FALSE.
280
+ * Setting ease to TRUE will smooth the transition.
269
281
  *
270
- * @param heading
271
- * @param p1
282
+ * @param render
283
+ * @param ease
284
+ * @param easeTime
285
+ * @param p3
286
+ * @param p4
287
+ * @param p5
272
288
  */
273
- static setGameplayCamRelativeHeading(heading, p1) {
274
- inv('0x5D1EB123EAC5D071', f(heading), f(p1));
289
+ static renderScriptCams(render, ease, easeTime, p3, p4, p5) {
290
+ inv('0x33281167E4942E4F', render, ease, easeTime, p3, p4, p5);
275
291
  }
276
292
  /**
277
293
  * @param p0
278
294
  * @param p1
295
+ * @param p2
296
+ * @param p3
279
297
  */
280
- static N_0x4D2F46D1B28D90FB(p0, p1) {
281
- inv('0x4D2F46D1B28D90FB', p0, p1);
298
+ static N_0xE28F73212A813E82(p0, p1, p2, p3) {
299
+ inv('0xE28F73212A813E82', p0, p1, p2, p3);
282
300
  }
283
301
  /**
302
+ * More info: https://en.wikipedia.org/wiki/Letterboxing_(filming)
303
+ *
284
304
  * @returns
285
305
  */
286
- static getPhotoModeFocalLength() {
287
- return inv('0x2533BAFFBE737E54', raf());
306
+ static hasLetterBox() {
307
+ return inv('0x81DCFD13CF39920E');
288
308
  }
289
309
  /**
290
310
  * @returns
291
311
  */
292
- static N_0x2AB7C81B3F70570C() {
293
- return inv('0x2AB7C81B3F70570C');
294
- }
295
- static N_0xCF69EA05CD9C33C9() {
296
- inv('0xCF69EA05CD9C33C9');
312
+ static N_0x6DFD37E586D4F44F() {
313
+ return inv('0x6DFD37E586D4F44F');
297
314
  }
298
315
  /**
299
- * @param camHash
300
- * @param p1
301
- * @returns
316
+ * @param locationDictName
302
317
  */
303
- static createCamera(camHash, p1) {
304
- return createFromHandle('Cam', inv('0x57CDF879EA466C46', _h(camHash), p1, rai()));
318
+ static loadCinematicCamLocation(locationDictName) {
319
+ inv('0x1B3C2D961F5FC0E1', locationDictName);
305
320
  }
306
321
  /**
307
- * Used in Script Function SHOP_CAMERA_SUPPORT_START_NEW_ORBIT
322
+ * _SET_GAMEPLAY_P* - _SET_GAMEPLAY_V*
308
323
  *
309
- * @param camInitialZoom
324
+ * @param shakeName
325
+ * @param intensity
310
326
  */
311
- static setGameplayCamInitialZoom(camInitialZoom) {
312
- inv('0xBCDA0BA8762FACB9', f(camInitialZoom));
327
+ static N_0xFEFDDC6E8FDF8A75(shakeName, intensity) {
328
+ inv('0xFEFDDC6E8FDF8A75', shakeName, f(intensity));
313
329
  }
314
330
  /**
315
- * Only used in R* Script fm_mission_controller
316
- *
317
- * @param name
318
- * @param entity
331
+ * @returns
319
332
  */
320
- static cinematicLocationOverrideTargetEntityThisUpdate(name, entity) {
321
- inv('0x0B0F914459731F60', name, entity.handle);
333
+ static N_0x5060FA977CEA4455() {
334
+ return inv('0x5060FA977CEA4455');
322
335
  }
323
336
  /**
324
- * Used for DUELING_LOCK_CAMERA_CONTROLS_THIS_FRAME: Disabling look/aim controls
325
- * *IS_SC(REEN*)* (?)
337
+ * [SHOP_CAMERA_SUPPORT_START_NEW_ORBIT]
338
+ * p0: struct<32> /*256*\/
339
+ *
340
+ * @returns p0
341
+ */
342
+ static startCameraOrbit() {
343
+ const result = inv('0x65B205BF30C13DDB', pvi());
344
+ return result;
345
+ }
346
+ /**
347
+ * @param p0
348
+ * @param p1
349
+ */
350
+ static setWidescreenBorders(p0, p1) {
351
+ inv('0xD7F4D54CF80AFA34', p0, p1);
352
+ }
353
+ static N_0x06557F6D96C86881() {
354
+ inv('0x06557F6D96C86881');
355
+ }
356
+ /**
357
+ * minimum: Degrees between -180f and 180f.
358
+ * maximum: Degrees between -180f and 180f. Clamps the gameplay camera's current yaw. Eg. _CLAMP_GAMEPLAY_CAM_YAW(0.0f, 0.0f) will set the horizontal angle directly behind the player. Old name: _CLAMP_GAMEPLAY_CAM_YAW
326
359
  *
360
+ * @param minimum
361
+ * @param maximum
362
+ */
363
+ static setThirdPersonCamRelativeHeadingLimitsThisUpdate(minimum, maximum) {
364
+ inv('0x14F3947318CA8AD2', f(minimum), f(maximum));
365
+ }
366
+ /**
367
+ * @param p0
368
+ */
369
+ static N_0xDF7F5BE9150E47E4(p0) {
370
+ inv('0xDF7F5BE9150E47E4', p0);
371
+ }
372
+ static N_0x04084490CC302CFB() {
373
+ inv('0x04084490CC302CFB');
374
+ }
375
+ /**
376
+ * @param p0
377
+ */
378
+ static stopGameplayCamShaking(p0) {
379
+ inv('0xE0DE43D290FB65F9', p0);
380
+ }
381
+ /**
382
+ * Creates Cinematic Black Bars (at top and bottom)
383
+ * Disable instantly: false/false, Enable instantly: true/true
384
+ *
385
+ * @param p0
386
+ * @param p1
387
+ */
388
+ static requestLetterBoxNow(p0, p1) {
389
+ inv('0x69D65E89FFD72313', p0, p1);
390
+ }
391
+ /**
392
+ * @param entity
393
+ */
394
+ static disableCamCollisionForObject(entity) {
395
+ inv('0x7E3F546ACFE6C8D9', entity.handle);
396
+ }
397
+ /**
327
398
  * @returns
328
399
  */
329
- static N_0x1204EB53A5FBC63D() {
330
- return !!inv('0x1204EB53A5FBC63D', rai());
400
+ static getGameplayCamFov() {
401
+ return inv('0xF6A96E5ACEEC6E50', raf());
331
402
  }
332
- static freezeGameplayCamThisFrame() {
333
- inv('0x027CAB2C3AF27010');
403
+ /**
404
+ * Fades the screen in. duration: The time the fade should take, in milliseconds.
405
+ *
406
+ * @param duration
407
+ */
408
+ static doScreenFadeIn(duration) {
409
+ inv('0x6A053CF596F67DF7', duration);
410
+ }
411
+ /**
412
+ * script_rel: DRUNK_SHAKE, REINFORCED_LASSO_STRUGGLE_SHAKE, CORRECTOR_SHAKE, MINIGAME_BOUNTY_SHAKE, HAND_SHAKE, MINIGAME_TRAIN_SHAKE
413
+ * script_mp_rel: DRUNK_SHAKE, REINFORCED_LASSO_STRUGGLE_SHAKE
414
+ * _STOP_GAMEPLAY_CAM* - _STOP_I*
415
+ *
416
+ * @param shakeName
417
+ * @param p1
418
+ */
419
+ static stopGameplayCamShakingWithName(shakeName, p1) {
420
+ inv('0x4285804FD65D8066', shakeName, p1);
334
421
  }
335
422
  /**
336
423
  * @returns
337
424
  */
338
- static isInterpolatingFromScriptCams() {
339
- return !!inv('0x251241CAEC707106', rai());
425
+ static isInterpolatingToScriptCams() {
426
+ return !!inv('0x43AB9D5A7D415478', rai());
427
+ }
428
+ /**
429
+ * @returns
430
+ */
431
+ static getFinalRenderedCamFov() {
432
+ return inv('0x04AF77971E508F6A', raf());
340
433
  }
341
434
  /**
435
+ * UPDATE_PLAYER_PLAYING_STATE - Releasing Lasso Hint Cam
436
+ * Return type char in ida
437
+ * *SET_GAMEPLAY_HINT**
438
+ *
342
439
  * @param p0
343
440
  */
344
- static N_0x9AC65A36D3C0C189(p0) {
345
- inv('0x9AC65A36D3C0C189', p0);
441
+ static N_0x88544C0E3291DCAE(p0) {
442
+ inv('0x88544C0E3291DCAE', p0);
346
443
  }
347
444
  /**
348
445
  * @returns
349
446
  */
350
- static N_0xF824530B612FE0CE() {
351
- return inv('0xF824530B612FE0CE');
447
+ static isScreenFadedIn() {
448
+ return !!inv('0x37F9A426FBCF4AF2', rai());
449
+ }
450
+ /**
451
+ * Old name: _DISABLE_FIRST_PERSON_CAM_THIS_FRAME
452
+ */
453
+ static disableOnFootFirstPersonViewThisUpdate() {
454
+ inv('0x9C473089A934C930');
455
+ }
456
+ /**
457
+ * Old name: _INVALIDATE_VEHICLE_IDLE_CAM
458
+ */
459
+ static invalidateCinematicVehicleIdleMode() {
460
+ inv('0x634F4A0562CF19B8');
461
+ }
462
+ /**
463
+ * @param dictionaryName
464
+ */
465
+ static unloadCinematicCameraLocation(dictionaryName) {
466
+ inv('0x2412216FCC7B4E3E', dictionaryName);
352
467
  }
353
468
  /**
354
469
  * @returns
355
470
  */
356
- static getFirstPersonAimCamZoomFactor() {
357
- return inv('0xB4132CA1B0EE1365', raf());
471
+ static isScreenFadedOut() {
472
+ return !!inv('0xF5472C80DF2FF847', rai());
473
+ }
474
+ /**
475
+ * @param dictionary
476
+ * @param shotName
477
+ * @param duration
478
+ */
479
+ static N_0xA54D643D0773EB65(dictionary, shotName, duration) {
480
+ inv('0xA54D643D0773EB65', dictionary, shotName, duration);
358
481
  }
359
482
  /**
360
- * @param rotationOrder
361
483
  * @returns
362
484
  */
363
- static getGameplayCamRot(rotationOrder) {
364
- return Vector3.fromArray(inv('0x0252D2B5582957A6', rotationOrder, rav()));
485
+ static isDeathFailCameraRunning() {
486
+ return !!inv('0x139EFB0A71DD9011', rai());
365
487
  }
366
488
  /**
367
- * @param camName
368
- * @param p1
369
489
  * @returns
370
490
  */
371
- static createCam(camName, p1) {
372
- return createFromHandle('Cam', inv('0xE72CDBA7F0A02DD6', camName, p1, rai()));
491
+ static N_0xDC62CD70658E7A02() {
492
+ return inv('0xDC62CD70658E7A02');
373
493
  }
374
494
  /**
375
- * Fades the screen out. duration: The time the fade should take, in milliseconds.
495
+ * @param cameraDictionary
496
+ */
497
+ static loadCameraDataDict(cameraDictionary) {
498
+ inv('0x6A4D224FC7643941', cameraDictionary);
499
+ }
500
+ /**
501
+ * Does the same as 0x9C473089A934C930 (DISABLE_ON_FOOT_FIRST_PERSON_VIEW_THIS_UPDATE)
502
+ */
503
+ static disableOnFootFirstPersonViewThisUpdate2() {
504
+ inv('0x05AB44D906738426');
505
+ }
506
+ static N_0xF1A6FEEDF3776EF9() {
507
+ inv('0xF1A6FEEDF3776EF9');
508
+ }
509
+ /**
510
+ * Old name: _ANIMATE_GAMEPLAY_CAM_ZOOM
376
511
  *
377
- * @param duration
512
+ * @param p0
513
+ * @param distance
378
514
  */
379
- static doScreenFadeOut(duration) {
380
- inv('0x40C719A5E410B9E4', duration);
515
+ static setThirdPersonCamOrbitDistanceLimitsThisUpdate(p0, distance) {
516
+ inv('0x2126C740A4AC370B', f(p0), f(distance));
381
517
  }
382
518
  /**
383
- * Used for DUELING_MANAGE_DEATH_CAMERA - Initializing death camera
384
- * Params: targetPed = death cam focuses on it
519
+ * More info: see HAS_LETTER_BOX
385
520
  *
386
- * @param targetPed
521
+ * @returns
387
522
  */
388
- static forceCinematicDeathCamOnPed(targetPed) {
389
- inv('0xE3639DB78B3B5400', targetPed.handle);
523
+ static getLetterBoxRatio() {
524
+ return inv('0xA2B1C7EF759A63CE', raf());
525
+ }
526
+ /**
527
+ * @returns
528
+ */
529
+ static N_0x7CE9DC58E3E4755F() {
530
+ return inv('0x7CE9DC58E3E4755F');
390
531
  }
391
532
  /**
392
533
  * @param p0
534
+ * @param p1
393
535
  */
394
- static N_0xC252C0CC969AF79A(p0) {
395
- inv('0xC252C0CC969AF79A', p0);
536
+ static N_0xFEB8646818294C75(p0, p1) {
537
+ inv('0xFEB8646818294C75', p0, p1);
396
538
  }
397
- static N_0x3C486E334520579D() {
398
- inv('0x3C486E334520579D');
539
+ /**
540
+ * @param p0
541
+ */
542
+ static N_0xDB382FE20C2DA222(p0) {
543
+ inv('0xDB382FE20C2DA222', p0);
544
+ }
545
+ /**
546
+ * @param p0
547
+ */
548
+ static N_0x29E6655DF3590B0D(p0) {
549
+ inv('0x29E6655DF3590B0D', p0);
550
+ }
551
+ /**
552
+ * @param pos
553
+ * @param radius
554
+ * @returns
555
+ */
556
+ static isSphereVisible(pos, radius) {
557
+ return !!inv('0x2E941B5FFA2989C6', f(pos.x), f(pos.y), f(pos.z), f(radius), rai());
558
+ }
559
+ /**
560
+ * @param camInitialHeading
561
+ */
562
+ static setGameplayCamInitialHeading(camInitialHeading) {
563
+ inv('0x6C1053C433A573CF', f(camInitialHeading));
564
+ }
565
+ /**
566
+ * @param p0
567
+ */
568
+ static stopGameplayHint(p0) {
569
+ inv('0x1BCEC33D54CFCA8A', p0);
570
+ }
571
+ /**
572
+ * @param p0
573
+ */
574
+ static N_0x0961B089947BA6D0(p0) {
575
+ inv('0x0961B089947BA6D0', p0);
576
+ }
577
+ /**
578
+ * minimum: Degrees between -90f and 90f.
579
+ * maximum: Degrees between -90f and 90f. Clamps the gameplay camera's current pitch. Eg. _CLAMP_GAMEPLAY_CAM_PITCH(0.0f, 0.0f) will set the vertical angle directly behind the player. Old name: _CLAMP_GAMEPLAY_CAM_PITCH
580
+ *
581
+ * @param minimum
582
+ * @param maximum
583
+ */
584
+ static setThirdPersonCamRelativePitchLimitsThisUpdate(minimum, maximum) {
585
+ inv('0x326C7AA308F3DF6A', f(minimum), f(maximum));
586
+ }
587
+ /**
588
+ * @returns
589
+ */
590
+ static N_0x6072B7420A83A03F() {
591
+ return inv('0x6072B7420A83A03F');
592
+ }
593
+ /**
594
+ * @param p0
595
+ */
596
+ static N_0xC205B3C54C6A4E37(p0) {
597
+ inv('0xC205B3C54C6A4E37', p0);
598
+ }
599
+ /**
600
+ * Only used in R* Script camera_photomode
601
+ *
602
+ * @returns
603
+ */
604
+ static isAnimSceneCamActive() {
605
+ return inv('0x20389408F0E93B9A');
606
+ }
607
+ /**
608
+ * Hash used in finale1.ysc: 1726668277
609
+ *
610
+ * @param pos
611
+ * @param duration
612
+ * @param blendOutDuration
613
+ * @param blendInDuration
614
+ * @param p6
615
+ */
616
+ static setGameplayCoordHint(pos, duration, blendOutDuration, blendInDuration, p6) {
617
+ inv('0xFA33B8C69A4A6A0F', f(pos.x), f(pos.y), f(pos.z), duration, blendOutDuration, blendInDuration, _h(p6));
399
618
  }
400
619
  /**
401
620
  * @returns
@@ -521,154 +740,55 @@ export class CamStatics {
521
740
  * Camera will be or is running
522
741
  */
523
742
  static N_0xC3742F1FDF0A6824() {
524
- inv('0xC3742F1FDF0A6824');
525
- }
526
- /**
527
- * @returns
528
- */
529
- static getRenderingCam() {
530
- return createFromHandle('Cam', inv('0x03A8931ECC8015D6', rai()));
531
- }
532
- /**
533
- * @param p0
534
- */
535
- static N_0x8505E05FC8822843(p0) {
536
- inv('0x8505E05FC8822843', p0);
537
- }
538
- /**
539
- * @param p0
540
- */
541
- static N_0x2DD3149DC34A3F4C(p0) {
542
- inv('0x2DD3149DC34A3F4C', p0);
543
- }
544
- static N_0xFC3F638BE2B6BB02() {
545
- inv('0xFC3F638BE2B6BB02');
546
- }
547
- /**
548
- * _IS_SCRIPTED_S*
549
- *
550
- * @returns
551
- */
552
- static N_0x975F6EBB62632FE3() {
553
- return !!inv('0x975F6EBB62632FE3', rai());
554
- }
555
- /**
556
- * @param dictionary
557
- * @param shotName
558
- * @param duration
559
- * @returns
560
- */
561
- static N_0xEA113BF9B0C0C5D7(dictionary, shotName, duration) {
562
- return inv('0xEA113BF9B0C0C5D7', dictionary, shotName, duration);
563
- }
564
- /**
565
- * @param cameraDictionary
566
- * @returns
567
- */
568
- static N_0xC285FD21294A1C49(cameraDictionary) {
569
- return !!inv('0xC285FD21294A1C49', cameraDictionary, rai());
570
- }
571
- static disableCinematicModeThisFrame() {
572
- inv('0x8910C24B7E0046EC');
573
- }
574
- /**
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
580
- */
581
- static N_0x71D71E08A7ED5BD7(toggle) {
582
- inv('0x71D71E08A7ED5BD7', toggle);
583
- }
584
- /**
585
- * @returns
586
- */
587
- static isAimCamActive() {
588
- return !!inv('0x698F456FB909E077', rai());
589
- }
590
- /**
591
- * @param p0
592
- * @param p1
593
- * @param p2
594
- */
595
- static cinematicLocationStopScriptedShotEvent(p0, p1, p2) {
596
- inv('0x6D4D25C2137FF511', p0, p1, p2);
597
- }
598
- /**
599
- * Zooms in the gameplay camera to the next zoom level?
600
- * USE_* - WAS_*
601
- */
602
- static N_0x632BE8D84846FA56() {
603
- inv('0x632BE8D84846FA56');
604
- }
605
- /**
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
615
- */
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');
621
- }
622
- /**
623
- * @param p0
624
- */
625
- static N_0x39073DA4EDDBC91D(p0) {
626
- inv('0x39073DA4EDDBC91D', p0);
743
+ inv('0xC3742F1FDF0A6824');
627
744
  }
628
745
  /**
629
746
  * @returns
630
747
  */
631
- static isFollowVehicleCamActive() {
632
- return !!inv('0xA40C2F51FB589E9A', rai());
748
+ static getRenderingCam() {
749
+ return createFromHandle('Cam', inv('0x03A8931ECC8015D6', rai()));
633
750
  }
634
751
  /**
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
752
+ * @param p0
646
753
  */
647
- static renderScriptCams(render, ease, easeTime, p3, p4, p5) {
648
- inv('0x33281167E4942E4F', render, ease, easeTime, p3, p4, p5);
754
+ static N_0x8505E05FC8822843(p0) {
755
+ inv('0x8505E05FC8822843', p0);
649
756
  }
650
757
  /**
651
758
  * @param p0
652
- * @param p1
653
- * @param p2
654
- * @param p3
655
759
  */
656
- static N_0xE28F73212A813E82(p0, p1, p2, p3) {
657
- inv('0xE28F73212A813E82', p0, p1, p2, p3);
760
+ static N_0x2DD3149DC34A3F4C(p0) {
761
+ inv('0x2DD3149DC34A3F4C', p0);
762
+ }
763
+ static N_0xFC3F638BE2B6BB02() {
764
+ inv('0xFC3F638BE2B6BB02');
658
765
  }
659
766
  /**
660
- * More info: https://en.wikipedia.org/wiki/Letterboxing_(filming)
767
+ * _IS_SCRIPTED_S*
661
768
  *
662
769
  * @returns
663
770
  */
664
- static hasLetterBox() {
665
- return inv('0x81DCFD13CF39920E');
771
+ static N_0x975F6EBB62632FE3() {
772
+ return !!inv('0x975F6EBB62632FE3', rai());
666
773
  }
667
774
  /**
775
+ * @param dictionary
776
+ * @param shotName
777
+ * @param duration
668
778
  * @returns
669
779
  */
670
- static N_0x6DFD37E586D4F44F() {
671
- return inv('0x6DFD37E586D4F44F');
780
+ static N_0xEA113BF9B0C0C5D7(dictionary, shotName, duration) {
781
+ return inv('0xEA113BF9B0C0C5D7', dictionary, shotName, duration);
782
+ }
783
+ /**
784
+ * @param cameraDictionary
785
+ * @returns
786
+ */
787
+ static N_0xC285FD21294A1C49(cameraDictionary) {
788
+ return !!inv('0xC285FD21294A1C49', cameraDictionary, rai());
789
+ }
790
+ static disableCinematicModeThisFrame() {
791
+ inv('0x8910C24B7E0046EC');
672
792
  }
673
793
  /**
674
794
  * @param p0
@@ -742,256 +862,205 @@ export class CamStatics {
742
862
  static N_0x1D931B7CC0EE3956(dictionary, shotName, cameraName) {
743
863
  return !!inv('0x1D931B7CC0EE3956', dictionary, shotName, cameraName, rai());
744
864
  }
745
- /**
746
- * @param cameraDictionary
747
- */
748
- static loadCameraDataDict(cameraDictionary) {
749
- inv('0x6A4D224FC7643941', cameraDictionary);
865
+ static N_0xCF69EA05CD9C33C9() {
866
+ inv('0xCF69EA05CD9C33C9');
750
867
  }
751
868
  /**
752
- * Does the same as 0x9C473089A934C930 (DISABLE_ON_FOOT_FIRST_PERSON_VIEW_THIS_UPDATE)
869
+ * @param camHash
870
+ * @param p1
871
+ * @returns
753
872
  */
754
- static disableOnFootFirstPersonViewThisUpdate2() {
755
- inv('0x05AB44D906738426');
756
- }
757
- static N_0xF1A6FEEDF3776EF9() {
758
- inv('0xF1A6FEEDF3776EF9');
873
+ static createCamera(camHash, p1) {
874
+ return createFromHandle('Cam', inv('0x57CDF879EA466C46', _h(camHash), p1, rai()));
759
875
  }
760
876
  /**
761
- * Old name: _ANIMATE_GAMEPLAY_CAM_ZOOM
877
+ * Used in Script Function SHOP_CAMERA_SUPPORT_START_NEW_ORBIT
762
878
  *
763
- * @param p0
764
- * @param distance
879
+ * @param camInitialZoom
765
880
  */
766
- static setThirdPersonCamOrbitDistanceLimitsThisUpdate(p0, distance) {
767
- inv('0x2126C740A4AC370B', f(p0), f(distance));
881
+ static setGameplayCamInitialZoom(camInitialZoom) {
882
+ inv('0xBCDA0BA8762FACB9', f(camInitialZoom));
768
883
  }
769
884
  /**
770
- * More info: see HAS_LETTER_BOX
885
+ * Only used in R* Script fm_mission_controller
771
886
  *
772
- * @returns
887
+ * @param name
888
+ * @param entity
773
889
  */
774
- static getLetterBoxRatio() {
775
- return inv('0xA2B1C7EF759A63CE', raf());
890
+ static cinematicLocationOverrideTargetEntityThisUpdate(name, entity) {
891
+ inv('0x0B0F914459731F60', name, entity.handle);
776
892
  }
777
893
  /**
894
+ * Used for DUELING_LOCK_CAMERA_CONTROLS_THIS_FRAME: Disabling look/aim controls
895
+ * *IS_SC(REEN*)* (?)
896
+ *
778
897
  * @returns
779
898
  */
780
- static N_0x7CE9DC58E3E4755F() {
781
- return inv('0x7CE9DC58E3E4755F');
899
+ static N_0x1204EB53A5FBC63D() {
900
+ return !!inv('0x1204EB53A5FBC63D', rai());
782
901
  }
783
- /**
784
- * @param p0
785
- * @param p1
786
- */
787
- static N_0xFEB8646818294C75(p0, p1) {
788
- inv('0xFEB8646818294C75', p0, p1);
902
+ static freezeGameplayCamThisFrame() {
903
+ inv('0x027CAB2C3AF27010');
789
904
  }
790
905
  /**
791
- * @param p0
906
+ * @returns
792
907
  */
793
- static N_0xDB382FE20C2DA222(p0) {
794
- inv('0xDB382FE20C2DA222', p0);
908
+ static isInterpolatingFromScriptCams() {
909
+ return !!inv('0x251241CAEC707106', rai());
795
910
  }
796
911
  /**
797
912
  * @param p0
798
913
  */
799
- static N_0x29E6655DF3590B0D(p0) {
800
- inv('0x29E6655DF3590B0D', p0);
914
+ static N_0x9AC65A36D3C0C189(p0) {
915
+ inv('0x9AC65A36D3C0C189', p0);
801
916
  }
802
917
  /**
803
- * @param pos
804
- * @param radius
805
918
  * @returns
806
919
  */
807
- static isSphereVisible(pos, radius) {
808
- return !!inv('0x2E941B5FFA2989C6', f(pos.x), f(pos.y), f(pos.z), f(radius), rai());
809
- }
810
- /**
811
- * @param camInitialHeading
812
- */
813
- static setGameplayCamInitialHeading(camInitialHeading) {
814
- inv('0x6C1053C433A573CF', f(camInitialHeading));
815
- }
816
- /**
817
- * @param p0
818
- */
819
- static stopGameplayHint(p0) {
820
- inv('0x1BCEC33D54CFCA8A', p0);
920
+ static N_0xF824530B612FE0CE() {
921
+ return inv('0xF824530B612FE0CE');
821
922
  }
822
923
  /**
823
- * @param p0
924
+ * @returns
824
925
  */
825
- static N_0x0961B089947BA6D0(p0) {
826
- inv('0x0961B089947BA6D0', p0);
926
+ static getFirstPersonAimCamZoomFactor() {
927
+ return inv('0xB4132CA1B0EE1365', raf());
827
928
  }
828
929
  /**
829
- * minimum: Degrees between -90f and 90f.
830
- * 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
831
- *
832
- * @param minimum
833
- * @param maximum
930
+ * @param rotationOrder
931
+ * @returns
834
932
  */
835
- static setThirdPersonCamRelativePitchLimitsThisUpdate(minimum, maximum) {
836
- inv('0x326C7AA308F3DF6A', f(minimum), f(maximum));
933
+ static getGameplayCamRot(rotationOrder) {
934
+ return Vector3.fromArray(inv('0x0252D2B5582957A6', rotationOrder, rav()));
837
935
  }
838
936
  /**
937
+ * @param camName
938
+ * @param p1
839
939
  * @returns
840
940
  */
841
- static N_0x6072B7420A83A03F() {
842
- return inv('0x6072B7420A83A03F');
941
+ static createCam(camName, p1) {
942
+ return createFromHandle('Cam', inv('0xE72CDBA7F0A02DD6', camName, p1, rai()));
843
943
  }
844
944
  /**
845
- * @param p0
945
+ * Fades the screen out. duration: The time the fade should take, in milliseconds.
946
+ *
947
+ * @param duration
846
948
  */
847
- static N_0xC205B3C54C6A4E37(p0) {
848
- inv('0xC205B3C54C6A4E37', p0);
949
+ static doScreenFadeOut(duration) {
950
+ inv('0x40C719A5E410B9E4', duration);
849
951
  }
850
952
  /**
851
- * @param p0
953
+ * Used for DUELING_MANAGE_DEATH_CAMERA - Initializing death camera
954
+ * Params: targetPed = death cam focuses on it
955
+ *
956
+ * @param targetPed
852
957
  */
853
- static setScriptedCameraIsFirstPersonThisFrame(p0) {
854
- inv('0x1DD95A8D6B24A0C9', p0);
958
+ static forceCinematicDeathCamOnPed(targetPed) {
959
+ inv('0xE3639DB78B3B5400', targetPed.handle);
855
960
  }
856
961
  /**
857
962
  * @param p0
858
- * @param p1
859
- * @param p2
860
- * @returns
861
963
  */
862
- static isFirstPersonCameraActive(p0, p1, p2) {
863
- return !!inv('0xA24C1D341C6E0D53', p0, p1, p2, rai());
864
- }
865
- static N_0x3C8F74E8FE751614() {
866
- inv('0x3C8F74E8FE751614');
964
+ static N_0xC252C0CC969AF79A(p0) {
965
+ inv('0xC252C0CC969AF79A', p0);
867
966
  }
868
- /**
869
- * Only used in R* Script camera_photomode
870
- *
871
- * @returns
872
- */
873
- static isAnimSceneCamActive() {
874
- return inv('0x20389408F0E93B9A');
967
+ static N_0x3C486E334520579D() {
968
+ inv('0x3C486E334520579D');
875
969
  }
876
970
  /**
877
- * Hash used in finale1.ysc: 1726668277
878
- *
879
- * @param pos
971
+ * @param dictionary
972
+ * @param shotName
880
973
  * @param duration
881
- * @param blendOutDuration
882
- * @param blendInDuration
883
- * @param p6
974
+ * @returns
884
975
  */
885
- static setGameplayCoordHint(pos, duration, blendOutDuration, blendInDuration, p6) {
886
- inv('0xFA33B8C69A4A6A0F', f(pos.x), f(pos.y), f(pos.z), duration, blendOutDuration, blendInDuration, _h(p6));
976
+ static N_0x465F04F68AD38197(dictionary, shotName, duration) {
977
+ return inv('0x465F04F68AD38197', dictionary, shotName, duration);
887
978
  }
888
979
  /**
889
- * p6 & p7 - possibly length or time
890
- *
891
- * @param entity
892
- * @param offset
893
- * @param p4
894
- * @param p5
895
- * @param p6
896
- * @param p7
897
- * @param p8
980
+ * @param p0
898
981
  */
899
- static setGameplayEntityHint(entity, offset, p4, p5, p6, p7, p8) {
900
- inv('0xD1F7F32640ADFD12', entity.handle, f(offset.x), f(offset.y), f(offset.z), p4, p5, p6, p7, p8);
982
+ static N_0xE2BB2D6A9FE2ECDE(p0) {
983
+ inv('0xE2BB2D6A9FE2ECDE', p0);
901
984
  }
902
985
  /**
903
- * Forces camera position to second furthest 3rd person
986
+ * @param cameraDictionary
904
987
  */
905
- static forceThirdPersonCamThisFrame() {
906
- inv('0x8370D34BD2E60B73');
988
+ static unloadCameraDataDict(cameraDictionary) {
989
+ inv('0x798BE43C9393632B', cameraDictionary);
907
990
  }
908
991
  /**
909
- * @param p0
992
+ * @param sLocationDictName
993
+ * @returns
910
994
  */
911
- static setGameplayHintFollowDistanceScalar(p0) {
912
- inv('0xDDDC54181868F81F', f(p0));
995
+ static isCinematicCamLocationLoaded(sLocationDictName) {
996
+ return !!inv('0xAA235E2F2C09E952', sLocationDictName, rai());
913
997
  }
914
998
  /**
915
999
  * @returns
916
1000
  */
917
- static isCamPhotofxRunning() {
918
- return inv('0xA14D5FE82BCB1D9E');
1001
+ static N_0x450769C833D58844() {
1002
+ return inv('0x450769C833D58844');
919
1003
  }
920
1004
  /**
921
- * Sets the amplitude for the gameplay (i.e. 3rd or 1st) camera to shake.
922
- *
923
- * @param amplitude
1005
+ * @param p0
1006
+ * @param p1
1007
+ * @param p2
1008
+ * @param p3
1009
+ * @param p4
1010
+ * @param p5
924
1011
  */
925
- static setGameplayCamShakeAmplitude(amplitude) {
926
- inv('0x570E35F5C4A44838', f(amplitude));
1012
+ static requestLetterBoxOvertime(p0, p1, p2, p3, p4, p5) {
1013
+ inv('0xE296208C273BD7F0', p0, p1, p2, p3, p4, p5);
927
1014
  }
928
1015
  /**
929
- * @param dictionary
930
- * @param shotName
931
- * @param duration
1016
+ * NPLOI_UPDATE__GUN_SPINNING_PREVIEW - Adjusting Camera / Ped Reset Flags This Frame
1017
+ * *DISABLE**
932
1018
  */
933
- static cinematicLocationTriggerScriptedShotEvent2(dictionary, shotName, duration) {
934
- inv('0xBC016635D6A73B31', dictionary, shotName, duration);
1019
+ static N_0x0F1FFEF5D54AE832() {
1020
+ inv('0x0F1FFEF5D54AE832');
935
1021
  }
936
1022
  /**
937
- * Sets the camera pitch. Parameters:
938
- * x = pitches the camera on the x axis.
939
- * Value2 = always seems to be hex 0x3F800000 (1.000000 float).
1023
+ * Returns true if player is in first person
940
1024
  *
941
- * @param x
942
- * @param Value2
1025
+ * @returns
943
1026
  */
944
- static setGameplayCamRelativePitch(x, Value2) {
945
- inv('0xFB760AF4F537B8BF', f(x), f(Value2));
1027
+ static isInFullFirstPersonMode() {
1028
+ return inv('0xD1BA66940E94C547');
946
1029
  }
947
1030
  /**
948
- * Creates Kill Cam for specified Ped Handle
949
- *
950
- * @param ped
1031
+ * @returns
951
1032
  */
952
- static createKillCam(ped) {
953
- inv('0x2F994CC29CAA9D22', ped.handle);
1033
+ static isFirstPersonAimCamActive() {
1034
+ return !!inv('0xF63134C54B6EC212', rai());
1035
+ }
1036
+ /**
1037
+ * @param cameraDictionary
1038
+ */
1039
+ static N_0xAC77757C05DE9E5A(cameraDictionary) {
1040
+ inv('0xAC77757C05DE9E5A', cameraDictionary);
954
1041
  }
955
1042
  /**
956
1043
  * @param p0
957
1044
  */
958
- static setGameplayHintBaseOrbitPitchOffset(p0) {
959
- inv('0x421192A2DA48FD01', f(p0));
1045
+ static setGameplayCamMaxMotionBlurStrengthThisUpdate(p0) {
1046
+ inv('0x8459B3E64257B21D', f(p0));
960
1047
  }
961
1048
  /**
962
1049
  * @param p0
963
- * @param p1
964
- * @param p2
965
- * @param p3
1050
+ * @param pos1
966
1051
  * @param p4
967
1052
  * @param p5
968
1053
  * @param p6
969
1054
  * @param p7
970
1055
  */
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');
1056
+ static setGameplayPedHint(p0, pos1, p4, p5, p6, p7) {
1057
+ inv('0x90FB951648851733', p0.handle, f(pos1.x), f(pos1.y), f(pos1.z), p4, p5, p6, p7);
979
1058
  }
980
1059
  /**
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
1060
+ * @returns
986
1061
  */
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');
1062
+ static getFinalRenderedCamCoord() {
1063
+ return Vector3.fromArray(inv('0x5352E025EC2B416F', rav()));
995
1064
  }
996
1065
  /**
997
1066
  * @returns
@@ -1099,183 +1168,96 @@ export class CamStatics {
1099
1168
  return Vector3.fromArray(inv('0x602685BD85DD26CA', rotationOrder, rav()));
1100
1169
  }
1101
1170
  /**
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
1171
+ * @returns
1112
1172
  */
1113
- static N_0xFEFDDC6E8FDF8A75(shakeName, intensity) {
1114
- inv('0xFEFDDC6E8FDF8A75', shakeName, f(intensity));
1173
+ static N_0x1811A02277A9E49D() {
1174
+ return !!inv('0x1811A02277A9E49D', rai());
1115
1175
  }
1116
1176
  /**
1117
1177
  * @returns
1118
1178
  */
1119
- static N_0x5060FA977CEA4455() {
1120
- return inv('0x5060FA977CEA4455');
1179
+ static N_0x80D7A3E39B120BC4() {
1180
+ return inv('0x80D7A3E39B120BC4');
1121
1181
  }
1122
1182
  /**
1123
- * [SHOP_CAMERA_SUPPORT_START_NEW_ORBIT]
1124
- * p0: struct<32> /*256*\/
1183
+ * Not official name
1184
+ * This native allows to move the gameplay cam with the given speed, enableSlide will allow to move the cam to the slideOffset, enableZoom will allow to move the cam to the zoomOffset. EXAMPLE:
1185
+ * Citizen.InvokeNative(0x066167c63111d8cf,1.0, true, -1.0, true, 2.0)
1125
1186
  *
1126
- * @returns p0
1187
+ * @param camSpeed
1188
+ * @param enableSlide
1189
+ * @param slideOffset
1190
+ * @param enableZoom
1191
+ * @param zoomOffset
1127
1192
  */
1128
- static startCameraOrbit() {
1129
- const result = inv('0x65B205BF30C13DDB', pvi());
1130
- return result;
1193
+ static setGameplayCamParamsThisUpdate(camSpeed, enableSlide, slideOffset, enableZoom, zoomOffset) {
1194
+ inv('0x066167C63111D8CF', f(camSpeed), enableSlide, f(slideOffset), enableZoom, f(zoomOffset));
1131
1195
  }
1132
1196
  /**
1133
1197
  * @param p0
1134
- * @param p1
1135
- */
1136
- static setWidescreenBorders(p0, p1) {
1137
- inv('0xD7F4D54CF80AFA34', p0, p1);
1138
- }
1139
- static N_0x06557F6D96C86881() {
1140
- inv('0x06557F6D96C86881');
1141
- }
1142
- /**
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
1148
1198
  */
1149
- static setThirdPersonCamRelativeHeadingLimitsThisUpdate(minimum, maximum) {
1150
- inv('0x14F3947318CA8AD2', f(minimum), f(maximum));
1199
+ static stopCodeGameplayHint(p0) {
1200
+ inv('0x93759A83D0D844E7', p0);
1151
1201
  }
1152
1202
  /**
1153
- * @param p0
1203
+ * @param camHash
1204
+ * @param pos
1205
+ * @param rot
1206
+ * @param fov
1207
+ * @param p8
1208
+ * @param p9
1209
+ * @returns
1154
1210
  */
1155
- static N_0xDF7F5BE9150E47E4(p0) {
1156
- inv('0xDF7F5BE9150E47E4', p0);
1157
- }
1158
- static N_0x04084490CC302CFB() {
1159
- inv('0x04084490CC302CFB');
1211
+ static createCameraWithParams(camHash, pos, rot, fov, p8, p9) {
1212
+ return createFromHandle('Cam', inv('0x98B99B9F27E2D60B', _h(camHash), f(pos.x), f(pos.y), f(pos.z), f(rot.x), f(rot.y), f(rot.z), f(fov), p8, p9, rai()));
1160
1213
  }
1161
1214
  /**
1162
1215
  * @param p0
1163
1216
  */
1164
- static stopGameplayCamShaking(p0) {
1165
- inv('0xE0DE43D290FB65F9', p0);
1217
+ static setCinematicModeActive(p0) {
1218
+ inv('0xCE7A90B160F75046', p0);
1166
1219
  }
1167
1220
  /**
1168
- * Creates Cinematic Black Bars (at top and bottom)
1169
- * Disable instantly: false/false, Enable instantly: true/true
1221
+ * Old name: _SET_GAMEPLAY_HINT_ANIM_OFFSETX
1170
1222
  *
1171
1223
  * @param p0
1172
- * @param p1
1173
- */
1174
- static requestLetterBoxNow(p0, p1) {
1175
- inv('0x69D65E89FFD72313', p0, p1);
1176
- }
1177
- /**
1178
- * @param entity
1179
- */
1180
- static disableCamCollisionForObject(entity) {
1181
- inv('0x7E3F546ACFE6C8D9', entity.handle);
1182
- }
1183
- /**
1184
- * @returns
1185
1224
  */
1186
- static getGameplayCamFov() {
1187
- return inv('0xF6A96E5ACEEC6E50', raf());
1225
+ static setGameplayHintCameraRelativeSideOffset(p0) {
1226
+ inv('0xF86B6F93727C59C9', f(p0));
1188
1227
  }
1189
1228
  /**
1190
- * Fades the screen in. duration: The time the fade should take, in milliseconds.
1191
- *
1192
- * @param duration
1229
+ * @param p0
1193
1230
  */
1194
- static doScreenFadeIn(duration) {
1195
- inv('0x6A053CF596F67DF7', duration);
1231
+ static N_0x6519238858AF5479(p0) {
1232
+ inv('0x6519238858AF5479', p0);
1196
1233
  }
1197
1234
  /**
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*
1235
+ * Sets the camera position relative to heading in float from -360 to +360. Heading is always 0 in aiming camera.
1201
1236
  *
1202
- * @param shakeName
1237
+ * @param heading
1203
1238
  * @param p1
1204
1239
  */
1205
- static stopGameplayCamShakingWithName(shakeName, p1) {
1206
- inv('0x4285804FD65D8066', shakeName, p1);
1207
- }
1208
- /**
1209
- * @returns
1210
- */
1211
- static isInterpolatingToScriptCams() {
1212
- return !!inv('0x43AB9D5A7D415478', rai());
1213
- }
1214
- /**
1215
- * @returns
1216
- */
1217
- static getFinalRenderedCamFov() {
1218
- return inv('0x04AF77971E508F6A', raf());
1240
+ static setGameplayCamRelativeHeading(heading, p1) {
1241
+ inv('0x5D1EB123EAC5D071', f(heading), f(p1));
1219
1242
  }
1220
1243
  /**
1221
- * UPDATE_PLAYER_PLAYING_STATE - Releasing Lasso Hint Cam
1222
- * Return type char in ida
1223
- * *SET_GAMEPLAY_HINT**
1224
- *
1225
1244
  * @param p0
1245
+ * @param p1
1226
1246
  */
1227
- static N_0x88544C0E3291DCAE(p0) {
1228
- inv('0x88544C0E3291DCAE', p0);
1229
- }
1230
- /**
1231
- * @returns
1232
- */
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);
1253
- }
1254
- /**
1255
- * @returns
1256
- */
1257
- static isScreenFadedOut() {
1258
- return !!inv('0xF5472C80DF2FF847', rai());
1259
- }
1260
- /**
1261
- * @param dictionary
1262
- * @param shotName
1263
- * @param duration
1264
- */
1265
- static N_0xA54D643D0773EB65(dictionary, shotName, duration) {
1266
- inv('0xA54D643D0773EB65', dictionary, shotName, duration);
1247
+ static N_0x4D2F46D1B28D90FB(p0, p1) {
1248
+ inv('0x4D2F46D1B28D90FB', p0, p1);
1267
1249
  }
1268
1250
  /**
1269
1251
  * @returns
1270
1252
  */
1271
- static isDeathFailCameraRunning() {
1272
- return !!inv('0x139EFB0A71DD9011', rai());
1253
+ static getPhotoModeFocalLength() {
1254
+ return inv('0x2533BAFFBE737E54', raf());
1273
1255
  }
1274
1256
  /**
1275
1257
  * @returns
1276
1258
  */
1277
- static N_0xDC62CD70658E7A02() {
1278
- return inv('0xDC62CD70658E7A02');
1259
+ static N_0x2AB7C81B3F70570C() {
1260
+ return inv('0x2AB7C81B3F70570C');
1279
1261
  }
1280
1262
  static forceLetterBoxThisUpdate() {
1281
1263
  inv('0xC64ABC0676AF262B');
@@ -1357,4 +1339,22 @@ export class CamStatics {
1357
1339
  static isCinematicCamRendering() {
1358
1340
  return !!inv('0xBF7C780731AADBF8', rai());
1359
1341
  }
1342
+ /**
1343
+ * @param p0
1344
+ */
1345
+ static setScriptedCameraIsFirstPersonThisFrame(p0) {
1346
+ inv('0x1DD95A8D6B24A0C9', p0);
1347
+ }
1348
+ /**
1349
+ * @param p0
1350
+ * @param p1
1351
+ * @param p2
1352
+ * @returns
1353
+ */
1354
+ static isFirstPersonCameraActive(p0, p1, p2) {
1355
+ return !!inv('0xA24C1D341C6E0D53', p0, p1, p2, rai());
1356
+ }
1357
+ static N_0x3C8F74E8FE751614() {
1358
+ inv('0x3C8F74E8FE751614');
1359
+ }
1360
1360
  }