Refringe
b3c9f5bdd4
A class declaration included the new keyword even though the declaration does not override an existing declaration in a base class. The new keyword can be deleted.
76 lines
3.0 KiB
C#
76 lines
3.0 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace Common.Models.Output
|
|
{
|
|
public class Equipment
|
|
{
|
|
public Equipment()
|
|
{
|
|
Headwear = new Dictionary<string, int>();
|
|
Earpiece = new Dictionary<string, int>();
|
|
FaceCover = new Dictionary<string, int>();
|
|
ArmorVest = new Dictionary<string, int>();
|
|
Eyewear = new Dictionary<string, int>();
|
|
ArmBand = new Dictionary<string, int>();
|
|
TacticalVest = new Dictionary<string, int>();
|
|
Backpack = new Dictionary<string, int>();
|
|
FirstPrimaryWeapon = new Dictionary<string, int>();
|
|
SecondPrimaryWeapon = new Dictionary<string, int>();
|
|
Holster = new Dictionary<string, int>();
|
|
Scabbard = new Dictionary<string, int>();
|
|
Pockets = new Dictionary<string, int>();
|
|
SecuredContainer = new Dictionary<string, int>();
|
|
}
|
|
|
|
public Dictionary<string, int> Headwear { get; set; }
|
|
public Dictionary<string, int> Earpiece { get; set; }
|
|
public Dictionary<string, int> FaceCover { get; set; }
|
|
public Dictionary<string, int> ArmorVest { get; set; }
|
|
public Dictionary<string, int> Eyewear { get; set; }
|
|
public Dictionary<string, int> ArmBand { get; set; }
|
|
public Dictionary<string, int> TacticalVest { get; set; }
|
|
public Dictionary<string, int> Backpack { get; set; }
|
|
public Dictionary<string, int> FirstPrimaryWeapon { get; set; }
|
|
public Dictionary<string, int> SecondPrimaryWeapon { get; set; }
|
|
public Dictionary<string, int> Holster { get; set; }
|
|
public Dictionary<string, int> Scabbard { get; set; }
|
|
public Dictionary<string, int> Pockets { get; set; }
|
|
public Dictionary<string, int> SecuredContainer { get; set; }
|
|
}
|
|
|
|
public class Inventory
|
|
{
|
|
public Inventory()
|
|
{
|
|
equipment = new Equipment();
|
|
items = new Items();
|
|
mods = new Dictionary<string, Dictionary<string, List<string>>>();
|
|
Ammo = new Dictionary<string, Dictionary<string, int>>();
|
|
}
|
|
|
|
public Equipment equipment { get; set; }
|
|
|
|
public Dictionary<string, Dictionary<string, int>> Ammo { get;set;}
|
|
public Dictionary<string, Dictionary<string, List<string>>> mods { get; set; }
|
|
public Items items { get; set; }
|
|
}
|
|
|
|
public class Items
|
|
{
|
|
public Items()
|
|
{
|
|
TacticalVest = new Dictionary<string, int>();
|
|
Pockets = new Dictionary<string, int>();
|
|
Backpack = new Dictionary<string, int>();
|
|
SecuredContainer = new Dictionary<string, int>();
|
|
SpecialLoot = new Dictionary<string, int>();
|
|
}
|
|
|
|
public Dictionary<string, int> TacticalVest { get; set; }
|
|
public Dictionary<string, int> Pockets { get; set; }
|
|
public Dictionary<string, int> Backpack { get; set; }
|
|
public Dictionary<string, int> SecuredContainer { get; set; }
|
|
public Dictionary<string, int> SpecialLoot { get; set; }
|
|
}
|
|
}
|