Kerbal Space Program
1.12.4
|
Public Member Functions | |
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 object | Clone () |
virtual void | Destroy () |
Perform all the cleaning operations that we need before the module is destroyed. More... | |
DynamicModule () | |
DynamicModule (MENode node) | |
Creates a new instance of this dynamic module More... | |
override bool | Equals (object obj) |
virtual List< string > | GetDefaultPinnedParameters () |
Get a list of default node pinned parameters for this dynamic module More... | |
virtual string | GetDisplayName () |
Get the display name for this module More... | |
virtual string | GetDisplayToolTip () |
Get the tooltip for this module UI More... | |
override int | GetHashCode () |
virtual string | GetInfo () |
Get the information to be displayed about the module in the tooltip. More... | |
List< IMENodeDisplay > | GetInternalParametersToDisplay () |
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... | |
virtual 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... | |
virtual void | Initialize () |
Perform all the setup operations that we need when the module is initialised in the mission builder. More... | |
virtual void | Load (ConfigNode node) |
virtual 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... | |
virtual void | Save (ConfigNode node) |
void | SetNode (MENode node) |
Sets the linked Mission Node More... | |
void | UpdateNodeBodyUI () |
Updates the node body parameters More... | |
Public Attributes | |
List< string > | parametersDisplayedInSAP |
The parameters displayed in the Settings Action Pane More... | |
Protected Attributes | |
MENode | node |
Refernce to the Node that the action is part of More... | |
Properties | |
virtual bool | canBeDisplayedInEditor [get] |
Does this dynamic module can be displayed in the editor More... | |
string | id [get, set] |
Id of this dynamic module instance, this is a unique autogenerated number to diferenciate mutliple instance of the same type More... | |
string | name [get, set] |
the name of the module class More... | |
|
inline |
|
inline |
Creates a new instance of this dynamic module
|
inline |
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
Implements Expansions.Missions.IMENodeDisplay.
|
inline |
Add a parameter to be displayed in the node body Then updates the UI on the node body
Implements Expansions.Missions.IMENodeDisplay.
|
inline |
Add a parameter to be displayed in the Settings Action Pane
Implements Expansions.Missions.IMENodeDisplay.
|
inlinevirtual |
|
inlinevirtual |
Perform all the cleaning operations that we need before the module is destroyed.
|
inline |
|
inlinevirtual |
Get a list of default node pinned parameters for this dynamic module
Reimplemented in Expansions.Missions.ScoreModule_Accuracy, Expansions.Missions.ScoreModule_Resource, Expansions.Missions.ScoreModule_Modifier, Expansions.Missions.ScoreModule_Time, and Expansions.Missions.ScoreModule_Completion.
|
inlinevirtual |
Get the display name for this module
Implements Expansions.Missions.IMENodeDisplay.
Reimplemented in Expansions.Missions.Adjusters.AdjusterPartModuleBase, Expansions.Missions.AwardModule, Expansions.Missions.ScoreModule_Accuracy, Expansions.Missions.VesselRestriction_Resource, Expansions.Missions.VesselRestriction_Size, Expansions.Missions.VesselRestriction_Crew, Expansions.Missions.VesselRestriction_Mass, Expansions.Missions.ScoreModule_Modifier, Expansions.Missions.VesselRestriction_Stages, Expansions.Missions.VesselRestriction_Cost, Expansions.Missions.VesselRestriction, Expansions.Missions.VesselRestriction_PartCount, Expansions.Missions.VesselRestriction_RequiredParts, Expansions.Missions.ScoreModule_Time, Expansions.Missions.ScoreModule_Resource, and Expansions.Missions.ScoreModule_Completion.
|
inlinevirtual |
Get the tooltip for this module UI
Reimplemented in Expansions.Missions.ScoreModule_Modifier, and Expansions.Missions.ScoreModule_Completion.
|
inline |
|
inlinevirtual |
Get the information to be displayed about the module in the tooltip.
Implements Expansions.Missions.IMENodeDisplay.
Reimplemented in Expansions.Missions.ScoreModule_Accuracy, Expansions.Missions.ScoreModule_Resource, Expansions.Missions.ScoreModule_Modifier, Expansions.Missions.ScoreModule_Time, and Expansions.Missions.ScoreModule_Completion.
|
inline |
Gets some more parameters to display.
Implements Expansions.Missions.IMENodeDisplay.
|
inline |
Get the name of the action module
Implements Expansions.Missions.IMENodeDisplay.
|
inline |
Get the linked Mission node.
Implements Expansions.Missions.IMENodeDisplay.
|
inlinevirtual |
Returns the string to be displayed when the parameter is displayed in the node body
field |
Implements Expansions.Missions.IMENodeDisplay.
Reimplemented in Expansions.Missions.Adjusters.AdjusterPartModuleBase, Expansions.Missions.ScoreModule_Accuracy, Expansions.Missions.Adjusters.FailureLightFlickering, Expansions.Missions.Adjusters.AdjusterReactionWheelTorque, Expansions.Missions.Adjusters.AdjusterGimbalLimitControl, Expansions.Missions.Adjusters.AdjusterDataTransmitterPower, Expansions.Missions.ScoreModule, Expansions.Missions.ScoreModule_Modifier, Expansions.Missions.ScoreModule_Resource, Expansions.Missions.Adjusters.AdjusterActiveRadiatorMaxEnergyTransfer, Expansions.Missions.Adjusters.AdjusterAlternatorOutput, Expansions.Missions.Adjusters.AdjusterDeployableSolarPanelEfficiency, Expansions.Missions.Adjusters.AdjusterLiftingSurfaceLiftForce, Expansions.Missions.Adjusters.AdjusterLightIntensity, Expansions.Missions.Adjusters.AdjusterWheelBrakesTorque, Expansions.Missions.Adjusters.AdjusterWheelMotorTorque, Expansions.Missions.Adjusters.AdjusterControlSurfaceActuatorSpeed, Expansions.Missions.Adjusters.AdjusterGeneratorEfficiency, Expansions.Missions.Adjusters.AdjusterEnginesThrottle, Expansions.Missions.Adjusters.AdjusterSASServiceLevel, and Expansions.Missions.ScoreModule_Time.
|
inline |
Evaluates if the parameter is present in the node body display parameters
parameter |
Implements Expansions.Missions.IMENodeDisplay.
|
inline |
Evaluates if the parameter is present in the SAP
parameter |
Implements Expansions.Missions.IMENodeDisplay.
|
inlinevirtual |
Perform all the setup operations that we need when the module is initialised in the mission builder.
|
inlinevirtual |
Implements IConfigNode.
Reimplemented in Expansions.Missions.Adjusters.AdjusterPartModuleBase, Expansions.Missions.ScoreModule_Accuracy, Expansions.Missions.AwardModule_Fuel, Expansions.Missions.AwardModule, Expansions.Missions.ScoreModule_Resource, Expansions.Missions.ScoreModule_Modifier, Expansions.Missions.Adjusters.AdjusterReactionWheelTorque, Expansions.Missions.Adjusters.AdjusterGimbalLimitControl, Expansions.Missions.Adjusters.FailureLightFlickering, Expansions.Missions.Adjusters.AdjusterDataTransmitterPower, Expansions.Missions.ScoreModule_Time, Expansions.Missions.Adjusters.FailureActiveRadiatorStuck, Expansions.Missions.AwardModule_LandedOn, Expansions.Missions.Adjusters.FailureCargoBayStuck, Expansions.Missions.Adjusters.AdjusterAlternatorOutput, Expansions.Missions.Adjusters.AdjusterActiveRadiatorMaxEnergyTransfer, Expansions.Missions.Adjusters.AdjusterDeployableSolarPanelEfficiency, Expansions.Missions.Adjusters.AdjusterLiftingSurfaceLiftForce, Expansions.Missions.Adjusters.AdjusterLightIntensity, Expansions.Missions.Adjusters.AdjusterWheelBrakesTorque, Expansions.Missions.Adjusters.AdjusterWheelMotorTorque, Expansions.Missions.Adjusters.FailureDeployablePartStuck, Expansions.Missions.Adjusters.AdjusterControlSurfaceActuatorSpeed, Expansions.Missions.Adjusters.AdjusterGeneratorEfficiency, Expansions.Missions.Adjusters.FailureReactionWheelStuck, Expansions.Missions.ScoreModule_Completion, Expansions.Missions.Adjusters.AdjusterEnginesThrottle, Expansions.Missions.ScoreModule, Expansions.Missions.Adjusters.AdjusterSASServiceLevel, Expansions.Missions.VesselRestriction_Cost, Expansions.Missions.Adjusters.FailureWheelDeploymentStuck, Expansions.Missions.AwardModule_PlanetsLanded, Expansions.Missions.AwardModule_TraveledLessThan, Expansions.Missions.AwardModule_TraveledMoreThan, Expansions.Missions.Adjusters.FailureCrossfeedStuck, Expansions.Missions.Adjusters.FailureLightStuck, Expansions.Missions.Adjusters.FailureResourceIntakeStuck, Expansions.Missions.AwardModule_VesselsUsed, Expansions.Missions.AwardModule_KerbalsSurvived, Expansions.Missions.VesselRestriction_Resource, Expansions.Missions.VesselRestriction_Size, Expansions.Missions.VesselRestriction_Crew, Expansions.Missions.AwardModule_Score, Expansions.Missions.VesselRestriction_Mass, Expansions.Missions.AwardModule_MissionTime, Expansions.Missions.VesselRestriction_Stages, Expansions.Missions.VesselRestriction_PartCount, and Expansions.Missions.VesselRestriction_RequiredParts.
|
inlinevirtual |
Can be used as a hook once all the parameters in a module have been setup and/or displayed in the SAP.
Implements Expansions.Missions.IMENodeDisplay.
|
inline |
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
Implements Expansions.Missions.IMENodeDisplay.
|
inline |
Removes a parameter to be displayed in the node body Then updates the UI on the node body
Implements Expansions.Missions.IMENodeDisplay.
|
inline |
Remove a parameter to be displayed in the Settings Action Pane
Implements Expansions.Missions.IMENodeDisplay.
|
inlinevirtual |
Implements IConfigNode.
Reimplemented in Expansions.Missions.Adjusters.AdjusterPartModuleBase, Expansions.Missions.AwardModule_Fuel, Expansions.Missions.ScoreModule_Accuracy, Expansions.Missions.ScoreModule_Resource, Expansions.Missions.AwardModule, Expansions.Missions.ScoreModule_Modifier, Expansions.Missions.ScoreModule_Time, Expansions.Missions.Adjusters.AdjusterReactionWheelTorque, Expansions.Missions.Adjusters.AdjusterGimbalLimitControl, Expansions.Missions.Adjusters.FailureLightFlickering, Expansions.Missions.AwardModule_LandedOn, Expansions.Missions.Adjusters.AdjusterDataTransmitterPower, Expansions.Missions.VesselRestriction_Cost, Expansions.Missions.Adjusters.FailureActiveRadiatorStuck, Expansions.Missions.AwardModule_VesselsUsed, Expansions.Missions.ScoreModule_Completion, Expansions.Missions.AwardModule_PlanetsLanded, Expansions.Missions.AwardModule_TraveledLessThan, Expansions.Missions.AwardModule_TraveledMoreThan, Expansions.Missions.ScoreModule, Expansions.Missions.Adjusters.FailureCargoBayStuck, Expansions.Missions.VesselRestriction_Resource, Expansions.Missions.VesselRestriction_Size, Expansions.Missions.AwardModule_KerbalsSurvived, Expansions.Missions.Adjusters.AdjusterAlternatorOutput, Expansions.Missions.Adjusters.FailureDeployablePartStuck, Expansions.Missions.Adjusters.AdjusterActiveRadiatorMaxEnergyTransfer, Expansions.Missions.Adjusters.AdjusterDeployableSolarPanelEfficiency, Expansions.Missions.Adjusters.AdjusterLiftingSurfaceLiftForce, Expansions.Missions.Adjusters.AdjusterLightIntensity, Expansions.Missions.Adjusters.AdjusterWheelBrakesTorque, Expansions.Missions.Adjusters.AdjusterWheelMotorTorque, Expansions.Missions.Adjusters.FailureReactionWheelStuck, Expansions.Missions.Adjusters.AdjusterControlSurfaceActuatorSpeed, Expansions.Missions.Adjusters.AdjusterGeneratorEfficiency, Expansions.Missions.Adjusters.AdjusterEnginesThrottle, Expansions.Missions.Adjusters.AdjusterSASServiceLevel, Expansions.Missions.VesselRestriction_Crew, Expansions.Missions.Adjusters.FailureWheelDeploymentStuck, Expansions.Missions.Adjusters.FailureCrossfeedStuck, Expansions.Missions.Adjusters.FailureLightStuck, Expansions.Missions.Adjusters.FailureResourceIntakeStuck, Expansions.Missions.VesselRestriction_Mass, Expansions.Missions.VesselRestriction_Stages, Expansions.Missions.VesselRestriction_PartCount, Expansions.Missions.AwardModule_Score, Expansions.Missions.AwardModule_MissionTime, and Expansions.Missions.VesselRestriction_RequiredParts.
|
inline |
Updates the node body parameters
Implements Expansions.Missions.IMENodeDisplay.
|
protected |
Refernce to the Node that the action is part of
List<string> Expansions.Missions.DynamicModule.parametersDisplayedInSAP |
The parameters displayed in the Settings Action Pane
|
get |
Does this dynamic module can be displayed in the editor
|
getset |
Id of this dynamic module instance, this is a unique autogenerated number to diferenciate mutliple instance of the same type
|
getset |
the name of the module class