Пример #1
0
    public int GetEquipmentCount(Equipments.EquipmentType eqType)
    {
        string key = eqType.ToString().ToLower();

        if (_equipments.ContainsKey(key))
        {
            return _equipments[key];
        }

        return 0;
    }