Template:API RegionData

From BattleMaster Wiki
Revision as of 09:30, 28 January 2022 by Kagurati (talk | contribs) (Created page with "===XML=== <xml> <regiondata> <id>''string''</id> <continent>''string''</continent> <continentid>''string''</continentid> <name>''string''</name> <type>''stri...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

XML

<xml>
 <regiondata>
  <id>string</id>
  <continent>string</continent>
  <continentid>string</continentid>
  <name>string</name>
  <type>string</type>
  <area>string</area>
  <population>integer</population>
  <economy>comma-separated list of strings</economy>
  <realm>string</realm>
  <duchy>string</duchy>
  <lord>string</lord>
  <xpos>integer</xpos>
  <ypos>integer</ypos>
  <colour>integer</colour>
  <banner>integer</banner>
 </regiondata>
</xml>

JSON

 {
   "regiondata": {
       "id": string,
       "continent": string,
       "continentid": string,
       "name": string,
       "type": string,
       "area": string,
       "population": integer,
       "economy": comma-separated list of strings,
       "realm": string,
       "duchy": string,
       "lord": string,
       "xpos": integer,
       "ypos": integer,
       "colour": string,
       "banner": string
   }
 }