Beispiel #1
0
        public void LedgerNC(Ledger mcl, DB.SQLiteConnectionUser conn)
        {
            string n = (VictimFactionLocalised.Length > 0) ? VictimFactionLocalised : VictimFaction;

            n += " total " + TotalReward.ToString("N0");

            mcl.AddEventNoCash(Id, EventTimeUTC, EventTypeID, n);
        }
        public void LedgerNC(Ledger mcl)
        {
            string v = (VictimLocalised.Length > 0) ? VictimLocalised : Victim;

            if (v.Length == 0)
            {
                v = Faction;
            }

            if (Fine.HasValue)
            {
                v += string.Format(" Fine {0:N0}".T(EDTx.JournalCommitCrime_Fine), Fine.Value);
            }

            if (Bounty.HasValue)
            {
                v += string.Format(" Bounty {0:N0}".T(EDTx.JournalCommitCrime_Bounty), Bounty.Value);
            }

            mcl.AddEventNoCash(Id, EventTimeUTC, EventTypeID, string.Format("{0} on {1}".T(EDTx.JournalEntry_0), CrimeType, v));
        }
Beispiel #3
0
        public void LedgerNC(Ledger mcl, DB.SQLiteConnectionUser conn)
        {
            string v = (VictimLocalised.Length > 0) ? VictimLocalised : Victim;

            if (v.Length == 0)
            {
                v = Faction;
            }

            if (Fine.HasValue)
            {
                v += " Fine " + Fine.Value.ToString("N0");
            }

            if (Bounty.HasValue)
            {
                v += " Bounty " + Bounty.Value.ToString("N0");
            }

            mcl.AddEventNoCash(Id, EventTimeUTC, EventTypeID, CrimeType + " on " + v);
        }
Beispiel #4
0
        public void LedgerNC(Ledger mcl, DB.SQLiteConnectionUser conn)
        {
            string v = (VictimLocalised.Length > 0) ? VictimLocalised : Victim;

            if (v.Length == 0)
            {
                v = Faction;
            }

            if (Fine.HasValue)
            {
                v += string.Format(" Fine {0:N0}".Tx(this), Fine.Value);
            }

            if (Bounty.HasValue)
            {
                v += string.Format(" Bounty {0:N0}".Tx(this, "Bounty"), Bounty.Value);
            }

            mcl.AddEventNoCash(Id, EventTimeUTC, EventTypeID, string.Format("{0} on {1}".Txb(this), CrimeType, v));
        }
Beispiel #5
0
 public void LedgerNC(Ledger mcl, DB.SQLiteConnectionUser conn)
 {
     mcl.AddEventNoCash(Id, EventTimeUTC, EventTypeID, FriendlyType);
 }
Beispiel #6
0
 public void LedgerNC(Ledger mcl, DB.SQLiteConnectionUser conn)
 {
     mcl.AddEventNoCash(Id, EventTimeUTC, EventTypeID, Type_Localised);
 }
 public void LedgerNC(Ledger mcl)
 {
     mcl.AddEventNoCash(Id, EventTimeUTC, EventTypeID, string.Format("{0} total {1:N0}".T(EDTx.JournalEntry_LegBounty), VictimFactionLocalised, TotalReward));
 }
 public void LedgerNC(Ledger mcl)
 {
     mcl.AddEventNoCash(Id, EventTimeUTC, EventTypeID, AwardingFaction_Localised.Alt(AwardingFaction) + " " + Reward.ToString("N0"));
 }
 public void LedgerNC(Ledger mcl, DB.SQLiteConnectionUser conn)
 {
     mcl.AddEventNoCash(Id, EventTimeUTC, EventTypeID, PayeeFaction + " " + Reward.ToString("N0"));
 }
Beispiel #10
0
 public void LedgerNC(Ledger mcl)
 {
     mcl.AddEventNoCash(Id, EventTimeUTC, EventTypeID, PayeeFaction + " " + Reward.ToString("N0"));
 }
Beispiel #11
0
 public void LedgerNC(Ledger mcl, DB.SQLiteConnectionUser conn)
 {
     mcl.AddEventNoCash(Id, EventTimeUTC, EventTypeID, AwardingFaction_Localised.Alt(AwardingFaction) + " " + Reward);
 }
Beispiel #12
0
 public void LedgerNC(Ledger mcl, DB.SQLiteConnectionUser conn)
 {
     mcl.AddEventNoCash(Id, EventTimeUTC, EventTypeID, string.Format("{0} total {1:N0}".Txb(this, "LegBounty"), VictimFactionLocalised, TotalReward));
 }
Beispiel #13
0
 public void LedgerNC(Ledger mcl)
 {
     mcl.AddEventNoCash(Id, EventTimeUTC, EventTypeID, FriendlyType);
 }
 public void LedgerNC(Ledger mcl)
 {
     mcl.AddEventNoCash(Id, EventTimeUTC, EventTypeID, Type_Localised);
 }