@nativewrappers/fivem 0.0.65 → 0.0.72
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/Audio.d.ts +2 -2
- package/Blip.d.ts +2 -2
- package/Camera.d.ts +1 -1
- package/Game.d.ts +1 -1
- package/GameplayCamera.d.ts +1 -1
- package/Model.d.ts +1 -1
- package/ParticleEffect.d.ts +2 -2
- package/ParticleEffectAsset.d.ts +1 -1
- package/README.md +45 -0
- package/Raycast.d.ts +2 -2
- package/RelationshipGroup.d.ts +1 -1
- package/Tasks.d.ts +3 -3
- package/World.d.ts +2 -2
- package/cfx/StateBagChangeHandler.d.ts +1 -3
- package/common/Command.d.ts +30 -0
- package/common/Convar.d.ts +13 -0
- package/common/GlobalData.d.ts +8 -0
- package/common/Kvp.d.ts +69 -0
- package/common/Resource.d.ts +14 -0
- package/common/decors/Events.d.ts +54 -0
- package/common/index.d.ts +8 -0
- package/common/net/NetworkedMap.d.ts +28 -0
- package/common/types.d.ts +5 -0
- package/common/utils/ClassTypes.d.ts +11 -0
- package/common/utils/Color.d.ts +14 -0
- package/common/utils/Maths.d.ts +4 -0
- package/common/utils/PointF.d.ts +12 -0
- package/common/utils/Quaternion.d.ts +10 -0
- package/common/utils/Vector.d.ts +429 -0
- package/common/utils/Vector2.d.ts +1 -0
- package/common/utils/Vector3.d.ts +1 -0
- package/common/utils/Vector4.d.ts +1 -0
- package/common/utils/cleanPlayerName.d.ts +6 -0
- package/common/utils/enumValues.d.ts +12 -0
- package/{utils/getStringFromUInt8Array.js → common/utils/getStringFromUInt8Array.d.ts} +1 -3
- package/{utils/getUInt32FromUint8Array.js → common/utils/getUInt32FromUint8Array.d.ts} +1 -1
- package/common/utils/index.d.ts +12 -0
- package/index.d.ts +1 -1
- package/index.js +20136 -26
- package/interfaces/Dimensions.d.ts +1 -1
- package/models/BaseEntity.d.ts +3 -3
- package/models/Ped.d.ts +2 -2
- package/models/PedBone.d.ts +1 -1
- package/models/PedBoneCollection.d.ts +1 -1
- package/models/Player.d.ts +1 -1
- package/models/Vehicle.d.ts +2 -2
- package/models/VehicleDoor.d.ts +2 -2
- package/models/VehicleDoorCollection.d.ts +1 -1
- package/models/VehicleMod.d.ts +2 -2
- package/models/VehicleModCollection.d.ts +2 -2
- package/models/VehicleToggleMod.d.ts +2 -2
- package/models/VehicleWheel.d.ts +1 -1
- package/models/VehicleWheelCollection.d.ts +1 -1
- package/models/VehicleWindow.d.ts +2 -2
- package/models/VehicleWindowCollection.d.ts +1 -1
- package/package.json +6 -4
- package/ui/Container.d.ts +2 -2
- package/ui/Effects.d.ts +1 -1
- package/ui/Hud.d.ts +2 -2
- package/ui/InstructionalButtons.d.ts +1 -1
- package/ui/Rectangle.d.ts +2 -2
- package/ui/Scaleform.d.ts +1 -1
- package/ui/Screen.d.ts +1 -1
- package/ui/Text.d.ts +1 -1
- package/ui/interfaces/IButton.d.ts +1 -1
- package/ui/interfaces/IDrawable.d.ts +1 -1
- package/ui/menu/items/UIMenuItem.d.ts +1 -1
- package/ui/menu/items/UIMenuListItem.d.ts +1 -1
- package/ui/menu/items/panels/AbstractUIMenuPanel.d.ts +2 -2
- package/ui/menu/items/panels/UIMenuStatisticsPanel.d.ts +1 -1
- package/utils/LiteEvent.d.ts +2 -6
- package/utils/index.d.ts +1 -1
- package/weapon/DlcWeaponData.d.ts +1 -1
- package/weapon/Weapon.d.ts +7 -7
- package/weapon/WeaponAsset.d.ts +1 -1
- package/weapon/WeaponCollection.d.ts +2 -2
- package/weaponComponent/DlcWeaponComponentData.d.ts +1 -1
- package/weaponComponent/InvalidWeaponComponent.d.ts +1 -1
- package/weaponComponent/WeaponComponent.d.ts +3 -3
- package/weaponComponent/WeaponComponentCollection.d.ts +3 -3
- package/Audio.js +0 -93
- package/Blip.js +0 -105
- package/Camera.js +0 -162
- package/Checkpoint.js +0 -43
- package/Events.js +0 -74
- package/Game.js +0 -474
- package/GameplayCamera.js +0 -141
- package/Model.js +0 -213
- package/NetworkedScene.js +0 -18
- package/ParticleEffect.js +0 -123
- package/ParticleEffectAsset.js +0 -105
- package/Pickup.js +0 -19
- package/Raycast.js +0 -123
- package/RelationshipGroup.js +0 -67
- package/Rope.js +0 -129
- package/TaskSequence.js +0 -48
- package/Tasks.js +0 -241
- package/World.js +0 -765
- package/cfx/StateBagChangeHandler.js +0 -1
- package/cfx/index.js +0 -1
- package/enums/Alignment.js +0 -6
- package/enums/AnimationFlags.js +0 -35
- package/enums/AudioFlag.js +0 -38
- package/enums/BadgeStyle.js +0 -183
- package/enums/Blip.js +0 -225
- package/enums/Bone.js +0 -103
- package/enums/CameraShake.js +0 -14
- package/enums/CameraTypes.js +0 -8
- package/enums/CheckboxStyle.js +0 -5
- package/enums/Checkpoint.js +0 -67
- package/enums/CloudHat.js +0 -27
- package/enums/Control.js +0 -361
- package/enums/CursorSprite.js +0 -15
- package/enums/Driving.js +0 -34
- package/enums/ExplosionType.js +0 -45
- package/enums/FiringPattern.js +0 -20
- package/enums/Font.js +0 -8
- package/enums/ForceType.js +0 -9
- package/enums/Gender.js +0 -5
- package/enums/HelmetType.js +0 -6
- package/enums/HudColor.js +0 -184
- package/enums/HudComponent.js +0 -54
- package/enums/InputMode.js +0 -5
- package/enums/InvertAxis.js +0 -7
- package/enums/Language.js +0 -15
- package/enums/LeaveVehicleFlags.js +0 -11
- package/enums/LoadingSpinnerType.js +0 -8
- package/enums/MarkerType.js +0 -50
- package/enums/MenuAlignment.js +0 -5
- package/enums/NotificationType.js +0 -11
- package/enums/Parachute.js +0 -15
- package/enums/PickupType.js +0 -74
- package/enums/RadioStation.js +0 -25
- package/enums/RagdollType.js +0 -7
- package/enums/RaycastEnums.js +0 -32
- package/enums/Relationship.js +0 -10
- package/enums/RopeType.js +0 -6
- package/enums/ScreenEffect.js +0 -84
- package/enums/SpeechModifier.js +0 -40
- package/enums/Vehicle.js +0 -376
- package/enums/Weather.js +0 -22
- package/enums/ZoneID.js +0 -95
- package/enums/index.js +0 -42
- package/hashes/MaterialHash.js +0 -217
- package/hashes/PedHash.js +0 -725
- package/hashes/VehicleHash.js +0 -523
- package/hashes/WeaponHash.js +0 -161
- package/hashes/WeatherTypeHash.js +0 -22
- package/hashes/index.js +0 -5
- package/interfaces/Dimensions.js +0 -1
- package/models/BaseEntity.js +0 -477
- package/models/Entity.js +0 -25
- package/models/EntityBone.js +0 -26
- package/models/EntityBoneCollection.js +0 -18
- package/models/Ped.js +0 -692
- package/models/PedBone.js +0 -9
- package/models/PedBoneCollection.js +0 -21
- package/models/Player.js +0 -186
- package/models/Prop.js +0 -26
- package/models/Vehicle.js +0 -576
- package/models/VehicleDoor.js +0 -44
- package/models/VehicleDoorCollection.js +0 -62
- package/models/VehicleMod.js +0 -35
- package/models/VehicleModCollection.js +0 -227
- package/models/VehicleToggleMod.js +0 -29
- package/models/VehicleWheel.js +0 -23
- package/models/VehicleWheelCollection.js +0 -57
- package/models/VehicleWindow.js +0 -35
- package/models/VehicleWindowCollection.js +0 -57
- package/models/index.js +0 -19
- package/ui/Container.js +0 -31
- package/ui/Effects.js +0 -106
- package/ui/Fading.js +0 -69
- package/ui/Hud.js +0 -39
- package/ui/InstructionalButtons.js +0 -54
- package/ui/LoadingPrompt.js +0 -45
- package/ui/Notification.js +0 -9
- package/ui/Rectangle.js +0 -40
- package/ui/Scaleform.js +0 -236
- package/ui/Screen.js +0 -72
- package/ui/Sprite.js +0 -60
- package/ui/Text.js +0 -115
- package/ui/Timerbar.js +0 -248
- package/ui/index.js +0 -15
- package/ui/interfaces/IButton.js +0 -1
- package/ui/interfaces/IDrawable.js +0 -1
- package/ui/interfaces/index.js +0 -1
- package/ui/menu/Menu.js +0 -831
- package/ui/menu/MenuControl.js +0 -12
- package/ui/menu/MenuControls.js +0 -9
- package/ui/menu/MenuSettings.js +0 -54
- package/ui/menu/index.js +0 -6
- package/ui/menu/items/UIMenuCheckboxItem.js +0 -59
- package/ui/menu/items/UIMenuItem.js +0 -1111
- package/ui/menu/items/UIMenuListItem.js +0 -119
- package/ui/menu/items/UIMenuSeparatorItem.js +0 -29
- package/ui/menu/items/UIMenuSliderItem.js +0 -191
- package/ui/menu/items/index.js +0 -6
- package/ui/menu/items/panels/AbstractUIMenuPanel.js +0 -44
- package/ui/menu/items/panels/UIMenuColorPanel.js +0 -217
- package/ui/menu/items/panels/UIMenuGridPanel.js +0 -261
- package/ui/menu/items/panels/UIMenuPercentagePanel.js +0 -124
- package/ui/menu/items/panels/UIMenuStatisticsPanel.js +0 -79
- package/ui/menu/items/panels/UIMenuStatisticsPanelItem.js +0 -35
- package/ui/menu/items/panels/index.js +0 -6
- package/ui/menu/modules/ListItem.js +0 -10
- package/ui/menu/modules/index.js +0 -1
- package/utils/Animations.js +0 -55
- package/utils/Crypto.js +0 -25
- package/utils/LiteEvent.js +0 -19
- package/utils/Maths.js +0 -10
- package/utils/Point.js +0 -30
- package/utils/PointF.js +0 -14
- package/utils/Quaternion.js +0 -27
- package/utils/Size.js +0 -8
- package/utils/String.js +0 -25
- package/utils/enumValues.js +0 -14
- package/utils/index.js +0 -9
- package/weapon/DlcWeaponData.js +0 -44
- package/weapon/Mk2WeaponHash.js +0 -25
- package/weapon/Weapon.js +0 -270
- package/weapon/WeaponAsset.js +0 -84
- package/weapon/WeaponCollection.js +0 -187
- package/weapon/WeaponDisplayNameByHash.js +0 -75
- package/weapon/WeaponGroup.js +0 -19
- package/weapon/WeaponHudStats.js +0 -38
- package/weapon/WeaponLivery.js +0 -14
- package/weapon/WeaponLiveryColor.js +0 -35
- package/weapon/WeaponTint.js +0 -43
- package/weapon/index.js +0 -8
- package/weaponComponent/ComponentAttachmentPoint.js +0 -19
- package/weaponComponent/ComponentAttachmentPointByHash.js +0 -573
- package/weaponComponent/ComponentDisplayNameByHash.js +0 -280
- package/weaponComponent/DlcWeaponComponentData.js +0 -44
- package/weaponComponent/InvalidWeaponComponent.js +0 -28
- package/weaponComponent/WeaponComponent.js +0 -123
- package/weaponComponent/WeaponComponentCollection.js +0 -174
- package/weaponComponent/WeaponComponentHash.js +0 -887
- package/weaponComponent/WeaponComponentHashesByWeaponHash.js +0 -829
- package/weaponComponent/WeaponComponentHudStats.js +0 -34
- package/weaponComponent/index.js +0 -5
|
@@ -1,75 +0,0 @@
|
|
|
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()();
|
package/weapon/WeaponGroup.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export var WeaponGroup;
|
|
2
|
-
(function (WeaponGroup) {
|
|
3
|
-
WeaponGroup[WeaponGroup["Unarmed"] = 2685387236] = "Unarmed";
|
|
4
|
-
WeaponGroup[WeaponGroup["Melee"] = 3566412244] = "Melee";
|
|
5
|
-
WeaponGroup[WeaponGroup["Pistol"] = 416676503] = "Pistol";
|
|
6
|
-
WeaponGroup[WeaponGroup["SMG"] = 3337201093] = "SMG";
|
|
7
|
-
WeaponGroup[WeaponGroup["AssaultRifle"] = 970310034] = "AssaultRifle";
|
|
8
|
-
WeaponGroup[WeaponGroup["DigiScanner"] = 3539449195] = "DigiScanner";
|
|
9
|
-
WeaponGroup[WeaponGroup["FireExtinguisher"] = 4257178988] = "FireExtinguisher";
|
|
10
|
-
WeaponGroup[WeaponGroup["MG"] = 1159398588] = "MG";
|
|
11
|
-
WeaponGroup[WeaponGroup["NightVision"] = 3493187224] = "NightVision";
|
|
12
|
-
WeaponGroup[WeaponGroup["Parachute"] = 431593103] = "Parachute";
|
|
13
|
-
WeaponGroup[WeaponGroup["Shotgun"] = 860033945] = "Shotgun";
|
|
14
|
-
WeaponGroup[WeaponGroup["Sniper"] = 3082541095] = "Sniper";
|
|
15
|
-
WeaponGroup[WeaponGroup["Stungun"] = 690389602] = "Stungun";
|
|
16
|
-
WeaponGroup[WeaponGroup["Heavy"] = 2725924767] = "Heavy";
|
|
17
|
-
WeaponGroup[WeaponGroup["Thrown"] = 1548507267] = "Thrown";
|
|
18
|
-
WeaponGroup[WeaponGroup["PetrolCan"] = 1595662460] = "PetrolCan";
|
|
19
|
-
})(WeaponGroup || (WeaponGroup = {}));
|
package/weapon/WeaponHudStats.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { enumValues } from "../utils";
|
|
2
|
-
import { WeaponHash } from "../hashes";
|
|
3
|
-
import { getUInt32FromUint8Array } from "../utils";
|
|
4
|
-
/**
|
|
5
|
-
* Mapping of WeaponHash -> WeaponHudStats
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
export const WeaponHudStats = new Map();
|
|
9
|
-
/**
|
|
10
|
-
* Initialize WeaponHudStats, avoid calling expansive native repeatedly
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
function initializeOnce() {
|
|
14
|
-
let isInitialized = false;
|
|
15
|
-
return function () {
|
|
16
|
-
if (isInitialized || IsDuplicityVersion()) {
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
// magic number based on struct WeaponHudStats
|
|
20
|
-
const intLength = 4;
|
|
21
|
-
for (const hash of enumValues(WeaponHash)) {
|
|
22
|
-
const buffer = new Uint8Array(0x28);
|
|
23
|
-
// https://docs.fivem.net/natives/?_0xD92C739EE34C9EBA
|
|
24
|
-
Citizen.invokeNative("0xD92C739EE34C9EBA", hash, buffer, Citizen.returnResultAnyway());
|
|
25
|
-
// noinspection PointlessArithmeticExpressionJS
|
|
26
|
-
const weaponHudStats = {
|
|
27
|
-
hudDamage: getUInt32FromUint8Array(buffer, 0 * intLength, 1 * intLength),
|
|
28
|
-
hudSpeed: getUInt32FromUint8Array(buffer, 2 * intLength, 3 * intLength),
|
|
29
|
-
hudCapacity: getUInt32FromUint8Array(buffer, 4 * intLength, 5 * intLength),
|
|
30
|
-
hudAccuracy: getUInt32FromUint8Array(buffer, 6 * intLength, 7 * intLength),
|
|
31
|
-
hudRange: getUInt32FromUint8Array(buffer, 8 * intLength, 9 * intLength),
|
|
32
|
-
};
|
|
33
|
-
WeaponHudStats.set(hash, weaponHudStats);
|
|
34
|
-
}
|
|
35
|
-
isInitialized = true;
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
initializeOnce()();
|
package/weapon/WeaponLivery.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export var WeaponLivery;
|
|
2
|
-
(function (WeaponLivery) {
|
|
3
|
-
WeaponLivery[WeaponLivery["Digital"] = 0] = "Digital";
|
|
4
|
-
WeaponLivery[WeaponLivery["Brushstroke"] = 1] = "Brushstroke";
|
|
5
|
-
WeaponLivery[WeaponLivery["Woodland"] = 2] = "Woodland";
|
|
6
|
-
WeaponLivery[WeaponLivery["Skull"] = 3] = "Skull";
|
|
7
|
-
WeaponLivery[WeaponLivery["Sessanta"] = 4] = "Sessanta";
|
|
8
|
-
WeaponLivery[WeaponLivery["Perseus"] = 5] = "Perseus";
|
|
9
|
-
WeaponLivery[WeaponLivery["Leopard"] = 6] = "Leopard";
|
|
10
|
-
WeaponLivery[WeaponLivery["Zebra"] = 7] = "Zebra";
|
|
11
|
-
WeaponLivery[WeaponLivery["Geometric"] = 8] = "Geometric";
|
|
12
|
-
WeaponLivery[WeaponLivery["Boom"] = 9] = "Boom";
|
|
13
|
-
WeaponLivery[WeaponLivery["Patriotic"] = 10] = "Patriotic";
|
|
14
|
-
})(WeaponLivery || (WeaponLivery = {}));
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export var WeaponLiveryColor;
|
|
2
|
-
(function (WeaponLiveryColor) {
|
|
3
|
-
WeaponLiveryColor[WeaponLiveryColor["Gray"] = 0] = "Gray";
|
|
4
|
-
WeaponLiveryColor[WeaponLiveryColor["DarkGray"] = 1] = "DarkGray";
|
|
5
|
-
WeaponLiveryColor[WeaponLiveryColor["Black"] = 2] = "Black";
|
|
6
|
-
WeaponLiveryColor[WeaponLiveryColor["White"] = 3] = "White";
|
|
7
|
-
WeaponLiveryColor[WeaponLiveryColor["Blue"] = 4] = "Blue";
|
|
8
|
-
WeaponLiveryColor[WeaponLiveryColor["Cyan"] = 5] = "Cyan";
|
|
9
|
-
WeaponLiveryColor[WeaponLiveryColor["Aqua"] = 6] = "Aqua";
|
|
10
|
-
WeaponLiveryColor[WeaponLiveryColor["CoolBlue"] = 7] = "CoolBlue";
|
|
11
|
-
WeaponLiveryColor[WeaponLiveryColor["DarkBlue"] = 8] = "DarkBlue";
|
|
12
|
-
WeaponLiveryColor[WeaponLiveryColor["RoyalBlue"] = 9] = "RoyalBlue";
|
|
13
|
-
WeaponLiveryColor[WeaponLiveryColor["Plum"] = 10] = "Plum";
|
|
14
|
-
WeaponLiveryColor[WeaponLiveryColor["DarkPurple"] = 11] = "DarkPurple";
|
|
15
|
-
WeaponLiveryColor[WeaponLiveryColor["Purple"] = 12] = "Purple";
|
|
16
|
-
WeaponLiveryColor[WeaponLiveryColor["Red"] = 13] = "Red";
|
|
17
|
-
WeaponLiveryColor[WeaponLiveryColor["WineRed"] = 14] = "WineRed";
|
|
18
|
-
WeaponLiveryColor[WeaponLiveryColor["Magenta"] = 15] = "Magenta";
|
|
19
|
-
WeaponLiveryColor[WeaponLiveryColor["Pink"] = 16] = "Pink";
|
|
20
|
-
WeaponLiveryColor[WeaponLiveryColor["Salmon"] = 17] = "Salmon";
|
|
21
|
-
WeaponLiveryColor[WeaponLiveryColor["HotPink"] = 18] = "HotPink";
|
|
22
|
-
WeaponLiveryColor[WeaponLiveryColor["RustOrange"] = 19] = "RustOrange";
|
|
23
|
-
WeaponLiveryColor[WeaponLiveryColor["Brown"] = 20] = "Brown";
|
|
24
|
-
WeaponLiveryColor[WeaponLiveryColor["Earth"] = 21] = "Earth";
|
|
25
|
-
WeaponLiveryColor[WeaponLiveryColor["Orange"] = 22] = "Orange";
|
|
26
|
-
WeaponLiveryColor[WeaponLiveryColor["LightOrange"] = 23] = "LightOrange";
|
|
27
|
-
WeaponLiveryColor[WeaponLiveryColor["DarkYellow"] = 24] = "DarkYellow";
|
|
28
|
-
WeaponLiveryColor[WeaponLiveryColor["Yellow"] = 25] = "Yellow";
|
|
29
|
-
WeaponLiveryColor[WeaponLiveryColor["LightBrown"] = 26] = "LightBrown";
|
|
30
|
-
WeaponLiveryColor[WeaponLiveryColor["LimeGreen"] = 27] = "LimeGreen";
|
|
31
|
-
WeaponLiveryColor[WeaponLiveryColor["Olive"] = 28] = "Olive";
|
|
32
|
-
WeaponLiveryColor[WeaponLiveryColor["Moss"] = 29] = "Moss";
|
|
33
|
-
WeaponLiveryColor[WeaponLiveryColor["Turquoise"] = 30] = "Turquoise";
|
|
34
|
-
WeaponLiveryColor[WeaponLiveryColor["DarkGreen"] = 31] = "DarkGreen";
|
|
35
|
-
})(WeaponLiveryColor || (WeaponLiveryColor = {}));
|
package/weapon/WeaponTint.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export var WeaponTint;
|
|
2
|
-
(function (WeaponTint) {
|
|
3
|
-
WeaponTint[WeaponTint["Mk2ClassicBlack"] = 0] = "Mk2ClassicBlack";
|
|
4
|
-
WeaponTint[WeaponTint["Mk2ClassicGray"] = 1] = "Mk2ClassicGray";
|
|
5
|
-
WeaponTint[WeaponTint["Mk2ClassicTwoTone"] = 2] = "Mk2ClassicTwoTone";
|
|
6
|
-
WeaponTint[WeaponTint["Mk2ClassicWhite"] = 3] = "Mk2ClassicWhite";
|
|
7
|
-
WeaponTint[WeaponTint["Mk2ClassicBeige"] = 4] = "Mk2ClassicBeige";
|
|
8
|
-
WeaponTint[WeaponTint["Mk2ClassicGreen"] = 5] = "Mk2ClassicGreen";
|
|
9
|
-
WeaponTint[WeaponTint["Mk2ClassicBlue"] = 6] = "Mk2ClassicBlue";
|
|
10
|
-
WeaponTint[WeaponTint["Mk2ClassicEarth"] = 7] = "Mk2ClassicEarth";
|
|
11
|
-
WeaponTint[WeaponTint["Mk2ClassicBrownAndBlack"] = 8] = "Mk2ClassicBrownAndBlack";
|
|
12
|
-
WeaponTint[WeaponTint["Mk2RedContrast"] = 9] = "Mk2RedContrast";
|
|
13
|
-
WeaponTint[WeaponTint["Mk2BlueContrast"] = 10] = "Mk2BlueContrast";
|
|
14
|
-
WeaponTint[WeaponTint["Mk2YellowContrast"] = 11] = "Mk2YellowContrast";
|
|
15
|
-
WeaponTint[WeaponTint["Mk2OrangeContrast"] = 12] = "Mk2OrangeContrast";
|
|
16
|
-
WeaponTint[WeaponTint["Mk2BoldPink"] = 13] = "Mk2BoldPink";
|
|
17
|
-
WeaponTint[WeaponTint["Mk2BoldPurpleAndYellow"] = 14] = "Mk2BoldPurpleAndYellow";
|
|
18
|
-
WeaponTint[WeaponTint["Mk2BoldOrange"] = 15] = "Mk2BoldOrange";
|
|
19
|
-
WeaponTint[WeaponTint["Mk2BoldGreenAndPurple"] = 16] = "Mk2BoldGreenAndPurple";
|
|
20
|
-
WeaponTint[WeaponTint["Mk2BoldRedFeatures"] = 17] = "Mk2BoldRedFeatures";
|
|
21
|
-
WeaponTint[WeaponTint["Mk2BoldGreenFeatures"] = 18] = "Mk2BoldGreenFeatures";
|
|
22
|
-
WeaponTint[WeaponTint["Mk2BoldCyanFeatures"] = 19] = "Mk2BoldCyanFeatures";
|
|
23
|
-
WeaponTint[WeaponTint["Mk2BoldYellowFeatures"] = 20] = "Mk2BoldYellowFeatures";
|
|
24
|
-
WeaponTint[WeaponTint["Mk2BoldRedAndWhite"] = 21] = "Mk2BoldRedAndWhite";
|
|
25
|
-
WeaponTint[WeaponTint["Mk2BoldBlueAndWhite"] = 22] = "Mk2BoldBlueAndWhite";
|
|
26
|
-
WeaponTint[WeaponTint["Mk2MetallicGold"] = 23] = "Mk2MetallicGold";
|
|
27
|
-
WeaponTint[WeaponTint["Mk2MetallicPlatinum"] = 24] = "Mk2MetallicPlatinum";
|
|
28
|
-
WeaponTint[WeaponTint["Mk2MetallicGrayAndLilac"] = 25] = "Mk2MetallicGrayAndLilac";
|
|
29
|
-
WeaponTint[WeaponTint["Mk2MetallicPurpleAndLime"] = 26] = "Mk2MetallicPurpleAndLime";
|
|
30
|
-
WeaponTint[WeaponTint["Mk2MetallicRed"] = 27] = "Mk2MetallicRed";
|
|
31
|
-
WeaponTint[WeaponTint["Mk2MetallicGreen"] = 28] = "Mk2MetallicGreen";
|
|
32
|
-
WeaponTint[WeaponTint["Mk2MetallicBlue"] = 29] = "Mk2MetallicBlue";
|
|
33
|
-
WeaponTint[WeaponTint["Mk2MetallicWhiteAndAqua"] = 30] = "Mk2MetallicWhiteAndAqua";
|
|
34
|
-
WeaponTint[WeaponTint["Mk2MetallicRedAndYellow"] = 31] = "Mk2MetallicRedAndYellow";
|
|
35
|
-
WeaponTint[WeaponTint["Normal"] = 0] = "Normal";
|
|
36
|
-
WeaponTint[WeaponTint["Green"] = 1] = "Green";
|
|
37
|
-
WeaponTint[WeaponTint["Gold"] = 2] = "Gold";
|
|
38
|
-
WeaponTint[WeaponTint["Pink"] = 3] = "Pink";
|
|
39
|
-
WeaponTint[WeaponTint["Army"] = 4] = "Army";
|
|
40
|
-
WeaponTint[WeaponTint["LSPD"] = 5] = "LSPD";
|
|
41
|
-
WeaponTint[WeaponTint["Orange"] = 6] = "Orange";
|
|
42
|
-
WeaponTint[WeaponTint["Platinum"] = 7] = "Platinum";
|
|
43
|
-
})(WeaponTint || (WeaponTint = {}));
|
package/weapon/index.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
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,19 +0,0 @@
|
|
|
1
|
-
export var ComponentAttachmentPoint;
|
|
2
|
-
(function (ComponentAttachmentPoint) {
|
|
3
|
-
ComponentAttachmentPoint[ComponentAttachmentPoint["Invalid"] = 4294967295] = "Invalid";
|
|
4
|
-
ComponentAttachmentPoint[ComponentAttachmentPoint["Clip"] = 3723347892] = "Clip";
|
|
5
|
-
ComponentAttachmentPoint[ComponentAttachmentPoint["Clip2"] = 291640902] = "Clip2";
|
|
6
|
-
ComponentAttachmentPoint[ComponentAttachmentPoint["FlashLaser"] = 679107254] = "FlashLaser";
|
|
7
|
-
ComponentAttachmentPoint[ComponentAttachmentPoint["FlashLaser2"] = 2722126698] = "FlashLaser2";
|
|
8
|
-
ComponentAttachmentPoint[ComponentAttachmentPoint["Supp"] = 1863181664] = "Supp";
|
|
9
|
-
ComponentAttachmentPoint[ComponentAttachmentPoint["Supp2"] = 945598191] = "Supp2";
|
|
10
|
-
ComponentAttachmentPoint[ComponentAttachmentPoint["GunRoot"] = 962500902] = "GunRoot";
|
|
11
|
-
ComponentAttachmentPoint[ComponentAttachmentPoint["Scope"] = 196630833] = "Scope";
|
|
12
|
-
ComponentAttachmentPoint[ComponentAttachmentPoint["Scope2"] = 1684637069] = "Scope2";
|
|
13
|
-
ComponentAttachmentPoint[ComponentAttachmentPoint["Grip"] = 2972950469] = "Grip";
|
|
14
|
-
ComponentAttachmentPoint[ComponentAttachmentPoint["Grip2"] = 3748215485] = "Grip2";
|
|
15
|
-
ComponentAttachmentPoint[ComponentAttachmentPoint["TorchBulb"] = 421673795] = "TorchBulb";
|
|
16
|
-
ComponentAttachmentPoint[ComponentAttachmentPoint["Rail"] = 2451679629] = "Rail";
|
|
17
|
-
ComponentAttachmentPoint[ComponentAttachmentPoint["Rail2"] = 497110245] = "Rail2";
|
|
18
|
-
ComponentAttachmentPoint[ComponentAttachmentPoint["Barrel"] = 2982890265] = "Barrel";
|
|
19
|
-
})(ComponentAttachmentPoint || (ComponentAttachmentPoint = {}));
|