The TerritorySoapBean represents a single territory in a given game.
Field Name |
Type |
Description |
name |
string |
The territory name. |
id |
int |
The territory ID. Unique for a given game. |
numArmies |
int |
The number of armies currently occupying the territory. |
owner |
int |
The player code of the player who currently holds the territory. |
hasLeader |
boolean |
True if the territory contains a leader. |
hasFortress |
boolean |
True if the territory is a fortress. |
hasCapitol |
boolean |
True if the territory is a capitol |
continent |
string |
The continent that this territory belongs to. |