|
Callback | OnDeploy |
| deploy is called when the tracker starts, to let nodes set up any listeners they use in their unlock logic. More...
|
|
Action< Vessel > | OnIterateVessels |
| 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...
|
|
|
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) |
|
virtual void | OnLoad (ConfigNode node) |
|
virtual void | OnSave (ConfigNode node) |
|
ProgressNode.ProgressNode |
( |
string |
id, |
|
|
bool |
startReached |
|
) |
| |
|
inline |
void ProgressNode.Achieve |
( |
| ) |
|
|
inline |
void ProgressNode.AddOrAppendWorldFirstMessage |
( |
string |
title, |
|
|
string |
body |
|
) |
| |
|
inlineprotected |
void ProgressNode.AwardProgress |
( |
string |
description, |
|
|
float |
funds = 0 , |
|
|
float |
science = 0 , |
|
|
float |
reputation = 0 , |
|
|
CelestialBody |
body = null |
|
) |
| |
|
inlineprotected |
Now send a "low priority" message to the notification app. This will add a notification without blinking the icon.
void ProgressNode.AwardProgressInterval |
( |
string |
description, |
|
|
int |
currentInterval, |
|
|
int |
totalIntervals, |
|
|
ProgressType |
progress, |
|
|
CelestialBody |
body = null |
|
) |
| |
|
inlineprotected |
void ProgressNode.AwardProgressRandomTech |
( |
string |
description, |
|
|
int |
seed |
|
) |
| |
|
inlineprotected |
void ProgressNode.CheatComplete |
( |
| ) |
|
|
inline |
void ProgressNode.Complete |
( |
| ) |
|
|
inline |
void ProgressNode.CrewSensitiveComplete |
( |
Vessel |
v | ) |
|
|
inlineprotected |
void ProgressNode.CrewSensitiveComplete |
( |
ProtoVessel |
pv | ) |
|
|
inlineprotected |
string ProgressNode.GetNodeSummary |
( |
string |
baseID | ) |
|
|
inline |
Loading a node implies it's unlocked already.
- Parameters
-
Implements IConfigNode.
virtual void ProgressNode.OnLoad |
( |
ConfigNode |
node | ) |
|
|
inlineprotectedvirtual |
Reimplemented in KSPAchievements.PointOfInterest, KSPAchievements.CelestialBodySubtree, KSPAchievements.RecordsDistance, KSPAchievements.CelestialBodyReturn, KSPAchievements.RecordsSpeed, KSPAchievements.RecordsDepth, KSPAchievements.RecordsAltitude, KSPAchievements.CelestialBodyScience, KSPAchievements.TowerBuzz, KSPAchievements.CelestialBodyLanding, KSPAchievements.CelestialBodyOrbit, KSPAchievements.CelestialBodyFlight, KSPAchievements.CelestialBodySuborbit, KSPAchievements.ReachSpace, KSPAchievements.BaseConstruction, KSPAchievements.StationConstruction, KSPAchievements.FlagPlant, KSPAchievements.SurfaceEVA, KSPAchievements.CelestialBodyTransfer, KSPAchievements.Spacewalk, and KSPAchievements.CrewRecovery.
virtual void ProgressNode.OnSave |
( |
ConfigNode |
node | ) |
|
|
inlineprotectedvirtual |
Reimplemented in KSPAchievements.PointOfInterest, KSPAchievements.CelestialBodySubtree, KSPAchievements.RecordsDistance, KSPAchievements.CelestialBodyReturn, KSPAchievements.RecordsSpeed, KSPAchievements.RecordsDepth, KSPAchievements.RecordsAltitude, KSPAchievements.CelestialBodyScience, KSPAchievements.TowerBuzz, KSPAchievements.CelestialBodyLanding, KSPAchievements.CelestialBodyOrbit, KSPAchievements.BaseConstruction, KSPAchievements.StationConstruction, KSPAchievements.CelestialBodyFlight, KSPAchievements.CelestialBodySuborbit, KSPAchievements.ReachSpace, KSPAchievements.FlagPlant, KSPAchievements.SurfaceEVA, KSPAchievements.Spacewalk, KSPAchievements.CrewRecovery, and KSPAchievements.CelestialBodyTransfer.
void ProgressNode.Reach |
( |
| ) |
|
|
inline |
Saving a node implies it's already unlocked. Make sure to check if it's unlocked before saving it.
- Parameters
-
Implements IConfigNode.
double ProgressNode.AchieveDate |
|
protected |
deploy is called when the tracker starts, to let nodes set up any listeners they use in their unlock logic.
Func<string, string> ProgressNode.OnGenerateSummary |
|
protected |
Action<Vessel> ProgressNode.OnIterateVessels |
Update is called on update. Use when polling something is unavoidable.
stow is called for all still-unlocked nodes when th tracker stops, and for each node that gets unlocked (their job is done).
bool ProgressNode.IsComplete |
|
get |
bool ProgressNode.IsCompleteManned |
|
getset |
bool ProgressNode.IsCompleteUnmanned |
|
getset |
bool ProgressNode.IsReached |
|
get |
The documentation for this class was generated from the following file: