@nativewrappers/fivem 0.0.1

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 (421) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +33 -0
  3. package/lib/client/Audio.d.ts +17 -0
  4. package/lib/client/Audio.js +92 -0
  5. package/lib/client/Blip.d.ts +39 -0
  6. package/lib/client/Blip.js +104 -0
  7. package/lib/client/Camera.d.ts +46 -0
  8. package/lib/client/Camera.js +161 -0
  9. package/lib/client/Checkpoint.d.ts +18 -0
  10. package/lib/client/Checkpoint.js +42 -0
  11. package/lib/client/Events.d.ts +11 -0
  12. package/lib/client/Events.js +73 -0
  13. package/lib/client/Game.d.ts +283 -0
  14. package/lib/client/Game.js +451 -0
  15. package/lib/client/GameplayCamera.d.ts +102 -0
  16. package/lib/client/GameplayCamera.js +141 -0
  17. package/lib/client/Model.d.ts +134 -0
  18. package/lib/client/Model.js +198 -0
  19. package/lib/client/NetworkedScene.d.ts +10 -0
  20. package/lib/client/NetworkedScene.js +17 -0
  21. package/lib/client/ParticleEffect.d.ts +80 -0
  22. package/lib/client/ParticleEffect.js +120 -0
  23. package/lib/client/ParticleEffectAsset.d.ts +54 -0
  24. package/lib/client/ParticleEffectAsset.js +104 -0
  25. package/lib/client/Pickup.d.ts +9 -0
  26. package/lib/client/Pickup.js +18 -0
  27. package/lib/client/Raycast.d.ts +49 -0
  28. package/lib/client/Raycast.js +70 -0
  29. package/lib/client/RelationshipGroup.d.ts +49 -0
  30. package/lib/client/RelationshipGroup.js +63 -0
  31. package/lib/client/Rope.d.ts +99 -0
  32. package/lib/client/Rope.js +125 -0
  33. package/lib/client/TaskSequence.d.ts +15 -0
  34. package/lib/client/TaskSequence.js +43 -0
  35. package/lib/client/Tasks.d.ts +66 -0
  36. package/lib/client/Tasks.js +236 -0
  37. package/lib/client/World.d.ts +402 -0
  38. package/lib/client/World.js +726 -0
  39. package/lib/client/cfx/StateBagChangeHandler.d.ts +3 -0
  40. package/lib/client/cfx/StateBagChangeHandler.js +1 -0
  41. package/lib/client/cfx/index.d.ts +7 -0
  42. package/lib/client/cfx/index.js +1 -0
  43. package/lib/client/enums/Alignment.d.ts +5 -0
  44. package/lib/client/enums/Alignment.js +6 -0
  45. package/lib/client/enums/AnimationFlags.d.ts +9 -0
  46. package/lib/client/enums/AnimationFlags.js +10 -0
  47. package/lib/client/enums/AudioFlag.d.ts +37 -0
  48. package/lib/client/enums/AudioFlag.js +38 -0
  49. package/lib/client/enums/BadgeStyle.d.ts +182 -0
  50. package/lib/client/enums/BadgeStyle.js +183 -0
  51. package/lib/client/enums/Blip.d.ts +223 -0
  52. package/lib/client/enums/Blip.js +225 -0
  53. package/lib/client/enums/Bone.d.ts +101 -0
  54. package/lib/client/enums/Bone.js +103 -0
  55. package/lib/client/enums/CameraShake.d.ts +13 -0
  56. package/lib/client/enums/CameraShake.js +14 -0
  57. package/lib/client/enums/CameraTypes.d.ts +7 -0
  58. package/lib/client/enums/CameraTypes.js +8 -0
  59. package/lib/client/enums/CheckboxStyle.d.ts +4 -0
  60. package/lib/client/enums/CheckboxStyle.js +5 -0
  61. package/lib/client/enums/Checkpoint.d.ts +62 -0
  62. package/lib/client/enums/Checkpoint.js +67 -0
  63. package/lib/client/enums/ClassTypes.d.ts +11 -0
  64. package/lib/client/enums/ClassTypes.js +12 -0
  65. package/lib/client/enums/CloudHat.d.ts +26 -0
  66. package/lib/client/enums/CloudHat.js +27 -0
  67. package/lib/client/enums/Control.d.ts +360 -0
  68. package/lib/client/enums/Control.js +361 -0
  69. package/lib/client/enums/CursorSprite.d.ts +14 -0
  70. package/lib/client/enums/CursorSprite.js +15 -0
  71. package/lib/client/enums/Driving.d.ts +32 -0
  72. package/lib/client/enums/Driving.js +34 -0
  73. package/lib/client/enums/ExplosionType.d.ts +44 -0
  74. package/lib/client/enums/ExplosionType.js +45 -0
  75. package/lib/client/enums/FiringPattern.d.ts +19 -0
  76. package/lib/client/enums/FiringPattern.js +20 -0
  77. package/lib/client/enums/Font.d.ts +7 -0
  78. package/lib/client/enums/Font.js +8 -0
  79. package/lib/client/enums/ForceType.d.ts +8 -0
  80. package/lib/client/enums/ForceType.js +9 -0
  81. package/lib/client/enums/Gender.d.ts +4 -0
  82. package/lib/client/enums/Gender.js +5 -0
  83. package/lib/client/enums/HelmetType.d.ts +5 -0
  84. package/lib/client/enums/HelmetType.js +6 -0
  85. package/lib/client/enums/HudColor.d.ts +183 -0
  86. package/lib/client/enums/HudColor.js +184 -0
  87. package/lib/client/enums/HudComponent.d.ts +53 -0
  88. package/lib/client/enums/HudComponent.js +54 -0
  89. package/lib/client/enums/InputMode.d.ts +4 -0
  90. package/lib/client/enums/InputMode.js +5 -0
  91. package/lib/client/enums/IntersectOptions.d.ts +15 -0
  92. package/lib/client/enums/IntersectOptions.js +16 -0
  93. package/lib/client/enums/InvertAxis.d.ts +9 -0
  94. package/lib/client/enums/InvertAxis.js +7 -0
  95. package/lib/client/enums/Language.d.ts +14 -0
  96. package/lib/client/enums/Language.js +15 -0
  97. package/lib/client/enums/LeaveVehicleFlags.d.ts +10 -0
  98. package/lib/client/enums/LeaveVehicleFlags.js +11 -0
  99. package/lib/client/enums/LoadingSpinnerType.d.ts +7 -0
  100. package/lib/client/enums/LoadingSpinnerType.js +8 -0
  101. package/lib/client/enums/MarkerType.d.ts +49 -0
  102. package/lib/client/enums/MarkerType.js +50 -0
  103. package/lib/client/enums/MenuAlignment.d.ts +4 -0
  104. package/lib/client/enums/MenuAlignment.js +5 -0
  105. package/lib/client/enums/NotificationType.d.ts +10 -0
  106. package/lib/client/enums/NotificationType.js +11 -0
  107. package/lib/client/enums/Parachute.d.ts +13 -0
  108. package/lib/client/enums/Parachute.js +15 -0
  109. package/lib/client/enums/PickupType.d.ts +73 -0
  110. package/lib/client/enums/PickupType.js +74 -0
  111. package/lib/client/enums/RadioStation.d.ts +24 -0
  112. package/lib/client/enums/RadioStation.js +25 -0
  113. package/lib/client/enums/RagdollType.d.ts +6 -0
  114. package/lib/client/enums/RagdollType.js +7 -0
  115. package/lib/client/enums/Relationship.d.ts +9 -0
  116. package/lib/client/enums/Relationship.js +10 -0
  117. package/lib/client/enums/RopeType.d.ts +5 -0
  118. package/lib/client/enums/RopeType.js +6 -0
  119. package/lib/client/enums/ScreenEffect.d.ts +83 -0
  120. package/lib/client/enums/ScreenEffect.js +84 -0
  121. package/lib/client/enums/SpeechModifier.d.ts +39 -0
  122. package/lib/client/enums/SpeechModifier.js +40 -0
  123. package/lib/client/enums/Vehicle.d.ts +358 -0
  124. package/lib/client/enums/Vehicle.js +376 -0
  125. package/lib/client/enums/Weather.d.ts +21 -0
  126. package/lib/client/enums/Weather.js +22 -0
  127. package/lib/client/enums/ZoneID.d.ts +94 -0
  128. package/lib/client/enums/ZoneID.js +95 -0
  129. package/lib/client/enums/index.d.ts +42 -0
  130. package/lib/client/enums/index.js +42 -0
  131. package/lib/client/hashes/MaterialHash.d.ts +216 -0
  132. package/lib/client/hashes/MaterialHash.js +217 -0
  133. package/lib/client/hashes/PedHash.d.ts +724 -0
  134. package/lib/client/hashes/PedHash.js +725 -0
  135. package/lib/client/hashes/VehicleHash.d.ts +522 -0
  136. package/lib/client/hashes/VehicleHash.js +523 -0
  137. package/lib/client/hashes/WeaponHash.d.ts +147 -0
  138. package/lib/client/hashes/WeaponHash.js +161 -0
  139. package/lib/client/hashes/WeatherTypeHash.d.ts +21 -0
  140. package/lib/client/hashes/WeatherTypeHash.js +22 -0
  141. package/lib/client/hashes/index.d.ts +5 -0
  142. package/lib/client/hashes/index.js +5 -0
  143. package/lib/client/index.d.ts +24 -0
  144. package/lib/client/index.js +25 -0
  145. package/lib/client/interfaces/Dimensions.d.ts +5 -0
  146. package/lib/client/interfaces/Dimensions.js +1 -0
  147. package/lib/client/models/BaseEntity.d.ts +169 -0
  148. package/lib/client/models/BaseEntity.js +459 -0
  149. package/lib/client/models/Entity.d.ts +9 -0
  150. package/lib/client/models/Entity.js +24 -0
  151. package/lib/client/models/EntityBone.d.ts +12 -0
  152. package/lib/client/models/EntityBone.js +24 -0
  153. package/lib/client/models/EntityBoneCollection.d.ts +11 -0
  154. package/lib/client/models/EntityBoneCollection.js +16 -0
  155. package/lib/client/models/Ped.d.ts +199 -0
  156. package/lib/client/models/Ped.js +685 -0
  157. package/lib/client/models/PedBone.d.ts +6 -0
  158. package/lib/client/models/PedBone.js +9 -0
  159. package/lib/client/models/PedBoneCollection.d.ts +8 -0
  160. package/lib/client/models/PedBoneCollection.js +19 -0
  161. package/lib/client/models/Player.d.ts +63 -0
  162. package/lib/client/models/Player.js +174 -0
  163. package/lib/client/models/Prop.d.ts +11 -0
  164. package/lib/client/models/Prop.js +26 -0
  165. package/lib/client/models/Vehicle.d.ts +171 -0
  166. package/lib/client/models/Vehicle.js +551 -0
  167. package/lib/client/models/VehicleDoor.d.ts +19 -0
  168. package/lib/client/models/VehicleDoor.js +42 -0
  169. package/lib/client/models/VehicleDoorCollection.d.ts +14 -0
  170. package/lib/client/models/VehicleDoorCollection.js +61 -0
  171. package/lib/client/models/VehicleMod.d.ts +16 -0
  172. package/lib/client/models/VehicleMod.js +33 -0
  173. package/lib/client/models/VehicleModCollection.d.ts +61 -0
  174. package/lib/client/models/VehicleModCollection.js +227 -0
  175. package/lib/client/models/VehicleToggleMod.d.ts +14 -0
  176. package/lib/client/models/VehicleToggleMod.js +27 -0
  177. package/lib/client/models/VehicleWheel.d.ts +11 -0
  178. package/lib/client/models/VehicleWheel.js +21 -0
  179. package/lib/client/models/VehicleWheelCollection.d.ts +13 -0
  180. package/lib/client/models/VehicleWheelCollection.js +56 -0
  181. package/lib/client/models/VehicleWindow.d.ts +16 -0
  182. package/lib/client/models/VehicleWindow.js +33 -0
  183. package/lib/client/models/VehicleWindowCollection.d.ts +14 -0
  184. package/lib/client/models/VehicleWindowCollection.js +55 -0
  185. package/lib/client/models/index.d.ts +18 -0
  186. package/lib/client/models/index.js +18 -0
  187. package/lib/client/types/EntityType.d.ts +2 -0
  188. package/lib/client/types/EntityType.js +1 -0
  189. package/lib/client/ui/Container.d.ts +11 -0
  190. package/lib/client/ui/Container.js +28 -0
  191. package/lib/client/ui/Effects.d.ts +8 -0
  192. package/lib/client/ui/Effects.js +106 -0
  193. package/lib/client/ui/Fading.d.ts +41 -0
  194. package/lib/client/ui/Fading.js +69 -0
  195. package/lib/client/ui/Hud.d.ts +16 -0
  196. package/lib/client/ui/Hud.js +39 -0
  197. package/lib/client/ui/InstructionalButtons.d.ts +33 -0
  198. package/lib/client/ui/InstructionalButtons.js +53 -0
  199. package/lib/client/ui/LoadingPrompt.d.ts +27 -0
  200. package/lib/client/ui/LoadingPrompt.js +45 -0
  201. package/lib/client/ui/Notification.d.ts +5 -0
  202. package/lib/client/ui/Notification.js +8 -0
  203. package/lib/client/ui/Rectangle.d.ts +10 -0
  204. package/lib/client/ui/Rectangle.js +37 -0
  205. package/lib/client/ui/Scaleform.d.ts +106 -0
  206. package/lib/client/ui/Scaleform.js +234 -0
  207. package/lib/client/ui/Screen.d.ts +16 -0
  208. package/lib/client/ui/Screen.js +72 -0
  209. package/lib/client/ui/Sprite.d.ts +17 -0
  210. package/lib/client/ui/Sprite.js +53 -0
  211. package/lib/client/ui/Text.d.ts +31 -0
  212. package/lib/client/ui/Text.js +102 -0
  213. package/lib/client/ui/Timerbar.d.ts +44 -0
  214. package/lib/client/ui/Timerbar.js +241 -0
  215. package/lib/client/ui/index.d.ts +15 -0
  216. package/lib/client/ui/index.js +15 -0
  217. package/lib/client/ui/interfaces/IButton.d.ts +5 -0
  218. package/lib/client/ui/interfaces/IButton.js +1 -0
  219. package/lib/client/ui/interfaces/IDrawable.d.ts +7 -0
  220. package/lib/client/ui/interfaces/IDrawable.js +1 -0
  221. package/lib/client/ui/interfaces/index.d.ts +2 -0
  222. package/lib/client/ui/interfaces/index.js +1 -0
  223. package/lib/client/ui/menu/Menu.d.ts +108 -0
  224. package/lib/client/ui/menu/Menu.js +802 -0
  225. package/lib/client/ui/menu/MenuControl.d.ts +6 -0
  226. package/lib/client/ui/menu/MenuControl.js +11 -0
  227. package/lib/client/ui/menu/MenuControls.d.ts +9 -0
  228. package/lib/client/ui/menu/MenuControls.js +11 -0
  229. package/lib/client/ui/menu/MenuSettings.d.ts +20 -0
  230. package/lib/client/ui/menu/MenuSettings.js +51 -0
  231. package/lib/client/ui/menu/index.d.ts +6 -0
  232. package/lib/client/ui/menu/index.js +6 -0
  233. package/lib/client/ui/menu/items/UIMenuCheckboxItem.d.ts +20 -0
  234. package/lib/client/ui/menu/items/UIMenuCheckboxItem.js +57 -0
  235. package/lib/client/ui/menu/items/UIMenuItem.d.ts +78 -0
  236. package/lib/client/ui/menu/items/UIMenuItem.js +1090 -0
  237. package/lib/client/ui/menu/items/UIMenuListItem.d.ts +31 -0
  238. package/lib/client/ui/menu/items/UIMenuListItem.js +110 -0
  239. package/lib/client/ui/menu/items/UIMenuSeparatorItem.d.ts +11 -0
  240. package/lib/client/ui/menu/items/UIMenuSeparatorItem.js +29 -0
  241. package/lib/client/ui/menu/items/UIMenuSliderItem.d.ts +47 -0
  242. package/lib/client/ui/menu/items/UIMenuSliderItem.js +173 -0
  243. package/lib/client/ui/menu/items/index.d.ts +6 -0
  244. package/lib/client/ui/menu/items/index.js +6 -0
  245. package/lib/client/ui/menu/items/panels/AbstractUIMenuPanel.d.ts +17 -0
  246. package/lib/client/ui/menu/items/panels/AbstractUIMenuPanel.js +43 -0
  247. package/lib/client/ui/menu/items/panels/UIMenuColorPanel.d.ts +36 -0
  248. package/lib/client/ui/menu/items/panels/UIMenuColorPanel.js +211 -0
  249. package/lib/client/ui/menu/items/panels/UIMenuGridPanel.d.ts +40 -0
  250. package/lib/client/ui/menu/items/panels/UIMenuGridPanel.js +215 -0
  251. package/lib/client/ui/menu/items/panels/UIMenuPercentagePanel.d.ts +26 -0
  252. package/lib/client/ui/menu/items/panels/UIMenuPercentagePanel.js +115 -0
  253. package/lib/client/ui/menu/items/panels/UIMenuStatisticsPanel.d.ts +16 -0
  254. package/lib/client/ui/menu/items/panels/UIMenuStatisticsPanel.js +77 -0
  255. package/lib/client/ui/menu/items/panels/UIMenuStatisticsPanelItem.d.ts +13 -0
  256. package/lib/client/ui/menu/items/panels/UIMenuStatisticsPanelItem.js +32 -0
  257. package/lib/client/ui/menu/items/panels/index.d.ts +6 -0
  258. package/lib/client/ui/menu/items/panels/index.js +6 -0
  259. package/lib/client/ui/menu/modules/ListItem.d.ts +6 -0
  260. package/lib/client/ui/menu/modules/ListItem.js +8 -0
  261. package/lib/client/ui/menu/modules/index.d.ts +1 -0
  262. package/lib/client/ui/menu/modules/index.js +1 -0
  263. package/lib/client/utils/Animations.d.ts +19 -0
  264. package/lib/client/utils/Animations.js +55 -0
  265. package/lib/client/utils/Color.d.ts +15 -0
  266. package/lib/client/utils/Color.js +22 -0
  267. package/lib/client/utils/Crypto.d.ts +3 -0
  268. package/lib/client/utils/Crypto.js +25 -0
  269. package/lib/client/utils/LiteEvent.d.ts +13 -0
  270. package/lib/client/utils/LiteEvent.js +21 -0
  271. package/lib/client/utils/Maths.d.ts +4 -0
  272. package/lib/client/utils/Maths.js +10 -0
  273. package/lib/client/utils/Point.d.ts +9 -0
  274. package/lib/client/utils/Point.js +28 -0
  275. package/lib/client/utils/PointF.d.ts +12 -0
  276. package/lib/client/utils/PointF.js +11 -0
  277. package/lib/client/utils/Quaternion.d.ts +10 -0
  278. package/lib/client/utils/Quaternion.js +23 -0
  279. package/lib/client/utils/Size.d.ts +5 -0
  280. package/lib/client/utils/Size.js +6 -0
  281. package/lib/client/utils/String.d.ts +6 -0
  282. package/lib/client/utils/String.js +25 -0
  283. package/lib/client/utils/Vector2.d.ts +54 -0
  284. package/lib/client/utils/Vector2.js +106 -0
  285. package/lib/client/utils/Vector3.d.ts +69 -0
  286. package/lib/client/utils/Vector3.js +140 -0
  287. package/lib/client/utils/Vector4.d.ts +62 -0
  288. package/lib/client/utils/Vector4.js +124 -0
  289. package/lib/client/utils/enumValues.d.ts +12 -0
  290. package/lib/client/utils/enumValues.js +14 -0
  291. package/lib/client/utils/getStringFromUInt8Array.d.ts +8 -0
  292. package/lib/client/utils/getStringFromUInt8Array.js +10 -0
  293. package/lib/client/utils/getUInt32FromUint8Array.d.ts +8 -0
  294. package/lib/client/utils/getUInt32FromUint8Array.js +8 -0
  295. package/lib/client/utils/index.d.ts +10 -0
  296. package/lib/client/utils/index.js +10 -0
  297. package/lib/client/weapon/DlcWeaponData.d.ts +43 -0
  298. package/lib/client/weapon/DlcWeaponData.js +44 -0
  299. package/lib/client/weapon/Mk2WeaponHash.d.ts +18 -0
  300. package/lib/client/weapon/Mk2WeaponHash.js +25 -0
  301. package/lib/client/weapon/Weapon.d.ts +169 -0
  302. package/lib/client/weapon/Weapon.js +267 -0
  303. package/lib/client/weapon/WeaponAsset.d.ts +55 -0
  304. package/lib/client/weapon/WeaponAsset.js +83 -0
  305. package/lib/client/weapon/WeaponCollection.d.ts +90 -0
  306. package/lib/client/weapon/WeaponCollection.js +186 -0
  307. package/lib/client/weapon/WeaponDisplayNameByHash.d.ts +6 -0
  308. package/lib/client/weapon/WeaponDisplayNameByHash.js +75 -0
  309. package/lib/client/weapon/WeaponGroup.d.ts +18 -0
  310. package/lib/client/weapon/WeaponGroup.js +19 -0
  311. package/lib/client/weapon/WeaponHudStats.d.ts +27 -0
  312. package/lib/client/weapon/WeaponHudStats.js +38 -0
  313. package/lib/client/weapon/WeaponLivery.d.ts +13 -0
  314. package/lib/client/weapon/WeaponLivery.js +14 -0
  315. package/lib/client/weapon/WeaponLiveryColor.d.ts +34 -0
  316. package/lib/client/weapon/WeaponLiveryColor.js +35 -0
  317. package/lib/client/weapon/WeaponTint.d.ts +42 -0
  318. package/lib/client/weapon/WeaponTint.js +43 -0
  319. package/lib/client/weapon/index.d.ts +8 -0
  320. package/lib/client/weapon/index.js +8 -0
  321. package/lib/client/weaponComponent/ComponentAttachmentPoint.d.ts +18 -0
  322. package/lib/client/weaponComponent/ComponentAttachmentPoint.js +19 -0
  323. package/lib/client/weaponComponent/ComponentAttachmentPointByHash.d.ts +7 -0
  324. package/lib/client/weaponComponent/ComponentAttachmentPointByHash.js +309 -0
  325. package/lib/client/weaponComponent/ComponentDisplayNameByHash.d.ts +6 -0
  326. package/lib/client/weaponComponent/ComponentDisplayNameByHash.js +280 -0
  327. package/lib/client/weaponComponent/DlcWeaponComponentData.d.ts +40 -0
  328. package/lib/client/weaponComponent/DlcWeaponComponentData.js +44 -0
  329. package/lib/client/weaponComponent/InvalidWeaponComponent.d.ts +12 -0
  330. package/lib/client/weaponComponent/InvalidWeaponComponent.js +28 -0
  331. package/lib/client/weaponComponent/WeaponComponent.d.ts +81 -0
  332. package/lib/client/weaponComponent/WeaponComponent.js +119 -0
  333. package/lib/client/weaponComponent/WeaponComponentCollection.d.ts +108 -0
  334. package/lib/client/weaponComponent/WeaponComponentCollection.js +172 -0
  335. package/lib/client/weaponComponent/WeaponComponentHash.d.ts +671 -0
  336. package/lib/client/weaponComponent/WeaponComponentHash.js +887 -0
  337. package/lib/client/weaponComponent/WeaponComponentHashesByWeaponHash.d.ts +8 -0
  338. package/lib/client/weaponComponent/WeaponComponentHashesByWeaponHash.js +823 -0
  339. package/lib/client/weaponComponent/WeaponComponentHudStats.d.ts +27 -0
  340. package/lib/client/weaponComponent/WeaponComponentHudStats.js +34 -0
  341. package/lib/client/weaponComponent/index.d.ts +5 -0
  342. package/lib/client/weaponComponent/index.js +5 -0
  343. package/lib/common/Convar.d.ts +8 -0
  344. package/lib/common/Convar.js +20 -0
  345. package/lib/common/Kvp.d.ts +91 -0
  346. package/lib/common/Kvp.js +161 -0
  347. package/lib/common/Resource.d.ts +14 -0
  348. package/lib/common/Resource.js +35 -0
  349. package/lib/common/index.d.ts +5 -0
  350. package/lib/common/index.js +5 -0
  351. package/lib/common/types.d.ts +6 -0
  352. package/lib/common/types.js +1 -0
  353. package/lib/common/utils/Color.d.ts +10 -0
  354. package/lib/common/utils/Color.js +17 -0
  355. package/lib/common/utils/Maths.d.ts +4 -0
  356. package/lib/common/utils/Maths.js +10 -0
  357. package/lib/common/utils/PointF.d.ts +12 -0
  358. package/lib/common/utils/PointF.js +11 -0
  359. package/lib/common/utils/Quaternion.d.ts +10 -0
  360. package/lib/common/utils/Quaternion.js +23 -0
  361. package/lib/common/utils/Vector2.d.ts +58 -0
  362. package/lib/common/utils/Vector2.js +113 -0
  363. package/lib/common/utils/Vector3.d.ts +73 -0
  364. package/lib/common/utils/Vector3.js +147 -0
  365. package/lib/common/utils/Vector4.d.ts +66 -0
  366. package/lib/common/utils/Vector4.js +131 -0
  367. package/lib/common/utils/cleanPlayerName.d.ts +6 -0
  368. package/lib/common/utils/cleanPlayerName.js +27 -0
  369. package/lib/common/utils/enumValues.d.ts +12 -0
  370. package/lib/common/utils/enumValues.js +14 -0
  371. package/lib/common/utils/getStringFromUInt8Array.d.ts +8 -0
  372. package/lib/common/utils/getStringFromUInt8Array.js +10 -0
  373. package/lib/common/utils/getUInt32FromUint8Array.d.ts +8 -0
  374. package/lib/common/utils/getUInt32FromUint8Array.js +8 -0
  375. package/lib/common/utils/index.d.ts +12 -0
  376. package/lib/common/utils/index.js +12 -0
  377. package/lib/server/Anticheat.d.ts +0 -0
  378. package/lib/server/Anticheat.js +25 -0
  379. package/lib/server/Events.d.ts +35 -0
  380. package/lib/server/Events.js +102 -0
  381. package/lib/server/Game.d.ts +56 -0
  382. package/lib/server/Game.js +86 -0
  383. package/lib/server/cfx/StateBagChangeHandler.d.ts +9 -0
  384. package/lib/server/cfx/StateBagChangeHandler.js +4 -0
  385. package/lib/server/cfx/index.d.ts +7 -0
  386. package/lib/server/cfx/index.js +1 -0
  387. package/lib/server/entities/BaseEntity.d.ts +115 -0
  388. package/lib/server/entities/BaseEntity.js +161 -0
  389. package/lib/server/entities/Entity.d.ts +18 -0
  390. package/lib/server/entities/Entity.js +22 -0
  391. package/lib/server/entities/Ped.d.ts +87 -0
  392. package/lib/server/entities/Ped.js +122 -0
  393. package/lib/server/entities/Player.d.ts +163 -0
  394. package/lib/server/entities/Player.js +235 -0
  395. package/lib/server/entities/Prop.d.ts +32 -0
  396. package/lib/server/entities/Prop.js +42 -0
  397. package/lib/server/entities/Vehicle.d.ts +230 -0
  398. package/lib/server/entities/Vehicle.js +331 -0
  399. package/lib/server/entities/index.d.ts +5 -0
  400. package/lib/server/entities/index.js +5 -0
  401. package/lib/server/enum/ClassTypes.d.ts +11 -0
  402. package/lib/server/enum/ClassTypes.js +12 -0
  403. package/lib/server/enum/PopulationType.d.ts +13 -0
  404. package/lib/server/enum/PopulationType.js +14 -0
  405. package/lib/server/enum/VehicleLockStatus.d.ts +9 -0
  406. package/lib/server/enum/VehicleLockStatus.js +10 -0
  407. package/lib/server/enum/VehicleType.d.ts +10 -0
  408. package/lib/server/enum/VehicleType.js +11 -0
  409. package/lib/server/enum/eEntityType.d.ts +5 -0
  410. package/lib/server/enum/eEntityType.js +6 -0
  411. package/lib/server/enum/index.d.ts +5 -0
  412. package/lib/server/enum/index.js +5 -0
  413. package/lib/server/index.d.ts +7 -0
  414. package/lib/server/index.js +7 -0
  415. package/lib/server/type/Anticheat.d.ts +471 -0
  416. package/lib/server/type/Anticheat.js +160 -0
  417. package/lib/server/type/Hash.d.ts +3 -0
  418. package/lib/server/type/Hash.js +2 -0
  419. package/lib/server/utils/index.d.ts +1 -0
  420. package/lib/server/utils/index.js +1 -0
  421. package/package.json +54 -0
