예제 #1
0
        public override string LegendsDescription()
        {
            string timestring = base.LegendsDescription();

            return(string.Format("{0} {1} {2} changed the {3} {4} from {5} into {6}.",
                                 timestring, ChangerHF.Race.ToString(), ChangerHF.ToString(),
                                 ChangeeHF.Race.ToString(), ChangeeHF.ToString(), OldRace.ToString(),
                                 NewRace.ToString()));
        }
예제 #2
0
        internal override void Export(string table)
        {
            base.Export(table);


            table = GetType().Name;

            var vals = new List <object> {
                ID, ChangeeHFID, ChangerHFID, OldRace.ToString(), HistoricalFigure.Castes[OldCaste], NewRace.ToString(), HistoricalFigure.Castes[NewCaste]
            };


            Database.ExportWorldItem(table, vals);
        }