Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Protected Member Functions | Properties | List of all members
Experience.ExperienceEffect Class Reference
Inheritance diagram for Experience.ExperienceEffect:
Experience.Effects.AutopilotSkill Experience.Effects.ConverterSkill Experience.Effects.DeployedScienceExpSkill Experience.Effects.DeployedSciencePowerSkill Experience.Effects.DrillSkill Experience.Effects.EnginePower Experience.Effects.EVAChuteSkill Experience.Effects.ExternalExperimentSkill Experience.Effects.FailureRepairSkill Experience.Effects.FuelUsage Experience.Effects.FullVesselControlSkill Experience.Effects.GeeForceTolerance Experience.Effects.HeatProduction Experience.Effects.MaxThrottle Experience.Effects.PartScienceReturn Experience.Effects.RepairSkill Experience.Effects.ScienceResetSkill Experience.Effects.ScienceSkill Experience.Effects.SpecialExperimentSkill Experience.Effects.VesselScienceReturn

Public Member Functions

 ExperienceEffect (ExperienceTrait parent)
 
 ExperienceEffect (ExperienceTrait parent, float[] modifiers)
 
 ExperienceEffect (ExperienceTrait parent, int level)
 
void LoadFromConfig (ConfigNode node)
 
void Register (Part part)
 If active, registers itself in GameEvents.Buffs More...
 
void Unregister (Part part)
 Removes itself from all events More...
 

Protected Member Functions

virtual float GetDefaultValue ()
 
virtual string GetDescription ()
 Description of this effect as set by designer of the GameBuffEffect Can be overridden by the parent GameBuff if required More...
 
virtual void OnLoadFromConfig (ConfigNode node)
 
virtual void OnRegister (Part part)
 
virtual void OnUnregister (Part part)
 

Properties

string Description [get]
 String description More...
 
int Level [get]
 
float[] LevelModifiers [get]
 
string Name [get]
 The effect class name. Cached to save garbage More...
 
ExperienceTrait Parent [get]
 Parent category that this effect is attached to More...
 

Constructor & Destructor Documentation

Experience.ExperienceEffect.ExperienceEffect ( ExperienceTrait  parent)
inline
Experience.ExperienceEffect.ExperienceEffect ( ExperienceTrait  parent,
float[]  modifiers 
)
inline
Experience.ExperienceEffect.ExperienceEffect ( ExperienceTrait  parent,
int  level 
)
inline

Member Function Documentation

virtual float Experience.ExperienceEffect.GetDefaultValue ( )
inlineprotectedvirtual
virtual string Experience.ExperienceEffect.GetDescription ( )
inlineprotectedvirtual
void Experience.ExperienceEffect.LoadFromConfig ( ConfigNode  node)
inline
virtual void Experience.ExperienceEffect.OnLoadFromConfig ( ConfigNode  node)
inlineprotectedvirtual
virtual void Experience.ExperienceEffect.OnRegister ( Part  part)
inlineprotectedvirtual
virtual void Experience.ExperienceEffect.OnUnregister ( Part  part)
inlineprotectedvirtual
void Experience.ExperienceEffect.Register ( Part  part)
inline

If active, registers itself in GameEvents.Buffs

void Experience.ExperienceEffect.Unregister ( Part  part)
inline

Removes itself from all events

Property Documentation

string Experience.ExperienceEffect.Description
get

String description

int Experience.ExperienceEffect.Level
get
float [] Experience.ExperienceEffect.LevelModifiers
get
string Experience.ExperienceEffect.Name
get

The effect class name. Cached to save garbage

ExperienceTrait Experience.ExperienceEffect.Parent
get

Parent category that this effect is attached to


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