Esempio n. 1
0
 public void ShipInformation(ShipInformationList shp, DB.SQLiteConnectionUser conn)
 {
     shp.RefuelAll(this);
 }
 public void ShipInformation(ShipInformationList shp, DB.SQLiteConnectionUser conn)
 {
     shp.ModuleRetrieve(this);
 }
Esempio n. 3
0
 public void ShipInformation(ShipInformationList shp, string whereami, ISystem system, DB.SQLiteConnectionUser conn)
 {
     shp.FuelScoop(this);
 }
Esempio n. 4
0
 public void Ledger(Ledger mcl, DB.SQLiteConnectionUser conn)
 {
     mcl.AddEvent(Id, EventTimeUTC, EventTypeID, ShipType, -ShipPrice + (SellPrice ?? 0));
 }
Esempio n. 5
0
 public void LedgerNC(EDDiscovery2.DB.MaterialCommoditiesLedger mcl, DB.SQLiteConnectionUser conn)
 {
     EDDiscovery2.DB.MaterialCommodities mc = mcl.GetMaterialCommodity(EDDiscovery2.DB.MaterialCommodities.CommodityCategory, Type, conn);
     mcl.AddEventNoCash(Id, EventTimeUTC, EventTypeID, mc.name + " " + Count);
 }
 public void ShipInformation(ShipInformationList shp, string whereami, ISystem system, DB.SQLiteConnectionUser conn)
 {
     shp.Resurrect(Option.Equals("free", System.StringComparison.InvariantCultureIgnoreCase));    // if free, we did not rebuy the ship
 }
 public void UpdateCommodities(MaterialCommoditiesList mc, DB.SQLiteConnectionUser conn)
 {
     mc.Died();
 }
Esempio n. 8
0
 public void MaterialList(MaterialCommoditiesList mc, DB.SQLiteConnectionUser conn)
 {
     mc.Change(MaterialCommodityData.CommodityCategory, "drones", -1, 0, conn);
 }
Esempio n. 9
0
 public void ShipInformation(ShipInformationList shp, string whereami, ISystem system, DB.SQLiteConnectionUser conn)
 {
     if (ShipFD.HasChars())        // must have a ship name - there have been load games without it.
     {
         shp.LoadGame(ShipId, Ship, ShipFD, ShipName, ShipIdent, FuelLevel, FuelCapacity);
     }
 }
Esempio n. 10
0
 public void ShipInformation(ShipInformationList shp, string whereami, ISystem system, DB.SQLiteConnectionUser conn)
 {
     shp.FuelReservoirReplenished(this);
 }
Esempio n. 11
0
 public void LedgerNC(Ledger mcl, DB.SQLiteConnectionUser conn)
 {
     mcl.AddEventNoCash(Id, EventTimeUTC, EventTypeID, AwardingFaction + " " + Reward.ToString("N0"));
 }
Esempio n. 12
0
 public void ShipInformation(ShipInformationList shp, string whereami, ISystem system, DB.SQLiteConnectionUser conn)
 {
     if ((IsPreview == null || IsPreview.Value == false) && Engineering != null)
     {
         shp.EngineerCraft(this);
     }
 }
 public void Ledger(Ledger mcl, DB.SQLiteConnectionUser conn)
 {
     mcl.AddEvent(Id, EventTimeUTC, EventTypeID, (Faction_Localised.Length > 0 ? "Faction " + Faction_Localised : "") + " Broker " + BrokerPercentage.ToString("0.0") + "%", -Amount);
 }
Esempio n. 14
0
 public void LedgerNC(EDDiscovery2.DB.MaterialCommoditiesLedger mcl, DB.SQLiteConnectionUser conn)
 {
     mcl.AddEventNoCash(Id, EventTimeUTC, EventTypeID, AwardingFaction + " " + Reward);
 }
 public void UpdateMissions(MissionListAccumulator mlist, EDDiscovery.DB.ISystem sys, string body, DB.SQLiteConnectionUser conn)
 {
     mlist.Completed(this);
 }
