Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
Expansions.Missions.ITestModule Interface Reference

Implement this on a Test Module to be able to run tests, interface ensures we can generically load it like part modules More...

Inheritance diagram for Expansions.Missions.ITestModule:
IConfigNode Expansions.Missions.IMENodeDisplay Expansions.Missions.TestModule Expansions.Missions.Tests.TestAccuracy Expansions.Missions.Tests.TestCrewAssignment Expansions.Missions.Tests.TestDistance Expansions.Missions.Tests.TestEmptyFalse Expansions.Missions.Tests.TestEmptyTrue Expansions.Missions.Tests.TestFundsRecovery Expansions.Missions.Tests.TestGameEvent Expansions.Missions.Tests.TestGrapple Expansions.Missions.Tests.TestKerbalBoarded Expansions.Missions.Tests.TestKerbalEVA Expansions.Missions.Tests.TestKerbalKilled Expansions.Missions.Tests.TestKerbalRecovery Expansions.Missions.Tests.TestKerbalRescue Expansions.Missions.Tests.TestMissionFunds Expansions.Missions.Tests.TestMissionScore Expansions.Missions.Tests.TestMissionTime Expansions.Missions.Tests.TestPartDocking Expansions.Missions.Tests.TestPlantFlag Expansions.Missions.Tests.TestScienceExperiment Expansions.Missions.Tests.TestTakeKerbal Expansions.Missions.Tests.TestTimeSinceNode Expansions.Missions.Tests.TestVessel Expansions.Missions.Tests.TestVesselActiveCount

Public Member Functions

TestModule ClearTest ()
 
string GetAppObjectiveInfo ()
 
void Initialize (TestGroup testGroup, string title="")
 
TestModule InitializeTest ()
 
void RunValidationWrapper (Editor.MissionEditorValidator validator)
 
bool ShouldCreateCheckpoint ()
 
bool Test ()
 
- Public Member Functions inherited from IConfigNode
void Load (ConfigNode node)
 
void Save (ConfigNode node)
 
- Public Member Functions inherited from Expansions.Missions.IMENodeDisplay
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...
 
string GetDisplayName ()
 Get the localized name of the action module More...
 
string GetInfo ()
 Get the information to be displayed about the module in the tooltip. More...
 
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...
 
string GetNodeBodyParameterString (BaseAPField field)
 Returns the string to be displayed when the parameter is displayed in the node body 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...
 
void ParameterSetupComplete ()
 Can be used as a hook once all the parameters in a module have been setup and/or displayed in the SAP. 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...
 
void UpdateNodeBodyUI ()
 Updates the node body parameters More...
 

Detailed Description

Implement this on a Test Module to be able to run tests, interface ensures we can generically load it like part modules

Member Function Documentation

TestModule Expansions.Missions.ITestModule.ClearTest ( )
string Expansions.Missions.ITestModule.GetAppObjectiveInfo ( )
void Expansions.Missions.ITestModule.Initialize ( TestGroup  testGroup,
string  title = "" 
)
TestModule Expansions.Missions.ITestModule.InitializeTest ( )
void Expansions.Missions.ITestModule.RunValidationWrapper ( Editor.MissionEditorValidator  validator)
bool Expansions.Missions.ITestModule.ShouldCreateCheckpoint ( )
bool Expansions.Missions.ITestModule.Test ( )

Implemented in Expansions.Missions.Tests.TestDistance, Expansions.Missions.Tests.TestOrbitParams, Expansions.Missions.Tests.TestGrapple, Expansions.Missions.TestModule, Expansions.Missions.Tests.TestVesselVelocity, Expansions.Missions.Tests.TestTakeKerbal, Expansions.Missions.Tests.TestPartDocking, Expansions.Missions.Tests.TestResourcesRecovery, Expansions.Missions.Tests.TestOrbit, Expansions.Missions.Tests.TestKerbalBoarded, Expansions.Missions.Tests.TestVessel, Expansions.Missions.Tests.TestKerbalEVA, Expansions.Missions.Tests.TestScienceExperiment, Expansions.Missions.Tests.TestFundsRecovery, Expansions.Missions.Tests.TestKerbalRescue, Expansions.Missions.Tests.TestVesselActiveCount, Expansions.Missions.Tests.TestFlyThrough, Expansions.Missions.Tests.TestKerbalRecovery, Expansions.Missions.Tests.TestKerbalKilled, Expansions.Missions.Tests.TestGoTo, Expansions.Missions.Tests.TestVesselStateCrashed, Expansions.Missions.Tests.TestSOIReached, Expansions.Missions.Tests.TestVesselCrewCount, Expansions.Missions.Tests.TestVesselSituation, Expansions.Missions.Tests.TestPlantFlag, Expansions.Missions.Tests.TestVesselResource, Expansions.Missions.Tests.TestSOILeft, Expansions.Missions.Tests.TestVesselRecovery, Expansions.Missions.Tests.TestCrewAssignment, Expansions.Missions.Tests.TestTimeSinceNode, Expansions.Missions.Tests.TestMETTime, Expansions.Missions.Tests.TestMissionFunds, Expansions.Missions.Tests.TestMissionScore, Expansions.Missions.Tests.TestMissionTime, Expansions.Missions.Tests.TestVesselAltitude, Expansions.Missions.Tests.TestAccuracy, Expansions.Missions.Tests.TestVesselStage, Expansions.Missions.Tests.TestVesselMass, Expansions.Missions.Tests.TestVesselPartCount, Expansions.Missions.Tests.TestVesselStageActivated, Expansions.Missions.Tests.TestVesselState, Expansions.Missions.Tests.TestVesselActive, Expansions.Missions.Tests.TestGameEvent, Expansions.Missions.Tests.TestEmptyFalse, and Expansions.Missions.Tests.TestEmptyTrue.


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