Table of Contents

Class VesselDataProvider

Namespace
KSP.Game
Assembly
Assembly-CSharp.dll
public class VesselDataProvider : DataBus<VesselComponent>, IUpdate
Inheritance
VesselDataProvider
Implements
Inherited Members
Extension Methods

Constructors

VesselDataProvider()

public VesselDataProvider()

Properties

ActionAbort

public PropertyExternal<KSPActionGroupState> ActionAbort { get; }

Property Value

PropertyExternal<KSPActionGroupState>

ActionBarVisibleColony

public PropertyExternal<bool> ActionBarVisibleColony { get; }

Property Value

PropertyExternal<bool>

ActionBarVisibleKerbal

public PropertyExternal<bool> ActionBarVisibleKerbal { get; }

Property Value

PropertyExternal<bool>

ActionBarVisibleVessel

public PropertyExternal<bool> ActionBarVisibleVessel { get; }

Property Value

PropertyExternal<bool>

ActionBarVisibleVesselAndColony

public PropertyExternal<bool> ActionBarVisibleVesselAndColony { get; }

Property Value

PropertyExternal<bool>

ActionBrakes

public PropertyExternal<KSPActionGroupState> ActionBrakes { get; }

Property Value

PropertyExternal<KSPActionGroupState>

ActionGear

public PropertyExternal<KSPActionGroupState> ActionGear { get; }

Property Value

PropertyExternal<KSPActionGroupState>

ActionLights

public PropertyExternal<KSPActionGroupState> ActionLights { get; }

Property Value

PropertyExternal<KSPActionGroupState>

ActionRadiator

public PropertyExternal<KSPActionGroupState> ActionRadiator { get; }

Property Value

PropertyExternal<KSPActionGroupState>

ActionSolar

public PropertyExternal<KSPActionGroupState> ActionSolar { get; }

Property Value

PropertyExternal<KSPActionGroupState>

CanContainCommandCrew

public PropertyExternal<bool> CanContainCommandCrew { get; }

Property Value

PropertyExternal<bool>

CanShowPortraitUI

public PropertyExternal<bool> CanShowPortraitUI { get; }

Property Value

PropertyExternal<bool>

CurrentActionBarDisplayMode

public PropertyExternal<ActionBarDisplayMode> CurrentActionBarDisplayMode { get; }

Property Value

PropertyExternal<ActionBarDisplayMode>

InputPitch

public PropertyExternal<float> InputPitch { get; }

Property Value

PropertyExternal<float>

InputRoll

public PropertyExternal<float> InputRoll { get; }

Property Value

PropertyExternal<float>

InputYaw

public PropertyExternal<float> InputYaw { get; }

Property Value

PropertyExternal<float>

LandedOrSplashed

public PropertyExternal<bool> LandedOrSplashed { get; }

Property Value

PropertyExternal<bool>

LiveInternalCameras

public PropertyExternal<IReadOnlyList<(Camera Camera, int SeatIndex)>> LiveInternalCameras { get; }

Property Value

PropertyExternal<IReadOnlyList<(Camera Camera, int SeatIndex)>>

MainBody

public PropertyExternal<string> MainBody { get; }

Property Value

PropertyExternal<string>

MissionElapsedTime

public PropertyExternal<double> MissionElapsedTime { get; }

Property Value

PropertyExternal<double>

PartActivated

public PropertyExternal<string> PartActivated { get; }

Property Value

PropertyExternal<string>

Pitch

public PropertyExternal<float> Pitch { get; }

Property Value

PropertyExternal<float>

Pitch_HorizonRelative_Degrees

public PropertyExternal<double> Pitch_HorizonRelative_Degrees { get; }

Property Value

PropertyExternal<double>

Position

public PropertyExternal<Position> Position { get; }

Property Value

PropertyExternal<Position>

Roll

public PropertyExternal<float> Roll { get; }

Property Value

PropertyExternal<float>

Roll_HorizonRelative_Degrees

public PropertyExternal<double> Roll_HorizonRelative_Degrees { get; }

Property Value

PropertyExternal<double>

Throttle

public PropertyExternal<float> Throttle { get; }

Property Value

PropertyExternal<float>

TranslateX

public PropertyExternal<float> TranslateX { get; }

Property Value

PropertyExternal<float>

TranslateY

public PropertyExternal<float> TranslateY { get; }

Property Value

PropertyExternal<float>

TranslateZ

public PropertyExternal<float> TranslateZ { get; }

Property Value

PropertyExternal<float>

TrimPitch

public PropertyExternal<double> TrimPitch { get; }

Property Value

PropertyExternal<double>

TrimRoll

public PropertyExternal<double> TrimRoll { get; }

Property Value

PropertyExternal<double>

TrimYaw

public PropertyExternal<double> TrimYaw { get; }

Property Value

PropertyExternal<double>

Yaw

public PropertyExternal<float> Yaw { get; }

Property Value

PropertyExternal<float>

Yaw_HorizonRelative_Degrees

public PropertyExternal<double> Yaw_HorizonRelative_Degrees { get; }

Property Value

PropertyExternal<double>

Methods

OnUpdate(float)

public void OnUpdate(float deltaTime)

Parameters

deltaTime float

Reset()

public override void Reset()

SyncTo(VesselComponent)

public override void SyncTo(VesselComponent dataSource)

Parameters

dataSource VesselComponent

ValidateProperties()

protected override void ValidateProperties()

Events

UpdatePortraitUI

public event Action<IReadOnlyList<(Camera Camera, int SeatIndex)>> UpdatePortraitUI

Event Type

Action<IReadOnlyList<(Camera Camera, int SeatIndex)>>