C# Class KMP.KMPVesselUpdate

Inheritance: KMPVesselInfo
Show file Open project: TehGimp/KerbalMultiPlayer Class Usage Examples

Public Properties

Property Type Description
crewCount int
dir float[]
distance float
flightCtrlState KMP.KMPFlightCtrlState
id System.Guid
isDockUpdate bool
isMine bool
isPrivate bool
isSyncOnlyUpdate bool
kmpID System.Guid
name String
o_vel double[]
player String
pos float[]
protoVesselNode System.ConfigNode
relTime RelativeTime
relativeTo System.Guid
rot float[]
s_vel double[]
tick double
vel float[]
w_pos double[]

Public Methods

Method Description
KMPVesselUpdate ( System.Guid gameGuid, ConfigNode protoVessel ) : System
KMPVesselUpdate ( Vessel _vessel ) : System
KMPVesselUpdate ( Vessel _vessel, bool includeProtoVessel ) : System
clearProtoVessel ( ) : void
getProtoVesselNode ( ) : ConfigNode
setProtoVessel ( ConfigNode node ) : void

Private Methods

Method Description
InitKMPVesselUpdate ( Vessel _vessel, bool includeProtoVessel ) : void

Method Details

KMPVesselUpdate() public method

public KMPVesselUpdate ( System.Guid gameGuid, ConfigNode protoVessel ) : System
gameGuid System.Guid
protoVessel System.ConfigNode
return System

KMPVesselUpdate() public method

public KMPVesselUpdate ( Vessel _vessel ) : System
_vessel Vessel
return System

KMPVesselUpdate() public method

public KMPVesselUpdate ( Vessel _vessel, bool includeProtoVessel ) : System
_vessel Vessel
includeProtoVessel bool
return System

clearProtoVessel() public method

public clearProtoVessel ( ) : void
return void

getProtoVesselNode() public method

public getProtoVesselNode ( ) : ConfigNode
return System.ConfigNode

setProtoVessel() public method

public setProtoVessel ( ConfigNode node ) : void
node System.ConfigNode
return void

Property Details

crewCount public property

public int crewCount
return int

dir public property

The direction of the vessel relative to its parent body transform
public float[] dir
return float[]

distance public property

public float distance
return float

flightCtrlState public property

public KMPFlightCtrlState,KMP flightCtrlState
return KMP.KMPFlightCtrlState

id public property

The ID of the vessel
public Guid,System id
return System.Guid

isDockUpdate public property

public bool isDockUpdate
return bool

isMine public property

public bool isMine
return bool

isPrivate public property

public bool isPrivate
return bool

isSyncOnlyUpdate public property

public bool isSyncOnlyUpdate
return bool

kmpID public property

public Guid,System kmpID
return System.Guid

name public property

The vessel name
public String name
return String

o_vel public property

Orbit and surface velocity vectors
public double[] o_vel
return double[]

player public property

The player who owns this ship
public String player
return String

pos public property

The position of the vessel relative to its parent body transform
public float[] pos
return float[]

protoVesselNode public property

public ConfigNode,System protoVesselNode
return System.ConfigNode

relTime public property

public RelativeTime relTime
return RelativeTime

relativeTo public property

public Guid,System relativeTo
return System.Guid

rot public property

Rotation quat
public float[] rot
return float[]

s_vel public property

public double[] s_vel
return double[]

tick public property

public double tick
return double

vel public property

The velocity of the vessel relative to its parent body transform
public float[] vel
return float[]

w_pos public property

Used for transferring various context-dependent double values: relative vessel positions in docking mode, needed orbit properties
public double[] w_pos
return double[]