Ejemplo n.º 1
0
 public void MaterialList(EDDiscovery2.DB.MaterialCommoditiesList mc, DB.SQLiteConnectionUser conn)
 {
     mc.Change(EDDiscovery2.DB.MaterialCommodities.CommodityCategory, Type, 1, 0, conn);
 }
 public void MaterialList(EDDiscovery2.DB.MaterialCommoditiesList mc, DB.SQLiteConnectionUser conn)
 {
     mc.Change(Category, Name, Count, 0, conn);
 }
 public void MaterialList(EDDiscovery2.DB.MaterialCommoditiesList mc, DB.SQLiteConnectionUser conn)
 {
     if (CommodityReward != null)
     {
         // Forum indicates its commodities, and we get normal materialcollected events if its a material.
         for (int i = 0; i < CommodityReward.Length; i++)
             mc.Change(EDDiscovery2.DB.MaterialCommodities.CommodityCategory, CommodityReward[i].Item1, CommodityReward[i].Item2, 0, conn);
     }
 }