public override void FillInformation(out string info, out string detailed) //V
 {
     info = BaseUtils.FieldBuilder.Build("Cost:; cr;N0", Amount, "< To ", Faction_Localised);
     if (BrokerPercentage > 0)
     {
         info += ", Broker took " + BrokerPercentage.ToString("0") + "%";
     }
     detailed = "";
 }
 public override void FillInformation(out string summary, out string info, out string detailed) //V
 {
     summary = EventTypeStr.SplitCapsWord();
     info    = BaseUtils.FieldBuilder.Build("Cost:; credits", Amount);
     if (BrokerPercentage > 0)
     {
         info += ", Broker took " + BrokerPercentage.ToString("0") + "%";
     }
     detailed = "";
 }
Beispiel #3
0
 public override void FillInformation(out string summary, out string info, out string detailed)      //V
 {
     summary = EventTypeStr.SplitCapsWord();
     info    = Tools.FieldBuilder("Type:", Type, "Amount:; credits", Amount, "Faction:", Faction);
     if (BrokerPercentage > 0)
     {
         info += ", Broker took " + BrokerPercentage.ToString("0") + "%";
     }
     detailed = "";
 }
 public void Ledger(Ledger mcl, DB.SQLiteConnectionUser conn)
 {
     mcl.AddEvent(Id, EventTimeUTC, EventTypeID, "Broker " + BrokerPercentage.ToString("0.0") + "%", -Amount);
 }
 public void Ledger(Ledger mcl)
 {
     mcl.AddEvent(Id, EventTimeUTC, EventTypeID, (Faction_Localised.Length > 0 ? "Faction " + Faction_Localised : "") + " Broker " + BrokerPercentage.ToString("0.0") + "%", -Amount);
 }
Beispiel #6
0
 public void Ledger(EDDiscovery2.DB.MaterialCommoditiesLedger mcl, DB.SQLiteConnectionUser conn)
 {
     mcl.AddEvent(Id, EventTimeUTC, EventTypeID, Type + " Broker " + BrokerPercentage.ToString("0.0") + "%", Amount);
 }