@nativewrappers/fivem 0.0.42 → 0.0.44
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.
- package/{client/Audio.d.ts → Audio.d.ts} +3 -3
- package/{client/Audio.js → Audio.js} +44 -43
- package/{client/Blip.d.ts → Blip.d.ts} +3 -3
- package/{client/Blip.js → Blip.js} +4 -3
- package/{client/Camera.d.ts → Camera.d.ts} +4 -4
- package/{client/Camera.js → Camera.js} +18 -17
- package/{client/Checkpoint.d.ts → Checkpoint.d.ts} +2 -2
- package/{client/Checkpoint.js → Checkpoint.js} +7 -6
- package/{client/Events.js → Events.js} +23 -23
- package/{client/Game.d.ts → Game.d.ts} +4 -3
- package/{client/Game.js → Game.js} +16 -10
- package/{client/GameplayCamera.d.ts → GameplayCamera.d.ts} +2 -2
- package/{client/GameplayCamera.js → GameplayCamera.js} +2 -2
- package/{client/Model.d.ts → Model.d.ts} +4 -2
- package/{client/Model.js → Model.js} +19 -5
- package/{client/NetworkedScene.d.ts → NetworkedScene.d.ts} +2 -2
- package/{client/NetworkedScene.js → NetworkedScene.js} +1 -0
- package/{client/ParticleEffect.d.ts → ParticleEffect.d.ts} +3 -3
- package/{client/ParticleEffect.js → ParticleEffect.js} +11 -8
- package/{client/ParticleEffectAsset.d.ts → ParticleEffectAsset.d.ts} +3 -3
- package/{client/ParticleEffectAsset.js → ParticleEffectAsset.js} +4 -3
- package/{client/Pickup.d.ts → Pickup.d.ts} +1 -1
- package/{client/Pickup.js → Pickup.js} +2 -1
- package/{client/Raycast.d.ts → Raycast.d.ts} +3 -3
- package/{client/Raycast.js → Raycast.js} +10 -3
- package/{client/RelationshipGroup.d.ts → RelationshipGroup.d.ts} +1 -1
- package/{client/RelationshipGroup.js → RelationshipGroup.js} +4 -0
- package/{client/Rope.d.ts → Rope.d.ts} +2 -2
- package/{client/Rope.js → Rope.js} +6 -2
- package/{client/TaskSequence.d.ts → TaskSequence.d.ts} +1 -1
- package/{client/TaskSequence.js → TaskSequence.js} +5 -2
- package/{client/Tasks.d.ts → Tasks.d.ts} +5 -5
- package/{client/Tasks.js → Tasks.js} +7 -6
- package/{client/World.d.ts → World.d.ts} +20 -12
- package/{client/World.js → World.js} +66 -62
- package/{client/cfx → cfx}/index.d.ts +1 -1
- package/{client/enums → enums}/RaycastEnums.js +3 -1
- package/enums/index.d.ts +42 -0
- package/enums/index.js +42 -0
- package/hashes/index.d.ts +5 -0
- package/hashes/index.js +5 -0
- package/index.d.ts +24 -0
- package/index.js +25 -0
- package/{client/interfaces → interfaces}/Dimensions.d.ts +1 -1
- package/{client/models → models}/BaseEntity.d.ts +26 -26
- package/{client/models → models}/BaseEntity.js +32 -30
- package/{client/models → models}/EntityBone.d.ts +2 -2
- package/{client/models → models}/EntityBone.js +4 -2
- package/{client/models → models}/EntityBoneCollection.d.ts +2 -2
- package/{client/models → models}/EntityBoneCollection.js +5 -2
- package/{client/models → models}/Ped.d.ts +20 -9
- package/{client/models → models}/Ped.js +66 -56
- package/{client/models → models}/PedBone.d.ts +2 -2
- package/{client/models → models}/PedBone.js +1 -1
- package/{client/models → models}/PedBoneCollection.d.ts +1 -1
- package/{client/models → models}/PedBoneCollection.js +4 -2
- package/{client/models → models}/Player.d.ts +3 -3
- package/{client/models → models}/Player.js +12 -9
- package/{client/models → models}/Prop.d.ts +2 -2
- package/{client/models → models}/Prop.js +4 -4
- package/{client/models → models}/Vehicle.d.ts +6 -6
- package/{client/models → models}/Vehicle.js +22 -16
- package/{client/models → models}/VehicleDoor.d.ts +2 -2
- package/{client/models → models}/VehicleDoor.js +2 -0
- package/{client/models → models}/VehicleDoorCollection.d.ts +3 -3
- package/{client/models → models}/VehicleDoorCollection.js +16 -15
- package/{client/models → models}/VehicleMod.d.ts +2 -2
- package/{client/models → models}/VehicleMod.js +2 -0
- package/{client/models → models}/VehicleModCollection.d.ts +5 -5
- package/{client/models → models}/VehicleModCollection.js +20 -19
- package/{client/models → models}/VehicleToggleMod.d.ts +2 -2
- package/{client/models → models}/VehicleToggleMod.js +2 -0
- package/{client/models → models}/VehicleWheel.d.ts +1 -1
- package/{client/models → models}/VehicleWheel.js +2 -0
- package/{client/models → models}/VehicleWheelCollection.d.ts +3 -3
- package/{client/models → models}/VehicleWheelCollection.js +15 -14
- package/{client/models → models}/VehicleWindow.d.ts +2 -2
- package/{client/models → models}/VehicleWindow.js +2 -0
- package/{client/models → models}/VehicleWindowCollection.d.ts +3 -3
- package/{client/models → models}/VehicleWindowCollection.js +13 -12
- package/models/index.d.ts +18 -0
- package/models/index.js +19 -0
- package/package.json +6 -30
- package/{client/ui → ui}/Container.d.ts +2 -2
- package/{client/ui → ui}/Container.js +6 -3
- package/{client/ui → ui}/Effects.d.ts +1 -1
- package/ui/Effects.js +106 -0
- package/{client/ui → ui}/Fading.js +2 -2
- package/{client/ui → ui}/Hud.d.ts +2 -2
- package/{client/ui → ui}/Hud.js +1 -1
- package/{client/ui → ui}/InstructionalButtons.d.ts +1 -1
- package/{client/ui → ui}/InstructionalButtons.js +8 -7
- package/{client/ui → ui}/LoadingPrompt.d.ts +1 -1
- package/{client/ui → ui}/LoadingPrompt.js +5 -5
- package/{client/ui → ui}/Notification.js +1 -0
- package/{client/ui → ui}/Rectangle.d.ts +2 -2
- package/{client/ui → ui}/Rectangle.js +5 -2
- package/{client/ui → ui}/Scaleform.d.ts +1 -1
- package/{client/ui → ui}/Scaleform.js +10 -8
- package/{client/ui → ui}/Screen.d.ts +3 -3
- package/{client/ui → ui}/Screen.js +13 -13
- package/{client/ui → ui}/Sprite.d.ts +1 -1
- package/{client/ui → ui}/Sprite.js +10 -3
- package/{client/ui → ui}/Text.d.ts +3 -3
- package/{client/ui → ui}/Text.js +19 -7
- package/{client/ui → ui}/Timerbar.d.ts +1 -1
- package/{client/ui → ui}/Timerbar.js +37 -30
- package/ui/index.d.ts +15 -0
- package/ui/index.js +15 -0
- package/{client/ui → ui}/interfaces/IButton.d.ts +1 -1
- package/{client/ui → ui}/interfaces/IDrawable.d.ts +1 -1
- package/ui/interfaces/index.d.ts +2 -0
- package/{client/ui → ui}/menu/Menu.d.ts +4 -4
- package/{client/ui → ui}/menu/Menu.js +96 -67
- package/{client/ui → ui}/menu/MenuControl.js +1 -0
- package/{client/ui → ui}/menu/MenuControls.d.ts +1 -1
- package/ui/menu/MenuControls.js +9 -0
- package/{client/ui → ui}/menu/MenuSettings.d.ts +1 -1
- package/ui/menu/MenuSettings.js +54 -0
- package/ui/menu/index.d.ts +6 -0
- package/ui/menu/index.js +6 -0
- package/{client/ui → ui}/menu/items/UIMenuCheckboxItem.d.ts +3 -3
- package/{client/ui → ui}/menu/items/UIMenuCheckboxItem.js +17 -15
- package/{client/ui → ui}/menu/items/UIMenuItem.d.ts +4 -4
- package/{client/ui → ui}/menu/items/UIMenuItem.js +276 -255
- package/{client/ui → ui}/menu/items/UIMenuListItem.d.ts +3 -3
- package/{client/ui → ui}/menu/items/UIMenuListItem.js +28 -19
- package/{client/ui → ui}/menu/items/UIMenuSeparatorItem.d.ts +1 -1
- package/{client/ui → ui}/menu/items/UIMenuSeparatorItem.js +10 -10
- package/{client/ui → ui}/menu/items/UIMenuSliderItem.d.ts +3 -3
- package/{client/ui → ui}/menu/items/UIMenuSliderItem.js +45 -27
- package/ui/menu/items/index.d.ts +6 -0
- package/ui/menu/items/index.js +6 -0
- package/{client/ui → ui}/menu/items/panels/AbstractUIMenuPanel.d.ts +3 -3
- package/{client/ui → ui}/menu/items/panels/AbstractUIMenuPanel.js +9 -8
- package/{client/ui → ui}/menu/items/panels/UIMenuColorPanel.d.ts +3 -3
- package/{client/ui → ui}/menu/items/panels/UIMenuColorPanel.js +29 -23
- package/{client/ui → ui}/menu/items/panels/UIMenuGridPanel.d.ts +3 -3
- package/{client/ui → ui}/menu/items/panels/UIMenuGridPanel.js +86 -40
- package/{client/ui → ui}/menu/items/panels/UIMenuPercentagePanel.d.ts +2 -2
- package/{client/ui → ui}/menu/items/panels/UIMenuPercentagePanel.js +27 -18
- package/{client/ui → ui}/menu/items/panels/UIMenuStatisticsPanel.d.ts +2 -2
- package/{client/ui → ui}/menu/items/panels/UIMenuStatisticsPanel.js +10 -8
- package/{client/ui → ui}/menu/items/panels/UIMenuStatisticsPanelItem.d.ts +1 -1
- package/{client/ui → ui}/menu/items/panels/UIMenuStatisticsPanelItem.js +10 -7
- package/ui/menu/items/panels/index.d.ts +6 -0
- package/ui/menu/items/panels/index.js +6 -0
- package/{client/ui → ui}/menu/modules/ListItem.js +4 -2
- package/ui/menu/modules/index.d.ts +1 -0
- package/ui/menu/modules/index.js +1 -0
- package/{client/utils → utils}/Animations.js +2 -2
- package/{client/utils → utils}/Crypto.js +5 -5
- package/{client/utils → utils}/LiteEvent.js +3 -5
- package/{client/utils → utils}/Point.js +5 -3
- package/{common/utils → utils}/PointF.js +3 -0
- package/{client/utils → utils}/Quaternion.d.ts +1 -1
- package/{client/utils → utils}/Quaternion.js +5 -1
- package/{client/utils → utils}/Size.js +2 -0
- package/{client/utils → utils}/String.d.ts +1 -1
- package/{client/utils → utils}/String.js +3 -3
- package/{client/utils → utils}/enumValues.js +2 -2
- package/{client/utils → utils}/getStringFromUInt8Array.js +1 -1
- package/utils/index.d.ts +9 -0
- package/utils/index.js +9 -0
- package/{client/weapon → weapon}/DlcWeaponData.d.ts +1 -1
- package/{client/weapon → weapon}/DlcWeaponData.js +3 -3
- package/{client/weapon → weapon}/Weapon.d.ts +10 -10
- package/{client/weapon → weapon}/Weapon.js +17 -14
- package/{client/weapon → weapon}/WeaponAsset.d.ts +1 -1
- package/{client/weapon → weapon}/WeaponAsset.js +4 -3
- package/{client/weapon → weapon}/WeaponCollection.d.ts +3 -3
- package/{client/weapon → weapon}/WeaponCollection.js +4 -3
- package/{client/weapon → weapon}/WeaponDisplayNameByHash.d.ts +1 -1
- package/weapon/WeaponDisplayNameByHash.js +75 -0
- package/{client/weapon → weapon}/WeaponHudStats.d.ts +1 -1
- package/{client/weapon → weapon}/WeaponHudStats.js +4 -4
- package/weapon/index.d.ts +8 -0
- package/weapon/index.js +8 -0
- package/{client/weaponComponent → weaponComponent}/ComponentAttachmentPointByHash.d.ts +2 -2
- package/{client/weaponComponent → weaponComponent}/ComponentAttachmentPointByHash.js +355 -91
- package/{client/weaponComponent → weaponComponent}/ComponentDisplayNameByHash.d.ts +1 -1
- package/weaponComponent/ComponentDisplayNameByHash.js +280 -0
- package/{client/weaponComponent → weaponComponent}/DlcWeaponComponentData.d.ts +1 -1
- package/{client/weaponComponent → weaponComponent}/DlcWeaponComponentData.js +2 -2
- package/{client/weaponComponent → weaponComponent}/InvalidWeaponComponent.d.ts +4 -4
- package/{client/weaponComponent → weaponComponent}/InvalidWeaponComponent.js +5 -5
- package/{client/weaponComponent → weaponComponent}/WeaponComponent.d.ts +6 -6
- package/{client/weaponComponent → weaponComponent}/WeaponComponent.js +15 -11
- package/{client/weaponComponent → weaponComponent}/WeaponComponentCollection.d.ts +4 -4
- package/{client/weaponComponent → weaponComponent}/WeaponComponentCollection.js +13 -11
- package/{client/weaponComponent → weaponComponent}/WeaponComponentHashesByWeaponHash.d.ts +2 -2
- package/{client/weaponComponent → weaponComponent}/WeaponComponentHashesByWeaponHash.js +13 -7
- package/{client/weaponComponent → weaponComponent}/WeaponComponentHudStats.d.ts +1 -1
- package/{client/weaponComponent → weaponComponent}/WeaponComponentHudStats.js +4 -4
- package/weaponComponent/index.d.ts +5 -0
- package/weaponComponent/index.js +5 -0
- package/README.md +0 -41
- package/client/enums/index.d.ts +0 -42
- package/client/enums/index.js +0 -42
- package/client/hashes/index.d.ts +0 -5
- package/client/hashes/index.js +0 -5
- package/client/index.d.ts +0 -24
- package/client/index.js +0 -25
- package/client/models/index.d.ts +0 -18
- package/client/models/index.js +0 -19
- package/client/ui/Effects.js +0 -106
- package/client/ui/index.d.ts +0 -15
- package/client/ui/index.js +0 -15
- package/client/ui/interfaces/index.d.ts +0 -2
- package/client/ui/menu/MenuControls.js +0 -11
- package/client/ui/menu/MenuSettings.js +0 -51
- package/client/ui/menu/index.d.ts +0 -6
- package/client/ui/menu/index.js +0 -6
- package/client/ui/menu/items/index.d.ts +0 -6
- package/client/ui/menu/items/index.js +0 -6
- package/client/ui/menu/items/panels/index.d.ts +0 -6
- package/client/ui/menu/items/panels/index.js +0 -6
- package/client/ui/menu/modules/index.d.ts +0 -1
- package/client/ui/menu/modules/index.js +0 -1
- package/client/utils/PointF.js +0 -11
- package/client/utils/index.d.ts +0 -9
- package/client/utils/index.js +0 -9
- package/client/weapon/WeaponDisplayNameByHash.js +0 -75
- package/client/weapon/index.d.ts +0 -8
- package/client/weapon/index.js +0 -8
- package/client/weaponComponent/ComponentDisplayNameByHash.js +0 -280
- package/client/weaponComponent/index.d.ts +0 -5
- package/client/weaponComponent/index.js +0 -5
- package/common/Convar.d.ts +0 -8
- package/common/Convar.js +0 -20
- package/common/Kvp.d.ts +0 -91
- package/common/Kvp.js +0 -161
- package/common/Resource.d.ts +0 -14
- package/common/Resource.js +0 -35
- package/common/index.d.ts +0 -5
- package/common/index.js +0 -5
- package/common/types.d.ts +0 -5
- package/common/types.js +0 -1
- package/common/utils/ClassTypes.d.ts +0 -11
- package/common/utils/ClassTypes.js +0 -12
- package/common/utils/Color.d.ts +0 -14
- package/common/utils/Color.js +0 -21
- package/common/utils/Maths.d.ts +0 -4
- package/common/utils/Maths.js +0 -10
- package/common/utils/PointF.d.ts +0 -12
- package/common/utils/Quaternion.d.ts +0 -10
- package/common/utils/Quaternion.js +0 -23
- package/common/utils/Vector.d.ts +0 -390
- package/common/utils/Vector.js +0 -546
- package/common/utils/Vector2.d.ts +0 -1
- package/common/utils/Vector2.js +0 -1
- package/common/utils/Vector3.d.ts +0 -1
- package/common/utils/Vector3.js +0 -1
- package/common/utils/Vector4.d.ts +0 -1
- package/common/utils/Vector4.js +0 -1
- package/common/utils/cleanPlayerName.d.ts +0 -6
- package/common/utils/cleanPlayerName.js +0 -27
- package/common/utils/enumValues.d.ts +0 -12
- package/common/utils/enumValues.js +0 -14
- package/common/utils/getStringFromUInt8Array.d.ts +0 -8
- package/common/utils/getStringFromUInt8Array.js +0 -10
- package/common/utils/getUInt32FromUint8Array.d.ts +0 -8
- package/common/utils/getUInt32FromUint8Array.js +0 -8
- package/common/utils/index.d.ts +0 -12
- package/common/utils/index.js +0 -12
- package/server/Events.d.ts +0 -16
- package/server/Events.js +0 -79
- package/server/Game.d.ts +0 -25
- package/server/Game.js +0 -55
- package/server/cfx/StateBagChangeHandler.d.ts +0 -3
- package/server/cfx/StateBagChangeHandler.js +0 -1
- package/server/cfx/index.d.ts +0 -6
- package/server/cfx/index.js +0 -1
- package/server/entities/BaseEntity.d.ts +0 -47
- package/server/entities/BaseEntity.js +0 -109
- package/server/entities/Entity.d.ts +0 -6
- package/server/entities/Entity.js +0 -12
- package/server/entities/Ped.d.ts +0 -32
- package/server/entities/Ped.js +0 -81
- package/server/entities/Player.d.ts +0 -63
- package/server/entities/Player.js +0 -135
- package/server/entities/Prop.d.ts +0 -14
- package/server/entities/Prop.js +0 -32
- package/server/entities/Vehicle.d.ts +0 -67
- package/server/entities/Vehicle.js +0 -175
- package/server/entities/index.d.ts +0 -5
- package/server/entities/index.js +0 -5
- package/server/enum/PopulationType.d.ts +0 -13
- package/server/enum/PopulationType.js +0 -14
- package/server/enum/VehicleLockStatus.d.ts +0 -9
- package/server/enum/VehicleLockStatus.js +0 -10
- package/server/enum/VehicleType.d.ts +0 -10
- package/server/enum/VehicleType.js +0 -11
- package/server/enum/eEntityType.d.ts +0 -5
- package/server/enum/eEntityType.js +0 -6
- package/server/enum/index.d.ts +0 -4
- package/server/enum/index.js +0 -4
- package/server/index.d.ts +0 -7
- package/server/index.js +0 -7
- package/server/type/Anticheat.d.ts +0 -153
- package/server/type/Anticheat.js +0 -1
- package/server/type/Hash.d.ts +0 -1
- package/server/type/Hash.js +0 -1
- package/server/utils/index.d.ts +0 -1
- package/server/utils/index.js +0 -1
- /package/{client/Events.d.ts → Events.d.ts} +0 -0
- /package/{client/cfx → cfx}/StateBagChangeHandler.d.ts +0 -0
- /package/{client/cfx → cfx}/StateBagChangeHandler.js +0 -0
- /package/{client/cfx → cfx}/index.js +0 -0
- /package/{client/enums → enums}/Alignment.d.ts +0 -0
- /package/{client/enums → enums}/Alignment.js +0 -0
- /package/{client/enums → enums}/AnimationFlags.d.ts +0 -0
- /package/{client/enums → enums}/AnimationFlags.js +0 -0
- /package/{client/enums → enums}/AudioFlag.d.ts +0 -0
- /package/{client/enums → enums}/AudioFlag.js +0 -0
- /package/{client/enums → enums}/BadgeStyle.d.ts +0 -0
- /package/{client/enums → enums}/BadgeStyle.js +0 -0
- /package/{client/enums → enums}/Blip.d.ts +0 -0
- /package/{client/enums → enums}/Blip.js +0 -0
- /package/{client/enums → enums}/Bone.d.ts +0 -0
- /package/{client/enums → enums}/Bone.js +0 -0
- /package/{client/enums → enums}/CameraShake.d.ts +0 -0
- /package/{client/enums → enums}/CameraShake.js +0 -0
- /package/{client/enums → enums}/CameraTypes.d.ts +0 -0
- /package/{client/enums → enums}/CameraTypes.js +0 -0
- /package/{client/enums → enums}/CheckboxStyle.d.ts +0 -0
- /package/{client/enums → enums}/CheckboxStyle.js +0 -0
- /package/{client/enums → enums}/Checkpoint.d.ts +0 -0
- /package/{client/enums → enums}/Checkpoint.js +0 -0
- /package/{client/enums → enums}/CloudHat.d.ts +0 -0
- /package/{client/enums → enums}/CloudHat.js +0 -0
- /package/{client/enums → enums}/Control.d.ts +0 -0
- /package/{client/enums → enums}/Control.js +0 -0
- /package/{client/enums → enums}/CursorSprite.d.ts +0 -0
- /package/{client/enums → enums}/CursorSprite.js +0 -0
- /package/{client/enums → enums}/Driving.d.ts +0 -0
- /package/{client/enums → enums}/Driving.js +0 -0
- /package/{client/enums → enums}/ExplosionType.d.ts +0 -0
- /package/{client/enums → enums}/ExplosionType.js +0 -0
- /package/{client/enums → enums}/FiringPattern.d.ts +0 -0
- /package/{client/enums → enums}/FiringPattern.js +0 -0
- /package/{client/enums → enums}/Font.d.ts +0 -0
- /package/{client/enums → enums}/Font.js +0 -0
- /package/{client/enums → enums}/ForceType.d.ts +0 -0
- /package/{client/enums → enums}/ForceType.js +0 -0
- /package/{client/enums → enums}/Gender.d.ts +0 -0
- /package/{client/enums → enums}/Gender.js +0 -0
- /package/{client/enums → enums}/HelmetType.d.ts +0 -0
- /package/{client/enums → enums}/HelmetType.js +0 -0
- /package/{client/enums → enums}/HudColor.d.ts +0 -0
- /package/{client/enums → enums}/HudColor.js +0 -0
- /package/{client/enums → enums}/HudComponent.d.ts +0 -0
- /package/{client/enums → enums}/HudComponent.js +0 -0
- /package/{client/enums → enums}/InputMode.d.ts +0 -0
- /package/{client/enums → enums}/InputMode.js +0 -0
- /package/{client/enums → enums}/InvertAxis.d.ts +0 -0
- /package/{client/enums → enums}/InvertAxis.js +0 -0
- /package/{client/enums → enums}/Language.d.ts +0 -0
- /package/{client/enums → enums}/Language.js +0 -0
- /package/{client/enums → enums}/LeaveVehicleFlags.d.ts +0 -0
- /package/{client/enums → enums}/LeaveVehicleFlags.js +0 -0
- /package/{client/enums → enums}/LoadingSpinnerType.d.ts +0 -0
- /package/{client/enums → enums}/LoadingSpinnerType.js +0 -0
- /package/{client/enums → enums}/MarkerType.d.ts +0 -0
- /package/{client/enums → enums}/MarkerType.js +0 -0
- /package/{client/enums → enums}/MenuAlignment.d.ts +0 -0
- /package/{client/enums → enums}/MenuAlignment.js +0 -0
- /package/{client/enums → enums}/NotificationType.d.ts +0 -0
- /package/{client/enums → enums}/NotificationType.js +0 -0
- /package/{client/enums → enums}/Parachute.d.ts +0 -0
- /package/{client/enums → enums}/Parachute.js +0 -0
- /package/{client/enums → enums}/PickupType.d.ts +0 -0
- /package/{client/enums → enums}/PickupType.js +0 -0
- /package/{client/enums → enums}/RadioStation.d.ts +0 -0
- /package/{client/enums → enums}/RadioStation.js +0 -0
- /package/{client/enums → enums}/RagdollType.d.ts +0 -0
- /package/{client/enums → enums}/RagdollType.js +0 -0
- /package/{client/enums → enums}/RaycastEnums.d.ts +0 -0
- /package/{client/enums → enums}/Relationship.d.ts +0 -0
- /package/{client/enums → enums}/Relationship.js +0 -0
- /package/{client/enums → enums}/RopeType.d.ts +0 -0
- /package/{client/enums → enums}/RopeType.js +0 -0
- /package/{client/enums → enums}/ScreenEffect.d.ts +0 -0
- /package/{client/enums → enums}/ScreenEffect.js +0 -0
- /package/{client/enums → enums}/SpeechModifier.d.ts +0 -0
- /package/{client/enums → enums}/SpeechModifier.js +0 -0
- /package/{client/enums → enums}/Vehicle.d.ts +0 -0
- /package/{client/enums → enums}/Vehicle.js +0 -0
- /package/{client/enums → enums}/Weather.d.ts +0 -0
- /package/{client/enums → enums}/Weather.js +0 -0
- /package/{client/enums → enums}/ZoneID.d.ts +0 -0
- /package/{client/enums → enums}/ZoneID.js +0 -0
- /package/{client/hashes → hashes}/MaterialHash.d.ts +0 -0
- /package/{client/hashes → hashes}/MaterialHash.js +0 -0
- /package/{client/hashes → hashes}/PedHash.d.ts +0 -0
- /package/{client/hashes → hashes}/PedHash.js +0 -0
- /package/{client/hashes → hashes}/VehicleHash.d.ts +0 -0
- /package/{client/hashes → hashes}/VehicleHash.js +0 -0
- /package/{client/hashes → hashes}/WeaponHash.d.ts +0 -0
- /package/{client/hashes → hashes}/WeaponHash.js +0 -0
- /package/{client/hashes → hashes}/WeatherTypeHash.d.ts +0 -0
- /package/{client/hashes → hashes}/WeatherTypeHash.js +0 -0
- /package/{client/interfaces → interfaces}/Dimensions.js +0 -0
- /package/{client/models → models}/Entity.d.ts +0 -0
- /package/{client/models → models}/Entity.js +0 -0
- /package/{client/ui → ui}/Fading.d.ts +0 -0
- /package/{client/ui → ui}/Notification.d.ts +0 -0
- /package/{client/ui → ui}/interfaces/IButton.js +0 -0
- /package/{client/ui → ui}/interfaces/IDrawable.js +0 -0
- /package/{client/ui → ui}/interfaces/index.js +0 -0
- /package/{client/ui → ui}/menu/MenuControl.d.ts +0 -0
- /package/{client/ui → ui}/menu/modules/ListItem.d.ts +0 -0
- /package/{client/utils → utils}/Animations.d.ts +0 -0
- /package/{client/utils → utils}/Crypto.d.ts +0 -0
- /package/{client/utils → utils}/LiteEvent.d.ts +0 -0
- /package/{client/utils → utils}/Maths.d.ts +0 -0
- /package/{client/utils → utils}/Maths.js +0 -0
- /package/{client/utils → utils}/Point.d.ts +0 -0
- /package/{client/utils → utils}/PointF.d.ts +0 -0
- /package/{client/utils → utils}/Size.d.ts +0 -0
- /package/{client/utils → utils}/enumValues.d.ts +0 -0
- /package/{client/utils → utils}/getStringFromUInt8Array.d.ts +0 -0
- /package/{client/utils → utils}/getUInt32FromUint8Array.d.ts +0 -0
- /package/{client/utils → utils}/getUInt32FromUint8Array.js +0 -0
- /package/{client/weapon → weapon}/Mk2WeaponHash.d.ts +0 -0
- /package/{client/weapon → weapon}/Mk2WeaponHash.js +0 -0
- /package/{client/weapon → weapon}/WeaponGroup.d.ts +0 -0
- /package/{client/weapon → weapon}/WeaponGroup.js +0 -0
- /package/{client/weapon → weapon}/WeaponLivery.d.ts +0 -0
- /package/{client/weapon → weapon}/WeaponLivery.js +0 -0
- /package/{client/weapon → weapon}/WeaponLiveryColor.d.ts +0 -0
- /package/{client/weapon → weapon}/WeaponLiveryColor.js +0 -0
- /package/{client/weapon → weapon}/WeaponTint.d.ts +0 -0
- /package/{client/weapon → weapon}/WeaponTint.js +0 -0
- /package/{client/weaponComponent → weaponComponent}/ComponentAttachmentPoint.d.ts +0 -0
- /package/{client/weaponComponent → weaponComponent}/ComponentAttachmentPoint.js +0 -0
- /package/{client/weaponComponent → weaponComponent}/WeaponComponentHash.d.ts +0 -0
- /package/{client/weaponComponent → weaponComponent}/WeaponComponentHash.js +0 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { DlcWeaponData } from "./DlcWeaponData";
|
|
2
|
+
import { WeaponHash } from "../hashes";
|
|
3
|
+
/***
|
|
4
|
+
* Mapping of WeaponHash -> DisplayName(Label)
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export const WeaponDisplayNameByHash = new Map([
|
|
8
|
+
[WeaponHash.Pistol, "WT_PIST"],
|
|
9
|
+
[WeaponHash.CombatPistol, "WT_PIST_CBT"],
|
|
10
|
+
[WeaponHash.APPistol, "WT_PIST_AP"],
|
|
11
|
+
[WeaponHash.SMG, "WT_SMG"],
|
|
12
|
+
[WeaponHash.MicroSMG, "WT_SMG_MCR"],
|
|
13
|
+
[WeaponHash.AssaultRifle, "WT_RIFLE_ASL"],
|
|
14
|
+
[WeaponHash.CarbineRifle, "WT_RIFLE_CBN"],
|
|
15
|
+
[WeaponHash.AdvancedRifle, "WT_RIFLE_ADV"],
|
|
16
|
+
[WeaponHash.MG, "WT_MG"],
|
|
17
|
+
[WeaponHash.CombatMG, "WT_MG_CBT"],
|
|
18
|
+
[WeaponHash.PumpShotgun, "WT_SG_PMP"],
|
|
19
|
+
[WeaponHash.SawnOffShotgun, "WT_SG_SOF"],
|
|
20
|
+
[WeaponHash.AssaultShotgun, "WT_SG_ASL"],
|
|
21
|
+
[WeaponHash.HeavySniper, "WT_SNIP_HVY"],
|
|
22
|
+
[WeaponHash.SniperRifle, "WT_SNIP_RIF"],
|
|
23
|
+
[WeaponHash.GrenadeLauncher, "WT_GL"],
|
|
24
|
+
[WeaponHash.RPG, "WT_RPG"],
|
|
25
|
+
[WeaponHash.Minigun, "WT_MINIGUN"],
|
|
26
|
+
[WeaponHash.AssaultSMG, "WT_SMG_ASL"],
|
|
27
|
+
[WeaponHash.BullpupShotgun, "WT_SG_BLP"],
|
|
28
|
+
[WeaponHash.Pistol50, "WT_PIST_50"],
|
|
29
|
+
[WeaponHash.Bottle, "WT_BOTTLE"],
|
|
30
|
+
[WeaponHash.Gusenberg, "WT_GUSENBERG"],
|
|
31
|
+
[WeaponHash.SNSPistol, "WT_SNSPISTOL"],
|
|
32
|
+
[WeaponHash.VintagePistol, "TT_VPISTOL"],
|
|
33
|
+
[WeaponHash.Dagger, "WT_DAGGER"],
|
|
34
|
+
[WeaponHash.FlareGun, "WT_FLAREGUN"],
|
|
35
|
+
[WeaponHash.Musket, "WT_MUSKET"],
|
|
36
|
+
[WeaponHash.Firework, "WT_FWRKLNCHR"],
|
|
37
|
+
[WeaponHash.MarksmanRifle, "WT_HMKRIFLE"],
|
|
38
|
+
[WeaponHash.HeavyShotgun, "WT_HVYSHOT"],
|
|
39
|
+
[WeaponHash.ProximityMine, "WT_PRXMINE"],
|
|
40
|
+
[WeaponHash.HomingLauncher, "WT_HOMLNCH"],
|
|
41
|
+
[WeaponHash.CombatPDW, "WT_COMBATPDW"],
|
|
42
|
+
[WeaponHash.KnuckleDuster, "WT_KNUCKLE"],
|
|
43
|
+
[WeaponHash.MarksmanPistol, "WT_MKPISTOL"],
|
|
44
|
+
[WeaponHash.Machete, "WT_MACHETE"],
|
|
45
|
+
[WeaponHash.MachinePistol, "WT_MCHPIST"],
|
|
46
|
+
[WeaponHash.Flashlight, "WT_FLASHLIGHT"],
|
|
47
|
+
[WeaponHash.DoubleBarrelShotgun, "WT_DBSHGN"],
|
|
48
|
+
[WeaponHash.CompactRifle, "WT_CMPRIFLE"],
|
|
49
|
+
[WeaponHash.SwitchBlade, "WT_SWBLADE"],
|
|
50
|
+
[WeaponHash.Revolver, "WT_REVOLVER"],
|
|
51
|
+
// mpgunrunning
|
|
52
|
+
[WeaponHash.PistolMk2, "WT_PIST2"],
|
|
53
|
+
[WeaponHash.AssaultRifleMk2, "WT_RIFLE_ASL2"],
|
|
54
|
+
[WeaponHash.CarbineRifleMk2, "WT_RIFLE_CBN2"],
|
|
55
|
+
[WeaponHash.CombatMGMk2, "WT_MG_CBT2"],
|
|
56
|
+
[WeaponHash.HeavySniperMk2, "WT_SNIP_HVY2"],
|
|
57
|
+
[WeaponHash.SMGMk2, "WT_SMG2"],
|
|
58
|
+
]);
|
|
59
|
+
/**
|
|
60
|
+
* Initialize with DlcWeaponData, in case of any missing dlc data
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
function initializeOnce() {
|
|
64
|
+
let isInitialized = false;
|
|
65
|
+
return function () {
|
|
66
|
+
if (isInitialized) {
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
for (const [hash, data] of DlcWeaponData) {
|
|
70
|
+
WeaponDisplayNameByHash.set(hash, data.name);
|
|
71
|
+
}
|
|
72
|
+
isInitialized = true;
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
initializeOnce()();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { enumValues } from
|
|
2
|
-
import { WeaponHash } from
|
|
3
|
-
import { getUInt32FromUint8Array } from
|
|
1
|
+
import { enumValues } from "../utils";
|
|
2
|
+
import { WeaponHash } from "../hashes";
|
|
3
|
+
import { getUInt32FromUint8Array } from "../utils";
|
|
4
4
|
/**
|
|
5
5
|
* Mapping of WeaponHash -> WeaponHudStats
|
|
6
6
|
*
|
|
@@ -21,7 +21,7 @@ function initializeOnce() {
|
|
|
21
21
|
for (const hash of enumValues(WeaponHash)) {
|
|
22
22
|
const buffer = new Uint8Array(0x28);
|
|
23
23
|
// https://docs.fivem.net/natives/?_0xD92C739EE34C9EBA
|
|
24
|
-
Citizen.invokeNative(
|
|
24
|
+
Citizen.invokeNative("0xD92C739EE34C9EBA", hash, buffer, Citizen.returnResultAnyway());
|
|
25
25
|
// noinspection PointlessArithmeticExpressionJS
|
|
26
26
|
const weaponHudStats = {
|
|
27
27
|
hudDamage: getUInt32FromUint8Array(buffer, 0 * intLength, 1 * intLength),
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { DlcWeaponData } from "./DlcWeaponData";
|
|
2
|
+
export { WeaponHudStats } from "./WeaponHudStats";
|
|
3
|
+
export { WeaponTint } from "./WeaponTint";
|
|
4
|
+
export { WeaponGroup } from "./WeaponGroup";
|
|
5
|
+
export { WeaponLivery } from "./WeaponLivery";
|
|
6
|
+
export { WeaponLiveryColor } from "./WeaponLiveryColor";
|
|
7
|
+
export { Weapon } from "./Weapon";
|
|
8
|
+
export { WeaponAsset } from "./WeaponAsset";
|
package/weapon/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { DlcWeaponData } from "./DlcWeaponData";
|
|
2
|
+
export { WeaponHudStats } from "./WeaponHudStats";
|
|
3
|
+
export { WeaponTint } from "./WeaponTint";
|
|
4
|
+
export { WeaponGroup } from "./WeaponGroup";
|
|
5
|
+
export { WeaponLivery } from "./WeaponLivery";
|
|
6
|
+
export { WeaponLiveryColor } from "./WeaponLiveryColor";
|
|
7
|
+
export { Weapon } from "./Weapon";
|
|
8
|
+
export { WeaponAsset } from "./WeaponAsset";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WeaponComponentHash } from
|
|
2
|
-
import { ComponentAttachmentPoint } from
|
|
1
|
+
import { WeaponComponentHash } from "./WeaponComponentHash";
|
|
2
|
+
import { ComponentAttachmentPoint } from "./ComponentAttachmentPoint";
|
|
3
3
|
/**
|
|
4
4
|
* ComponentAttachmentPointByHash - Mapping of WeaponComponentHash -> ComponentAttachmentPoint
|
|
5
5
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { WeaponComponentHash } from
|
|
2
|
-
import { ComponentAttachmentPoint } from
|
|
3
|
-
import { DlcWeaponComponentData } from
|
|
1
|
+
import { WeaponComponentHash } from "./WeaponComponentHash";
|
|
2
|
+
import { ComponentAttachmentPoint } from "./ComponentAttachmentPoint";
|
|
3
|
+
import { DlcWeaponComponentData } from "./DlcWeaponComponentData";
|
|
4
4
|
/**
|
|
5
5
|
* ComponentAttachmentPointByHash - Mapping of WeaponComponentHash -> ComponentAttachmentPoint
|
|
6
6
|
*
|
|
@@ -47,30 +47,78 @@ export const ComponentAttachmentPointByHash = new Map([
|
|
|
47
47
|
[WeaponComponentHash.PistolMk2ClipHollowpoint, ComponentAttachmentPoint.Clip],
|
|
48
48
|
[WeaponComponentHash.PistolMk2ClipIncendiary, ComponentAttachmentPoint.Clip],
|
|
49
49
|
[WeaponComponentHash.PistolMk2ClipTracer, ComponentAttachmentPoint.Clip],
|
|
50
|
-
[
|
|
51
|
-
|
|
50
|
+
[
|
|
51
|
+
WeaponComponentHash.AssaultRifleMk2ClipNormal,
|
|
52
|
+
ComponentAttachmentPoint.Clip,
|
|
53
|
+
],
|
|
54
|
+
[
|
|
55
|
+
WeaponComponentHash.AssaultRifleMk2ClipExtended,
|
|
56
|
+
ComponentAttachmentPoint.Clip,
|
|
57
|
+
],
|
|
52
58
|
[WeaponComponentHash.AssaultRifleMk2ClipFMJ, ComponentAttachmentPoint.Clip],
|
|
53
|
-
[
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
[
|
|
59
|
+
[
|
|
60
|
+
WeaponComponentHash.AssaultRifleMk2ClipArmorPiercing,
|
|
61
|
+
ComponentAttachmentPoint.Clip,
|
|
62
|
+
],
|
|
63
|
+
[
|
|
64
|
+
WeaponComponentHash.AssaultRifleMk2ClipIncendiary,
|
|
65
|
+
ComponentAttachmentPoint.Clip,
|
|
66
|
+
],
|
|
67
|
+
[
|
|
68
|
+
WeaponComponentHash.AssaultRifleMk2ClipTracer,
|
|
69
|
+
ComponentAttachmentPoint.Clip,
|
|
70
|
+
],
|
|
71
|
+
[
|
|
72
|
+
WeaponComponentHash.CarbineRifleMk2ClipNormal,
|
|
73
|
+
ComponentAttachmentPoint.Clip,
|
|
74
|
+
],
|
|
75
|
+
[
|
|
76
|
+
WeaponComponentHash.CarbineRifleMk2ClipExtended,
|
|
77
|
+
ComponentAttachmentPoint.Clip,
|
|
78
|
+
],
|
|
58
79
|
[WeaponComponentHash.CarbineRifleMk2ClipFMJ, ComponentAttachmentPoint.Clip],
|
|
59
|
-
[
|
|
60
|
-
|
|
61
|
-
|
|
80
|
+
[
|
|
81
|
+
WeaponComponentHash.CarbineRifleMk2ClipArmorPiercing,
|
|
82
|
+
ComponentAttachmentPoint.Clip,
|
|
83
|
+
],
|
|
84
|
+
[
|
|
85
|
+
WeaponComponentHash.CarbineRifleMk2ClipIncendiary,
|
|
86
|
+
ComponentAttachmentPoint.Clip,
|
|
87
|
+
],
|
|
88
|
+
[
|
|
89
|
+
WeaponComponentHash.CarbineRifleMk2ClipTracer,
|
|
90
|
+
ComponentAttachmentPoint.Clip,
|
|
91
|
+
],
|
|
62
92
|
[WeaponComponentHash.CombatMGMk2ClipNormal, ComponentAttachmentPoint.Clip],
|
|
63
93
|
[WeaponComponentHash.CombatMGMk2ClipExtended, ComponentAttachmentPoint.Clip],
|
|
64
94
|
[WeaponComponentHash.CombatMGMk2ClipFMJ, ComponentAttachmentPoint.Clip],
|
|
65
|
-
[
|
|
66
|
-
|
|
95
|
+
[
|
|
96
|
+
WeaponComponentHash.CombatMGMk2ClipArmorPiercing,
|
|
97
|
+
ComponentAttachmentPoint.Clip,
|
|
98
|
+
],
|
|
99
|
+
[
|
|
100
|
+
WeaponComponentHash.CombatMGMk2ClipIncendiary,
|
|
101
|
+
ComponentAttachmentPoint.Clip,
|
|
102
|
+
],
|
|
67
103
|
[WeaponComponentHash.CombatMGMk2ClipTracer, ComponentAttachmentPoint.Clip],
|
|
68
104
|
[WeaponComponentHash.HeavySniperMk2ClipNormal, ComponentAttachmentPoint.Clip],
|
|
69
|
-
[
|
|
105
|
+
[
|
|
106
|
+
WeaponComponentHash.HeavySniperMk2ClipExtended,
|
|
107
|
+
ComponentAttachmentPoint.Clip,
|
|
108
|
+
],
|
|
70
109
|
[WeaponComponentHash.HeavySniperMk2ClipFMJ, ComponentAttachmentPoint.Clip],
|
|
71
|
-
[
|
|
72
|
-
|
|
73
|
-
|
|
110
|
+
[
|
|
111
|
+
WeaponComponentHash.HeavySniperMk2ClipArmorPiercing,
|
|
112
|
+
ComponentAttachmentPoint.Clip,
|
|
113
|
+
],
|
|
114
|
+
[
|
|
115
|
+
WeaponComponentHash.HeavySniperMk2ClipIncendiary,
|
|
116
|
+
ComponentAttachmentPoint.Clip,
|
|
117
|
+
],
|
|
118
|
+
[
|
|
119
|
+
WeaponComponentHash.HeavySniperMk2ClipExplosive,
|
|
120
|
+
ComponentAttachmentPoint.Clip,
|
|
121
|
+
],
|
|
74
122
|
[WeaponComponentHash.SMGMk2ClipNormal, ComponentAttachmentPoint.Clip],
|
|
75
123
|
[WeaponComponentHash.SMGMk2ClipExtended, ComponentAttachmentPoint.Clip],
|
|
76
124
|
[WeaponComponentHash.SMGMk2ClipFMJ, ComponentAttachmentPoint.Clip],
|
|
@@ -145,75 +193,231 @@ export const ComponentAttachmentPointByHash = new Map([
|
|
|
145
193
|
[WeaponComponentHash.AtMuzzle6, ComponentAttachmentPoint.Supp2],
|
|
146
194
|
[WeaponComponentHash.AtMuzzle7, ComponentAttachmentPoint.Supp2],
|
|
147
195
|
[WeaponComponentHash.PistolVarmodLuxe, ComponentAttachmentPoint.GunRoot],
|
|
148
|
-
[
|
|
196
|
+
[
|
|
197
|
+
WeaponComponentHash.CombatPistolVarmodLowrider,
|
|
198
|
+
ComponentAttachmentPoint.GunRoot,
|
|
199
|
+
],
|
|
149
200
|
[WeaponComponentHash.APPistolVarmodLuxe, ComponentAttachmentPoint.GunRoot],
|
|
150
201
|
[WeaponComponentHash.MicroSMGVarmodLuxe, ComponentAttachmentPoint.GunRoot],
|
|
151
202
|
[WeaponComponentHash.SMGVarmodLuxe, ComponentAttachmentPoint.GunRoot],
|
|
152
|
-
[
|
|
153
|
-
|
|
154
|
-
|
|
203
|
+
[
|
|
204
|
+
WeaponComponentHash.AssaultRifleVarmodLuxe,
|
|
205
|
+
ComponentAttachmentPoint.GunRoot,
|
|
206
|
+
],
|
|
207
|
+
[
|
|
208
|
+
WeaponComponentHash.CarbineRifleVarmodLuxe,
|
|
209
|
+
ComponentAttachmentPoint.GunRoot,
|
|
210
|
+
],
|
|
211
|
+
[
|
|
212
|
+
WeaponComponentHash.AdvancedRifleVarmodLuxe,
|
|
213
|
+
ComponentAttachmentPoint.GunRoot,
|
|
214
|
+
],
|
|
155
215
|
[WeaponComponentHash.MGVarmodLowrider, ComponentAttachmentPoint.GunRoot],
|
|
156
|
-
[
|
|
157
|
-
|
|
216
|
+
[
|
|
217
|
+
WeaponComponentHash.CombatMGVarmodLowrider,
|
|
218
|
+
ComponentAttachmentPoint.GunRoot,
|
|
219
|
+
],
|
|
220
|
+
[
|
|
221
|
+
WeaponComponentHash.PumpShotgunVarmodLowrider,
|
|
222
|
+
ComponentAttachmentPoint.GunRoot,
|
|
223
|
+
],
|
|
158
224
|
[WeaponComponentHash.SniperRifleVarmodLuxe, ComponentAttachmentPoint.GunRoot],
|
|
159
|
-
[
|
|
225
|
+
[
|
|
226
|
+
WeaponComponentHash.AssaultSMGVarmodLowrider,
|
|
227
|
+
ComponentAttachmentPoint.GunRoot,
|
|
228
|
+
],
|
|
160
229
|
[WeaponComponentHash.Pistol50VarmodLuxe, ComponentAttachmentPoint.GunRoot],
|
|
161
|
-
[
|
|
230
|
+
[
|
|
231
|
+
WeaponComponentHash.SawnoffShotgunVarmodLuxe,
|
|
232
|
+
ComponentAttachmentPoint.GunRoot,
|
|
233
|
+
],
|
|
162
234
|
[WeaponComponentHash.PistolMk2CamoDigital, ComponentAttachmentPoint.GunRoot],
|
|
163
|
-
[
|
|
235
|
+
[
|
|
236
|
+
WeaponComponentHash.PistolMk2CamoBrushstroke,
|
|
237
|
+
ComponentAttachmentPoint.GunRoot,
|
|
238
|
+
],
|
|
164
239
|
[WeaponComponentHash.PistolMk2CamoWoodland, ComponentAttachmentPoint.GunRoot],
|
|
165
240
|
[WeaponComponentHash.PistolMk2CamoSkull, ComponentAttachmentPoint.GunRoot],
|
|
166
241
|
[WeaponComponentHash.PistolMk2CamoSessanta, ComponentAttachmentPoint.GunRoot],
|
|
167
242
|
[WeaponComponentHash.PistolMk2CamoPerseus, ComponentAttachmentPoint.GunRoot],
|
|
168
243
|
[WeaponComponentHash.PistolMk2CamoLeopard, ComponentAttachmentPoint.GunRoot],
|
|
169
244
|
[WeaponComponentHash.PistolMk2CamoZebra, ComponentAttachmentPoint.GunRoot],
|
|
170
|
-
[
|
|
245
|
+
[
|
|
246
|
+
WeaponComponentHash.PistolMk2CamoGeometric,
|
|
247
|
+
ComponentAttachmentPoint.GunRoot,
|
|
248
|
+
],
|
|
171
249
|
[WeaponComponentHash.PistolMk2CamoBoom, ComponentAttachmentPoint.GunRoot],
|
|
172
|
-
[
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
[
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
[
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
[
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
[
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
[
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
[
|
|
197
|
-
|
|
250
|
+
[
|
|
251
|
+
WeaponComponentHash.PistolMk2CamoPatriotic,
|
|
252
|
+
ComponentAttachmentPoint.GunRoot,
|
|
253
|
+
],
|
|
254
|
+
[
|
|
255
|
+
WeaponComponentHash.AssaultRifleMk2CamoDigital,
|
|
256
|
+
ComponentAttachmentPoint.GunRoot,
|
|
257
|
+
],
|
|
258
|
+
[
|
|
259
|
+
WeaponComponentHash.AssaultRifleMk2CamoBrushstroke,
|
|
260
|
+
ComponentAttachmentPoint.GunRoot,
|
|
261
|
+
],
|
|
262
|
+
[
|
|
263
|
+
WeaponComponentHash.AssaultRifleMk2CamoWoodland,
|
|
264
|
+
ComponentAttachmentPoint.GunRoot,
|
|
265
|
+
],
|
|
266
|
+
[
|
|
267
|
+
WeaponComponentHash.AssaultRifleMk2CamoSkull,
|
|
268
|
+
ComponentAttachmentPoint.GunRoot,
|
|
269
|
+
],
|
|
270
|
+
[
|
|
271
|
+
WeaponComponentHash.AssaultRifleMk2CamoSessanta,
|
|
272
|
+
ComponentAttachmentPoint.GunRoot,
|
|
273
|
+
],
|
|
274
|
+
[
|
|
275
|
+
WeaponComponentHash.AssaultRifleMk2CamoPerseus,
|
|
276
|
+
ComponentAttachmentPoint.GunRoot,
|
|
277
|
+
],
|
|
278
|
+
[
|
|
279
|
+
WeaponComponentHash.AssaultRifleMk2CamoLeopard,
|
|
280
|
+
ComponentAttachmentPoint.GunRoot,
|
|
281
|
+
],
|
|
282
|
+
[
|
|
283
|
+
WeaponComponentHash.AssaultRifleMk2CamoZebra,
|
|
284
|
+
ComponentAttachmentPoint.GunRoot,
|
|
285
|
+
],
|
|
286
|
+
[
|
|
287
|
+
WeaponComponentHash.AssaultRifleMk2CamoGeometric,
|
|
288
|
+
ComponentAttachmentPoint.GunRoot,
|
|
289
|
+
],
|
|
290
|
+
[
|
|
291
|
+
WeaponComponentHash.AssaultRifleMk2CamoBoom,
|
|
292
|
+
ComponentAttachmentPoint.GunRoot,
|
|
293
|
+
],
|
|
294
|
+
[
|
|
295
|
+
WeaponComponentHash.AssaultRifleMk2CamoPatriotic,
|
|
296
|
+
ComponentAttachmentPoint.GunRoot,
|
|
297
|
+
],
|
|
298
|
+
[
|
|
299
|
+
WeaponComponentHash.CarbineRifleMk2CamoDigital,
|
|
300
|
+
ComponentAttachmentPoint.GunRoot,
|
|
301
|
+
],
|
|
302
|
+
[
|
|
303
|
+
WeaponComponentHash.CarbineRifleMk2CamoBrushstroke,
|
|
304
|
+
ComponentAttachmentPoint.GunRoot,
|
|
305
|
+
],
|
|
306
|
+
[
|
|
307
|
+
WeaponComponentHash.CarbineRifleMk2CamoWoodland,
|
|
308
|
+
ComponentAttachmentPoint.GunRoot,
|
|
309
|
+
],
|
|
310
|
+
[
|
|
311
|
+
WeaponComponentHash.CarbineRifleMk2CamoSkull,
|
|
312
|
+
ComponentAttachmentPoint.GunRoot,
|
|
313
|
+
],
|
|
314
|
+
[
|
|
315
|
+
WeaponComponentHash.CarbineRifleMk2CamoSessanta,
|
|
316
|
+
ComponentAttachmentPoint.GunRoot,
|
|
317
|
+
],
|
|
318
|
+
[
|
|
319
|
+
WeaponComponentHash.CarbineRifleMk2CamoPerseus,
|
|
320
|
+
ComponentAttachmentPoint.GunRoot,
|
|
321
|
+
],
|
|
322
|
+
[
|
|
323
|
+
WeaponComponentHash.CarbineRifleMk2CamoLeopard,
|
|
324
|
+
ComponentAttachmentPoint.GunRoot,
|
|
325
|
+
],
|
|
326
|
+
[
|
|
327
|
+
WeaponComponentHash.CarbineRifleMk2CamoZebra,
|
|
328
|
+
ComponentAttachmentPoint.GunRoot,
|
|
329
|
+
],
|
|
330
|
+
[
|
|
331
|
+
WeaponComponentHash.CarbineRifleMk2CamoGeometric,
|
|
332
|
+
ComponentAttachmentPoint.GunRoot,
|
|
333
|
+
],
|
|
334
|
+
[
|
|
335
|
+
WeaponComponentHash.CarbineRifleMk2CamoBoom,
|
|
336
|
+
ComponentAttachmentPoint.GunRoot,
|
|
337
|
+
],
|
|
338
|
+
[
|
|
339
|
+
WeaponComponentHash.CarbineRifleMk2CamoPatriotic,
|
|
340
|
+
ComponentAttachmentPoint.GunRoot,
|
|
341
|
+
],
|
|
342
|
+
[
|
|
343
|
+
WeaponComponentHash.CombatMGMk2CamoDigital,
|
|
344
|
+
ComponentAttachmentPoint.GunRoot,
|
|
345
|
+
],
|
|
346
|
+
[
|
|
347
|
+
WeaponComponentHash.CombatMGMk2CamoBrushstroke,
|
|
348
|
+
ComponentAttachmentPoint.GunRoot,
|
|
349
|
+
],
|
|
350
|
+
[
|
|
351
|
+
WeaponComponentHash.CombatMGMk2CamoWoodland,
|
|
352
|
+
ComponentAttachmentPoint.GunRoot,
|
|
353
|
+
],
|
|
198
354
|
[WeaponComponentHash.CombatMGMk2CamoSkull, ComponentAttachmentPoint.GunRoot],
|
|
199
|
-
[
|
|
200
|
-
|
|
201
|
-
|
|
355
|
+
[
|
|
356
|
+
WeaponComponentHash.CombatMGMk2CamoSessanta,
|
|
357
|
+
ComponentAttachmentPoint.GunRoot,
|
|
358
|
+
],
|
|
359
|
+
[
|
|
360
|
+
WeaponComponentHash.CombatMGMk2CamoPerseus,
|
|
361
|
+
ComponentAttachmentPoint.GunRoot,
|
|
362
|
+
],
|
|
363
|
+
[
|
|
364
|
+
WeaponComponentHash.CombatMGMk2CamoLeopard,
|
|
365
|
+
ComponentAttachmentPoint.GunRoot,
|
|
366
|
+
],
|
|
202
367
|
[WeaponComponentHash.CombatMGMk2CamoZebra, ComponentAttachmentPoint.GunRoot],
|
|
203
|
-
[
|
|
368
|
+
[
|
|
369
|
+
WeaponComponentHash.CombatMGMk2CamoGeometric,
|
|
370
|
+
ComponentAttachmentPoint.GunRoot,
|
|
371
|
+
],
|
|
204
372
|
[WeaponComponentHash.CombatMGMk2CamoBoom, ComponentAttachmentPoint.GunRoot],
|
|
205
|
-
[
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
[
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
[
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
373
|
+
[
|
|
374
|
+
WeaponComponentHash.CombatMGMk2CamoPatriotic,
|
|
375
|
+
ComponentAttachmentPoint.GunRoot,
|
|
376
|
+
],
|
|
377
|
+
[
|
|
378
|
+
WeaponComponentHash.HeavySniperMk2CamoDigital,
|
|
379
|
+
ComponentAttachmentPoint.GunRoot,
|
|
380
|
+
],
|
|
381
|
+
[
|
|
382
|
+
WeaponComponentHash.HeavySniperMk2CamoBrushstroke,
|
|
383
|
+
ComponentAttachmentPoint.GunRoot,
|
|
384
|
+
],
|
|
385
|
+
[
|
|
386
|
+
WeaponComponentHash.HeavySniperMk2CamoWoodland,
|
|
387
|
+
ComponentAttachmentPoint.GunRoot,
|
|
388
|
+
],
|
|
389
|
+
[
|
|
390
|
+
WeaponComponentHash.HeavySniperMk2CamoSkull,
|
|
391
|
+
ComponentAttachmentPoint.GunRoot,
|
|
392
|
+
],
|
|
393
|
+
[
|
|
394
|
+
WeaponComponentHash.HeavySniperMk2CamoSessanta,
|
|
395
|
+
ComponentAttachmentPoint.GunRoot,
|
|
396
|
+
],
|
|
397
|
+
[
|
|
398
|
+
WeaponComponentHash.HeavySniperMk2CamoPerseus,
|
|
399
|
+
ComponentAttachmentPoint.GunRoot,
|
|
400
|
+
],
|
|
401
|
+
[
|
|
402
|
+
WeaponComponentHash.HeavySniperMk2CamoLeopard,
|
|
403
|
+
ComponentAttachmentPoint.GunRoot,
|
|
404
|
+
],
|
|
405
|
+
[
|
|
406
|
+
WeaponComponentHash.HeavySniperMk2CamoZebra,
|
|
407
|
+
ComponentAttachmentPoint.GunRoot,
|
|
408
|
+
],
|
|
409
|
+
[
|
|
410
|
+
WeaponComponentHash.HeavySniperMk2CamoGeometric,
|
|
411
|
+
ComponentAttachmentPoint.GunRoot,
|
|
412
|
+
],
|
|
413
|
+
[
|
|
414
|
+
WeaponComponentHash.HeavySniperMk2CamoBoom,
|
|
415
|
+
ComponentAttachmentPoint.GunRoot,
|
|
416
|
+
],
|
|
417
|
+
[
|
|
418
|
+
WeaponComponentHash.HeavySniperMk2CamoPatriotic,
|
|
419
|
+
ComponentAttachmentPoint.GunRoot,
|
|
420
|
+
],
|
|
217
421
|
[WeaponComponentHash.SMGMk2CamoDigital, ComponentAttachmentPoint.GunRoot],
|
|
218
422
|
[WeaponComponentHash.SMGMk2CamoBrushstroke, ComponentAttachmentPoint.GunRoot],
|
|
219
423
|
[WeaponComponentHash.SMGMk2CamoWoodland, ComponentAttachmentPoint.GunRoot],
|
|
@@ -240,24 +444,63 @@ export const ComponentAttachmentPointByHash = new Map([
|
|
|
240
444
|
[WeaponComponentHash.AtScopeMacro, ComponentAttachmentPoint.Scope],
|
|
241
445
|
[WeaponComponentHash.PistolMk2Scope, ComponentAttachmentPoint.Scope],
|
|
242
446
|
[WeaponComponentHash.PistolMk2Flash, ComponentAttachmentPoint.Scope],
|
|
243
|
-
[
|
|
447
|
+
[
|
|
448
|
+
WeaponComponentHash.HeavySniperMk2ScopeLarge,
|
|
449
|
+
ComponentAttachmentPoint.Scope,
|
|
450
|
+
],
|
|
244
451
|
[WeaponComponentHash.AtScopeMax, ComponentAttachmentPoint.Scope],
|
|
245
|
-
[
|
|
246
|
-
|
|
452
|
+
[
|
|
453
|
+
WeaponComponentHash.HeavySniperMk2ScopeNightvision,
|
|
454
|
+
ComponentAttachmentPoint.Scope,
|
|
455
|
+
],
|
|
456
|
+
[
|
|
457
|
+
WeaponComponentHash.HeavySniperMk2ScopeThermal,
|
|
458
|
+
ComponentAttachmentPoint.Scope,
|
|
459
|
+
],
|
|
247
460
|
[WeaponComponentHash.SMGMk2Sights, ComponentAttachmentPoint.Scope],
|
|
248
461
|
[WeaponComponentHash.SMGMk2ScopeMacro, ComponentAttachmentPoint.Scope],
|
|
249
462
|
[WeaponComponentHash.SMGMk2ScopeSmall, ComponentAttachmentPoint.Scope],
|
|
250
|
-
[
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
[
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
[
|
|
463
|
+
[
|
|
464
|
+
WeaponComponentHash.PistolMk2CamoSlideDigital,
|
|
465
|
+
ComponentAttachmentPoint.Scope2,
|
|
466
|
+
],
|
|
467
|
+
[
|
|
468
|
+
WeaponComponentHash.PistolMk2CamoSlideBrushstroke,
|
|
469
|
+
ComponentAttachmentPoint.Scope2,
|
|
470
|
+
],
|
|
471
|
+
[
|
|
472
|
+
WeaponComponentHash.PistolMk2CamoSlideWoodland,
|
|
473
|
+
ComponentAttachmentPoint.Scope2,
|
|
474
|
+
],
|
|
475
|
+
[
|
|
476
|
+
WeaponComponentHash.PistolMk2CamoSlideSkull,
|
|
477
|
+
ComponentAttachmentPoint.Scope2,
|
|
478
|
+
],
|
|
479
|
+
[
|
|
480
|
+
WeaponComponentHash.PistolMk2CamoSlideSessanta,
|
|
481
|
+
ComponentAttachmentPoint.Scope2,
|
|
482
|
+
],
|
|
483
|
+
[
|
|
484
|
+
WeaponComponentHash.PistolMk2CamoSlidePerseus,
|
|
485
|
+
ComponentAttachmentPoint.Scope2,
|
|
486
|
+
],
|
|
487
|
+
[
|
|
488
|
+
WeaponComponentHash.PistolMk2CamoSlideLeopard,
|
|
489
|
+
ComponentAttachmentPoint.Scope2,
|
|
490
|
+
],
|
|
491
|
+
[
|
|
492
|
+
WeaponComponentHash.PistolMk2CamoSlideZebra,
|
|
493
|
+
ComponentAttachmentPoint.Scope2,
|
|
494
|
+
],
|
|
495
|
+
[
|
|
496
|
+
WeaponComponentHash.PistolMk2CamoSlideGeometric,
|
|
497
|
+
ComponentAttachmentPoint.Scope2,
|
|
498
|
+
],
|
|
259
499
|
[WeaponComponentHash.PistolMk2CamoSlideBoom, ComponentAttachmentPoint.Scope2],
|
|
260
|
-
[
|
|
500
|
+
[
|
|
501
|
+
WeaponComponentHash.PistolMk2CamoSlidePatriotic,
|
|
502
|
+
ComponentAttachmentPoint.Scope2,
|
|
503
|
+
],
|
|
261
504
|
[WeaponComponentHash.AtSights, ComponentAttachmentPoint.Scope2],
|
|
262
505
|
[WeaponComponentHash.AtScopeMacroMk2, ComponentAttachmentPoint.Scope2],
|
|
263
506
|
[WeaponComponentHash.AtScopeMediumMk2, ComponentAttachmentPoint.Scope2],
|
|
@@ -279,14 +522,35 @@ export const ComponentAttachmentPointByHash = new Map([
|
|
|
279
522
|
[WeaponComponentHash.AtArAfGrip2, ComponentAttachmentPoint.Grip2],
|
|
280
523
|
[WeaponComponentHash.AtArAfGrip2, ComponentAttachmentPoint.Grip2],
|
|
281
524
|
[WeaponComponentHash.AtRailCover01, ComponentAttachmentPoint.Rail],
|
|
282
|
-
[
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
[
|
|
525
|
+
[
|
|
526
|
+
WeaponComponentHash.AssaultRifleMk2BarrelNormal,
|
|
527
|
+
ComponentAttachmentPoint.Barrel,
|
|
528
|
+
],
|
|
529
|
+
[
|
|
530
|
+
WeaponComponentHash.AssaultRifleMk2BarrelHeavy,
|
|
531
|
+
ComponentAttachmentPoint.Barrel,
|
|
532
|
+
],
|
|
533
|
+
[
|
|
534
|
+
WeaponComponentHash.CarbineRifleMk2BarrelNormal,
|
|
535
|
+
ComponentAttachmentPoint.Barrel,
|
|
536
|
+
],
|
|
537
|
+
[
|
|
538
|
+
WeaponComponentHash.CarbineRifleMk2BarrelHeavy,
|
|
539
|
+
ComponentAttachmentPoint.Barrel,
|
|
540
|
+
],
|
|
541
|
+
[
|
|
542
|
+
WeaponComponentHash.CombatMGMk2BarrelNormal,
|
|
543
|
+
ComponentAttachmentPoint.Barrel,
|
|
544
|
+
],
|
|
287
545
|
[WeaponComponentHash.CombatMGMk2BarrelHeavy, ComponentAttachmentPoint.Barrel],
|
|
288
|
-
[
|
|
289
|
-
|
|
546
|
+
[
|
|
547
|
+
WeaponComponentHash.HeavySniperMk2BarrelNormal,
|
|
548
|
+
ComponentAttachmentPoint.Barrel,
|
|
549
|
+
],
|
|
550
|
+
[
|
|
551
|
+
WeaponComponentHash.HeavySniperMk2BarrelHeavy,
|
|
552
|
+
ComponentAttachmentPoint.Barrel,
|
|
553
|
+
],
|
|
290
554
|
[WeaponComponentHash.SMGMk2BarrelNormal, ComponentAttachmentPoint.Barrel],
|
|
291
555
|
[WeaponComponentHash.SMGMk2BarrelHeavy, ComponentAttachmentPoint.Barrel],
|
|
292
556
|
]);
|