Table of Contents

Class ResourceManagerContainerEntry

Namespace
KSP.UI
Assembly
Assembly-CSharp.dll
public class ResourceManagerContainerEntry : ApiDataContext, IDisposable, IDataContext, IDataContextReadonly, IDataContextWritable
Inheritance
ResourceManagerContainerEntry
Implements
Inherited Members
Extension Methods

Constructors

ResourceManagerContainerEntry(ResourceManagerUI, ResourceManagerPartEntry, VesselComponent, IResourceContainer, ResourceDefinitionData)

public ResourceManagerContainerEntry(ResourceManagerUI resourceManagerUI, ResourceManagerPartEntry partEntry, VesselComponent activeVessel, IResourceContainer container, ResourceDefinitionData definition)

Parameters

resourceManagerUI ResourceManagerUI
partEntry ResourceManagerPartEntry
activeVessel VesselComponent
container IResourceContainer
definition ResourceDefinitionData

Fields

AmountNormalized

[DataProperty("AmountNormalized")]
public PropertyExternal<float> AmountNormalized

Field Value

PropertyExternal<float>

CurAmount

[DataProperty("CurAmount")]
public PropertyExternal<float> CurAmount

Field Value

PropertyExternal<float>

IsBalanceFlowStateOn

[DataProperty("IsBalanceFlowStateOn")]
public Property<bool> IsBalanceFlowStateOn

Field Value

Property<bool>

IsInFlowStateOn

[DataProperty("IsInFlowStateOn")]
public Property<bool> IsInFlowStateOn

Field Value

Property<bool>

IsOutFlowStateOn

[DataProperty("IsOutFlowStateOn")]
public Property<bool> IsOutFlowStateOn

Field Value

Property<bool>

ResUnits

[DataProperty("Units")]
public PropertyExternal<string> ResUnits

Field Value

PropertyExternal<string>

ResourceAbbreviation

[DataProperty("ResourceAbbreviation")]
public Property<string> ResourceAbbreviation

Field Value

Property<string>

TotalAmount

[DataProperty("TotalAmount")]
public PropertyExternal<float> TotalAmount

Field Value

PropertyExternal<float>

Properties

ContainerFlowState

public FlowState ContainerFlowState { get; }

Property Value

FlowState

ParentPartEntry

public ResourceManagerPartEntry ParentPartEntry { get; }

Property Value

ResourceManagerPartEntry

ResourceID

public ResourceDefinitionID ResourceID { get; }

Property Value

ResourceDefinitionID

ResourceName

public string ResourceName { get; }

Property Value

string

Methods

SetFlowState(FlowState)

public void SetFlowState(FlowState flowState)

Parameters

flowState FlowState