Class: PlayerName

PlayerName()

Stores in-game names for all players. NB: the regular gamesetup has a particular handling of this setting. The names are loaded from the map, but the GUI also show playernames. Force these at the start of the match.

Constructor

new PlayerName()

Source:

Members

CountLabel

Translation: This is a template (sprintf format specifier) for the name of an AI-controlled player and a unique number for each of the players with that same name. Example: Perseus (2)
Source:

values

Source:

values[undefined]

Source:

values[undefined]

Source:

values[undefined]

Source:

Methods

_getMapData()

Source:

_resize()

Source:

_set()

Source:

fromInitAttributes()

Source:

init()

Source:

maybeUpdate()

Source:

onFinalizeAttributes()

Source:

onMapChange()

Source:

pickRandomItems()

Pick AI names.
Source:

toInitAttributes()

Source: