@nativewrappers/redm-codegen 0.0.4 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/dist/classes/AnimScene.d.ts +109 -109
  2. package/dist/classes/AnimScene.d.ts.map +1 -1
  3. package/dist/classes/AnimScene.js +158 -158
  4. package/dist/classes/BaseModel.d.ts +34 -34
  5. package/dist/classes/BaseModel.d.ts.map +1 -1
  6. package/dist/classes/BaseModel.js +53 -53
  7. package/dist/classes/BaseTask.d.ts +36 -36
  8. package/dist/classes/BaseTask.d.ts.map +1 -1
  9. package/dist/classes/BaseTask.js +44 -44
  10. package/dist/classes/Cam.d.ts +91 -91
  11. package/dist/classes/Cam.d.ts.map +1 -1
  12. package/dist/classes/Cam.js +124 -124
  13. package/dist/classes/Entity.d.ts +507 -502
  14. package/dist/classes/Entity.d.ts.map +1 -1
  15. package/dist/classes/Entity.js +723 -714
  16. package/dist/classes/Interior.d.ts +27 -27
  17. package/dist/classes/Interior.d.ts.map +1 -1
  18. package/dist/classes/Interior.js +42 -42
  19. package/dist/classes/ItemSet.d.ts +2 -2
  20. package/dist/classes/ItemSet.d.ts.map +1 -1
  21. package/dist/classes/ItemSet.js +3 -3
  22. package/dist/classes/Ped.d.ts +286 -286
  23. package/dist/classes/Ped.d.ts.map +1 -1
  24. package/dist/classes/Ped.js +425 -425
  25. package/dist/classes/PedModel.d.ts +1 -1
  26. package/dist/classes/PedModel.d.ts.map +1 -1
  27. package/dist/classes/PedModel.js +2 -2
  28. package/dist/classes/PedTask.d.ts +770 -770
  29. package/dist/classes/PedTask.d.ts.map +1 -1
  30. package/dist/classes/PedTask.js +985 -985
  31. package/dist/classes/PersChar.d.ts +11 -11
  32. package/dist/classes/PersChar.d.ts.map +1 -1
  33. package/dist/classes/PersChar.js +23 -23
  34. package/dist/classes/Pickup.d.ts +6 -6
  35. package/dist/classes/Pickup.d.ts.map +1 -1
  36. package/dist/classes/Pickup.js +12 -12
  37. package/dist/classes/Player.d.ts +237 -233
  38. package/dist/classes/Player.d.ts.map +1 -1
  39. package/dist/classes/Player.js +309 -303
  40. package/dist/classes/Prop.d.ts +126 -126
  41. package/dist/classes/Prop.d.ts.map +1 -1
  42. package/dist/classes/Prop.js +180 -180
  43. package/dist/classes/PropSet.d.ts +16 -16
  44. package/dist/classes/PropSet.d.ts.map +1 -1
  45. package/dist/classes/PropSet.js +22 -22
  46. package/dist/classes/Vehicle.d.ts +122 -122
  47. package/dist/classes/Vehicle.d.ts.map +1 -1
  48. package/dist/classes/Vehicle.js +147 -147
  49. package/dist/classes/VehicleModel.d.ts +1 -1
  50. package/dist/classes/VehicleModel.d.ts.map +1 -1
  51. package/dist/classes/VehicleModel.js +2 -2
  52. package/dist/classes/VehicleTask.d.ts +17 -17
  53. package/dist/classes/VehicleTask.d.ts.map +1 -1
  54. package/dist/classes/VehicleTask.js +24 -24
  55. package/dist/classes/Volume.d.ts +44 -44
  56. package/dist/classes/Volume.d.ts.map +1 -1
  57. package/dist/classes/Volume.js +58 -58
  58. package/dist/classes/Weapon.d.ts +243 -243
  59. package/dist/classes/Weapon.d.ts.map +1 -1
  60. package/dist/classes/Weapon.js +339 -339
  61. package/dist/namespaces/Aicoverpoint.d.ts +23 -23
  62. package/dist/namespaces/Aicoverpoint.d.ts.map +1 -1
  63. package/dist/namespaces/Aicoverpoint.js +35 -35
  64. package/dist/namespaces/Aitransport.d.ts +78 -78
  65. package/dist/namespaces/Aitransport.d.ts.map +1 -1
  66. package/dist/namespaces/Aitransport.js +95 -95
  67. package/dist/namespaces/Animscene.d.ts +37 -37
  68. package/dist/namespaces/Animscene.d.ts.map +1 -1
  69. package/dist/namespaces/Animscene.js +51 -51
  70. package/dist/namespaces/Audio.d.ts +395 -395
  71. package/dist/namespaces/Audio.d.ts.map +1 -1
  72. package/dist/namespaces/Audio.js +530 -530
  73. package/dist/namespaces/Bounty.d.ts +23 -23
  74. package/dist/namespaces/Bounty.d.ts.map +1 -1
  75. package/dist/namespaces/Bounty.js +40 -40
  76. package/dist/namespaces/Brain.d.ts +15 -15
  77. package/dist/namespaces/Brain.d.ts.map +1 -1
  78. package/dist/namespaces/Brain.js +20 -20
  79. package/dist/namespaces/CamStatics.d.ts +483 -483
  80. package/dist/namespaces/CamStatics.d.ts.map +1 -1
  81. package/dist/namespaces/CamStatics.js +693 -693
  82. package/dist/namespaces/Clock.d.ts +51 -51
  83. package/dist/namespaces/Clock.d.ts.map +1 -1
  84. package/dist/namespaces/Clock.js +73 -73
  85. package/dist/namespaces/Collection.d.ts +6 -6
  86. package/dist/namespaces/Collection.d.ts.map +1 -1
  87. package/dist/namespaces/Collection.js +11 -11
  88. package/dist/namespaces/Compapp.js +1 -1
  89. package/dist/namespaces/Compendium.d.ts +58 -58
  90. package/dist/namespaces/Compendium.d.ts.map +1 -1
  91. package/dist/namespaces/Compendium.js +83 -83
  92. package/dist/namespaces/Crashlog.js +9 -9
  93. package/dist/namespaces/Crew.d.ts +9 -9
  94. package/dist/namespaces/Crew.d.ts.map +1 -1
  95. package/dist/namespaces/Crew.js +18 -18
  96. package/dist/namespaces/Databinding.d.ts +146 -146
  97. package/dist/namespaces/Databinding.d.ts.map +1 -1
  98. package/dist/namespaces/Databinding.js +218 -218
  99. package/dist/namespaces/Datafile.js +4 -4
  100. package/dist/namespaces/Decorator.d.ts +19 -19
  101. package/dist/namespaces/Decorator.d.ts.map +1 -1
  102. package/dist/namespaces/Decorator.js +34 -34
  103. package/dist/namespaces/Dlc.js +2 -2
  104. package/dist/namespaces/EntityStatics.d.ts +186 -186
  105. package/dist/namespaces/EntityStatics.d.ts.map +1 -1
  106. package/dist/namespaces/EntityStatics.js +249 -249
  107. package/dist/namespaces/Event.js +4 -4
  108. package/dist/namespaces/Fire.d.ts +89 -89
  109. package/dist/namespaces/Fire.d.ts.map +1 -1
  110. package/dist/namespaces/Fire.js +115 -115
  111. package/dist/namespaces/Flock.js +2 -2
  112. package/dist/namespaces/Gang.js +2 -2
  113. package/dist/namespaces/GoogleAnalytics.js +2 -2
  114. package/dist/namespaces/Graphics.d.ts +776 -776
  115. package/dist/namespaces/Graphics.d.ts.map +1 -1
  116. package/dist/namespaces/Graphics.js +1120 -1120
  117. package/dist/namespaces/Hud.d.ts +497 -497
  118. package/dist/namespaces/Hud.d.ts.map +1 -1
  119. package/dist/namespaces/Hud.js +748 -748
  120. package/dist/namespaces/Ik.js +1 -1
  121. package/dist/namespaces/Interaction.js +3 -3
  122. package/dist/namespaces/InteriorStatics.d.ts +40 -40
  123. package/dist/namespaces/InteriorStatics.d.ts.map +1 -1
  124. package/dist/namespaces/InteriorStatics.js +57 -57
  125. package/dist/namespaces/Inventory.d.ts +205 -205
  126. package/dist/namespaces/Inventory.d.ts.map +1 -1
  127. package/dist/namespaces/Inventory.js +340 -340
  128. package/dist/namespaces/Itemdatabase.d.ts +78 -78
  129. package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
  130. package/dist/namespaces/Itemdatabase.js +109 -109
  131. package/dist/namespaces/Itemset.js +2 -2
  132. package/dist/namespaces/Law.d.ts +1 -1
  133. package/dist/namespaces/Law.d.ts.map +1 -1
  134. package/dist/namespaces/Law.js +19 -19
  135. package/dist/namespaces/Localization.js +1 -1
  136. package/dist/namespaces/Map.d.ts +156 -156
  137. package/dist/namespaces/Map.d.ts.map +1 -1
  138. package/dist/namespaces/Map.js +209 -209
  139. package/dist/namespaces/Minigame.d.ts +66 -66
  140. package/dist/namespaces/Minigame.d.ts.map +1 -1
  141. package/dist/namespaces/Minigame.js +111 -111
  142. package/dist/namespaces/Misc.d.ts +3 -3
  143. package/dist/namespaces/Misc.d.ts.map +1 -1
  144. package/dist/namespaces/Misc.js +35 -35
  145. package/dist/namespaces/Missiondata.js +1 -1
  146. package/dist/namespaces/Money.js +3 -3
  147. package/dist/namespaces/Netshopping.d.ts +58 -58
  148. package/dist/namespaces/Netshopping.d.ts.map +1 -1
  149. package/dist/namespaces/Netshopping.js +89 -89
  150. package/dist/namespaces/Network.d.ts +1199 -1199
  151. package/dist/namespaces/Network.d.ts.map +1 -1
  152. package/dist/namespaces/Network.js +1650 -1650
  153. package/dist/namespaces/Object.d.ts +262 -262
  154. package/dist/namespaces/Object.d.ts.map +1 -1
  155. package/dist/namespaces/Object.js +367 -367
  156. package/dist/namespaces/Pad.d.ts +102 -102
  157. package/dist/namespaces/Pad.d.ts.map +1 -1
  158. package/dist/namespaces/Pad.js +141 -141
  159. package/dist/namespaces/Pathfind.js +10 -10
  160. package/dist/namespaces/PedStatics.d.ts +2 -2
  161. package/dist/namespaces/PedStatics.d.ts.map +1 -1
  162. package/dist/namespaces/PedStatics.js +10 -10
  163. package/dist/namespaces/Perschar.d.ts +42 -42
  164. package/dist/namespaces/Perschar.d.ts.map +1 -1
  165. package/dist/namespaces/Perschar.js +59 -59
  166. package/dist/namespaces/Physics.d.ts +37 -37
  167. package/dist/namespaces/Physics.d.ts.map +1 -1
  168. package/dist/namespaces/Physics.js +54 -54
  169. package/dist/namespaces/PlayerStatics.d.ts +68 -68
  170. package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
  171. package/dist/namespaces/PlayerStatics.js +104 -104
  172. package/dist/namespaces/Population.d.ts +86 -86
  173. package/dist/namespaces/Population.d.ts.map +1 -1
  174. package/dist/namespaces/Population.js +116 -116
  175. package/dist/namespaces/Posse.d.ts +48 -48
  176. package/dist/namespaces/Posse.d.ts.map +1 -1
  177. package/dist/namespaces/Posse.js +78 -78
  178. package/dist/namespaces/Propset.d.ts +59 -59
  179. package/dist/namespaces/Propset.d.ts.map +1 -1
  180. package/dist/namespaces/Propset.js +81 -81
  181. package/dist/namespaces/Replay.d.ts +1 -1
  182. package/dist/namespaces/Replay.d.ts.map +1 -1
  183. package/dist/namespaces/Replay.js +2 -2
  184. package/dist/namespaces/Scripts.d.ts +1 -1
  185. package/dist/namespaces/Scripts.d.ts.map +1 -1
  186. package/dist/namespaces/Scripts.js +12 -12
  187. package/dist/namespaces/Socialclub.js +8 -8
  188. package/dist/namespaces/Socialclubfeed.js +1 -1
  189. package/dist/namespaces/Spactionproxy.js +4 -4
  190. package/dist/namespaces/Stats.d.ts +203 -203
  191. package/dist/namespaces/Stats.d.ts.map +1 -1
  192. package/dist/namespaces/Stats.js +294 -294
  193. package/dist/namespaces/Streaming.d.ts +128 -128
  194. package/dist/namespaces/Streaming.d.ts.map +1 -1
  195. package/dist/namespaces/Streaming.js +202 -202
  196. package/dist/namespaces/Task.d.ts +366 -366
  197. package/dist/namespaces/Task.d.ts.map +1 -1
  198. package/dist/namespaces/Task.js +517 -517
  199. package/dist/namespaces/Telemetry.d.ts +83 -83
  200. package/dist/namespaces/Telemetry.d.ts.map +1 -1
  201. package/dist/namespaces/Telemetry.js +111 -111
  202. package/dist/namespaces/Txd.js +1 -1
  203. package/dist/namespaces/Uiapps.d.ts +25 -25
  204. package/dist/namespaces/Uiapps.d.ts.map +1 -1
  205. package/dist/namespaces/Uiapps.js +36 -36
  206. package/dist/namespaces/Uievents.js +1 -1
  207. package/dist/namespaces/Uifeed.js +1 -1
  208. package/dist/namespaces/Uistickyfeed.d.ts +16 -16
  209. package/dist/namespaces/Uistickyfeed.d.ts.map +1 -1
  210. package/dist/namespaces/Uistickyfeed.js +21 -21
  211. package/dist/namespaces/Unlock.js +5 -5
  212. package/dist/namespaces/VehicleStatics.js +12 -12
  213. package/dist/namespaces/Voice.js +7 -7
  214. package/dist/namespaces/VolumeStatics.d.ts +99 -99
  215. package/dist/namespaces/VolumeStatics.d.ts.map +1 -1
  216. package/dist/namespaces/VolumeStatics.js +137 -137
  217. package/dist/namespaces/Water.d.ts +27 -27
  218. package/dist/namespaces/Water.d.ts.map +1 -1
  219. package/dist/namespaces/Water.js +41 -41
  220. package/dist/namespaces/WeaponStatics.d.ts +206 -206
  221. package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
  222. package/dist/namespaces/WeaponStatics.js +303 -303
  223. package/dist/types/NativeAliases.d.ts +3 -1
  224. package/dist/types/NativeAliases.d.ts.map +1 -1
  225. package/dist/types/NativeAliases.js +3 -1
  226. package/package.json +1 -1
  227. package/src/classes/AnimScene.ts +164 -164
  228. package/src/classes/BaseModel.ts +60 -60
  229. package/src/classes/BaseTask.ts +46 -46
  230. package/src/classes/Cam.ts +136 -136
  231. package/src/classes/Entity.ts +738 -727
  232. package/src/classes/Interior.ts +43 -43
  233. package/src/classes/ItemSet.ts +3 -3
  234. package/src/classes/Ped.ts +432 -432
  235. package/src/classes/PedModel.ts +2 -2
  236. package/src/classes/PedTask.ts +1023 -1023
  237. package/src/classes/PersChar.ts +28 -28
  238. package/src/classes/Pickup.ts +13 -13
  239. package/src/classes/Player.ts +326 -319
  240. package/src/classes/Prop.ts +185 -185
  241. package/src/classes/PropSet.ts +25 -25
  242. package/src/classes/Vehicle.ts +147 -147
  243. package/src/classes/VehicleModel.ts +2 -2
  244. package/src/classes/VehicleTask.ts +27 -27
  245. package/src/classes/Volume.ts +62 -62
  246. package/src/classes/Weapon.ts +358 -358
  247. package/src/namespaces/Aicoverpoint.ts +40 -40
  248. package/src/namespaces/Aitransport.ts +104 -104
  249. package/src/namespaces/Animscene.ts +55 -55
  250. package/src/namespaces/Audio.ts +565 -565
  251. package/src/namespaces/Bounty.ts +46 -46
  252. package/src/namespaces/Brain.ts +22 -22
  253. package/src/namespaces/CamStatics.ts +706 -706
  254. package/src/namespaces/Clock.ts +82 -82
  255. package/src/namespaces/Collection.ts +12 -12
  256. package/src/namespaces/Compapp.ts +1 -1
  257. package/src/namespaces/Compendium.ts +94 -94
  258. package/src/namespaces/Crashlog.ts +9 -9
  259. package/src/namespaces/Crew.ts +20 -20
  260. package/src/namespaces/Databinding.ts +222 -222
  261. package/src/namespaces/Datafile.ts +4 -4
  262. package/src/namespaces/Decorator.ts +37 -37
  263. package/src/namespaces/Dlc.ts +2 -2
  264. package/src/namespaces/EntityStatics.ts +259 -259
  265. package/src/namespaces/Event.ts +4 -4
  266. package/src/namespaces/Fire.ts +127 -127
  267. package/src/namespaces/Flock.ts +2 -2
  268. package/src/namespaces/Gang.ts +2 -2
  269. package/src/namespaces/GoogleAnalytics.ts +2 -2
  270. package/src/namespaces/Graphics.ts +1081 -1081
  271. package/src/namespaces/Hud.ts +767 -767
  272. package/src/namespaces/Ik.ts +1 -1
  273. package/src/namespaces/Interaction.ts +3 -3
  274. package/src/namespaces/InteriorStatics.ts +65 -65
  275. package/src/namespaces/Inventory.ts +352 -352
  276. package/src/namespaces/Itemdatabase.ts +121 -121
  277. package/src/namespaces/Itemset.ts +2 -2
  278. package/src/namespaces/Law.ts +20 -20
  279. package/src/namespaces/Localization.ts +1 -1
  280. package/src/namespaces/Map.ts +217 -217
  281. package/src/namespaces/Minigame.ts +119 -119
  282. package/src/namespaces/Misc.ts +38 -38
  283. package/src/namespaces/Missiondata.ts +1 -1
  284. package/src/namespaces/Money.ts +3 -3
  285. package/src/namespaces/Netshopping.ts +99 -99
  286. package/src/namespaces/Network.ts +1738 -1738
  287. package/src/namespaces/Object.ts +370 -370
  288. package/src/namespaces/Pad.ts +155 -155
  289. package/src/namespaces/Pathfind.ts +10 -10
  290. package/src/namespaces/PedStatics.ts +12 -12
  291. package/src/namespaces/Perschar.ts +67 -67
  292. package/src/namespaces/Physics.ts +62 -62
  293. package/src/namespaces/PlayerStatics.ts +112 -112
  294. package/src/namespaces/Population.ts +131 -131
  295. package/src/namespaces/Posse.ts +81 -81
  296. package/src/namespaces/Propset.ts +92 -92
  297. package/src/namespaces/Replay.ts +3 -3
  298. package/src/namespaces/Scripts.ts +13 -13
  299. package/src/namespaces/Socialclub.ts +8 -8
  300. package/src/namespaces/Socialclubfeed.ts +1 -1
  301. package/src/namespaces/Spactionproxy.ts +4 -4
  302. package/src/namespaces/Stats.ts +296 -296
  303. package/src/namespaces/Streaming.ts +236 -236
  304. package/src/namespaces/Task.ts +583 -583
  305. package/src/namespaces/Telemetry.ts +125 -125
  306. package/src/namespaces/Txd.ts +1 -1
  307. package/src/namespaces/Uiapps.ts +43 -43
  308. package/src/namespaces/Uievents.ts +1 -1
  309. package/src/namespaces/Uifeed.ts +1 -1
  310. package/src/namespaces/Uistickyfeed.ts +23 -23
  311. package/src/namespaces/Unlock.ts +5 -5
  312. package/src/namespaces/VehicleStatics.ts +12 -12
  313. package/src/namespaces/Voice.ts +7 -7
  314. package/src/namespaces/VolumeStatics.ts +143 -143
  315. package/src/namespaces/Water.ts +47 -47
  316. package/src/namespaces/WeaponStatics.ts +311 -311
  317. package/src/types/NativeAliases.ts +6 -1
