Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Member Functions | Properties | List of all members
ResourceGameSettings Class Reference

Public Member Functions

void GenerateNewROCMissionSeed ()
 Generate a new seed for the ROCs in missions. More...
 
void GenerateNewSeed ()
 Generate a new seed for the resources. More...
 
List< BiomeLockDataGetBiomeLockInfo ()
 
List< DepletionDataGetDepletionInfo ()
 
List< PlanetScanDataGetPlanetScanInfo ()
 
void Load (ConfigNode node)
 
void Save (ConfigNode node)
 
void SaveBiomeUnlockNode (int planetId, string biomeName)
 
void SaveDepletionNodeValue (int planetId, string resource, int x, int y, float value)
 
void SavePlanetUnlockNode (int planetId)
 

Static Public Member Functions

static int GetValue (ConfigNode config, string name, int currentValue)
 
static float GetValue (ConfigNode config, string name, float currentValue)
 

Properties

int MaxDeltaTime [get, set]
 
int ROCMissionSeed [get, set]
 
int Seed [get, set]
 
ConfigNode SettingsNode [get, set]
 

Member Function Documentation

void ResourceGameSettings.GenerateNewROCMissionSeed ( )
inline

Generate a new seed for the ROCs in missions.

void ResourceGameSettings.GenerateNewSeed ( )
inline

Generate a new seed for the resources.

List<BiomeLockData> ResourceGameSettings.GetBiomeLockInfo ( )
inline
List<DepletionData> ResourceGameSettings.GetDepletionInfo ( )
inline
List<PlanetScanData> ResourceGameSettings.GetPlanetScanInfo ( )
inline
static int ResourceGameSettings.GetValue ( ConfigNode  config,
string  name,
int  currentValue 
)
inlinestatic
static float ResourceGameSettings.GetValue ( ConfigNode  config,
string  name,
float  currentValue 
)
inlinestatic
void ResourceGameSettings.Load ( ConfigNode  node)
inline
void ResourceGameSettings.Save ( ConfigNode  node)
inline
void ResourceGameSettings.SaveBiomeUnlockNode ( int  planetId,
string  biomeName 
)
inline
void ResourceGameSettings.SaveDepletionNodeValue ( int  planetId,
string  resource,
int  x,
int  y,
float  value 
)
inline
void ResourceGameSettings.SavePlanetUnlockNode ( int  planetId)
inline

Property Documentation

int ResourceGameSettings.MaxDeltaTime
getset
int ResourceGameSettings.ROCMissionSeed
getset
int ResourceGameSettings.Seed
getset
ConfigNode ResourceGameSettings.SettingsNode
getset

The documentation for this class was generated from the following file: