Mercurial > repos > IBBoard.WarFoundry.API
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 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);