Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Static Public Member Functions | List of all members
APSkillExtensions Class Reference

Static Public Member Functions

static bool AvailableAtLevel (this VesselAutopilot.AutopilotMode mode, Vessel vessel)
 Compares the supplied skill level with the available skills in the vessel More...
 
static bool AvailableAtLevel (this VesselAutopilot.AutopilotMode mode, int skillLvl)
 Compares the supplied skill level with the required skill level for this mode More...
 
static int GetRequiredSkill (this VesselAutopilot.AutopilotMode mode)
 

Member Function Documentation

static bool APSkillExtensions.AvailableAtLevel ( this VesselAutopilot.AutopilotMode  mode,
Vessel  vessel 
)
inlinestatic

Compares the supplied skill level with the available skills in the vessel

Parameters
modeThe mode being asked about
vesselThe vessel being checked
Returns
True if the mode is available to this vessel
static bool APSkillExtensions.AvailableAtLevel ( this VesselAutopilot.AutopilotMode  mode,
int  skillLvl 
)
inlinestatic

Compares the supplied skill level with the required skill level for this mode

Note: This version is obselete and you should use the other version that takes a vessel

AvailableAtLevel(VesselAutopilot.AutopilotMode, int)

Parameters
modeThe mode being asked about
skillLvlThe level being compare to
Returns
True if the mode is available at this skill level
static int APSkillExtensions.GetRequiredSkill ( this VesselAutopilot.AutopilotMode  mode)
inlinestatic

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