Пример #1
0
 public void MaterialList(MaterialCommoditiesList mc, DB.SQLiteConnectionUser conn)
 {
     mc.Change(MaterialCommodities.CommodityCategory, Type, -Count, 0, conn);
 }
Пример #2
0
 public void UpdateCommodities(MaterialCommoditiesList mc)
 {
     mc.Change(EventTimeUTC, MaterialCommodityData.CatType.Commodity, Type, Count, BuyPrice);
 }
 public void UpdateCommodities(MaterialCommoditiesList mc)
 {
     mc.Change(MaterialCommodityData.CatType.Commodity, "tritium", -Amount, 0);
 }
 public void UpdateCommodities(MaterialCommoditiesList mc)
 {
     mc.Change(EventTimeUTC, MaterialCommodityData.CatType.Commodity, FDName, -Count, 0);
 }
Пример #5
0
 public void UpdateMaterials(MaterialCommoditiesList mc, DB.SQLiteConnectionUser conn)
 {
     mc.Change(Category, Name, -Count, 0, conn);
 }
        }                                   // found from MCL

        public void UpdateMaterials(MaterialCommoditiesList mc)
        {
            mc.Change(Category, Name, -Count, 0);
            Total = mc.FindFDName(Name)?.Count ?? 0;
        }
 public void UpdateCommodities(MaterialCommoditiesList mc)
 {
     mc.Change(EventTimeUTC, MaterialCommodityData.CatType.Commodity, "drones", -1, 0);
 }