changeset 425:5b3e3fb11de9

Re #338: WarFoundry.API - Save System Data * Add saving of point abbreviations
author IBBoard <dev@ibboard.co.uk>
date Wed, 26 Oct 2011 15:39:55 +0100
parents d992758b0150
children 61fae5cbba02
files API/Savers/Xml/WarFoundryXmlGameSystemSaver.cs
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/API/Savers/Xml/WarFoundryXmlGameSystemSaver.cs	Sat Oct 15 16:03:22 2011 +0100
     1.2 +++ b/API/Savers/Xml/WarFoundryXmlGameSystemSaver.cs	Wed Oct 26 15:39:55 2011 +0100
     1.3 @@ -37,6 +37,10 @@
     1.4  			root.SetAttribute("defaultArmySize", toSave.SystemArmyDefaultSize.ToString());
     1.5  			root.SetAttribute("warn", toSave.WarnOnError.ToString().ToLowerInvariant());
     1.6  			root.SetAttribute("allowAllies", toSave.AllowAllies.ToString().ToLowerInvariant());
     1.7 +			root.SetAttribute("defaultPtsAbbreviationSingular", toSave.SystemPtsAbbrevSingle);
     1.8 +			root.SetAttribute("defaultPtsAbbreviationPlural", toSave.SystemPtsAbbrevPlural);
     1.9 +			root.SetAttribute("defaultPtsNameSingular", toSave.SystemPtsNameSingle);
    1.10 +			root.SetAttribute("defaultPtsNamePlural", toSave.SystemPtsNamePlural);
    1.11  			XmlElement cats = doc.CreateElement("categories");
    1.12  			root.AppendChild(cats);
    1.13