Kerbal Space Program
1.12.4
|
Public Member Functions | |
DiscoveryInfo (IDiscoverable host) | |
DiscoveryInfo (IDiscoverable host, double untrackedLifetime) | |
DiscoveryInfo (IDiscoverable host, DiscoveryLevels level, double untrackedLifetime) | |
double | GetSignalLife (double UT) |
Returns a 1-0 value representing how close the object is to being lost More... | |
double | GetSignalStrength (double UT) |
Returns a 1-0 value representing how long this object will stick around, compared to others spawned in similar circumstances. More... | |
bool | HaveKnowledgeAbout (DiscoveryLevels lvl) |
void | Load (ConfigNode node) |
void | Save (ConfigNode node) |
void | SetLastObservedTime (double UT) |
void | SetLevel (DiscoveryLevels level) |
void | SetReferenceLifetime (double time) |
void | SetUnobservedLifetime (double time) |
void | SetUntrackedObjectSize (UntrackedObjectClass size) |
Static Public Member Functions | |
static UntrackedObjectClass | GetClassFromSize (float size, int seed) |
static float | GetClassRadius (UntrackedObjectClass sizeClass, int seed) |
Returns the average radius of the asteroid given its class. More... | |
static float | GetMaxRadius (UntrackedObjectClass sizeClass, int seed) |
Returns the maximum radius for the given asteroid class More... | |
static float | GetMinRadius (UntrackedObjectClass sizeClass, int seed) |
Returns the minimum radius for the given asteroid class More... | |
static UntrackedObjectClass | GetObjectClass (string classString) |
Returns the object class given its volume. More... | |
static string | GetSignalStrengthCaption (double signal) |
static string | GetSizeClassDescription (UntrackedObjectClass sizeClass) |
static string | GetSizeClassSizes (UntrackedObjectClass sizeClass) |
Public Attributes | |
KnowledgeItem< string > | displayName |
KnowledgeItem< double > | distance |
KnowledgeItem< float > | mass |
KnowledgeItem< string > | name |
KnowledgeItem< string > | signalStrengthLevel |
KnowledgeItem< double > | signalStrengthPercent |
KnowledgeItem< string > | situation |
KnowledgeItem < UntrackedObjectClass > | size |
KnowledgeItem< double > | speed |
KnowledgeItem< string > | trackingStatus |
KnowledgeItem< string > | type |
Properties | |
double | fadeUT [get, set] |
Time at which the object will disappear unless observed again. More... | |
double | lastObservedTime [get, set] |
When was the object last observed. More... | |
DiscoveryLevels | Level [get, set] |
The level of knowledge available about this object More... | |
UntrackedObjectClass | objectSize [get, set] |
The tracking signature size of the object More... | |
double | referenceLifetime [get, set] |
The maximum lifetime for any untracked discoverable. Used to gauge signal strength. More... | |
double | unobservedLifetime [get, set] |
The time the object can remain unobserved and still be detected again (infinite unless specified) More... | |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
Returns the average radius of the asteroid given its class.
|
inlinestatic |
Returns the maximum radius for the given asteroid class
|
inlinestatic |
Returns the minimum radius for the given asteroid class
|
inlinestatic |
Returns the object class given its volume.
|
inline |
Returns a 1-0 value representing how close the object is to being lost
UT |
|
inline |
Returns a 1-0 value representing how long this object will stick around, compared to others spawned in similar circumstances.
UT |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
Implements IConfigNode.
|
inline |
Implements IConfigNode.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
KnowledgeItem<string> DiscoveryInfo.displayName |
KnowledgeItem<double> DiscoveryInfo.distance |
KnowledgeItem<float> DiscoveryInfo.mass |
KnowledgeItem<string> DiscoveryInfo.name |
KnowledgeItem<string> DiscoveryInfo.signalStrengthLevel |
KnowledgeItem<double> DiscoveryInfo.signalStrengthPercent |
KnowledgeItem<string> DiscoveryInfo.situation |
KnowledgeItem<UntrackedObjectClass> DiscoveryInfo.size |
KnowledgeItem<double> DiscoveryInfo.speed |
KnowledgeItem<string> DiscoveryInfo.trackingStatus |
KnowledgeItem<string> DiscoveryInfo.type |
|
getset |
Time at which the object will disappear unless observed again.
|
getset |
When was the object last observed.
|
getset |
The level of knowledge available about this object
|
getset |
The tracking signature size of the object
|
getset |
The maximum lifetime for any untracked discoverable. Used to gauge signal strength.
|
getset |
The time the object can remain unobserved and still be detected again (infinite unless specified)