Class Data_ResourceIntake
- Namespace
- KSP.Modules
- Assembly
- Assembly-CSharp.dll
public sealed class Data_ResourceIntake : ModuleData
- Inheritance
-
Data_ResourceIntake
- Inherited Members
-
- Extension Methods
-
Constructors
Data_ResourceIntake()
public Data_ResourceIntake()
Fields
IntakeResourceID
public ResourceDefinitionID IntakeResourceID
Field Value
- ResourceDefinitionID
ModuleEnabled
public bool ModuleEnabled
Field Value
- bool
RequestConfig
public ResourceFlowRequestCommandConfig RequestConfig
Field Value
- ResourceFlowRequestCommandConfig
ResourceDefinitionData
public ResourceDefinitionData ResourceDefinitionData
Field Value
- ResourceDefinitionData
ResourceUnits
public double ResourceUnits
Field Value
- double
acceptanceThreshold
[KSPDefinition]
public double acceptanceThreshold
Field Value
- double
area
[KSPDefinition]
public float area
Field Value
- float
checkForOxygen
[KSPDefinition]
public bool checkForOxygen
Field Value
- bool
disableUnderwater
[KSPDefinition]
public bool disableUnderwater
Field Value
- bool
flowRate
[KSPState]
[LocalizedField("PartModules/ResourceIntake/Flow")]
[PAMDisplayControl(SortIndex = 3)]
public ModuleProperty<float> flowRate
Field Value
- ModuleProperty<float>
intakeSpeed
[KSPDefinition]
public double intakeSpeed
Field Value
- double
[KSPDefinition]
public string intakeTransformName
Field Value
- string
kPaThreshold
[KSPDefinition]
public double kPaThreshold
Field Value
- double
machCurve
[KSPDefinition]
public FloatCurve machCurve
Field Value
- FloatCurve
occludeNode
[KSPDefinition]
public string occludeNode
Field Value
- string
resourceName
[KSPDefinition]
public string resourceName
Field Value
- string
statusTxt
[PAMDisplayControl(SortIndex = 1)]
[LocalizedField("PartModules/ResourceIntake/Status")]
[KSPState]
public ModuleProperty<string> statusTxt
Field Value
- ModuleProperty<string>
toggleResourceIntake
[LocalizedField("PartModules/ResourceIntake/IntakeEnabled")]
[KSPState(CopyToSymmetrySet = true)]
[PAMDisplayControl(SortIndex = 2)]
public ModuleProperty<bool> toggleResourceIntake
Field Value
- ModuleProperty<bool>
underwaterOnly
[KSPDefinition]
public bool underwaterOnly
Field Value
- bool
unitScalar
[KSPDefinition]
public double unitScalar
Field Value
- double
Properties
ModuleType
public override Type ModuleType { get; }
Property Value
- Type
Methods
SetupResourceRequest(ResourceFlowRequestBroker)
public override void SetupResourceRequest(ResourceFlowRequestBroker resourceFlowRequestBroker)
Parameters
resourceFlowRequestBroker ResourceFlowRequestBroker