@@ -4,53 +4,10 @@ export class BaseModel {
4
4
  constructor(hash) {
5
5
  this.hash = hash;
6
6
  }
7
- /**
8
- * Old name: _REQUEST_IMAP_2
9
- */
10
- requestIplByHash() {
11
- inv('0x9E211A378F95C97C', this.hash);
12
- }
13
- /**
14
- * Request a model to be loaded into streaming memory. You should make sure to check that the model exists with [native: IS_MODEL_IN_CDIMAGE]
15
- *
16
- * @param p1
17
- */
18
- requestModel(p1) {
19
- inv('0xFA28FE3A6246FC30', this.hash, p1);
20
- }
21
- /**
22
- * Old name: _IS_IMAP_ACTIVE_2
23
- *
24
- * @returns
25
- */
26
- isIplActiveByHash() {
27
- return inv('0x93AC1B91CB6D9913', this.hash, rai());
28
- }
29
- requestClipSetByHash() {
30
- inv('0xAC37644A538F7524', this.hash);
31
- }
32
- /**
33
- * @returns
34
- */
35
- hasNamedPtfxAssetLoaded() {
36
- return inv('0x65BB72F29138F5D6', this.hash, rai());
37
- }
38
- /**
39
- * _SET_E* or _SET_F*
40
- */
41
- N_0x032A14D082A9B269() {
42
- inv('0x032A14D082A9B269', this.hash);
43
- }
44
- /**
45
- * Marks the model as no longer needed.
46
- */
47
- setModelAsNoLongerNeeded() {
48
- inv('0x4AD96EF928BD4F9A', this.hash);
49
- }
50
7
  /**
51
8
  * @returns
52
9
  */
53
- isModelAnObject() {
10
+ get IsModelAnObject() {
54
11
  return inv('0x274EE1B90CFA669E', this.hash);
55
12
  }
56
13
  /**
@@ -64,8 +21,8 @@ export class BaseModel {
64
21
  *
65
22
  * @returns
66
23
  */
67
- isModelValid() {
68
- return inv('0x392C8D8E07B70EFC', this.hash, rai());
24
+ get IsModelValid() {
25
+ return !!inv('0x392C8D8E07B70EFC', this.hash, rai());
69
26
  }
70
27
  /**
71
28
  * Returns true if IPL is streamed in (?)
@@ -107,13 +64,13 @@ export class BaseModel {
107
64
  * @returns
108
65
  */
109
66
  hasCollisionForModelLoaded() {
110
- return inv('0x210A79C9EC89778F', this.hash, rai());
67
+ return !!inv('0x210A79C9EC89778F', this.hash, rai());
111
68
  }
112
69
  /**
113
70
  * @returns Returns `true` if the specified model has been loaded into streaming memory, `false` otherwise.
114
71
  */
115
72
  hasModelLoaded() {
116
- return inv('0x1283B8B89DD5D1B6', this.hash, rai());
73
+ return !!inv('0x1283B8B89DD5D1B6', this.hash, rai());
117
74
  }
118
75
  /**
119
76
  * @param p1
@@ -131,8 +88,8 @@ export class BaseModel {
131
88
  /**
132
89
  * @returns Returns whether the specified model exists in the game.
133
90
  */
134
- isModelInCdimage() {
135
- return inv('0xD6F3B6D7716CFF8E', this.hash, rai());
91
+ get IsModelInCdimage() {
92
+ return !!inv('0xD6F3B6D7716CFF8E', this.hash, rai());
136
93
  }
137
94
  requestNamedPtfxAsset() {
138
95
  inv('0xF2B2353BBC0D4E8F', this.hash);
@@ -143,7 +100,7 @@ export class BaseModel {
143
100
  *
144
101
  * @returns position; radius
145
102
  */
146
- getIplBoundingSphere() {
103
+ get IplBoundingSphere() {
147
104
  const result = inv('0x9C77964B0E07B633', this.hash, pvv(), pvf());
148
105
  return [result[0], Vector3.fromArray(result[1]), result[2]];
149
106
  }
@@ -152,7 +109,50 @@ export class BaseModel {
152
109
  *
153
110
  * @returns
154
111
  */
155
- isIplActiveHash() {
156
- return inv('0xD779B9B910BD3B7C', this.hash, rai());
112
+ get IsIplActiveHash() {
113
+ return !!inv('0xD779B9B910BD3B7C', this.hash, rai());
114
+ }
115
+ /**
116
+ * Old name: _REQUEST_IMAP_2
117
+ */
118
+ requestIplByHash() {
119
+ inv('0x9E211A378F95C97C', this.hash);
120
+ }
121
+ /**
122
+ * Request a model to be loaded into streaming memory. You should make sure to check that the model exists with [native: IS_MODEL_IN_CDIMAGE]
123
+ *
124
+ * @param p1
125
+ */
126
+ requestModel(p1) {
127
+ inv('0xFA28FE3A6246FC30', this.hash, p1);
128
+ }
129
+ /**
130
+ * Old name: _IS_IMAP_ACTIVE_2
131
+ *
132
+ * @returns
133
+ */
134
+ get IsIplActiveByHash() {
135
+ return !!inv('0x93AC1B91CB6D9913', this.hash, rai());
136
+ }
137
+ requestClipSetByHash() {
138
+ inv('0xAC37644A538F7524', this.hash);
139
+ }
140
+ /**
141
+ * @returns
142
+ */
143
+ hasNamedPtfxAssetLoaded() {
144
+ return !!inv('0x65BB72F29138F5D6', this.hash, rai());
145
+ }
146
+ /**
147
+ * _SET_E* or _SET_F*
148
+ */
149
+ N_0x032A14D082A9B269() {
150
+ inv('0x032A14D082A9B269', this.hash);
151
+ }
152
+ /**
153
+ * Marks the model as no longer needed.
154
+ */
155
+ setModelAsNoLongerNeeded() {
156
+ inv('0x4AD96EF928BD4F9A', this.hash);
157
157
  }
158
158
  }
@@ -4,12 +4,24 @@ import type { Entity } from './Entity';
4
4
  export declare class BaseTask {
5
5
  protected entity: Entity;
6
6
  constructor(entity: Entity);
7
+ /**
8
+ * Returns the entity coverpoint with offset.
9
+ *
10
+ * @param offset
11
+ * @param heading
12
+ * @param p5
13
+ * @param p6
14
+ * @param p7
15
+ * @param p8
16
+ * @returns
17
+ */
18
+ getCoverpointFromEntityWithOffset(offset: Vector3, heading: number, p5: number, p6: number, p7: number, p8: number): any;
7
19
  /**
8
20
  * Returns m_eContainerState
9
21
  *
10
22
  * @returns
11
23
  */
12
- getScenarioContainerOpeningState(): any;
24
+ get ScenarioContainerOpeningState(): any;
13
25
  /**
14
26
  * Returns scenario
15
27
  *
@@ -23,37 +35,39 @@ export declare class BaseTask {
23
35
  */
24
36
  createScenarioPointHashAttachedToEntity(scenarioHash: string | number, pos: Vector3, heading: number, p6: any, p7: any, p8: boolean): number;
25
37
  /**
26
- * @returns
38
+ * @returns args
27
39
  */
28
- getIsCarriableEntity(): any;
40
+ playEntityScriptedAnim(): number;
29
41
  /**
30
- * Returns the entity coverpoint with offset.
42
+ * carriableSlot:
43
+ * 7 > Back of a horse
44
+ * 6 > Right side of a horse
45
+ * 5 > Left side of a horse
46
+ * flags:
47
+ * 512: enables the prompt being the name of the item when using a generic item
31
48
  *
32
- * @param offset
33
- * @param heading
34
- * @param p5
35
- * @param p6
36
- * @param p7
37
- * @param p8
38
- * @returns
49
+ * @param carryConfig
50
+ * @param carrier
51
+ * @param carriableSlot
52
+ * @param flags
39
53
  */
40
- getCoverpointFromEntityWithOffset(offset: Vector3, heading: number, p5: number, p6: number, p7: number, p8: number): any;
54
+ carriable(carryConfig: string | number, carrier: Ped, carriableSlot: number, flags: number): void;
41
55
  /**
42
- * @returns args
56
+ * @param p1
43
57
  */
44
- playEntityScriptedAnim(): number;
58
+ N_0xF3C3503276F4A034(p1: any): void;
45
59
  /**
46
- * @returns This value decreases as items are looted. Before opening, it may return `0` because contents are not always loaded until the container is opened.
60
+ * @returns
47
61
  */
48
- getRansackScenarioContainerRemainingLootCount(): number;
62
+ get IsCarriableEntity(): any;
49
63
  /**
50
- * @returns Returns the total number of compartments (drawers, lids, etc.) the specific scenarion container has. For example a chest has `1` compartment, while a cabinet with `3` drawers returns `3`
64
+ * @returns This value decreases as items are looted. Before opening, it may return `0` because contents are not always loaded until the container is opened.
51
65
  */
52
- getRansackScenarioContainerNumCompartments(): number;
66
+ get RansackScenarioContainerRemainingLootCount(): number;
53
67
  /**
54
- * @param p1
68
+ * @returns Returns the total number of compartments (drawers, lids, etc.) the specific scenarion container has. For example a chest has `1` compartment, while a cabinet with `3` drawers returns `3`
55
69
  */
56
- N_0xF3C3503276F4A034(p1: any): void;
70
+ get RansackScenarioContainerNumCompartments(): number;
57
71
  /**
58
72
  * @param targetEntity
59
73
  * @param duration
@@ -66,11 +80,11 @@ export declare class BaseTask {
66
80
  *
67
81
  * @param open
68
82
  */
69
- setScenarioContainerOpeningState(open: boolean): void;
83
+ set ScenarioContainerOpeningState(open: boolean);
70
84
  /**
71
85
  * @returns If the container is not cloesable (like a chest or safe that cannt be closed again) it will return `0`.
72
86
  */
73
- getRansackScenarioContainerNumOpenCompartments(): number;
87
+ get RansackScenarioContainerNumOpenCompartments(): number;
74
88
  /**
75
89
  * @param filterName
76
90
  * @param priority
@@ -84,19 +98,5 @@ export declare class BaseTask {
84
98
  * @param p4
85
99
  */
86
100
  N_0x2416EC2F31F75266(targetEntity: Entity, duration: number, p3: any, p4: any): void;
87
- /**
88
- * carriableSlot:
89
- * 7 > Back of a horse
90
- * 6 > Right side of a horse
91
- * 5 > Left side of a horse
92
- * flags:
93
- * 512: enables the prompt being the name of the item when using a generic item
94
- *
95
- * @param carryConfig
96
- * @param carrier
97
- * @param carriableSlot
98
- * @param flags
99
- */
100
- carriable(carryConfig: string | number, carrier: Ped, carriableSlot: number, flags: number): void;
101
101
  }
102
102
  //# sourceMappingURL=BaseTask.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseTask.d.ts","sourceRoot":"","sources":["../../src/classes/BaseTask.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAG3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIvC,qBAAa,QAAQ;IACnB,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;gBAEb,MAAM,EAAE,MAAM;IAI1B;;;;OAIG;IACH,gCAAgC,IAAI,GAAG;IAIvC;;;;;;;;;;OAUG;IACH,uCAAuC,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,OAAO,GAAG,MAAM;IAI5I;;OAEG;IACH,oBAAoB,IAAI,GAAG;IAI3B;;;;;;;;;;OAUG;IACH,iCAAiC,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,GAAG;IAIxH;;OAEG;IACH,sBAAsB,IAAI,MAAM;IAKhC;;OAEG;IACH,6CAA6C,IAAI,MAAM;IAIvD;;OAEG;IACH,0CAA0C,IAAI,MAAM;IAIpD;;OAEG;IACH,oBAAoB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAInC;;;;;OAKG;IACH,aAAa,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,MAAM,EAAE,iBAAiB,EAAE,OAAO,GAAG,IAAI;IAIvH;;;;OAIG;IACH,gCAAgC,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI;IAIrD;;OAEG;IACH,8CAA8C,IAAI,MAAM;IAIxD;;;;OAIG;IACH,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,GAAG,IAAI;IAIpF;;;;;OAKG;IACH,oBAAoB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,GAAG,IAAI;IAIpF;;;;;;;;;;;;OAYG;IACH,SAAS,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;CAIlG"}
1
+ {"version":3,"file":"BaseTask.d.ts","sourceRoot":"","sources":["../../src/classes/BaseTask.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAG3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIvC,qBAAa,QAAQ;IACnB,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;gBAEb,MAAM,EAAE,MAAM;IAI1B;;;;;;;;;;OAUG;IACH,iCAAiC,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,GAAG;IAIxH;;;;OAIG;IACH,IAAI,6BAA6B,IAAI,GAAG,CAEvC;IAED;;;;;;;;;;OAUG;IACH,uCAAuC,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,OAAO,GAAG,MAAM;IAI5I;;OAEG;IACH,sBAAsB,IAAI,MAAM;IAKhC;;;;;;;;;;;;OAYG;IACH,SAAS,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAIjG;;OAEG;IACH,oBAAoB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAInC;;OAEG;IACH,IAAI,iBAAiB,IAAI,GAAG,CAE3B;IAED;;OAEG;IACH,IAAI,0CAA0C,IAAI,MAAM,CAEvD;IAED;;OAEG;IACH,IAAI,uCAAuC,IAAI,MAAM,CAEpD;IAED;;;;;OAKG;IACH,aAAa,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,MAAM,EAAE,iBAAiB,EAAE,OAAO,GAAG,IAAI;IAIvH;;;;OAIG;IACH,IAAI,6BAA6B,CAAC,IAAI,EAAE,OAAO,EAE9C;IAED;;OAEG;IACH,IAAI,2CAA2C,IAAI,MAAM,CAExD;IAED;;;;OAIG;IACH,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,GAAG,IAAI;IAIpF;;;;;OAKG;IACH,oBAAoB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,GAAG,IAAI;CAIrF"}
@@ -3,12 +3,26 @@ export class BaseTask {
3
3
  constructor(entity) {
4
4
  this.entity = entity;
5
5
  }
6
+ /**
7
+ * Returns the entity coverpoint with offset.
8
+ *
9
+ * @param offset
10
+ * @param heading
11
+ * @param p5
12
+ * @param p6
13
+ * @param p7
14
+ * @param p8
15
+ * @returns
16
+ */
17
+ getCoverpointFromEntityWithOffset(offset, heading, p5, p6, p7, p8) {
18
+ return inv('0x59872EA4CBD11C56', this.entity.handle, f(offset.x), f(offset.y), f(offset.z), f(heading), p5, p6, p7, p8);
19
+ }
6
20
  /**
7
21
  * Returns m_eContainerState
8
22
  *
9
23
  * @returns
10
24
  */
11
- getScenarioContainerOpeningState() {
25
+ get ScenarioContainerOpeningState() {
12
26
  return inv('0xB219612B5568E9EC', this.entity.handle);
13
27
  }
14
28
  /**
@@ -26,50 +40,52 @@ export class BaseTask {
26
40
  return inv('0x794AB1379A74064D', this.entity.handle, _h(scenarioHash), f(pos.x), f(pos.y), f(pos.z), f(heading), p6, p7, p8, rai());
27
41
  }
28
42
  /**
29
- * @returns
43
+ * @returns args
30
44
  */
31
- getIsCarriableEntity() {
32
- return inv('0x0CCFE72B43C9CF96', this.entity.handle);
45
+ playEntityScriptedAnim() {
46
+ const result = inv('0x77A1EEC547E7FCF1', this.entity.handle, pvi());
47
+ return result;
33
48
  }
34
49
  /**
35
- * Returns the entity coverpoint with offset.
50
+ * carriableSlot:
51
+ * 7 > Back of a horse
52
+ * 6 > Right side of a horse
53
+ * 5 > Left side of a horse
54
+ * flags:
55
+ * 512: enables the prompt being the name of the item when using a generic item
36
56
  *
37
- * @param offset
38
- * @param heading
39
- * @param p5
40
- * @param p6
41
- * @param p7
42
- * @param p8
43
- * @returns
57
+ * @param carryConfig
58
+ * @param carrier
59
+ * @param carriableSlot
60
+ * @param flags
44
61
  */
45
- getCoverpointFromEntityWithOffset(offset, heading, p5, p6, p7, p8) {
46
- return inv('0x59872EA4CBD11C56', this.entity.handle, f(offset.x), f(offset.y), f(offset.z), f(heading), p5, p6, p7, p8);
62
+ carriable(carryConfig, carrier, carriableSlot, flags) {
63
+ inv('0xF0B4F759F35CC7F5', this.entity.handle, _h(carryConfig), carrier.handle, carriableSlot, flags);
47
64
  }
48
65
  /**
49
- * @returns args
66
+ * @param p1
50
67
  */
51
- playEntityScriptedAnim() {
52
- const result = inv('0x77A1EEC547E7FCF1', this.entity.handle, pvi());
53
- return result;
68
+ N_0xF3C3503276F4A034(p1) {
69
+ inv('0xF3C3503276F4A034', this.entity.handle, p1);
70
+ }
71
+ /**
72
+ * @returns
73
+ */
74
+ get IsCarriableEntity() {
75
+ return inv('0x0CCFE72B43C9CF96', this.entity.handle);
54
76
  }
55
77
  /**
56
78
  * @returns This value decreases as items are looted. Before opening, it may return `0` because contents are not always loaded until the container is opened.
57
79
  */
58
- getRansackScenarioContainerRemainingLootCount() {
80
+ get RansackScenarioContainerRemainingLootCount() {
59
81
  return inv('0x01AF8A3729231A43', this.entity.handle, rai());
60
82
  }
61
83
  /**
62
84
  * @returns Returns the total number of compartments (drawers, lids, etc.) the specific scenarion container has. For example a chest has `1` compartment, while a cabinet with `3` drawers returns `3`
63
85
  */
64
- getRansackScenarioContainerNumCompartments() {
86
+ get RansackScenarioContainerNumCompartments() {
65
87
  return inv('0x640A602946A8C972', this.entity.handle, rai());
66
88
  }
67
- /**
68
- * @param p1
69
- */
70
- N_0xF3C3503276F4A034(p1) {
71
- inv('0xF3C3503276F4A034', this.entity.handle, p1);
72
- }
73
89
  /**
74
90
  * @param targetEntity
75
91
  * @param duration
@@ -84,13 +100,13 @@ export class BaseTask {
84
100
  *
85
101
  * @param open
86
102
  */
87
- setScenarioContainerOpeningState(open) {
103
+ set ScenarioContainerOpeningState(open) {
88
104
  inv('0x188F8071F244B9B8', this.entity.handle, open);
89
105
  }
90
106
  /**
91
107
  * @returns If the container is not cloesable (like a chest or safe that cannt be closed again) it will return `0`.
92
108
  */
93
- getRansackScenarioContainerNumOpenCompartments() {
109
+ get RansackScenarioContainerNumOpenCompartments() {
94
110
  return inv('0x849791EBBDBA0362', this.entity.handle, rai());
95
111
  }
96
112
  /**
@@ -110,20 +126,4 @@ export class BaseTask {
110
126
  N_0x2416EC2F31F75266(targetEntity, duration, p3, p4) {
111
127
  inv('0x2416EC2F31F75266', this.entity.handle, targetEntity.handle, duration, p3, p4);
112
128
  }
113
- /**
114
- * carriableSlot:
115
- * 7 > Back of a horse
116
- * 6 > Right side of a horse
117
- * 5 > Left side of a horse
118
- * flags:
119
- * 512: enables the prompt being the name of the item when using a generic item
120
- *
121
- * @param carryConfig
122
- * @param carrier
123
- * @param carriableSlot
124
- * @param flags
125
- */
126
- carriable(carryConfig, carrier, carriableSlot, flags) {
127
- inv('0xF0B4F759F35CC7F5', this.entity.handle, _h(carryConfig), carrier.handle, carriableSlot, flags);
128
- }
129
129
  }
@@ -7,6 +7,68 @@ export declare class Cam implements IHandle {
7
7
  handle: number;
8
8
  constructor(handle: number);
9
9
  static fromHandle(handle: number): Cam | null;
10
+ /**
11
+ * boneIndex: https://github.com/femga/rdr3_discoveries/tree/master/boneNames
12
+ *
13
+ * @param ped
14
+ * @param boneIndex
15
+ * @param pos
16
+ * @param heading
17
+ */
18
+ attachToPedBone(ped: Ped, boneIndex: number, pos: Vector3, heading: boolean): void;
19
+ /**
20
+ * @param camFrom
21
+ * @param duration
22
+ * @param easeLocation
23
+ * @param easeRotation
24
+ */
25
+ setActiveWithInterp(camFrom: Cam, duration: number, easeLocation: number, easeRotation: number): void;
26
+ /**
27
+ * @param distance
28
+ */
29
+ set FocusDistance(distance: number);
30
+ /**
31
+ * Sets the position of the cam.
32
+ *
33
+ * @param pos
34
+ */
35
+ set Coord(pos: Vector3);
36
+ /**
37
+ * @param smoothingStyle
38
+ */
39
+ set SplineSmoothingStyle(smoothingStyle: number);
40
+ /**
41
+ * @param farClip
42
+ */
43
+ set FarClip(farClip: number);
44
+ /**
45
+ * @param strength
46
+ */
47
+ set MotionBlurStrength(strength: number);
48
+ /**
49
+ * @param p1
50
+ */
51
+ stopShaking(p1: boolean): void;
52
+ /**
53
+ * @param nearClip
54
+ */
55
+ set NearClip(nearClip: number);
56
+ /**
57
+ * @param pos
58
+ */
59
+ pointAtCoord(pos: Vector3): void;
60
+ /**
61
+ * @param entity
62
+ * @param p2
63
+ * @param p3
64
+ * @param p4
65
+ * @param p5
66
+ */
67
+ pointAtEntity(entity: Entity, p2: number, p3: number, p4: number, p5: boolean): void;
68
+ /**
69
+ * @param pause
70
+ */
71
+ pauseCameraFocus(pause: boolean): void;
10
72
  /**
11
73
  * BOOL param indicates whether the cam should be destroyed if it belongs to the calling script.
12
74
  *
@@ -16,13 +78,13 @@ export declare class Cam implements IHandle {
16
78
  /**
17
79
  * @returns
18
80
  */
19
- isRendering(): boolean;
81
+ get IsRendering(): boolean;
20
82
  /**
21
83
  * Returns whether or not the passed camera handle is active.
22
84
  *
23
85
  * @returns
24
86
  */
25
- isActive(): boolean;
87
+ get IsActive(): boolean;
26
88
  /**
27
89
  * @param p1
28
90
  */
@@ -37,7 +99,7 @@ export declare class Cam implements IHandle {
37
99
  *
38
100
  * @param toggle
39
101
  */
40
- setAffectsAiming(toggle: boolean): void;
102
+ set AffectsAiming(toggle: boolean);
41
103
  /**
42
104
  * Set cam DOF and focal settings. TODO: Support structs
43
105
  *
@@ -50,44 +112,26 @@ export declare class Cam implements IHandle {
50
112
  *
51
113
  * @param fieldOfView
52
114
  */
53
- setFov(fieldOfView: number): void;
115
+ set Fov(fieldOfView: number);
54
116
  stopPointing(): void;
55
- /**
56
- * @param distance
57
- */
58
- setFocusDistance(distance: number): void;
59
- /**
60
- * Sets the position of the cam.
61
- *
62
- * @param pos
63
- */
64
- setCoord(pos: Vector3): void;
65
- /**
66
- * @param smoothingStyle
67
- */
68
- setSplineSmoothingStyle(smoothingStyle: number): void;
69
- /**
70
- * @param farClip
71
- */
72
- setFarClip(farClip: number): void;
73
117
  /**
74
118
  * @param p1
75
119
  */
76
- setControlsMiniMapHeading(p1: boolean): void;
120
+ set ControlsMiniMapHeading(p1: boolean);
77
121
  /**
78
122
  * Can use this with SET_CAM_SPLINE_PHASE to set the float it this native returns. (returns 1.0f when no nodes has been added, reached end of non existing spline)
79
123
  *
80
124
  * @returns
81
125
  */
82
- getSplinePhase(): number;
126
+ get SplinePhase(): number;
83
127
  /**
84
128
  * @returns
85
129
  */
86
- isShaking(): boolean;
130
+ get IsShaking(): boolean;
87
131
  /**
88
132
  * @returns
89
133
  */
90
- getFov(): number;
134
+ get Fov(): number;
91
135
  /**
92
136
  * @param type
93
137
  * @param amplitude
@@ -96,45 +140,20 @@ export declare class Cam implements IHandle {
96
140
  /**
97
141
  * @returns
98
142
  */
99
- isInterpolating(): boolean;
100
- /**
101
- * Set camera as active/inactive.
102
- *
103
- * @param active
104
- */
105
- setActive(active: boolean): void;
106
- /**
107
- * @param pos
108
- * @param rot
109
- * @param fieldOfView
110
- * @param p8
111
- * @param p9
112
- * @param p10
113
- * @param p11
114
- * @param p12
115
- * @param p13
116
- */
117
- setParams(pos: Vector3, rot: Vector3, fieldOfView: number, p8: any, p9: number, p10: number, p11: number, p12: any, p13: any): void;
118
- /**
119
- * Sets the rotation of the cam.
120
- *
121
- * @param rot
122
- * @param rotationOrder
123
- */
124
- setRot(rot: Vector3, rotationOrder: number): void;
143
+ get IsInterpolating(): boolean;
125
144
  /**
126
145
  * @returns
127
146
  */
128
- getCoord(): Vector3;
147
+ get Coord(): Vector3;
129
148
  detachCam(): void;
130
149
  /**
131
150
  * @param timeDuration
132
151
  */
133
- setSplineDuration(timeDuration: number): void;
152
+ set SplineDuration(timeDuration: number);
134
153
  /**
135
154
  * @param p1
136
155
  */
137
- setSplinePhase(p1: number): void;
156
+ set SplinePhase(p1: number);
138
157
  /**
139
158
  * @param animName
140
159
  * @param animDictionary
@@ -170,48 +189,29 @@ export declare class Cam implements IHandle {
170
189
  */
171
190
  attachToEntity(entity: Entity, offset: Vector3, isRelative: boolean): void;
172
191
  /**
173
- * @param p1
174
- */
175
- stopShaking(p1: boolean): void;
176
- /**
177
- * @param nearClip
192
+ * Set camera as active/inactive.
193
+ *
194
+ * @param active
178
195
  */
179
- setNearClip(nearClip: number): void;
196
+ set Active(active: boolean);
180
197
  /**
181
198
  * @param pos
199
+ * @param rot
200
+ * @param fieldOfView
201
+ * @param p8
202
+ * @param p9
203
+ * @param p10
204
+ * @param p11
205
+ * @param p12
206
+ * @param p13
182
207
  */
183
- pointAtCoord(pos: Vector3): void;
184
- /**
185
- * @param entity
186
- * @param p2
187
- * @param p3
188
- * @param p4
189
- * @param p5
190
- */
191
- pointAtEntity(entity: Entity, p2: number, p3: number, p4: number, p5: boolean): void;
192
- /**
193
- * @param pause
194
- */
195
- pauseCameraFocus(pause: boolean): void;
208
+ setParams(pos: Vector3, rot: Vector3, fieldOfView: number, p8: any, p9: number, p10: number, p11: number, p12: any, p13: any): void;
196
209
  /**
197
- * boneIndex: https://github.com/femga/rdr3_discoveries/tree/master/boneNames
210
+ * Sets the rotation of the cam.
198
211
  *
199
- * @param ped
200
- * @param boneIndex
201
- * @param pos
202
- * @param heading
203
- */
204
- attachToPedBone(ped: Ped, boneIndex: number, pos: Vector3, heading: boolean): void;
205
- /**
206
- * @param camFrom
207
- * @param duration
208
- * @param easeLocation
209
- * @param easeRotation
210
- */
211
- setActiveWithInterp(camFrom: Cam, duration: number, easeLocation: number, easeRotation: number): void;
212
- /**
213
- * @param strength
212
+ * @param rot
213
+ * @param rotationOrder
214
214
  */
215
- setMotionBlurStrength(strength: number): void;
215
+ setRot(rot: Vector3, rotationOrder: number): void;
216
216
  }
217
217
  //# sourceMappingURL=Cam.d.ts.map