C# 클래스 kOS.Suffixed.VesselTarget

상속: Orbitable, IKOSTargetable
파일 보기 프로젝트 열기: KSP-KOS/KOS 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetAllTaggedParts kOS.Suffixed.ListValue
GetHorizontalSrfSpeed ScalarValue
GetModulesInGroup ListValue
GetModulesNamed ListValue
GetPartsDubbed ListValue
GetPartsInGroup ListValue
GetPartsNamed ListValue
GetPartsTagged ListValue
GetPartsTitled ListValue
GetRawPartsNamed IEnumerable
GetRawPartsTagged IEnumerable
GetRawPartsTitled IEnumerable
InitializeSuffixes void
RawAngularVelFromRelative Vector
RenameVessel void
RetypeVessel void
VesselTarget System

공개 메소드들

메소드 설명
Dump ( ) : Dump
Equals ( object obj ) : bool
GetAllParts ( ) : kOS.Suffixed.ListValue
GetAvailableThrustAt ( ScalarValue atmPressure ) : ScalarValue
GetControlPart ( ) : global::Part
GetCrew ( ) : kOS.Suffixed.ListValue
GetCrewCapacity ( ) : ScalarValue
GetDistance ( ) : ScalarValue
GetFlightControl ( ) : FlightControl
GetGuid ( ) : Guid
GetHashCode ( ) : int
GetMaxThrustAt ( ScalarValue atmPressure ) : ScalarValue
GetMessages ( ) : MessageQueueStructure
GetName ( ) : StringValue
GetNorthVector ( ) : Vector
GetOrbitAtUT ( double desiredUT ) : Orbit

Calculate which orbit patch contains the timestamp given.

GetPosition ( ) : Vector
GetPositionAtUT ( TimeSpan timeStamp ) : Vector

Calculates the position of this vessel at some future universal timestamp, taking into account all currently predicted SOI transition patches, and also assuming that all the planned maneuver nodes will actually be executed precisely as planned. Note that this cannot "see" into the future any farther than the KSP orbit patches setting allows for.

GetSuffix ( string suffixName ) : ISuffixResult
GetUpVector ( ) : Vector
GetVelocities ( ) : OrbitableVelocity
GetVelocitiesAtUT ( TimeSpan timeStamp ) : OrbitableVelocity

Calculates the velocities of this vessel at some future universal timestamp, taking into account all currently predicted SOI transition patches, and also assuming that all the planned maneuver nodes will actually be executed precisely as planned. Note that this cannot "see" into the future any farther than the KSP orbit patches setting allows for.

LoadDump ( Dump dump ) : void
ThrowIfNotCPUVessel ( ) : void
ToString ( ) : string
VesselTarget ( SharedObjects shared ) : System
VesselTarget ( Vessel target, SharedObjects shared ) : System
operator ( ) : bool

보호된 메소드들

메소드 설명
Equals ( VesselTarget other ) : bool

비공개 메소드들

메소드 설명
GetAllTaggedParts ( ) : kOS.Suffixed.ListValue

Get all the parts which have at least SOME non-default name:

GetHorizontalSrfSpeed ( ) : ScalarValue
GetModulesInGroup ( StringValue groupName ) : ListValue
GetModulesNamed ( StringValue modName ) : ListValue
GetPartsDubbed ( StringValue searchTerm ) : ListValue
GetPartsInGroup ( StringValue groupName ) : ListValue
GetPartsNamed ( StringValue partName ) : ListValue
GetPartsTagged ( StringValue tagName ) : ListValue
GetPartsTitled ( StringValue partTitle ) : ListValue
GetRawPartsNamed ( string partName ) : IEnumerable
GetRawPartsTagged ( string tagName ) : IEnumerable
GetRawPartsTitled ( string partTitle ) : IEnumerable
InitializeSuffixes ( ) : void
RawAngularVelFromRelative ( Vector3 angularVelFromKSP ) : Vector

Annoyingly, KSP returns vessel.angularVelociy in a frame of reference relative to the ship facing instead of the universe facing. This would be wonderful if that was their philosophy everywhere, but it's not - its just a weird exception for this one case. This transforms it back into raw universe axes again:

RenameVessel ( StringValue value ) : void
RetypeVessel ( StringValue value ) : void
VesselTarget ( ) : System

