Table of Contents

Interface IVehicle

Namespace
KSP
Assembly
Assembly-CSharp.dll
public interface IVehicle
Extension Methods

Properties

AltimeterDisplayMode

AltimeterDisplayMode AltimeterDisplayMode { get; }

Property Value

AltimeterDisplayMode

ControllableActionGroups

IControllableActionGroups ControllableActionGroups { get; }

Property Value

IControllableActionGroups

ControllableInput

IControllableInput ControllableInput { get; }

Property Value

IControllableInput

FlightControlInput

IFlightControlInput FlightControlInput { get; }

Property Value

IFlightControlInput

FlightControllableInput

IFlightControllableInput FlightControllableInput { get; }

Property Value

IFlightControllableInput

FlightControlsMode

FlightControlsMode FlightControlsMode { get; }

Property Value

FlightControlsMode

Guid

IGGuid Guid { get; }

Property Value

IGGuid

IsLandedOrSplashed

bool IsLandedOrSplashed { get; }

Property Value

bool

IsValidInSim

bool IsValidInSim { get; }

Property Value

bool

MainBody

CelestialBodyComponent MainBody { get; }

Property Value

CelestialBodyComponent

OrbitControlInput

IOrbitControlInput OrbitControlInput { get; }

Property Value

IOrbitControlInput

OrbitControllableInput

IOrbitControllableInput OrbitControllableInput { get; }

Property Value

IOrbitControllableInput

Position

Position Position { get; }

Property Value

Position

SpeedDisplayMode

SpeedDisplayMode SpeedDisplayMode { get; }

Property Value

SpeedDisplayMode

Methods

CanPlayerControl(byte)

bool CanPlayerControl(byte playerId)

Parameters

playerId byte

Returns

bool

GetSimVessel(bool)

VesselComponent GetSimVessel(bool requireValidInSim = true)

Parameters

requireValidInSim bool

Returns

VesselComponent

GetSimulationObject(bool)

SimulationObjectModel GetSimulationObject(bool requireValidInSim = true)

Parameters

requireValidInSim bool

Returns

SimulationObjectModel

SetAltimeterDisplayMode(AltimeterDisplayMode, Action<string>)

void SetAltimeterDisplayMode(AltimeterDisplayMode value, Action<string> callback = null)

Parameters

value AltimeterDisplayMode
callback Action<string>

SetFlightControlsMode(FlightControlsMode, Action<string>)

void SetFlightControlsMode(FlightControlsMode value, Action<string> callback = null)

Parameters

value FlightControlsMode
callback Action<string>

SetSpeedDisplayMode(SpeedDisplayMode, Action<string>)

void SetSpeedDisplayMode(SpeedDisplayMode value, Action<string> callback = null)

Parameters

value SpeedDisplayMode
callback Action<string>