Class ResourceManagerContainerEntry
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
resourceManagerUIResourceManagerUIpartEntryResourceManagerPartEntryactiveVesselVesselComponentcontainerIResourceContainerdefinitionResourceDefinitionData
Fields
AmountNormalized
[DataProperty("AmountNormalized")]
public PropertyExternal<float> AmountNormalized
Field Value
CurAmount
[DataProperty("CurAmount")]
public PropertyExternal<float> CurAmount
Field Value
IsBalanceFlowStateOn
[DataProperty("IsBalanceFlowStateOn")]
public Property<bool> IsBalanceFlowStateOn
Field Value
IsInFlowStateOn
[DataProperty("IsInFlowStateOn")]
public Property<bool> IsInFlowStateOn
Field Value
IsOutFlowStateOn
[DataProperty("IsOutFlowStateOn")]
public Property<bool> IsOutFlowStateOn
Field Value
ResUnits
[DataProperty("Units")]
public PropertyExternal<string> ResUnits
Field Value
ResourceAbbreviation
[DataProperty("ResourceAbbreviation")]
public Property<string> ResourceAbbreviation
Field Value
TotalAmount
[DataProperty("TotalAmount")]
public PropertyExternal<float> TotalAmount
Field Value
Properties
ContainerFlowState
public FlowState ContainerFlowState { get; }
Property Value
ParentPartEntry
public ResourceManagerPartEntry ParentPartEntry { get; }
Property Value
ResourceID
public ResourceDefinitionID ResourceID { get; }
Property Value
ResourceName
public string ResourceName { get; }
Property Value
Methods
SetFlowState(FlowState)
public void SetFlowState(FlowState flowState)
Parameters
flowStateFlowState