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
Strategies.Effects.CurrencyConverter Class Reference
Inheritance diagram for Strategies.Effects.CurrencyConverter:
Strategies.StrategyEffect

Public Member Functions

override bool CanActivate (ref string reason)
 
 CurrencyConverter (Strategy parent, float minRate, float maxRate, float minShare, float maxShare, Currency input, Currency output, TransactionReasons affectReasons, string effectDescription)
 
 CurrencyConverter (Strategy parent)
 
- Public Member Functions inherited from Strategies.StrategyEffect
void Load (ConfigNode node)
 
void LoadFromConfig (ConfigNode node)
 
void Register ()
 If active, registers itself in GameEvents.Buffs More...
 
void Save (ConfigNode node)
 
 StrategyEffect (Strategy parent)
 
void Unregister ()
 Removes itself from all events More...
 
void Update ()
 Called once per frame when strategy is active More...
 

Protected Member Functions

override string GetDescription ()
 Description of this effect as set by designer of the GameBuffEffect Can be overridden by the parent GameBuff if required More...
 
override void OnLoadFromConfig (ConfigNode node)
 
override void OnRegister ()
 
override void OnUnregister ()
 
- Protected Member Functions inherited from Strategies.StrategyEffect
virtual void OnLoad (ConfigNode node)
 
virtual void OnSave (ConfigNode node)
 
virtual void OnUpdate ()
 
float ParentLerp (float minValue, float maxValue)
 
string ToPercentage (float percentage, string format="F0")
 

Additional Inherited Members

- Properties inherited from Strategies.StrategyEffect
string Description [get]
 
Strategy Parent [get]
 Parent Strategy that this effect is attached to More...
 

Constructor & Destructor Documentation

Strategies.Effects.CurrencyConverter.CurrencyConverter ( Strategy  parent,
float  minRate,
float  maxRate,
float  minShare,
float  maxShare,
Currency  input,
Currency  output,
TransactionReasons  affectReasons,
string  effectDescription 
)
inline
Strategies.Effects.CurrencyConverter.CurrencyConverter ( Strategy  parent)
inline

Member Function Documentation

override bool Strategies.Effects.CurrencyConverter.CanActivate ( ref string  reason)
inlinevirtual

Reimplemented from Strategies.StrategyEffect.

override string Strategies.Effects.CurrencyConverter.GetDescription ( )
inlineprotectedvirtual

Description of this effect as set by designer of the GameBuffEffect Can be overridden by the parent GameBuff if required

Reimplemented from Strategies.StrategyEffect.

override void Strategies.Effects.CurrencyConverter.OnLoadFromConfig ( ConfigNode  node)
inlineprotectedvirtual

Reimplemented from Strategies.StrategyEffect.

override void Strategies.Effects.CurrencyConverter.OnRegister ( )
inlineprotectedvirtual

Reimplemented from Strategies.StrategyEffect.

override void Strategies.Effects.CurrencyConverter.OnUnregister ( )
inlineprotectedvirtual

Reimplemented from Strategies.StrategyEffect.


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