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

Public Member Functions

 PointOfInterest (string body, string name, string text, bool uplifting)
 
 PointOfInterest (string body, string name, string text, bool uplifting, bool launchSite)
 
- 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...
 

Protected Member Functions

string GetUpliftText (int seed)
 
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)
 

Properties

string body [get, set]
 
bool launchSite [get, set]
 Is this POI a LaunchSite that can be jumped to via the launch menu when that setting is enabled More...
 
string name [get, set]
 
string text [get, set]
 
bool uplifting [get, set]
 
- Properties inherited from ProgressNode
string Id [get]
 
bool IsComplete [get]
 
bool IsCompleteManned [get, set]
 
bool IsCompleteUnmanned [get, set]
 
bool IsReached [get]
 
ProgressTree Subtree [get]
 

Additional Inherited Members

- 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 Attributes inherited from ProgressNode
double AchieveDate
 
Func< string, string > OnGenerateSummary
 

Constructor & Destructor Documentation

KSPAchievements.PointOfInterest.PointOfInterest ( string  body,
string  name,
string  text,
bool  uplifting 
)
inline
KSPAchievements.PointOfInterest.PointOfInterest ( string  body,
string  name,
string  text,
bool  uplifting,
bool  launchSite 
)
inline

Member Function Documentation

string KSPAchievements.PointOfInterest.GetUpliftText ( int  seed)
inlineprotected
override void KSPAchievements.PointOfInterest.OnLoad ( ConfigNode  node)
inlineprotectedvirtual

Reimplemented from ProgressNode.

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

Reimplemented from ProgressNode.

Property Documentation

string KSPAchievements.PointOfInterest.body
getset
bool KSPAchievements.PointOfInterest.launchSite
getset

Is this POI a LaunchSite that can be jumped to via the launch menu when that setting is enabled

string KSPAchievements.PointOfInterest.name
getset
string KSPAchievements.PointOfInterest.text
getset
bool KSPAchievements.PointOfInterest.uplifting
getset

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