Example #1
0
        internal override void Export(string table)
        {
            var vals = new List <object>
            {
                Id,
                Key.DBExport(),
                Name.DBExport(),
                PluralName.DBExport(),
                IsCivilized,
                Population == long.MaxValue ? -1 : Population
            };

            Database.ExportWorldItem(table, vals);

            Castes?.ForEach(x => x.Export("Race_Castes"));
        }
Example #2
0
 internal string PluralizeName()
 {
     return(PluralName == string.Empty ? ToString().Pluralize() : PluralName.ToTitleCase());
 }