Update 29.10.2022
This commit is contained in:
25
C#/Mosleys/Mosleys.Shared/ESX/Shared/InventoryItem.cs
Normal file
25
C#/Mosleys/Mosleys.Shared/ESX/Shared/InventoryItem.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
namespace Nexd.ESX.Shared
|
||||
{
|
||||
public class InventoryItem
|
||||
{
|
||||
public dynamic Raw;
|
||||
|
||||
public string name => Raw.name;
|
||||
|
||||
public int count => Raw.count;
|
||||
|
||||
public string label => Raw.label;
|
||||
|
||||
public double weight => Raw.weight;
|
||||
|
||||
public bool usable => Raw.usable;
|
||||
|
||||
public bool rare => Raw.rare;
|
||||
|
||||
public bool canRemove => Raw.canRemove;
|
||||
|
||||
public InventoryItem() { }
|
||||
|
||||
public InventoryItem(dynamic data) => Raw = data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user