Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
KSPAchievements.CelestialBodyFlight Class Reference
Inheritance diagram for KSPAchievements.CelestialBodyFlight:
ProgressNode IConfigNode

Public Member Functions

 CelestialBodyFlight (CelestialBody cb)
 
- Public Member Functions inherited from ProgressNode
void Achieve ()
 
void CheatComplete ()
 
void Complete ()
 
string GetNodeSummary (string baseID)
 
void Load (ConfigNode node)
 Loading a node implies it's unlocked already. More...
 
 ProgressNode (string id, bool startReached)
 
void Reach ()
 
void Save (ConfigNode node)
 Saving a node implies it's already unlocked. Make sure to check if it's unlocked before saving it. More...
 

Public Attributes

CelestialBody body
 
CrewRef firstCrew
 
VesselRef firstVessel
 
- Public Attributes inherited from ProgressNode
Callback OnDeploy
 deploy is called when the tracker starts, to let nodes set up any listeners they use in their unlock logic. More...
 
Action< VesselOnIterateVessels
 Update is called on update. Use when polling something is unavoidable. More...
 
Callback OnStow
 stow is called for all still-unlocked nodes when th tracker stops, and for each node that gets unlocked (their job is done). More...
 

Protected Member Functions

override void OnLoad (ConfigNode node)
 
override void OnSave (ConfigNode node)
 
- Protected Member Functions inherited from ProgressNode
void AddOrAppendWorldFirstMessage (string title, string body)
 
void AwardProgress (string description, float funds=0, float science=0, float reputation=0, CelestialBody body=null)
 
void AwardProgressInterval (string description, int currentInterval, int totalIntervals, ProgressType progress, CelestialBody body=null)
 
void AwardProgressRandomTech (string description, int seed)
 
void AwardProgressStandard (string description, ProgressType progress, CelestialBody body=null)
 
void CrewSensitiveComplete (Vessel v)
 
void CrewSensitiveComplete (ProtoVessel pv)
 

Additional Inherited Members

- Protected Attributes inherited from ProgressNode
double AchieveDate
 
Func< string, string > OnGenerateSummary
 
- Properties inherited from ProgressNode
string Id [get]
 
bool IsComplete [get]
 
bool IsCompleteManned [get, set]
 
bool IsCompleteUnmanned [get, set]
 
bool IsReached [get]
 
ProgressTree Subtree [get]
 

Constructor & Destructor Documentation

KSPAchievements.CelestialBodyFlight.CelestialBodyFlight ( CelestialBody  cb)
inline

Member Function Documentation

override void KSPAchievements.CelestialBodyFlight.OnLoad ( ConfigNode  node)
inlineprotectedvirtual

Reimplemented from ProgressNode.

override void KSPAchievements.CelestialBodyFlight.OnSave ( ConfigNode  node)
inlineprotectedvirtual

Reimplemented from ProgressNode.

Member Data Documentation

CelestialBody KSPAchievements.CelestialBodyFlight.body
CrewRef KSPAchievements.CelestialBodyFlight.firstCrew
VesselRef KSPAchievements.CelestialBodyFlight.firstVessel

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