C# 클래스 KerbalEngineer.VesselSimulator.PartSim

파일 보기 프로젝트 열기: CYBUTEK/KerbalEngineer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
baseCost double
baseMass double
baseMassForCoM double
centerOfMass UnityEngine.Vector3d
decoupledInStage int
fuelCrossFeed bool
fuelTargets List
hasModuleEngines bool
hasMultiModeEngine bool
hasVessel bool
initialVesselName String
inverseStage int
isEngine bool
isFuelLine bool
isFuelTank bool
isLanded bool
isNoPhysics bool
isSepratron bool
name String
noCrossFeedNodeKey String
parent PartSim
parentAttach AttachModes
part Part
partId int
postStageMassAdjust float
realMass double
resPriorityOffset int
resPriorityUseParentInverseStage bool
resRequestRemainingThreshold double
resourceDrains KerbalEngineer.VesselSimulator.ResourceContainer
resourceFlowStates KerbalEngineer.VesselSimulator.ResourceContainer
resources KerbalEngineer.VesselSimulator.ResourceContainer
stageIndex int
startMass double
surfaceMountFuelTargets List
vesselName String
vesselType VesselType

공개 메소드들

메소드 설명
CreateEngineSims ( List allEngines, double atmosphere, double mach, bool vectoredThrust, bool fullThrust, LogMsg log ) : void
DrainResources ( double time, LogMsg log ) : void
DumpPartAndParentsToLog ( LogMsg log, String prefix ) : String
DumpPartToLog ( LogMsg log, String prefix, List allParts = null ) : void
EmptyOf ( HashSet types ) : bool
GetCost ( int currentStage ) : double
GetMass ( int currentStage, bool forCoM = false ) : double
GetResourcePriority ( ) : int
GetSourceSet ( int type, bool includeSurfaceMountedParts, List allParts, HashSet visited, HashSet allSources, LogMsg log, String indent ) : void
GetSourceSet_Internal ( int type, bool includeSurfaceMountedParts, List allParts, HashSet visited, HashSet allSources, int &priMax, LogMsg log, String indent ) : void
GetSourceSet_Old ( int type, bool includeSurfaceMountedParts, List allParts, HashSet visited, HashSet allSources, LogMsg log, String indent ) : void
GetStartMass ( ) : double
New ( Part p, int id, double atmosphere, LogMsg log ) : PartSim
Release ( ) : void
ReleasePart ( ) : void
RemoveAttachedParts ( HashSet partSims ) : void
SetupAttachNodes ( PartSim>.Dictionary partSimLookup, LogMsg log ) : void
SetupParent ( PartSim>.Dictionary partSimLookup, LogMsg log ) : void
TimeToDrainResource ( LogMsg log ) : double

비공개 메소드들

메소드 설명
CalculateThrustVector ( List thrustTransforms, LogMsg log ) : Vector3
Create ( ) : PartSim
DecoupledInStage ( Part thePart, int stage = -1 ) : int
IsActiveDecoupler ( Part thePart ) : bool
IsDecoupler ( Part thePart ) : bool
IsSepratron ( ) : bool
Reset ( PartSim partSim ) : void

메소드 상세

CreateEngineSims() 공개 메소드

public CreateEngineSims ( List allEngines, double atmosphere, double mach, bool vectoredThrust, bool fullThrust, LogMsg log ) : void
allEngines List
atmosphere double
mach double
vectoredThrust bool
fullThrust bool
log LogMsg
리턴 void

DrainResources() 공개 메소드

public DrainResources ( double time, LogMsg log ) : void
time double
log LogMsg
리턴 void

DumpPartAndParentsToLog() 공개 메소드

public DumpPartAndParentsToLog ( LogMsg log, String prefix ) : String
log LogMsg
prefix String
리턴 String

DumpPartToLog() 공개 메소드

public DumpPartToLog ( LogMsg log, String prefix, List allParts = null ) : void
log LogMsg
prefix String
allParts List
리턴 void

EmptyOf() 공개 메소드

public EmptyOf ( HashSet types ) : bool
types HashSet
리턴 bool

GetCost() 공개 메소드

public GetCost ( int currentStage ) : double
currentStage int
리턴 double

GetMass() 공개 메소드

public GetMass ( int currentStage, bool forCoM = false ) : double
currentStage int
forCoM bool
리턴 double

GetResourcePriority() 공개 메소드

public GetResourcePriority ( ) : int
리턴 int

GetSourceSet() 공개 메소드

public GetSourceSet ( int type, bool includeSurfaceMountedParts, List allParts, HashSet visited, HashSet allSources, LogMsg log, String indent ) : void
type int
includeSurfaceMountedParts bool
allParts List
visited HashSet
allSources HashSet
log LogMsg
indent String
리턴 void

GetSourceSet_Internal() 공개 메소드

public GetSourceSet_Internal ( int type, bool includeSurfaceMountedParts, List allParts, HashSet visited, HashSet allSources, int &priMax, LogMsg log, String indent ) : void
type int
includeSurfaceMountedParts bool
allParts List
visited HashSet
allSources HashSet
priMax int
log LogMsg
indent String
리턴 void

GetSourceSet_Old() 공개 메소드

