Mercurial > repos > IBDev-IBBoard.WarFoundry.API
diff schemas/army.xsd @ 259:35dc06030355
Re #270: Add multiple categories to API
* Add "category" attribute to army schema
* Add method to define category when adding unit to army
* Make army loading check new attribute and assign to correct category or main category
TODO: Write out category of unit to army file
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 19 May 2010 20:07:07 +0000 |
parents | 2f8fd45d55e2 |
children | c7a95912c1e8 |
line wrap: on
line diff
--- a/schemas/army.xsd Wed May 19 19:23:29 2010 +0000 +++ b/schemas/army.xsd Wed May 19 20:07:07 2010 +0000 @@ -92,6 +92,7 @@ <xs:attribute name="unitName" type="xs:string" use="required"/> <xs:attribute name="size" type="xs:positiveInteger" use="required"/> <xs:attribute name="race" type="xs:string" default=""/> + <xs:attribute name="category" type="xs:string" default=""/> <xs:anyAttribute processContents="lax"/> </xs:complexType>