Player
About
Attributes
- name player name, displayed in-game
- nameID name string ID
- diplomacy reference to diplomacy section class.Diplomacy
- resource reference to resource section class.Resource
- ai reference to AI section, class.AI
- camera starting camera, class.Camera
- constName constant name like 'Player1'
- index player index (0 = Gaia, 1 = Player1)
- civilization civilization, enums.Civilizations
- age starting age
- population max population for a player
- color player color, enums.Colors
- allyVictory if this player win, is allied victory
- active active player
- human is player playable ?
- unknown1
- unknown2
- unknown3
- unknown4
Methods
- toJSON()