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 | Static Public Attributes | Properties | List of all members
Funding Class Reference
Inheritance diagram for Funding:
ScenarioModule IConfigNode

Public Member Functions

void AddFunds (double value, TransactionReasons reason)
 
override void OnAwake ()
 
void OnDestroy ()
 
override void OnLoad (ConfigNode node)
 
override void OnSave (ConfigNode node)
 
void SetFunds (double value, TransactionReasons reason)
 
- Public Member Functions inherited from ScenarioModule
void Load (ConfigNode node)
 
void Save (ConfigNode node)
 

Static Public Member Functions

static bool CanAfford (float cost)
 

Static Public Attributes

static Funding Instance
 

Properties

double Funds [get]
 
- Properties inherited from ScenarioModule
int ClassID [get]
 
string ClassName [get]
 
BaseEventList Events [get]
 
BaseFieldList Fields [get]
 

Additional Inherited Members

- Public Attributes inherited from ScenarioModule
ScenarioRunner runner
 
ProtoScenarioModule snapshot
 
List< GameScenestargetScenes
 

Member Function Documentation

void Funding.AddFunds ( double  value,
TransactionReasons  reason 
)
inline

< query strategies for modifications to incoming funds

static bool Funding.CanAfford ( float  cost)
inlinestatic
override void Funding.OnAwake ( )
inlinevirtual

< this will be overwritten by loaded data if any exists. If not, we can assume this is a newly started game.

Reimplemented from ScenarioModule.

void Funding.OnDestroy ( )
inline
override void Funding.OnLoad ( ConfigNode  node)
inlinevirtual

Reimplemented from ScenarioModule.

override void Funding.OnSave ( ConfigNode  node)
inlinevirtual

Reimplemented from ScenarioModule.

void Funding.SetFunds ( double  value,
TransactionReasons  reason 
)
inline

Member Data Documentation

Funding Funding.Instance
static

Property Documentation

double Funding.Funds
get

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