Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Protected Member Functions | Properties | List of all members
SaveUpgradePipeline.v180_ModuleControlSurface Class Reference
Inheritance diagram for SaveUpgradePipeline.v180_ModuleControlSurface:
SaveUpgradePipeline.UpgradeScript

Public Member Functions

override TestResult OnTest (ConfigNode node, LoadContext loadContext, ref string nodeName)
 
override void OnUpgrade (ConfigNode node, LoadContext loadContext, ConfigNode parentNode)
 The OnUpgrade method that is called when a node has tested successfully and will be actioned More...
 
- Public Member Functions inherited from SaveUpgradePipeline.UpgradeScript
bool AppliesInContext (LoadContext ctx)
 
void Init (LoadContext contextMask, string nodeUrlCraft, string nodeUrlSFS)
 
virtual TestResult Test (ConfigNode n, LoadContext loadContext)
 
override string ToString ()
 
virtual void Upgrade (ConfigNode n, LoadContext loadContext)
 

Static Protected Member Functions

static void ConvertControlAuthority (ConfigNode mNode, ModuleControlSurface module)
 
static void ConvertControlAuthorityAxisGroup (ConfigNode mNode)
 

Properties

override string Description [get]
 
override Version EarliestCompatibleVersion [get]
 
override string Name [get]
 
override Version TargetVersion [get]
 
- Properties inherited from SaveUpgradePipeline.UpgradeScript
abstract string Description [get]
 
abstract Version EarliestCompatibleVersion [get]
 
abstract string Name [get]
 
abstract Version TargetVersion [get]
 

Additional Inherited Members

- Public Attributes inherited from SaveUpgradePipeline.UpgradeScript
LoadContext ContextMask
 
- Protected Member Functions inherited from SaveUpgradePipeline.UpgradeScript
virtual bool CheckMaxVersion (Version v)
 
virtual bool CheckMinVersion (Version v)
 
virtual Version GetCfgNodeVersion (ConfigNode n, LoadContext loadContext)
 
string GetNodeURL (LoadContext loadContext)
 
void LogTestResults (string nodeName, TestResult test)
 
virtual void OnInit ()
 
void RecurseNodes (ConfigNode node, string[] urlNodes, int level, Callback< ConfigNode, ConfigNode > cb, ConfigNode parent=null)
 
virtual TestResult VersionTest (Version v)
 
- Protected Attributes inherited from SaveUpgradePipeline.UpgradeScript
string nodeUrlCraft
 
string nodeUrlSFS
 

Member Function Documentation

static void SaveUpgradePipeline.v180_ModuleControlSurface.ConvertControlAuthority ( ConfigNode  mNode,
ModuleControlSurface  module 
)
inlinestaticprotected
static void SaveUpgradePipeline.v180_ModuleControlSurface.ConvertControlAuthorityAxisGroup ( ConfigNode  mNode)
inlinestaticprotected
override TestResult SaveUpgradePipeline.v180_ModuleControlSurface.OnTest ( ConfigNode  node,
LoadContext  loadContext,
ref string  nodeName 
)
inlinevirtual
override void SaveUpgradePipeline.v180_ModuleControlSurface.OnUpgrade ( ConfigNode  node,
LoadContext  loadContext,
ConfigNode  parentNode 
)
inlinevirtual

The OnUpgrade method that is called when a node has tested successfully and will be actioned

Parameters
nodeThe node to be actioned
loadContextWhat load context is the node being accessed in
parentNodeThe parent of this node from the recurse process - typically used to get the vessel from a part

Implements SaveUpgradePipeline.UpgradeScript.

Property Documentation

override string SaveUpgradePipeline.v180_ModuleControlSurface.Description
get
override Version SaveUpgradePipeline.v180_ModuleControlSurface.EarliestCompatibleVersion
get
override string SaveUpgradePipeline.v180_ModuleControlSurface.Name
get
override Version SaveUpgradePipeline.v180_ModuleControlSurface.TargetVersion
get

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