public GetSourceSet_Old ( int type, bool includeSurfaceMountedParts, List allParts, HashSet visited, HashSet allSources, LogMsg log, String indent ) : void
type int
includeSurfaceMountedParts bool
allParts List
visited HashSet
allSources HashSet
log LogMsg
indent String
리턴 void

GetStartMass() 공개 메소드

public GetStartMass ( ) : double
리턴 double

New() 공개 정적인 메소드

public static New ( Part p, int id, double atmosphere, LogMsg log ) : PartSim
p Part
id int
atmosphere double
log LogMsg
리턴 PartSim

Release() 공개 메소드

public Release ( ) : void
리턴 void

ReleasePart() 공개 메소드

public ReleasePart ( ) : void
리턴 void

RemoveAttachedParts() 공개 메소드

public RemoveAttachedParts ( HashSet partSims ) : void
partSims HashSet
리턴 void

SetupAttachNodes() 공개 메소드

public SetupAttachNodes ( PartSim>.Dictionary partSimLookup, LogMsg log ) : void
partSimLookup PartSim>.Dictionary
log LogMsg
리턴 void

SetupParent() 공개 메소드

public SetupParent ( PartSim>.Dictionary partSimLookup, LogMsg log ) : void
partSimLookup PartSim>.Dictionary
log LogMsg
리턴 void

TimeToDrainResource() 공개 메소드

public TimeToDrainResource ( LogMsg log ) : double
log LogMsg
리턴 double

프로퍼티 상세

baseCost 공개적으로 프로퍼티

public double baseCost
리턴 double

baseMass 공개적으로 프로퍼티

public double baseMass
리턴 double

baseMassForCoM 공개적으로 프로퍼티

public double baseMassForCoM
리턴 double

centerOfMass 공개적으로 프로퍼티

public Vector3d,UnityEngine centerOfMass
리턴 UnityEngine.Vector3d

decoupledInStage 공개적으로 프로퍼티

public int decoupledInStage
리턴 int

fuelCrossFeed 공개적으로 프로퍼티

public bool fuelCrossFeed
리턴 bool

fuelTargets 공개적으로 프로퍼티

public List fuelTargets
리턴 List

hasModuleEngines 공개적으로 프로퍼티

public bool hasModuleEngines
리턴 bool

hasMultiModeEngine 공개적으로 프로퍼티

public bool hasMultiModeEngine
리턴 bool

hasVessel 공개적으로 프로퍼티

public bool hasVessel
리턴 bool

initialVesselName 공개적으로 프로퍼티

public String initialVesselName
리턴 String

inverseStage 공개적으로 프로퍼티

public int inverseStage
리턴 int

isEngine 공개적으로 프로퍼티

public bool isEngine
리턴 bool

isFuelLine 공개적으로 프로퍼티

public bool isFuelLine
리턴 bool

isFuelTank 공개적으로 프로퍼티

public bool isFuelTank
리턴 bool

isLanded 공개적으로 프로퍼티

public bool isLanded
리턴 bool

isNoPhysics 공개적으로 프로퍼티

public bool isNoPhysics
리턴 bool

isSepratron 공개적으로 프로퍼티

public bool isSepratron
리턴 bool

name 공개적으로 프로퍼티

public String name
리턴 String

noCrossFeedNodeKey 공개적으로 프로퍼티

public String noCrossFeedNodeKey
리턴 String

parent 공개적으로 프로퍼티

public PartSim,KerbalEngineer.VesselSimulator parent
리턴 PartSim

parentAttach 공개적으로 프로퍼티

public AttachModes parentAttach
리턴 AttachModes

part 공개적으로 프로퍼티

public Part part
리턴 Part

partId 공개적으로 프로퍼티

public int partId
리턴 int

postStageMassAdjust 공개적으로 프로퍼티

public float postStageMassAdjust
리턴 float

realMass 공개적으로 프로퍼티

public double realMass
리턴 double

resPriorityOffset 공개적으로 프로퍼티

public int resPriorityOffset
리턴 int

resPriorityUseParentInverseStage 공개적으로 프로퍼티

public bool resPriorityUseParentInverseStage
리턴 bool

resRequestRemainingThreshold 공개적으로 프로퍼티

public double resRequestRemainingThreshold
리턴 double

resourceDrains 공개적으로 프로퍼티

public ResourceContainer,KerbalEngineer.VesselSimulator resourceDrains
리턴 KerbalEngineer.VesselSimulator.ResourceContainer

resourceFlowStates 공개적으로 프로퍼티

public ResourceContainer,KerbalEngineer.VesselSimulator resourceFlowStates
리턴 KerbalEngineer.VesselSimulator.ResourceContainer

resources 공개적으로 프로퍼티

public ResourceContainer,KerbalEngineer.VesselSimulator resources
리턴 KerbalEngineer.VesselSimulator.ResourceContainer

stageIndex 공개적으로 프로퍼티

public int stageIndex
리턴 int

startMass 공개적으로 프로퍼티

public double startMass
리턴 double

surfaceMountFuelTargets 공개적으로 프로퍼티

public List surfaceMountFuelTargets
리턴 List

vesselName 공개적으로 프로퍼티

public String vesselName
리턴 String

vesselType 공개적으로 프로퍼티

public VesselType vesselType
리턴 VesselType