Mod API Reference:TerritoryStanding: Difference between revisions
Jump to navigation
Jump to search
Created page with "'''TerritoryStanding''': Stores who owns a territory, how many armies are on it, and how visible it is. * '''FogLevel''' ''[[Mod API Reference:StandingFogLevel|StandingFogLeve..." |
No edit summary |
||
Line 3: | Line 3: | ||
* '''ID''' ''[[Mod API Reference:TerritoryID|TerritoryID]]'': ID of the territory. | * '''ID''' ''[[Mod API Reference:TerritoryID|TerritoryID]]'': ID of the territory. | ||
* '''IsNeutral''' ''boolean'': True if it's owned by neutral (alias for accessing OwnerPlayerID == PlayerID.Neutral) | * '''IsNeutral''' ''boolean'': True if it's owned by neutral (alias for accessing OwnerPlayerID == PlayerID.Neutral) | ||
* '''NumArmies''' ''[[Mod API Reference:Armies|Armies]]'': Number of armies on the | * '''NumArmies''' ''[[Mod API Reference:Armies|Armies]]'': Number of armies on the territory. | ||
* '''OwnerPlayerID''' ''[[Mod API Reference:PlayerID|PlayerID]]'': Who owns the territory. | * '''OwnerPlayerID''' ''[[Mod API Reference:PlayerID|PlayerID]]'': Who owns the territory. |
Revision as of 22:00, 4 April 2017
TerritoryStanding: Stores who owns a territory, how many armies are on it, and how visible it is.
- FogLevel StandingFogLevel (enum): How visible the territory is. On the server, it's always fully visible, but may be obscured if accessing this from a client.
- ID TerritoryID: ID of the territory.
- IsNeutral boolean: True if it's owned by neutral (alias for accessing OwnerPlayerID == PlayerID.Neutral)
- NumArmies Armies: Number of armies on the territory.
- OwnerPlayerID PlayerID: Who owns the territory.