Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
Expansions.Missions.ScoreModule_Accuracy Class Reference
Inheritance diagram for Expansions.Missions.ScoreModule_Accuracy:
Expansions.Missions.ScoreModule Expansions.Missions.DynamicModule IConfigNode Expansions.Missions.IMENodeDisplay

Public Member Functions

override float AwardScore (float currentScore)
 Award score based on the objective completion accuracy More...
 
override bool Equals (object obj)
 
override List< string > GetDefaultPinnedParameters ()
 Get a list of default node pinned parameters for this dynamic module More...
 
override string GetDisplayName ()
 Get the display name for this module More...
 
override int GetHashCode ()
 
override string GetInfo ()
 Get the information to be displayed about the module in the tooltip. More...
 
override string GetNodeBodyParameterString (BaseAPField field)
 Returns the string to be displayed when the parameter is displayed in the node body More...
 
override void Load (ConfigNode node)
 
override void Save (ConfigNode node)
 
override string ScoreDescription ()
 Get the score description of this score module More...
 
 ScoreModule_Accuracy ()
 
 ScoreModule_Accuracy (MENode node)
 
- Public Member Functions inherited from Expansions.Missions.ScoreModule
string AwarededScoreDescription ()
 Get the awarded score description of this score module More...
 
 ScoreModule ()
 Creates a new instance of this score module More...
 
 ScoreModule (MENode node)
 Creates a new instance of this score module More...
 
- Public Member Functions inherited from Expansions.Missions.DynamicModule
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 string GetDisplayToolTip ()
 Get the tooltip for this module UI More...
 
override int GetHashCode ()
 
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 ()
 Perform all the setup operations that we need when the module is initialised in the mission builder. More...
 
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...
 
void SetNode (MENode node)
 Sets the linked Mission Node More...
 
void UpdateNodeBodyUI ()
 Updates the node body parameters More...
 

Public Attributes

List< ScoreRangescoreRanges
 
- Public Attributes inherited from Expansions.Missions.DynamicModule
List< string > parametersDisplayedInSAP
 The parameters displayed in the Settings Action Pane More...
 

Additional Inherited Members

- Protected Attributes inherited from Expansions.Missions.ScoreModule
string awardedScoreDescription
 When you get an score in this module, this will store the details of that score More...
 
- Protected Attributes inherited from Expansions.Missions.DynamicModule
MENode node
 Refernce to the Node that the action is part of More...
 
- Properties inherited from Expansions.Missions.ScoreModule
IScoreableObjective scoreableObjective [get]
 Get the reference to the docked node scoreable objective More...
 
- Properties inherited from Expansions.Missions.DynamicModule
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...
 

Constructor & Destructor Documentation

Expansions.Missions.ScoreModule_Accuracy.ScoreModule_Accuracy ( )
inline
Expansions.Missions.ScoreModule_Accuracy.ScoreModule_Accuracy ( MENode  node)
inline

Member Function Documentation

override float Expansions.Missions.ScoreModule_Accuracy.AwardScore ( float  currentScore)
inlinevirtual

Award score based on the objective completion accuracy

Parameters
currentScore
Returns

Reimplemented from Expansions.Missions.ScoreModule.

override bool Expansions.Missions.ScoreModule_Accuracy.Equals ( object  obj)
inline
override List<string> Expansions.Missions.ScoreModule_Accuracy.GetDefaultPinnedParameters ( )
inlinevirtual

Get a list of default node pinned parameters for this dynamic module

Returns

Reimplemented from Expansions.Missions.DynamicModule.

override string Expansions.Missions.ScoreModule_Accuracy.GetDisplayName ( )
inlinevirtual

Get the display name for this module

Returns

Reimplemented from Expansions.Missions.DynamicModule.

override int Expansions.Missions.ScoreModule_Accuracy.GetHashCode ( )
inline
override string Expansions.Missions.ScoreModule_Accuracy.GetInfo ( )
inlinevirtual

Get the information to be displayed about the module in the tooltip.

Returns
Information to be displayed about the module in the tooltip

Reimplemented from Expansions.Missions.DynamicModule.

override string Expansions.Missions.ScoreModule_Accuracy.GetNodeBodyParameterString ( BaseAPField  field)
inlinevirtual

Returns the string to be displayed when the parameter is displayed in the node body

Parameters
field
Returns

Reimplemented from Expansions.Missions.ScoreModule.

override void Expansions.Missions.ScoreModule_Accuracy.Load ( ConfigNode  node)
inlinevirtual

Reimplemented from Expansions.Missions.ScoreModule.

override void Expansions.Missions.ScoreModule_Accuracy.Save ( ConfigNode  node)
inlinevirtual

Reimplemented from Expansions.Missions.ScoreModule.

override string Expansions.Missions.ScoreModule_Accuracy.ScoreDescription ( )
inlinevirtual

Get the score description of this score module

Returns

Reimplemented from Expansions.Missions.ScoreModule.

Member Data Documentation

List<ScoreRange> Expansions.Missions.ScoreModule_Accuracy.scoreRanges

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