Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Protected Attributes | Properties | List of all members
Expansions.Missions.Tests.TestVesselSituationSplashed Class Reference

Test if the selected vessel Splashed Down More...

Inheritance diagram for Expansions.Missions.Tests.TestVesselSituationSplashed:
Expansions.Missions.Tests.TestVesselSituation Expansions.Missions.INodeWaypoint Expansions.Missions.ITestNodeLabel Expansions.Missions.INodeBody Expansions.Missions.Tests.TestVessel Expansions.Missions.IScoreableObjective Expansions.Missions.TestModule IConfigNode Expansions.Missions.ITestModule IConfigNode Expansions.Missions.IMENodeDisplay

Public Member Functions

override void Awake ()
 
override void Load (ConfigNode node)
 
override void ParameterSetupComplete ()
 Perform all the setup operations that we need when the module is initialised in the mission builder. More...
 
override void Save (ConfigNode node)
 
- Public Member Functions inherited from Expansions.Missions.Tests.TestVesselSituation
string GetExtraText ()
 Get extra text to be appended at the end of the node label caption. More...
 
override string GetInfo ()
 Get the information to be displayed about the module in the tooltip. More...
 
CelestialBody GetNodeBody ()
 
override string GetNodeBodyParameterString (BaseAPField field)
 Returns the string to be displayed when the parameter is displayed in the node body More...
 
Waypoint GetNodeWaypoint ()
 Get the waypoint marker to show the location of the current test module. More...
 
object GetScoreModifier (Type scoreModule)
 Gets the modifier value to be applied on a certain score module More...
 
Vector3 GetWorldPosition ()
 Get location where the marker for the node should be displayed in world. More...
 
bool HasNodeBody ()
 
bool HasNodeLabel ()
 Should we create a node label for this object or not? More...
 
bool HasNodeWaypoint ()
 Should we create a waypoint for this object or not? More...
 
bool HasWorldPosition ()
 Does the label represent an actual world position? For example, biomes won't have a world position, but a point in space will. More...
 
override void Initialized ()
 Method to overide if you want to do stuff when a node is activated More...
 
override bool Test ()
 Tests the parameters needed for this More...
 
- Public Member Functions inherited from Expansions.Missions.Tests.TestVessel
override void OnVesselDocking (uint oldId, uint newId)
 If a GameEvents.onVesselDocking occurs we need to check if the old persistentId is the one referenced by this node and store the root Part persistentId for that vessel. Then later if an undock occurs we will find which vessel we are meant to be tracking in this node from the stored root Part persistentId. More...
 
override void OnVesselPersistentIdChanged (uint oldId, uint newId)
 If a persistentId for a vessel changes Event occurs (GameEvents.onVesselPersistentIdChanged) this will check if the vessel Id on this action node is the one changing and change the reference to the new persistentId More...
 
override void OnVesselsUndocking (Vessel oldVessel, Vessel newVessel)
 If a GameEvents.onVesselsUndocking occurs we need to check if one of the vessel PersistentId's involved is the one this node is tracking. If it is, we look for a stored root Part persistentId (if there was a docking event earlier) and find the correct Vessel persistentId to track. More...
 
void vesselSelectorCreated (MEGUIParameter parameter)
 
- Public Member Functions inherited from Expansions.Missions.TestModule
void AddParameterToNodeBody (string parameter)
 Add a parameter to be displayed in the node body Used for batch processing node body parameters If you want an immediate UI update, use AddParameterToNodeBodyAndUpdateUI More...
 
void AddParameterToNodeBodyAndUpdateUI (string parameter)
 Add a parameter to be displayed in the node body Then updates the UI on the node body More...
 
void AddParameterToSAP (string parameter)
 Add a parameter to be displayed in the Settings Action Pane More...
 
virtual void Cleared ()
 Method to overide if you want to do stuff when a node is deactivated More...
 
TestModule ClearTest ()
 Run anything we need on Deactivating a Test More...
 
virtual string GetAppObjectiveInfo ()
 
string GetDisplayName ()
 Get the localized name of the node More...
 
virtual List< IMENodeDisplayGetInternalParametersToDisplay ()
 Gets some more parameters to display. More...
 
string GetName ()
 Get the name of the action module More...
 
MENode GetNode ()
 Get the linked Mission node. More...
 
bool HasNodeBodyParameter (string parameter)
 Evaluates if the parameter is present in the node body display parameters More...
 
bool HasSAPParameter (string parameter)
 Evaluates if the parameter is present in the SAP More...
 
virtual void Initialize (TestGroup testGroup, string title="")
 This is called Once when a TestModule component is instantiated. This is a mandatory Method and will set the MENode reference. Override this method in any action modules that require the MENode reference prior to Awake, but always call the base.Initialize More...
 
TestModule InitializeTest ()
 Run anything we need on Activating a Test More...
 
virtual void OnDestroy ()
 
virtual void OnPartPersistentIdChanged (uint vesselID, uint oldId, uint newId)
 Override this function to catch when a parts persistentId is changed, you should use this to update any partID references in your action where the part is in the correct vessel More...
 
void RemoveParameterFromNodeBody (string parameter)
 Add a parameter to be displayed in the node body Used for batch processing node body parameters If you want an immediate UI update, use AddParameterToNodeBodyAndUpdateUI More...
 
void RemoveParameterFromNodeBodyAndUpdateUI (string parameter)
 Removes a parameter to be displayed in the node body Then updates the UI on the node body More...
 