Esempio n. 16
0
 public void Ledger(EDDiscovery2.DB.MaterialCommoditiesLedger mcl, DB.SQLiteConnectionUser conn)
 {
     mcl.AddEvent(Id, EventTimeUTC, EventTypeID, ShipType, ShipPrice);
 }
Esempio n. 17
0
 public void Ledger(Ledger mcl, DB.SQLiteConnectionUser conn)
 {
     mcl.AddEvent(Id, EventTimeUTC, EventTypeID, Option, -Cost);
 }
Esempio n. 18
0
 public void UpdateMissions(MissionListAccumulator mlist, EliteDangerousCore.ISystem sys, string body, DB.SQLiteConnectionUser conn)
 {
     mlist.Accepted(this, sys, body);
 }
Esempio n. 19
0
 public void UpdateMissions(MissionListAccumulator mlist, EliteDangerousCore.ISystem sys, string body, DB.SQLiteConnectionUser conn)
 {
     mlist.Died(this.EventTimeUTC);
 }
Esempio n. 20
0
 public void UpdateMissions(MissionListAccumulator mlist, EliteDangerousCore.ISystem sys, string body, DB.SQLiteConnectionUser conn)
 {
     mlist.Missions(this);       // check vs our mission list
 }
Esempio n. 21
0
 public void ShipInformation(ShipInformationList shp, DB.SQLiteConnectionUser conn)
 {
     shp.ShipyardSwap(this);
 }
Esempio n. 22
0
 public void MaterialList(MaterialCommoditiesList mc, DB.SQLiteConnectionUser conn)
 {
     mc.Change(MaterialCommodityData.CommodityCategory, Type, -Count, 0, conn);
 }
Esempio n. 23
0
 public void MaterialList(EDDiscovery2.DB.MaterialCommoditiesList mc, DB.SQLiteConnectionUser conn)
 {
     mc.Change(EDDiscovery2.DB.MaterialCommodities.CommodityCategory, Type, -Count, 0, conn);
 }
Esempio n. 24
0
 public void Ledger(Ledger mcl, DB.SQLiteConnectionUser conn)
 {
     mcl.AddEvent(Id, EventTimeUTC, EventTypeID, FriendlyType + " " + Count + " Avg " + AvgPricePaid, TotalSale, (double)(SellPrice - AvgPricePaid));
 }
Esempio n. 25
0
 public void Ledger(Ledger mcl, DB.SQLiteConnectionUser conn)
 {
     mcl.AddEvent(Id, EventTimeUTC, EventTypeID, Type + " " + Count + " drones", -TotalCost);
 }
Esempio n. 26
0
 public void LedgerNC(Ledger mcl, DB.SQLiteConnectionUser conn)
 {
     mcl.AddEventNoCash(Id, EventTimeUTC, EventTypeID, FriendlyType + " " + Count);
 }
        public void Ledger(Ledger mcl, DB.SQLiteConnectionUser conn)
        {
            string s = (RetrievedItemLocalised.Length > 0) ? RetrievedItemLocalised : RetrievedItem;

            mcl.AddEvent(Id, EventTimeUTC, EventTypeID, s + " on " + Ship, -Cost);
        }
Esempio n. 28
0
 public void Ledger(EDDiscovery2.DB.MaterialCommoditiesLedger mcl, DB.SQLiteConnectionUser conn)
 {
     EDDiscovery2.DB.MaterialCommodities mc = mcl.GetMaterialCommodity(EDDiscovery2.DB.MaterialCommodities.CommodityCategory, Type, conn);
     mcl.AddEvent(Id, EventTimeUTC, EventTypeID, mc.name + " " + Count + " Avg " + AvgPricePaid, SellPrice, (double)(SellPrice - AvgPricePaid));
 }
Esempio n. 29
0
 public void Ledger(Ledger mcl, DB.SQLiteConnectionUser conn)
 {
     mcl.AddEvent(Id, EventTimeUTC, EventTypeID, Amount.ToString() + "t", -Cost);
 }
 public void Ledger(Ledger mcl, DB.SQLiteConnectionUser conn)
 {
     mcl.AddEvent(Id, EventTimeUTC, EventTypeID, NpcCrewID + " wages", -Amount);
 }