Archived
Private
Public Access
1
0
This repository has been archived on 2026-02-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ProjectBackup/C#/Mosleys/Mosleys.Shared/ESX/Shared/Weapon.cs
2022-10-29 18:17:27 +02:00

35 lines
695 B
C#

namespace Nexd.ESX.Shared
{
using System.Collections.Generic;
public class Weapon
{
public dynamic Raw;
public string name => Raw.name;
public int ammo => Raw.ammo;
public string label => Raw.label;
public int tintIndex => Raw.tintIndex;
public List<string> components
{
get
{
List<string> temp = new List<string>();
foreach (var i in Raw.components)
{
temp.Add(i);
}
return temp;
}
}
public Weapon() { }
public Weapon(dynamic data) => Raw = data;
}
}