Mod API Reference:GameStanding

From Warzone Wiki
(Difference between revisions)
Jump to: navigation, search
m
 
Line 7: Line 7:
  
 
* '''NumResources'''('''playerID''' ''[[Mod API Reference:PlayerID|PlayerID]]'', '''type''' ''[[Mod API Reference:ResourceType|ResourceType]] (enum)'') returns integer:  Determines how many resources, such as gold in a commerce game, the passed player has (or had at this point in time if this standing is from history)
 
* '''NumResources'''('''playerID''' ''[[Mod API Reference:PlayerID|PlayerID]]'', '''type''' ''[[Mod API Reference:ResourceType|ResourceType]] (enum)'') returns integer:  Determines how many resources, such as gold in a commerce game, the passed player has (or had at this point in time if this standing is from history)
 +
[[Category:Mod API Reference]]

Latest revision as of 17:23, 4 December 2018

GameStanding: Represents the state of a game's map at a single point in time. This describes who owns each territory, how many armies/special units are on it, what cards each player has, and what cards are in effect.

[edit] Functions

  • NumResources(playerID PlayerID, type ResourceType (enum)) returns integer: Determines how many resources, such as gold in a commerce game, the passed player has (or had at this point in time if this standing is from history)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox