Mercurial > repos > IBDev-IBBoard.WarFoundry.API
diff API/Savers/Xml/WarFoundryXmlGameSystemSaver.cs @ 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 | 3c4a6403a88c |
children | 61fae5cbba02 |
line wrap: on
line diff
--- a/API/Savers/Xml/WarFoundryXmlGameSystemSaver.cs Sat Oct 15 16:03:22 2011 +0100 +++ b/API/Savers/Xml/WarFoundryXmlGameSystemSaver.cs Wed Oct 26 15:39:55 2011 +0100 @@ -37,6 +37,10 @@ root.SetAttribute("defaultArmySize", toSave.SystemArmyDefaultSize.ToString()); root.SetAttribute("warn", toSave.WarnOnError.ToString().ToLowerInvariant()); root.SetAttribute("allowAllies", toSave.AllowAllies.ToString().ToLowerInvariant()); + root.SetAttribute("defaultPtsAbbreviationSingular", toSave.SystemPtsAbbrevSingle); + root.SetAttribute("defaultPtsAbbreviationPlural", toSave.SystemPtsAbbrevPlural); + root.SetAttribute("defaultPtsNameSingular", toSave.SystemPtsNameSingle); + root.SetAttribute("defaultPtsNamePlural", toSave.SystemPtsNamePlural); XmlElement cats = doc.CreateElement("categories"); root.AppendChild(cats);