void RemoveParameterFromSAP (string parameter)
 Remove a parameter to be displayed in the Settings Action Pane More...
 
virtual void RunValidation (MissionEditorValidator validator)
 Override this to add custom Validation checks and results to this object More...
 
void RunValidationWrapper (MissionEditorValidator validator)
 Called to run the Validation checks for this object. More...
 
virtual bool ShouldCreateCheckpoint ()
 Used by the Test Mission checkpoint system to determine whether to create a checkpoint when this module fires or not. More...
 
void UpdateNodeBodyUI ()
 Updates the node body parameters More...
 
- Public Member Functions inherited from Expansions.Missions.ITestModule
void RunValidationWrapper (Editor.MissionEditorValidator validator)
 
- Public Member Functions inherited from Expansions.Missions.INodeWaypoint
FinePrint.Waypoint GetNodeWaypoint ()
 Get the waypoint marker to show the location of the current test module. More...
 
bool HasNodeWaypoint ()
 Should we create a waypoint for this object or not? More...
 
- Public Member Functions inherited from Expansions.Missions.ITestNodeLabel
string GetExtraText ()
 Get extra text to be appended at the end of the node label caption. More...
 
Vector3 GetWorldPosition ()
 Get location where the marker for the node should be displayed in world. More...
 
bool HasNodeLabel ()
 Should we create a node label for this object or not? More...
 
bool HasWorldPosition ()
 Does the label represent an actual world position? For example, biomes won't have a world position, but a point in space will. More...
 
- Public Member Functions inherited from Expansions.Missions.INodeBody
CelestialBody GetNodeBody ()
 Get the CelestialBody associated with this node. More...
 
bool HasNodeBody ()
 Does this Node have a CelestialBody associated with it? More...
 

Protected Attributes

bool ignoreSurfaceVelocity = true
 
ParamChoices_CelestialBodySurface locationSituation
 
double surfaceVelocity = 0.1f
 
- Protected Attributes inherited from Expansions.Missions.Tests.TestVesselSituation
string currentBiome
 
bool locationSuccess
 
bool situationSuccess
 
bool speedSuccess
 
double stabilizationTime = 1
 
double successStartTime = -1
 
MEGUIParameterNumberRange surfaceVelocityRange = null
 ref var to the surface velocity slider More...
 
- Protected Attributes inherited from Expansions.Missions.Tests.TestVessel
bool useActiveVessel
 
Vessel vessel
 

Properties

override bool IgnoreSurfaceVelocity [get]
 
override
ParamChoices_CelestialBodySurface 
LocationSituation [get]
 
override double SurfaceVelocity [get]
 
- Properties inherited from Expansions.Missions.Tests.TestVesselSituation
abstract bool IgnoreSurfaceVelocity [get]
 
abstract
ParamChoices_CelestialBodySurface 
LocationSituation [get]
 
abstract double SurfaceVelocity [get]
 
- Properties inherited from Expansions.Missions.TestModule
string name [get, set]
 the name of the module class More...
 
MENode node [get, set]
 Refernce to the Node that the test is part of More...
 
TestGroup testGroup [get, set]
 Refernce to the Node that the test is part of More...
 
- Properties inherited from Expansions.Missions.ITestNodeLabel
MENode node [get]
 The node related to this test More...
 

Additional Inherited Members

- Public Attributes inherited from Expansions.Missions.Tests.TestVesselSituation
Vessel.Situations situation
 
- Public Attributes inherited from Expansions.Missions.Tests.TestVessel
uint vesselID = 0u
 
- Public Attributes inherited from Expansions.Missions.TestModule
bool hasOrbit = false
 
bool hasWaypoint = false
 True if a WayPoint exists for this module. More...
 
List< string > parametersDisplayedInSAP
 The parameters displayed in the Settings Action Pane More...
 
string title = ""
 The display name for this More...
 

Detailed Description

Test if the selected vessel Splashed Down

Member Function Documentation

override void Expansions.Missions.Tests.TestVesselSituationSplashed.Awake ( )
inlinevirtual
override void Expansions.Missions.Tests.TestVesselSituationSplashed.Load ( ConfigNode  node)
inlinevirtual
override void Expansions.Missions.Tests.TestVesselSituationSplashed.ParameterSetupComplete ( )
inlinevirtual

Perform all the setup operations that we need when the module is initialised in the mission builder.

Perform all the cleaning operations that we need before the module is destroyed.

Can be used as a hook once all the parameters in a module have been setup.

Reimplemented from Expansions.Missions.TestModule.

override void Expansions.Missions.Tests.TestVesselSituationSplashed.Save ( ConfigNode  node)
inlinevirtual

Member Data Documentation

bool Expansions.Missions.Tests.TestVesselSituationSplashed.ignoreSurfaceVelocity = true
protected
ParamChoices_CelestialBodySurface Expansions.Missions.Tests.TestVesselSituationSplashed.locationSituation
protected
double Expansions.Missions.Tests.TestVesselSituationSplashed.surfaceVelocity = 0.1f
protected

Property Documentation

override bool Expansions.Missions.Tests.TestVesselSituationSplashed.IgnoreSurfaceVelocity
get
override ParamChoices_CelestialBodySurface Expansions.Missions.Tests.TestVesselSituationSplashed.LocationSituation
get
override double Expansions.Missions.Tests.TestVesselSituationSplashed.SurfaceVelocity
get

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