C# 클래스 GravityTurn.FuelNode

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

공개 프로퍼티들

프로퍼티 타입 설명
decoupledInStage int
inverseStage int
isEngine bool
isSepratron bool
moduleMass float
partName string

공개 메소드들

메소드 설명
AssignDecoupledInStage ( Part p, FuelNode>.Dictionary nodeLookup, int parentDecoupledInStage ) : void
AssignResourceDrainRates ( List vessel ) : void
BurnedResources ( ) : IEnumerable
CanDrawNeededResources ( List vessel ) : bool
ContainsResources ( IEnumerable whichResources ) : bool
DebugDrainRates ( ) : void
DrainResources ( float dt ) : void
EngineThrust ( float throttle, double atmospheres, double atmDensity, double machNumber ) : float
FuelNode ( Part part, bool dVLinearThrust ) : System
Mass ( int simStage ) : float
MaxTimeStep ( ) : float
RemoveSourceNode ( FuelNode n ) : void
ResetDrainRates ( ) : void
SetConsumptionRates ( float throttle, double atmDensity, double machNumber ) : void
SetupFuelLineSourcesEditor ( Part part, FuelNode>.Dictionary nodeLookup ) : void
SetupFuelLineSourcesFlight ( Part part, FuelNode>.Dictionary nodeLookup ) : void
SetupRegularSources ( Part part, FuelNode>.Dictionary nodeLookup ) : void
print ( object message ) : void

비공개 메소드들

메소드 설명
AssignFuelDrainRateStackPriority ( int type, float amount ) : void
AssignFuelDrainRateStagePriorityFlow ( int type, float amount, List vessel ) : void
FindFuelSourcesStackPriority ( int type ) : HashSet
FindFuelSourcesStackPriorityRecursive ( int type, HashSet sources, int fuelLookupID, int level ) : bool
GetFlowModifier ( double atmDensity, double machNumber ) : float

메소드 상세

AssignDecoupledInStage() 공개 메소드

public AssignDecoupledInStage ( Part p, FuelNode>.Dictionary nodeLookup, int parentDecoupledInStage ) : void
p Part
nodeLookup FuelNode>.Dictionary
parentDecoupledInStage int
리턴 void

AssignResourceDrainRates() 공개 메소드

public AssignResourceDrainRates ( List vessel ) : void
vessel List
리턴 void

BurnedResources() 공개 메소드

public BurnedResources ( ) : IEnumerable
리턴 IEnumerable

CanDrawNeededResources() 공개 메소드

public CanDrawNeededResources ( List vessel ) : bool
vessel List
리턴 bool

ContainsResources() 공개 메소드

public ContainsResources ( IEnumerable whichResources ) : bool
whichResources IEnumerable
리턴 bool

DebugDrainRates() 공개 메소드

public DebugDrainRates ( ) : void
리턴 void

DrainResources() 공개 메소드

public DrainResources ( float dt ) : void
dt float
리턴 void

EngineThrust() 공개 메소드

public EngineThrust ( float throttle, double atmospheres, double atmDensity, double machNumber ) : float
throttle float
atmospheres double
atmDensity double
machNumber double
리턴 float

FuelNode() 공개 메소드

public FuelNode ( Part part, bool dVLinearThrust ) : System
part Part
dVLinearThrust bool
리턴 System

Mass() 공개 메소드

public Mass ( int simStage ) : float
simStage int
리턴 float

MaxTimeStep() 공개 메소드

public MaxTimeStep ( ) : float
리턴 float

RemoveSourceNode() 공개 메소드

public RemoveSourceNode ( FuelNode n ) : void
n FuelNode
리턴 void

ResetDrainRates() 공개 메소드

public ResetDrainRates ( ) : void
리턴 void

SetConsumptionRates() 공개 메소드

public SetConsumptionRates ( float throttle, double atmDensity, double machNumber ) : void
throttle float
atmDensity double
machNumber double
리턴 void

SetupFuelLineSourcesEditor() 공개 메소드

public SetupFuelLineSourcesEditor ( Part part, FuelNode>.Dictionary nodeLookup ) : void
part Part
nodeLookup FuelNode>.Dictionary
리턴 void

SetupFuelLineSourcesFlight() 공개 메소드

public SetupFuelLineSourcesFlight ( Part part, FuelNode>.Dictionary nodeLookup ) : void
part Part
nodeLookup FuelNode>.Dictionary
리턴 void

SetupRegularSources() 공개 메소드

public SetupRegularSources ( Part part, FuelNode>.Dictionary nodeLookup ) : void
part Part
nodeLookup FuelNode>.Dictionary
리턴 void

print() 공개 정적인 메소드

public static print ( object message ) : void
message object
리턴 void

프로퍼티 상세

decoupledInStage 공개적으로 프로퍼티

public int decoupledInStage
리턴 int

inverseStage 공개적으로 프로퍼티

public int inverseStage
리턴 int

isEngine 공개적으로 프로퍼티

public bool isEngine
리턴 bool

isSepratron 공개적으로 프로퍼티

public bool isSepratron
리턴 bool

moduleMass 공개적으로 프로퍼티

public float moduleMass
리턴 float

partName 공개적으로 프로퍼티

public string partName
리턴 string