메소드 상세

Dump() 공개 메소드

public Dump ( ) : Dump
리턴 Dump

Equals() 보호된 메소드

protected Equals ( VesselTarget other ) : bool
other VesselTarget
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetAllParts() 공개 메소드

public GetAllParts ( ) : kOS.Suffixed.ListValue
리턴 kOS.Suffixed.ListValue

GetAvailableThrustAt() 공개 메소드

public GetAvailableThrustAt ( ScalarValue atmPressure ) : ScalarValue
atmPressure kOS.Safe.Encapsulation.ScalarValue
리턴 kOS.Safe.Encapsulation.ScalarValue

GetControlPart() 공개 메소드

public GetControlPart ( ) : global::Part
리턴 global::Part

GetCrew() 공개 메소드

public GetCrew ( ) : kOS.Suffixed.ListValue
리턴 kOS.Suffixed.ListValue

GetCrewCapacity() 공개 메소드

public GetCrewCapacity ( ) : ScalarValue
리턴 kOS.Safe.Encapsulation.ScalarValue

GetDistance() 공개 메소드

public GetDistance ( ) : ScalarValue
리턴 kOS.Safe.Encapsulation.ScalarValue

GetFlightControl() 공개 메소드

public GetFlightControl ( ) : FlightControl
리턴 FlightControl

GetGuid() 공개 메소드

public GetGuid ( ) : Guid
리턴 Guid

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetMaxThrustAt() 공개 메소드

public GetMaxThrustAt ( ScalarValue atmPressure ) : ScalarValue
atmPressure ScalarValue
리턴 ScalarValue

GetMessages() 공개 메소드

public GetMessages ( ) : MessageQueueStructure
리턴 MessageQueueStructure

GetName() 공개 메소드

public GetName ( ) : StringValue
리턴 StringValue

GetNorthVector() 공개 메소드

public GetNorthVector ( ) : Vector
리턴 Vector

GetOrbitAtUT() 공개 메소드

Calculate which orbit patch contains the timestamp given.
public GetOrbitAtUT ( double desiredUT ) : Orbit
desiredUT double The timestamp to look for
리턴 Orbit

GetPosition() 공개 메소드

public GetPosition ( ) : Vector
리턴 Vector

GetPositionAtUT() 공개 메소드

Calculates the position of this vessel at some future universal timestamp, taking into account all currently predicted SOI transition patches, and also assuming that all the planned maneuver nodes will actually be executed precisely as planned. Note that this cannot "see" into the future any farther than the KSP orbit patches setting allows for.
public GetPositionAtUT ( TimeSpan timeStamp ) : Vector
timeStamp TimeSpan The time to predict for. Although the intention is to /// predict for a future time, it could be used to predict for a past time.
리턴 Vector

GetSuffix() 공개 메소드

public GetSuffix ( string suffixName ) : ISuffixResult
suffixName string
리턴 ISuffixResult

GetUpVector() 공개 메소드

public GetUpVector ( ) : Vector
리턴 Vector

GetVelocities() 공개 메소드

public GetVelocities ( ) : OrbitableVelocity
리턴 OrbitableVelocity

GetVelocitiesAtUT() 공개 메소드

Calculates the velocities of this vessel at some future universal timestamp, taking into account all currently predicted SOI transition patches, and also assuming that all the planned maneuver nodes will actually be executed precisely as planned. Note that this cannot "see" into the future any farther than the KSP orbit patches setting allows for.
public GetVelocitiesAtUT ( TimeSpan timeStamp ) : OrbitableVelocity
timeStamp TimeSpan The time to predict for. Although the intention is to /// predict for a future time, it could be used to predict for a past time.
리턴 OrbitableVelocity

LoadDump() 공개 메소드

public LoadDump ( Dump dump ) : void
dump Dump
리턴 void

ThrowIfNotCPUVessel() 공개 메소드

public ThrowIfNotCPUVessel ( ) : void
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

VesselTarget() 공개 메소드

public VesselTarget ( SharedObjects shared ) : System
shared SharedObjects
리턴 System

VesselTarget() 공개 메소드

public VesselTarget ( Vessel target, SharedObjects shared ) : System
target Vessel
shared SharedObjects
리턴 System

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool