Changes between Initial Version and Version 1 of RMS:Sessions


Ignore:
Timestamp:
Feb 23, 2008, 4:18:59 AM (16 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RMS:Sessions

    v1 v1  
     1== sessions() ==
     2This is the constructor. It currently does nothing except initialize the object.
     3== hasSeasons() ==
     4This method returns whether the map should have seasons.
     5== hasTeams() ==
     6This method returns whether the players will team together.
     7== hasTeamsLocked() ==
     8This method returns whether the players are permanently teamed.
     9== getType() ==
     10This method returns the game type.
     11== getNumPlayers() ==
     12This method returns the number of players.
     13== getNumSettlements() ==
     14This method returns the requested number of settlements per player
     15== getSize() ==
     16This method returns the requested map size.
     17== getDifficulty() ==
     18This method returns the requested AI difficulty.
     19== getSpeed() ==
     20This method returns the requested game speed.
     21== getBorderTimer() ==
     22This method returns the requested border timer.
     23== getMaxCenters() ==
     24This method returns the requested maximum amount of military centers.
     25== getPopCap() ==
     26This method returns the requested population capacity.
     27== getStartingResources() ==
     28This method returns the requested amount of resources to start with.
     29== getStartingSeason() ==
     30This method returns the requested season to start with.
     31== getStartingPhase() ==
     32This method returns the requested phase to start in.
     33== getVisibility() ==
     34This method returns the requested visibility.
     35== setUserDefined() ==
     36This method grabs all the session data and sets them. (used if the scripter doesn't want to ignore user session data)
     37== setType(type) ==
     38This method sets the game type for map.
     39== setNumSettlements(int) ==
     40This method sets the number of settlements per player.
     41== setSize(int,int) ==
     42This method sets the size of map.
     43== setDifficulty(string) ==
     44This method sets the difficulty of AI.
     45== setSpeed(int) ==
     46This method sets the game's speed.
     47== setBorderTimer(int) ==
     48This method sets the length in seconds Territory borders are activated.
     49== setMaxCenters(int) ==
     50This method sets the maximum amount of military centers.
     51== setPopCap(int) ==
     52This method sets the population capacity.
     53== setStartingResources(string) ==
     54This method sets the amount of starting resources.
     55== setStartingSeason(string) ==
     56This method sets the season the game starts in.
     57== setStartingPhase(string) ==
     58This method sets the phase every player starts in.
     59== setVisibility(string) ==
     60This method sets the visibility of the map.