C# Class KMP.KMPVesselUpdate

Inheritance: KMPVesselInfo
显示文件 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_oe property

public int crewCount
return int

dir public_oe property

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

distance public_oe property

public float distance
return float

flightCtrlState public_oe property

public KMPFlightCtrlState,KMP flightCtrlState
return KMP.KMPFlightCtrlState

id public_oe property

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

isDockUpdate public_oe property

public bool isDockUpdate
return bool

isMine public_oe property

public bool isMine
return bool

isPrivate public_oe property

public bool isPrivate
return bool

isSyncOnlyUpdate public_oe property

public bool isSyncOnlyUpdate
return bool

kmpID public_oe property

public Guid,System kmpID
return System.Guid

name public_oe property

The vessel name
public String name
return String

o_vel public_oe property

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

player public_oe property

The player who owns this ship
public String player
return String

pos public_oe property

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

protoVesselNode public_oe property

public ConfigNode,System protoVesselNode
return System.ConfigNode

relTime public_oe property

public RelativeTime relTime
return RelativeTime

relativeTo public_oe property

public Guid,System relativeTo
return System.Guid

rot public_oe property

Rotation quat
public float[] rot
return float[]

s_vel public_oe property

public double[] s_vel
return double[]

tick public_oe property

public double tick
return double

vel public_oe property

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

w_pos public_oe property

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