@@ -0,0 +1,49 @@
1
+ /**
2
+ * List of markers. Markers are 3D visual objects in the world.
3
+ *
4
+ * See native [DRAW_MARKER](https://docs.fivem.net/game-references/markers/) for pictures.
5
+ */
6
+ export declare enum MarkerType {
7
+ UpsideDownCone = 0,
8
+ VerticalCylinder = 1,
9
+ ThickChevronUp = 2,
10
+ ThinChevronUp = 3,
11
+ CheckeredFlagRect = 4,
12
+ CheckeredFlagCircle = 5,
13
+ VerticleCircle = 6,
14
+ PlaneModel = 7,
15
+ LostMCDark = 8,
16
+ LostMCLight = 9,
17
+ Number0 = 10,
18
+ Number1 = 11,
19
+ Number2 = 12,
20
+ Number3 = 13,
21
+ Number4 = 14,
22
+ Number5 = 15,
23
+ Number6 = 16,
24
+ Number7 = 17,
25
+ Number8 = 18,
26
+ Number9 = 19,
27
+ ChevronUpx1 = 20,
28
+ ChevronUpx2 = 21,
29
+ ChevronUpx3 = 22,
30
+ HorizontalCircleFat = 23,
31
+ ReplayIcon = 24,
32
+ HorizontalCircleSkinny = 25,
33
+ HorizontalCircleSkinnyArrow = 26,
34
+ HorizontalSplitArrowCircle = 27,
35
+ DebugSphere = 28,
36
+ DollarSign = 29,
37
+ HorizontalBars = 30,
38
+ WolfHead = 31,
39
+ QuestionMark = 32,
40
+ PlaneSymbol = 33,
41
+ HelicopterSymbol = 34,
42
+ BoatSymbol = 35,
43
+ CarSymbol = 36,
44
+ MotorcycleSymbol = 37,
45
+ BikeSymbol = 38,
46
+ TruckSymbol = 39,
47
+ ParachuteSymbol = 40,
48
+ SawbladeSymbol = 41
49
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * List of markers. Markers are 3D visual objects in the world.
3
+ *
4
+ * See native [DRAW_MARKER](https://docs.fivem.net/game-references/markers/) for pictures.
5
+ */
6
+ export var MarkerType;
7
+ (function (MarkerType) {
8
+ MarkerType[MarkerType["UpsideDownCone"] = 0] = "UpsideDownCone";
9
+ MarkerType[MarkerType["VerticalCylinder"] = 1] = "VerticalCylinder";
10
+ MarkerType[MarkerType["ThickChevronUp"] = 2] = "ThickChevronUp";
11
+ MarkerType[MarkerType["ThinChevronUp"] = 3] = "ThinChevronUp";
12
+ MarkerType[MarkerType["CheckeredFlagRect"] = 4] = "CheckeredFlagRect";
13
+ MarkerType[MarkerType["CheckeredFlagCircle"] = 5] = "CheckeredFlagCircle";
14
+ MarkerType[MarkerType["VerticleCircle"] = 6] = "VerticleCircle";
15
+ MarkerType[MarkerType["PlaneModel"] = 7] = "PlaneModel";
16
+ MarkerType[MarkerType["LostMCDark"] = 8] = "LostMCDark";
17
+ MarkerType[MarkerType["LostMCLight"] = 9] = "LostMCLight";
18
+ MarkerType[MarkerType["Number0"] = 10] = "Number0";
19
+ MarkerType[MarkerType["Number1"] = 11] = "Number1";
20
+ MarkerType[MarkerType["Number2"] = 12] = "Number2";
21
+ MarkerType[MarkerType["Number3"] = 13] = "Number3";
22
+ MarkerType[MarkerType["Number4"] = 14] = "Number4";
23
+ MarkerType[MarkerType["Number5"] = 15] = "Number5";
24
+ MarkerType[MarkerType["Number6"] = 16] = "Number6";
25
+ MarkerType[MarkerType["Number7"] = 17] = "Number7";
26
+ MarkerType[MarkerType["Number8"] = 18] = "Number8";
27
+ MarkerType[MarkerType["Number9"] = 19] = "Number9";
28
+ MarkerType[MarkerType["ChevronUpx1"] = 20] = "ChevronUpx1";
29
+ MarkerType[MarkerType["ChevronUpx2"] = 21] = "ChevronUpx2";
30
+ MarkerType[MarkerType["ChevronUpx3"] = 22] = "ChevronUpx3";
31
+ MarkerType[MarkerType["HorizontalCircleFat"] = 23] = "HorizontalCircleFat";
32
+ MarkerType[MarkerType["ReplayIcon"] = 24] = "ReplayIcon";
33
+ MarkerType[MarkerType["HorizontalCircleSkinny"] = 25] = "HorizontalCircleSkinny";
34
+ MarkerType[MarkerType["HorizontalCircleSkinnyArrow"] = 26] = "HorizontalCircleSkinnyArrow";
35
+ MarkerType[MarkerType["HorizontalSplitArrowCircle"] = 27] = "HorizontalSplitArrowCircle";
36
+ MarkerType[MarkerType["DebugSphere"] = 28] = "DebugSphere";
37
+ MarkerType[MarkerType["DollarSign"] = 29] = "DollarSign";
38
+ MarkerType[MarkerType["HorizontalBars"] = 30] = "HorizontalBars";
39
+ MarkerType[MarkerType["WolfHead"] = 31] = "WolfHead";
40
+ MarkerType[MarkerType["QuestionMark"] = 32] = "QuestionMark";
41
+ MarkerType[MarkerType["PlaneSymbol"] = 33] = "PlaneSymbol";
42
+ MarkerType[MarkerType["HelicopterSymbol"] = 34] = "HelicopterSymbol";
43
+ MarkerType[MarkerType["BoatSymbol"] = 35] = "BoatSymbol";
44
+ MarkerType[MarkerType["CarSymbol"] = 36] = "CarSymbol";
45
+ MarkerType[MarkerType["MotorcycleSymbol"] = 37] = "MotorcycleSymbol";
46
+ MarkerType[MarkerType["BikeSymbol"] = 38] = "BikeSymbol";
47
+ MarkerType[MarkerType["TruckSymbol"] = 39] = "TruckSymbol";
48
+ MarkerType[MarkerType["ParachuteSymbol"] = 40] = "ParachuteSymbol";
49
+ MarkerType[MarkerType["SawbladeSymbol"] = 41] = "SawbladeSymbol";
50
+ })(MarkerType || (MarkerType = {}));
@@ -0,0 +1,4 @@
1
+ export declare enum MenuAlignment {
2
+ Left = 76,
3
+ Right = 82
4
+ }
@@ -0,0 +1,5 @@
1
+ export var MenuAlignment;
2
+ (function (MenuAlignment) {
3
+ MenuAlignment[MenuAlignment["Left"] = 76] = "Left";
4
+ MenuAlignment[MenuAlignment["Right"] = 82] = "Right";
5
+ })(MenuAlignment || (MenuAlignment = {}));
@@ -0,0 +1,10 @@
1
+ export declare enum NotificationType {
2
+ Default = 0,
3
+ Bubble = 1,
4
+ Mail = 2,
5
+ FriendRequest = 3,
6
+ Default2 = 4,
7
+ Reply = 7,
8
+ ReputationPoints = 8,
9
+ Money = 9
10
+ }
@@ -0,0 +1,11 @@
1
+ export var NotificationType;
2
+ (function (NotificationType) {
3
+ NotificationType[NotificationType["Default"] = 0] = "Default";
4
+ NotificationType[NotificationType["Bubble"] = 1] = "Bubble";
5
+ NotificationType[NotificationType["Mail"] = 2] = "Mail";
6
+ NotificationType[NotificationType["FriendRequest"] = 3] = "FriendRequest";
7
+ NotificationType[NotificationType["Default2"] = 4] = "Default2";
8
+ NotificationType[NotificationType["Reply"] = 7] = "Reply";
9
+ NotificationType[NotificationType["ReputationPoints"] = 8] = "ReputationPoints";
10
+ NotificationType[NotificationType["Money"] = 9] = "Money";
11
+ })(NotificationType || (NotificationType = {}));
@@ -0,0 +1,13 @@
1
+ export declare enum ParachuteLandingType {
2
+ None = -1,
3
+ Stumbling = 1,
4
+ Rolling = 2,
5
+ Ragdoll = 3
6
+ }
7
+ export declare enum ParachuteState {
8
+ None = -1,
9
+ FreeFalling = 0,
10
+ Deploying = 1,
11
+ Gliding = 2,
12
+ LandingOrFallingToDoom = 3
13
+ }
@@ -0,0 +1,15 @@
1
+ export var ParachuteLandingType;
2
+ (function (ParachuteLandingType) {
3
+ ParachuteLandingType[ParachuteLandingType["None"] = -1] = "None";
4
+ ParachuteLandingType[ParachuteLandingType["Stumbling"] = 1] = "Stumbling";
5
+ ParachuteLandingType[ParachuteLandingType["Rolling"] = 2] = "Rolling";
6
+ ParachuteLandingType[ParachuteLandingType["Ragdoll"] = 3] = "Ragdoll";
7
+ })(ParachuteLandingType || (ParachuteLandingType = {}));
8
+ export var ParachuteState;
9
+ (function (ParachuteState) {
10
+ ParachuteState[ParachuteState["None"] = -1] = "None";
11
+ ParachuteState[ParachuteState["FreeFalling"] = 0] = "FreeFalling";
12
+ ParachuteState[ParachuteState["Deploying"] = 1] = "Deploying";
13
+ ParachuteState[ParachuteState["Gliding"] = 2] = "Gliding";
14
+ ParachuteState[ParachuteState["LandingOrFallingToDoom"] = 3] = "LandingOrFallingToDoom";
15
+ })(ParachuteState || (ParachuteState = {}));
@@ -0,0 +1,73 @@
1
+ export declare enum PickupType {
2
+ CustomScript = 738282662,
3
+ VehicleCustomScript = 2780351145,
4
+ Parachute = 1735599485,
5
+ PortablePackage = 2158727964,
6
+ PortableCrateUnfixed = 1852930709,
7
+ Health = 2406513688,
8
+ HealthSnack = 483577702,
9
+ Armour = 1274757841,
10
+ MoneyCase = 3463437675,
11
+ MoneySecurityCase = 3732468094,
12
+ MoneyVariable = 4263048111,
13
+ MoneyMedBag = 341217064,
14
+ MoneyPurse = 513448440,
15
+ MoneyDepBag = 545862290,
16
+ MoneyWallet = 1575005502,
17
+ MoneyPaperBag = 1897726628,
18
+ WeaponPistol = 4189041807,
19
+ WeaponCombatPistol = 2305275123,
20
+ WeaponAPPistol = 996550793,
21
+ WeaponSNSPistol = 3317114643,
22
+ WeaponHeavyPistol = 2633054488,
23
+ WeaponMicroSMG = 496339155,
24
+ WeaponSMG = 978070226,
25
+ WeaponMG = 2244651441,
26
+ WeaponCombatMG = 2995980820,
27
+ WeaponAssaultRifle = 4080829360,
28
+ WeaponCarbineRifle = 3748731225,
29
+ WeaponAdvancedRifle = 2998219358,
30
+ WeaponSpecialCarbine = 157823901,
31
+ WeaponBullpupRifle = 2170382056,
32
+ WeaponPumpShotgun = 2838846925,
33
+ WeaponSawnoffShotgun = 2528383651,
34
+ WeaponAssaultShotgun = 2459552091,
35
+ WeaponSniperRifle = 4264178988,
36
+ WeaponHeavySniper = 1765114797,
37
+ WeaponGrenadeLauncher = 779501861,
38
+ WeaponRPG = 1295434569,
39
+ WeaponMinigun = 792114228,
40
+ WeaponGrenade = 1577485217,
41
+ WeaponStickyBomb = 2081529176,
42
+ WeaponSmokeGrenade = 483787975,
43
+ WeaponMolotov = 768803961,
44
+ WeaponPetrolCan = 3332236287,
45
+ WeaponKnife = 663586612,
46
+ WeaponNightstick = 1587637620,
47
+ WeaponBat = 2179883038,
48
+ WeaponCrowbar = 2267924616,
49
+ WeaponGolfclub = 2297080999,
50
+ WeaponBottle = 4199656437,
51
+ VehicleWeaponPistol = 2773149623,
52
+ VehicleWeaponCombatPistol = 3500855031,
53
+ VehicleWeaponAPPistol = 3431676165,
54
+ VehicleWeaponMicroSMG = 3094015579,
55
+ VehicleWeaponSawnoffShotgun = 772217690,
56
+ VehicleWeaponGrenade = 2803366040,
57
+ VehicleWeaponSmokeGrenade = 1705498857,
58
+ VehicleWeaponStickyBomb = 746606563,
59
+ VehicleWeaponMolotov = 2228647636,
60
+ VehicleHealth = 160266735,
61
+ AmmoPistol = 544828034,
62
+ AmmoSMG = 292537574,
63
+ AmmoMG = 3730366643,
64
+ AmmoRifle = 3837603782,
65
+ AmmoShotgun = 2012476125,
66
+ AmmoSniper = 3224170789,
67
+ AmmoGrenadeLauncher = 2283450536,
68
+ AmmoRPG = 2223210455,
69
+ AmmoMinigun = 4065984953,
70
+ AmmoMissileMP = 4187887056,
71
+ AmmoBulletMP = 1426343849,
72
+ AmmoGrenadeLauncherMP = 2753668402
73
+ }
@@ -0,0 +1,74 @@
1
+ export var PickupType;
2
+ (function (PickupType) {
3
+ PickupType[PickupType["CustomScript"] = 738282662] = "CustomScript";
4
+ PickupType[PickupType["VehicleCustomScript"] = 2780351145] = "VehicleCustomScript";
5
+ PickupType[PickupType["Parachute"] = 1735599485] = "Parachute";
6
+ PickupType[PickupType["PortablePackage"] = 2158727964] = "PortablePackage";
7
+ PickupType[PickupType["PortableCrateUnfixed"] = 1852930709] = "PortableCrateUnfixed";
8
+ PickupType[PickupType["Health"] = 2406513688] = "Health";
9
+ PickupType[PickupType["HealthSnack"] = 483577702] = "HealthSnack";
10
+ PickupType[PickupType["Armour"] = 1274757841] = "Armour";
11
+ PickupType[PickupType["MoneyCase"] = 3463437675] = "MoneyCase";
12
+ PickupType[PickupType["MoneySecurityCase"] = 3732468094] = "MoneySecurityCase";
13
+ PickupType[PickupType["MoneyVariable"] = 4263048111] = "MoneyVariable";
14
+ PickupType[PickupType["MoneyMedBag"] = 341217064] = "MoneyMedBag";
15
+ PickupType[PickupType["MoneyPurse"] = 513448440] = "MoneyPurse";
16
+ PickupType[PickupType["MoneyDepBag"] = 545862290] = "MoneyDepBag";
17
+ PickupType[PickupType["MoneyWallet"] = 1575005502] = "MoneyWallet";
18
+ PickupType[PickupType["MoneyPaperBag"] = 1897726628] = "MoneyPaperBag";
19
+ PickupType[PickupType["WeaponPistol"] = 4189041807] = "WeaponPistol";
20
+ PickupType[PickupType["WeaponCombatPistol"] = 2305275123] = "WeaponCombatPistol";
21
+ PickupType[PickupType["WeaponAPPistol"] = 996550793] = "WeaponAPPistol";
22
+ PickupType[PickupType["WeaponSNSPistol"] = 3317114643] = "WeaponSNSPistol";
23
+ PickupType[PickupType["WeaponHeavyPistol"] = 2633054488] = "WeaponHeavyPistol";
24
+ PickupType[PickupType["WeaponMicroSMG"] = 496339155] = "WeaponMicroSMG";
25
+ PickupType[PickupType["WeaponSMG"] = 978070226] = "WeaponSMG";
26
+ PickupType[PickupType["WeaponMG"] = 2244651441] = "WeaponMG";
27
+ PickupType[PickupType["WeaponCombatMG"] = 2995980820] = "WeaponCombatMG";
28
+ PickupType[PickupType["WeaponAssaultRifle"] = 4080829360] = "WeaponAssaultRifle";
29
+ PickupType[PickupType["WeaponCarbineRifle"] = 3748731225] = "WeaponCarbineRifle";
30
+ PickupType[PickupType["WeaponAdvancedRifle"] = 2998219358] = "WeaponAdvancedRifle";
31
+ PickupType[PickupType["WeaponSpecialCarbine"] = 157823901] = "WeaponSpecialCarbine";
32
+ PickupType[PickupType["WeaponBullpupRifle"] = 2170382056] = "WeaponBullpupRifle";
33
+ PickupType[PickupType["WeaponPumpShotgun"] = 2838846925] = "WeaponPumpShotgun";
34
+ PickupType[PickupType["WeaponSawnoffShotgun"] = 2528383651] = "WeaponSawnoffShotgun";
35
+ PickupType[PickupType["WeaponAssaultShotgun"] = 2459552091] = "WeaponAssaultShotgun";
36
+ PickupType[PickupType["WeaponSniperRifle"] = 4264178988] = "WeaponSniperRifle";
37
+ PickupType[PickupType["WeaponHeavySniper"] = 1765114797] = "WeaponHeavySniper";
38
+ PickupType[PickupType["WeaponGrenadeLauncher"] = 779501861] = "WeaponGrenadeLauncher";
39
+ PickupType[PickupType["WeaponRPG"] = 1295434569] = "WeaponRPG";
40
+ PickupType[PickupType["WeaponMinigun"] = 792114228] = "WeaponMinigun";
41
+ PickupType[PickupType["WeaponGrenade"] = 1577485217] = "WeaponGrenade";
42
+ PickupType[PickupType["WeaponStickyBomb"] = 2081529176] = "WeaponStickyBomb";
43
+ PickupType[PickupType["WeaponSmokeGrenade"] = 483787975] = "WeaponSmokeGrenade";
44
+ PickupType[PickupType["WeaponMolotov"] = 768803961] = "WeaponMolotov";
45
+ PickupType[PickupType["WeaponPetrolCan"] = 3332236287] = "WeaponPetrolCan";
46
+ PickupType[PickupType["WeaponKnife"] = 663586612] = "WeaponKnife";
47
+ PickupType[PickupType["WeaponNightstick"] = 1587637620] = "WeaponNightstick";
48
+ PickupType[PickupType["WeaponBat"] = 2179883038] = "WeaponBat";
49
+ PickupType[PickupType["WeaponCrowbar"] = 2267924616] = "WeaponCrowbar";
50
+ PickupType[PickupType["WeaponGolfclub"] = 2297080999] = "WeaponGolfclub";
51
+ PickupType[PickupType["WeaponBottle"] = 4199656437] = "WeaponBottle";
52
+ PickupType[PickupType["VehicleWeaponPistol"] = 2773149623] = "VehicleWeaponPistol";
53
+ PickupType[PickupType["VehicleWeaponCombatPistol"] = 3500855031] = "VehicleWeaponCombatPistol";
54
+ PickupType[PickupType["VehicleWeaponAPPistol"] = 3431676165] = "VehicleWeaponAPPistol";
55
+ PickupType[PickupType["VehicleWeaponMicroSMG"] = 3094015579] = "VehicleWeaponMicroSMG";
56
+ PickupType[PickupType["VehicleWeaponSawnoffShotgun"] = 772217690] = "VehicleWeaponSawnoffShotgun";
57
+ PickupType[PickupType["VehicleWeaponGrenade"] = 2803366040] = "VehicleWeaponGrenade";
58
+ PickupType[PickupType["VehicleWeaponSmokeGrenade"] = 1705498857] = "VehicleWeaponSmokeGrenade";
59
+ PickupType[PickupType["VehicleWeaponStickyBomb"] = 746606563] = "VehicleWeaponStickyBomb";
60
+ PickupType[PickupType["VehicleWeaponMolotov"] = 2228647636] = "VehicleWeaponMolotov";
61
+ PickupType[PickupType["VehicleHealth"] = 160266735] = "VehicleHealth";
62
+ PickupType[PickupType["AmmoPistol"] = 544828034] = "AmmoPistol";
63
+ PickupType[PickupType["AmmoSMG"] = 292537574] = "AmmoSMG";
64
+ PickupType[PickupType["AmmoMG"] = 3730366643] = "AmmoMG";
65
+ PickupType[PickupType["AmmoRifle"] = 3837603782] = "AmmoRifle";
66
+ PickupType[PickupType["AmmoShotgun"] = 2012476125] = "AmmoShotgun";
67
+ PickupType[PickupType["AmmoSniper"] = 3224170789] = "AmmoSniper";
68
+ PickupType[PickupType["AmmoGrenadeLauncher"] = 2283450536] = "AmmoGrenadeLauncher";
69
+ PickupType[PickupType["AmmoRPG"] = 2223210455] = "AmmoRPG";
70
+ PickupType[PickupType["AmmoMinigun"] = 4065984953] = "AmmoMinigun";
71
+ PickupType[PickupType["AmmoMissileMP"] = 4187887056] = "AmmoMissileMP";
72
+ PickupType[PickupType["AmmoBulletMP"] = 1426343849] = "AmmoBulletMP";
73
+ PickupType[PickupType["AmmoGrenadeLauncherMP"] = 2753668402] = "AmmoGrenadeLauncherMP";
74
+ })(PickupType || (PickupType = {}));
@@ -0,0 +1,24 @@
1
+ export declare enum RadioStation {
2
+ LosSantosRockRadio = "RADIO_01_CLASS_ROCK",
3
+ NonStopPopFM = "RADIO_02_POP",
4
+ RadioLosSantos = "RADIO_03_HIPHOP_NEW",
5
+ ChannelX = "RADIO_04_PUNK",
6
+ WestCoastTalkRadio = "RADIO_05_TALK_01",
7
+ RebelRadio = "RADIO_06_COUNTRY",
8
+ SoulwaxFM = "RADIO_07_DANCE_01",
9
+ EastLosFM = "RADIO_08_MEXICAN",
10
+ WestCoastClassics = "RADIO_09_HIPHOP_OLD",
11
+ BlaineCountyRadio = "RADIO_11_TALK_02",
12
+ TheBlueArk = "RADIO_12_REGGAE",
13
+ WorldWideFM = "RADIO_13_JAZZ",
14
+ FlyloFM = "RADIO_14_DANCE_02",
15
+ TheLowdown = "RADIO_15_MOTOWN",
16
+ RadioMirrorPark = "RADIO_16_SILVERLAKE",
17
+ Space = "RADIO_17_FUNK",
18
+ VinewoodBoulevardRadio = "RADIO_18_90S_ROCK",
19
+ SelfRadio = "RADIO_19_USER",
20
+ TheLab = "RADIO_20_THELAB",
21
+ BlondedLosSantos = "RADIO_21_DLC_XM17",
22
+ LosSantosUndergroundRadio = "RADIO_22_DLC_BATTLE_MIX1_RADIO",
23
+ RadioOff = "OFF"
24
+ }
@@ -0,0 +1,25 @@
1
+ export var RadioStation;
2
+ (function (RadioStation) {
3
+ RadioStation["LosSantosRockRadio"] = "RADIO_01_CLASS_ROCK";
4
+ RadioStation["NonStopPopFM"] = "RADIO_02_POP";
5
+ RadioStation["RadioLosSantos"] = "RADIO_03_HIPHOP_NEW";
6
+ RadioStation["ChannelX"] = "RADIO_04_PUNK";
7
+ RadioStation["WestCoastTalkRadio"] = "RADIO_05_TALK_01";
8
+ RadioStation["RebelRadio"] = "RADIO_06_COUNTRY";
9
+ RadioStation["SoulwaxFM"] = "RADIO_07_DANCE_01";
10
+ RadioStation["EastLosFM"] = "RADIO_08_MEXICAN";
11
+ RadioStation["WestCoastClassics"] = "RADIO_09_HIPHOP_OLD";
12
+ RadioStation["BlaineCountyRadio"] = "RADIO_11_TALK_02";
13
+ RadioStation["TheBlueArk"] = "RADIO_12_REGGAE";
14
+ RadioStation["WorldWideFM"] = "RADIO_13_JAZZ";
15
+ RadioStation["FlyloFM"] = "RADIO_14_DANCE_02";
16
+ RadioStation["TheLowdown"] = "RADIO_15_MOTOWN";
17
+ RadioStation["RadioMirrorPark"] = "RADIO_16_SILVERLAKE";
18
+ RadioStation["Space"] = "RADIO_17_FUNK";
19
+ RadioStation["VinewoodBoulevardRadio"] = "RADIO_18_90S_ROCK";
20
+ RadioStation["SelfRadio"] = "RADIO_19_USER";
21
+ RadioStation["TheLab"] = "RADIO_20_THELAB";
22
+ RadioStation["BlondedLosSantos"] = "RADIO_21_DLC_XM17";
23
+ RadioStation["LosSantosUndergroundRadio"] = "RADIO_22_DLC_BATTLE_MIX1_RADIO";
24
+ RadioStation["RadioOff"] = "OFF";
25
+ })(RadioStation || (RadioStation = {}));
@@ -0,0 +1,6 @@
1
+ export declare enum RagdollType {
2
+ Normal = 0,
3
+ StiffLegs = 1,
4
+ NarrowLegs = 2,
5
+ WideLegs = 3
6
+ }
@@ -0,0 +1,7 @@
1
+ export var RagdollType;
2
+ (function (RagdollType) {
3
+ RagdollType[RagdollType["Normal"] = 0] = "Normal";
4
+ RagdollType[RagdollType["StiffLegs"] = 1] = "StiffLegs";
5
+ RagdollType[RagdollType["NarrowLegs"] = 2] = "NarrowLegs";
6
+ RagdollType[RagdollType["WideLegs"] = 3] = "WideLegs";
7
+ })(RagdollType || (RagdollType = {}));
@@ -0,0 +1,9 @@
1
+ export declare enum Relationship {
2
+ Hate = 5,
3
+ Dislike = 4,
4
+ Neutral = 3,
5
+ Like = 2,
6
+ Respect = 1,
7
+ Companion = 0,
8
+ Pedestrians = 255
9
+ }
@@ -0,0 +1,10 @@
1
+ export var Relationship;
2
+ (function (Relationship) {
3
+ Relationship[Relationship["Hate"] = 5] = "Hate";
4
+ Relationship[Relationship["Dislike"] = 4] = "Dislike";
5
+ Relationship[Relationship["Neutral"] = 3] = "Neutral";
6
+ Relationship[Relationship["Like"] = 2] = "Like";
7
+ Relationship[Relationship["Respect"] = 1] = "Respect";
8
+ Relationship[Relationship["Companion"] = 0] = "Companion";
9
+ Relationship[Relationship["Pedestrians"] = 255] = "Pedestrians";
10
+ })(Relationship || (Relationship = {}));
@@ -0,0 +1,5 @@
1
+ export declare enum RopeType {
2
+ ThickRope = 1,
3
+ ThickRope2 = 4,
4
+ ThinMetalWire = 5
5
+ }
@@ -0,0 +1,6 @@
1
+ export var RopeType;
2
+ (function (RopeType) {
3
+ RopeType[RopeType["ThickRope"] = 1] = "ThickRope";
4
+ RopeType[RopeType["ThickRope2"] = 4] = "ThickRope2";
5
+ RopeType[RopeType["ThinMetalWire"] = 5] = "ThinMetalWire";
6
+ })(RopeType || (RopeType = {}));
@@ -0,0 +1,83 @@
1
+ export declare enum ScreenEffect {
2
+ SwitchHudIn = 0,
3
+ SwitchHudOut = 1,
4
+ FocusIn = 2,
5
+ FocusOut = 3,
6
+ MinigameEndNeutral = 4,
7
+ MinigameEndTrevor = 5,
8
+ MinigameEndFranklin = 6,
9
+ MinigameEndMichael = 7,
10
+ MinigameTransitionOut = 8,
11
+ MinigameTransitionIn = 9,
12
+ SwitchShortNeutralIn = 10,
13
+ SwitchShortFranklinIn = 11,
14
+ SwitchShortTrevorIn = 12,
15
+ SwitchShortMichaelIn = 13,
16
+ SwitchOpenMichaelIn = 14,
17
+ SwitchOpenFranklinIn = 15,
18
+ SwitchOpenTrevorIn = 16,
19
+ SwitchHudMichaelOut = 17,
20
+ SwitchHudFranklinOut = 18,
21
+ SwitchHudTrevorOut = 19,
22
+ SwitchShortFranklinMid = 20,
23
+ SwitchShortMichaelMid = 21,
24
+ SwitchShortTrevorMid = 22,
25
+ DeathFailOut = 23,
26
+ CamPushInNeutral = 24,
27
+ CamPushInFranklin = 25,
28
+ CamPushInMichael = 26,
29
+ CamPushInTrevor = 27,
30
+ SwitchSceneFranklin = 28,
31
+ SwitchSceneTrevor = 29,
32
+ SwitchSceneMichael = 30,
33
+ SwitchSceneNeutral = 31,
34
+ MpCelebWin = 32,
35
+ MpCelebWinOut = 33,
36
+ MpCelebLose = 34,
37
+ MpCelebLoseOut = 35,
38
+ DeathFailNeutralIn = 36,
39
+ DeathFailMpDark = 37,
40
+ DeathFailMpIn = 38,
41
+ MpCelebPreloadFade = 39,
42
+ PeyoteEndOut = 40,
43
+ PeyoteEndIn = 41,
44
+ PeyoteIn = 42,
45
+ PeyoteOut = 43,
46
+ MpRaceCrash = 44,
47
+ SuccessFranklin = 45,
48
+ SuccessTrevor = 46,
49
+ SuccessMichael = 47,
50
+ DrugsMichaelAliensFightIn = 48,
51
+ DrugsMichaelAliensFight = 49,
52
+ DrugsMichaelAliensFightOut = 50,
53
+ DrugsTrevorClownsFightIn = 51,
54
+ DrugsTrevorClownsFight = 52,
55
+ DrugsTrevorClownsFightOut = 53,
56
+ HeistCelebPass = 54,
57
+ HeistCelebPassBw = 55,
58
+ HeistCelebEnd = 56,
59
+ HeistCelebToast = 57,
60
+ MenuMgHeistIn = 58,
61
+ MenuMgTournamentIn = 59,
62
+ MenuMgSelectionIn = 60,
63
+ ChopVision = 61,
64
+ DmtFlightIntro = 62,
65
+ DmtFlight = 63,
66
+ DrugsDrivingIn = 64,
67
+ DrugsDrivingOut = 65,
68
+ SwitchOpenNeutralFib5 = 66,
69
+ HeistLocate = 67,
70
+ MpJobLoad = 68,
71
+ RaceTurbo = 69,
72
+ MpIntroLogo = 70,
73
+ HeistTripSkipFade = 71,
74
+ MenuMgHeistOut = 72,
75
+ MpCoronaSwitch = 73,
76
+ MenuMgSelectionTint = 74,
77
+ SuccessNeutral = 75,
78
+ ExplosionJosh3 = 76,
79
+ SniperOverlay = 77,
80
+ RampageOut = 78,
81
+ Rampage = 79,
82
+ DontTazemeBro = 80
83
+ }
@@ -0,0 +1,84 @@
1
+ export var ScreenEffect;
2
+ (function (ScreenEffect) {
3
+ ScreenEffect[ScreenEffect["SwitchHudIn"] = 0] = "SwitchHudIn";
4
+ ScreenEffect[ScreenEffect["SwitchHudOut"] = 1] = "SwitchHudOut";
5
+ ScreenEffect[ScreenEffect["FocusIn"] = 2] = "FocusIn";
6
+ ScreenEffect[ScreenEffect["FocusOut"] = 3] = "FocusOut";
7
+ ScreenEffect[ScreenEffect["MinigameEndNeutral"] = 4] = "MinigameEndNeutral";
8
+ ScreenEffect[ScreenEffect["MinigameEndTrevor"] = 5] = "MinigameEndTrevor";
9
+ ScreenEffect[ScreenEffect["MinigameEndFranklin"] = 6] = "MinigameEndFranklin";
10
+ ScreenEffect[ScreenEffect["MinigameEndMichael"] = 7] = "MinigameEndMichael";
11
+ ScreenEffect[ScreenEffect["MinigameTransitionOut"] = 8] = "MinigameTransitionOut";
12
+ ScreenEffect[ScreenEffect["MinigameTransitionIn"] = 9] = "MinigameTransitionIn";
13
+ ScreenEffect[ScreenEffect["SwitchShortNeutralIn"] = 10] = "SwitchShortNeutralIn";
14
+ ScreenEffect[ScreenEffect["SwitchShortFranklinIn"] = 11] = "SwitchShortFranklinIn";
15
+ ScreenEffect[ScreenEffect["SwitchShortTrevorIn"] = 12] = "SwitchShortTrevorIn";
16
+ ScreenEffect[ScreenEffect["SwitchShortMichaelIn"] = 13] = "SwitchShortMichaelIn";
17
+ ScreenEffect[ScreenEffect["SwitchOpenMichaelIn"] = 14] = "SwitchOpenMichaelIn";
18
+ ScreenEffect[ScreenEffect["SwitchOpenFranklinIn"] = 15] = "SwitchOpenFranklinIn";
19
+ ScreenEffect[ScreenEffect["SwitchOpenTrevorIn"] = 16] = "SwitchOpenTrevorIn";
20
+ ScreenEffect[ScreenEffect["SwitchHudMichaelOut"] = 17] = "SwitchHudMichaelOut";
21
+ ScreenEffect[ScreenEffect["SwitchHudFranklinOut"] = 18] = "SwitchHudFranklinOut";
22
+ ScreenEffect[ScreenEffect["SwitchHudTrevorOut"] = 19] = "SwitchHudTrevorOut";
23
+ ScreenEffect[ScreenEffect["SwitchShortFranklinMid"] = 20] = "SwitchShortFranklinMid";
24
+ ScreenEffect[ScreenEffect["SwitchShortMichaelMid"] = 21] = "SwitchShortMichaelMid";
25
+ ScreenEffect[ScreenEffect["SwitchShortTrevorMid"] = 22] = "SwitchShortTrevorMid";
26
+ ScreenEffect[ScreenEffect["DeathFailOut"] = 23] = "DeathFailOut";
27
+ ScreenEffect[ScreenEffect["CamPushInNeutral"] = 24] = "CamPushInNeutral";
28
+ ScreenEffect[ScreenEffect["CamPushInFranklin"] = 25] = "CamPushInFranklin";
29
+ ScreenEffect[ScreenEffect["CamPushInMichael"] = 26] = "CamPushInMichael";
30
+ ScreenEffect[ScreenEffect["CamPushInTrevor"] = 27] = "CamPushInTrevor";
31
+ ScreenEffect[ScreenEffect["SwitchSceneFranklin"] = 28] = "SwitchSceneFranklin";
32
+ ScreenEffect[ScreenEffect["SwitchSceneTrevor"] = 29] = "SwitchSceneTrevor";
33
+ ScreenEffect[ScreenEffect["SwitchSceneMichael"] = 30] = "SwitchSceneMichael";
34
+ ScreenEffect[ScreenEffect["SwitchSceneNeutral"] = 31] = "SwitchSceneNeutral";
35
+ ScreenEffect[ScreenEffect["MpCelebWin"] = 32] = "MpCelebWin";
36
+ ScreenEffect[ScreenEffect["MpCelebWinOut"] = 33] = "MpCelebWinOut";
37
+ ScreenEffect[ScreenEffect["MpCelebLose"] = 34] = "MpCelebLose";
38
+ ScreenEffect[ScreenEffect["MpCelebLoseOut"] = 35] = "MpCelebLoseOut";
39
+ ScreenEffect[ScreenEffect["DeathFailNeutralIn"] = 36] = "DeathFailNeutralIn";
40
+ ScreenEffect[ScreenEffect["DeathFailMpDark"] = 37] = "DeathFailMpDark";
41
+ ScreenEffect[ScreenEffect["DeathFailMpIn"] = 38] = "DeathFailMpIn";
42
+ ScreenEffect[ScreenEffect["MpCelebPreloadFade"] = 39] = "MpCelebPreloadFade";
43
+ ScreenEffect[ScreenEffect["PeyoteEndOut"] = 40] = "PeyoteEndOut";
44
+ ScreenEffect[ScreenEffect["PeyoteEndIn"] = 41] = "PeyoteEndIn";
45
+ ScreenEffect[ScreenEffect["PeyoteIn"] = 42] = "PeyoteIn";
46
+ ScreenEffect[ScreenEffect["PeyoteOut"] = 43] = "PeyoteOut";
47
+ ScreenEffect[ScreenEffect["MpRaceCrash"] = 44] = "MpRaceCrash";
48
+ ScreenEffect[ScreenEffect["SuccessFranklin"] = 45] = "SuccessFranklin";
49
+ ScreenEffect[ScreenEffect["SuccessTrevor"] = 46] = "SuccessTrevor";
50
+ ScreenEffect[ScreenEffect["SuccessMichael"] = 47] = "SuccessMichael";
51
+ ScreenEffect[ScreenEffect["DrugsMichaelAliensFightIn"] = 48] = "DrugsMichaelAliensFightIn";
52
+ ScreenEffect[ScreenEffect["DrugsMichaelAliensFight"] = 49] = "DrugsMichaelAliensFight";
53
+ ScreenEffect[ScreenEffect["DrugsMichaelAliensFightOut"] = 50] = "DrugsMichaelAliensFightOut";
54
+ ScreenEffect[ScreenEffect["DrugsTrevorClownsFightIn"] = 51] = "DrugsTrevorClownsFightIn";
55
+ ScreenEffect[ScreenEffect["DrugsTrevorClownsFight"] = 52] = "DrugsTrevorClownsFight";
56
+ ScreenEffect[ScreenEffect["DrugsTrevorClownsFightOut"] = 53] = "DrugsTrevorClownsFightOut";
57
+ ScreenEffect[ScreenEffect["HeistCelebPass"] = 54] = "HeistCelebPass";
58
+ ScreenEffect[ScreenEffect["HeistCelebPassBw"] = 55] = "HeistCelebPassBw";
59
+ ScreenEffect[ScreenEffect["HeistCelebEnd"] = 56] = "HeistCelebEnd";
60
+ ScreenEffect[ScreenEffect["HeistCelebToast"] = 57] = "HeistCelebToast";
61
+ ScreenEffect[ScreenEffect["MenuMgHeistIn"] = 58] = "MenuMgHeistIn";
62
+ ScreenEffect[ScreenEffect["MenuMgTournamentIn"] = 59] = "MenuMgTournamentIn";
63
+ ScreenEffect[ScreenEffect["MenuMgSelectionIn"] = 60] = "MenuMgSelectionIn";
64
+ ScreenEffect[ScreenEffect["ChopVision"] = 61] = "ChopVision";
65
+ ScreenEffect[ScreenEffect["DmtFlightIntro"] = 62] = "DmtFlightIntro";
66
+ ScreenEffect[ScreenEffect["DmtFlight"] = 63] = "DmtFlight";
67
+ ScreenEffect[ScreenEffect["DrugsDrivingIn"] = 64] = "DrugsDrivingIn";
68
+ ScreenEffect[ScreenEffect["DrugsDrivingOut"] = 65] = "DrugsDrivingOut";
69
+ ScreenEffect[ScreenEffect["SwitchOpenNeutralFib5"] = 66] = "SwitchOpenNeutralFib5";
70
+ ScreenEffect[ScreenEffect["HeistLocate"] = 67] = "HeistLocate";
71
+ ScreenEffect[ScreenEffect["MpJobLoad"] = 68] = "MpJobLoad";
72
+ ScreenEffect[ScreenEffect["RaceTurbo"] = 69] = "RaceTurbo";
73
+ ScreenEffect[ScreenEffect["MpIntroLogo"] = 70] = "MpIntroLogo";
74
+ ScreenEffect[ScreenEffect["HeistTripSkipFade"] = 71] = "HeistTripSkipFade";
75
+ ScreenEffect[ScreenEffect["MenuMgHeistOut"] = 72] = "MenuMgHeistOut";
76
+ ScreenEffect[ScreenEffect["MpCoronaSwitch"] = 73] = "MpCoronaSwitch";
77
+ ScreenEffect[ScreenEffect["MenuMgSelectionTint"] = 74] = "MenuMgSelectionTint";
78
+ ScreenEffect[ScreenEffect["SuccessNeutral"] = 75] = "SuccessNeutral";
79
+ ScreenEffect[ScreenEffect["ExplosionJosh3"] = 76] = "ExplosionJosh3";
80
+ ScreenEffect[ScreenEffect["SniperOverlay"] = 77] = "SniperOverlay";
81
+ ScreenEffect[ScreenEffect["RampageOut"] = 78] = "RampageOut";
82
+ ScreenEffect[ScreenEffect["Rampage"] = 79] = "Rampage";
83
+ ScreenEffect[ScreenEffect["DontTazemeBro"] = 80] = "DontTazemeBro";
84
+ })(ScreenEffect || (ScreenEffect = {}));
@@ -0,0 +1,39 @@
1
+ export declare enum SpeechModifier {
2
+ Standard = 0,
3
+ AllowRepeat = 1,
4
+ Beat = 2,
5
+ Force = 3,
6
+ ForceFrontend = 4,
7
+ ForceNoRepeatFrontend = 5,
8
+ ForceNormal = 6,
9
+ ForceNormalClear = 7,
10
+ ForceNormalCritical = 8,
11
+ ForceShouted = 9,
12
+ ForceShoutedClear = 10,
13
+ ForceShoutedCritical = 11,
14
+ ForcePreloadOnly = 12,
15
+ Megaphone = 13,
16
+ Helicopter = 14,
17
+ ForceMegaphone = 15,
18
+ ForceHelicopter = 16,
19
+ Interrupt = 17,
20
+ InterruptShouted = 18,
21
+ InterruptShoutedClear = 19,
22
+ InterruptShoutedCritical = 20,
23
+ InterruptNoForce = 21,
24
+ InterruptFrontend = 22,
25
+ InterruptNoForceFrontend = 23,
26
+ AddBlip = 24,
27
+ AddBlipAllowRepeat = 25,
28
+ AddBlipForce = 26,
29
+ AddBlipShouted = 27,
30
+ AddBlipShoutedForce = 28,
31
+ AddBlipInterrupt = 29,
32
+ AddBlipInterruptForce = 30,
33
+ ForcePreloadOnlyShouted = 31,
34
+ ForcePreloadOnlyShoutedClear = 32,
35
+ ForcePreloadOnlyShoutedCritical = 33,
36
+ Shouted = 34,
37
+ ShoutedClear = 35,
38
+ ShoutedCritical = 36
39
+ }