sessions()

This is the constructor. It currently does nothing except initialize the object.

hasSeasons()

This method returns whether the map should have seasons.

hasTeams()

This method returns whether the players will team together.

hasTeamsLocked()

This method returns whether the players are permanently teamed.

getType()

This method returns the game type.

getNumPlayers()

This method returns the number of players.

getNumSettlements()

This method returns the requested number of settlements per player

getSize()

This method returns the requested map size.

getDifficulty()

This method returns the requested AI difficulty.

getSpeed()

This method returns the requested game speed.

getBorderTimer()

This method returns the requested border timer.

getMaxCenters()

This method returns the requested maximum amount of military centers.

getPopCap()

This method returns the requested population capacity.

getStartingResources()

This method returns the requested amount of resources to start with.

getStartingSeason()

This method returns the requested season to start with.

getStartingPhase()

This method returns the requested phase to start in.

getVisibility()

This method returns the requested visibility.

setUserDefined()

This method grabs all the session data and sets them. (used if the scripter doesn't want to ignore user session data)

setType(type)

This method sets the game type for map.

setNumSettlements(int)

This method sets the number of settlements per player.

setSize(int,int)

This method sets the size of map.

setDifficulty(string)

This method sets the difficulty of AI.

setSpeed(int)

This method sets the game's speed.

setBorderTimer(int)

This method sets the length in seconds Territory borders are activated.

setMaxCenters(int)

This method sets the maximum amount of military centers.

setPopCap(int)

This method sets the population capacity.

setStartingResources(string)

This method sets the amount of starting resources.

setStartingSeason(string)

This method sets the season the game starts in.

setStartingPhase(string)

This method sets the phase every player starts in.

setVisibility(string)

This method sets the visibility of the map.

Last modified 16 years ago Last modified on Feb 23, 2008, 4:18:59 AM
Note: See TracWiki for help on using the wiki.