Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Protected Member Functions | List of all members
Upgradeables.UpgradeableFacility Class Reference
Inheritance diagram for Upgradeables.UpgradeableFacility:
Upgradeables.UpgradeableObject

Public Member Functions

float GetDowngradeCost ()
 
string GetLevelText ()
 
string GetLevelText (int lvl)
 
string GetNextLevelText ()
 
float GetNormLevel ()
 
float GetUpgradeCost ()
 
void Load (ConfigNode node)
 
bool RegisterInstance ()
 
void Save (ConfigNode node)
 
override void SetLevel (int lvl)
 
void setNormLevel (float lvl)
 
void UnregisterInstance ()
 
- Public Member Functions inherited from Upgradeables.UpgradeableObject
void Awake ()
 
void ClearID ()
 
void CompileAssets ()
 
void CompileID ()
 
void Despawn (int lvl)
 
void Despawn (UpgradeLevel lvl)
 
void OnDestroy ()
 
void OnGameSceneSwitchRequested (GameEvents.FromToAction< GameScenes, GameScenes > action)
 
void setLevel (int lvl)
 
void SetupLevels ()
 
void Start ()
 

Protected Member Functions

override void OnAwake ()
 
override void OnOnDestroy ()
 
override void OnStart ()
 

Additional Inherited Members

- Public Attributes inherited from Upgradeables.UpgradeableObject
string id
 
- Protected Attributes inherited from Upgradeables.UpgradeableObject
UpgradeLevel currentLevel
 
int facilityLevel
 
Transform facilityTransform
 
bool preCompiledId
 
bool setup
 
UpgradeLevel[] upgradeLevels
 
- Properties inherited from Upgradeables.UpgradeableObject
UpgradeLevel CurrentLevel [get, set]
 
int FacilityLevel [get]
 
Transform FacilityTransform [get, set]
 
int MaxLevel [get]
 
UpgradeLevel[] UpgradeLevels [get, set]
 

Member Function Documentation

float Upgradeables.UpgradeableFacility.GetDowngradeCost ( )
inline
string Upgradeables.UpgradeableFacility.GetLevelText ( )
inline
string Upgradeables.UpgradeableFacility.GetLevelText ( int  lvl)
inline
string Upgradeables.UpgradeableFacility.GetNextLevelText ( )
inline
float Upgradeables.UpgradeableFacility.GetNormLevel ( )
inline
float Upgradeables.UpgradeableFacility.GetUpgradeCost ( )
inline
void Upgradeables.UpgradeableFacility.Load ( ConfigNode  node)
inline

< if confignode is null, assume initial state

override void Upgradeables.UpgradeableFacility.OnAwake ( )
inlineprotectedvirtual
override void Upgradeables.UpgradeableFacility.OnOnDestroy ( )
inlineprotectedvirtual
override void Upgradeables.UpgradeableFacility.OnStart ( )
inlineprotectedvirtual
bool Upgradeables.UpgradeableFacility.RegisterInstance ( )
inline
void Upgradeables.UpgradeableFacility.Save ( ConfigNode  node)
inline
override void Upgradeables.UpgradeableFacility.SetLevel ( int  lvl)
inlinevirtual

Reimplemented from Upgradeables.UpgradeableObject.

void Upgradeables.UpgradeableFacility.setNormLevel ( float  lvl)
inline
void Upgradeables.UpgradeableFacility.UnregisterInstance ( )
inline

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