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.CelestialBodySubtree Class Reference
Inheritance diagram for KSPAchievements.CelestialBodySubtree:
ProgressNode IConfigNode

Public Member Functions

 CelestialBodySubtree (CelestialBody body)
 
void DebugBodyTree ()
 
void LinkBodyHome (CelestialBodySubtree[] trees)
 
- 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

BaseConstruction baseConstruction
 
CelestialBody Body
 
CelestialBodySubtree[] childTrees
 
CelestialBodyTransfer crewTransfer
 
Docking docking
 
CelestialBodyEscape escape
 
FlagPlant flagPlant
 
CelestialBodyFlight flight
 
CelestialBodyFlyby flyBy
 
CelestialBodyLanding landing
 
CelestialBodyOrbit orbit
 
CelestialBodySubtree parentTree
 
Rendezvous rendezvous
 
CelestialBodyReturn returnFromFlyby
 
CelestialBodyReturn returnFromOrbit
 
CelestialBodyReturn returnFromSurface
 
CelestialBodyScience science
 
Spacewalk spacewalk
 
CelestialBodySplashdown splashdown
 
StationConstruction stationConstruction
 
CelestialBodySuborbit suborbit
 
SurfaceEVA surfaceEVA
 
- 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.CelestialBodySubtree.CelestialBodySubtree ( CelestialBody  body)
inline

Member Function Documentation

void KSPAchievements.CelestialBodySubtree.DebugBodyTree ( )
inline
void KSPAchievements.CelestialBodySubtree.LinkBodyHome ( CelestialBodySubtree[]  trees)
inline

< construct child list and link their parents

< sort the child trees array using the recovery value

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

Reimplemented from ProgressNode.

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

Reimplemented from ProgressNode.

Member Data Documentation

BaseConstruction KSPAchievements.CelestialBodySubtree.baseConstruction
CelestialBody KSPAchievements.CelestialBodySubtree.Body
CelestialBodySubtree [] KSPAchievements.CelestialBodySubtree.childTrees
CelestialBodyTransfer KSPAchievements.CelestialBodySubtree.crewTransfer
Docking KSPAchievements.CelestialBodySubtree.docking
CelestialBodyEscape KSPAchievements.CelestialBodySubtree.escape
FlagPlant KSPAchievements.CelestialBodySubtree.flagPlant
CelestialBodyFlight KSPAchievements.CelestialBodySubtree.flight
CelestialBodyFlyby KSPAchievements.CelestialBodySubtree.flyBy
CelestialBodyLanding KSPAchievements.CelestialBodySubtree.landing
CelestialBodyOrbit KSPAchievements.CelestialBodySubtree.orbit
CelestialBodySubtree KSPAchievements.CelestialBodySubtree.parentTree
Rendezvous KSPAchievements.CelestialBodySubtree.rendezvous
CelestialBodyReturn KSPAchievements.CelestialBodySubtree.returnFromFlyby
CelestialBodyReturn KSPAchievements.CelestialBodySubtree.returnFromOrbit
CelestialBodyReturn KSPAchievements.CelestialBodySubtree.returnFromSurface
CelestialBodyScience KSPAchievements.CelestialBodySubtree.science
Spacewalk KSPAchievements.CelestialBodySubtree.spacewalk
CelestialBodySplashdown KSPAchievements.CelestialBodySubtree.splashdown
StationConstruction KSPAchievements.CelestialBodySubtree.stationConstruction
CelestialBodySuborbit KSPAchievements.CelestialBodySubtree.suborbit
SurfaceEVA KSPAchievements.CelestialBodySubtree.surfaceEVA

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