Table of Contents

Class ResourceManagerPartEntry

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

Constructors

ResourceManagerPartEntry(ResourceManagerUI, VesselComponent, PartComponent, int)

public ResourceManagerPartEntry(ResourceManagerUI resourceManagerUI, VesselComponent activeVessel, PartComponent part, int partIndex)

Parameters

resourceManagerUI ResourceManagerUI
activeVessel VesselComponent
part PartComponent
partIndex int

Fields

Containers

[DataList("ContainersList")]
public ContextListProperty<ResourceManagerContainerEntry> Containers

Field Value

ContextListProperty<ResourceManagerContainerEntry>

Guid

[DataProperty("GUID")]
public PropertyReadonly<IGGuid> Guid

Field Value

PropertyReadonly<IGGuid>

IsHighlighted

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

Field Value

Property<bool>

IsInTransferList

[DataProperty("IsInTransferList")]
public PropertyReadonly<bool> IsInTransferList

Field Value

PropertyReadonly<bool>

PartFamily

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

Field Value

Property<string>

PartIndex

[DataProperty("PartIndex")]
public PropertyReadonly<int> PartIndex

Field Value

PropertyReadonly<int>

PartName

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

Field Value

Property<string>

Properties

GetPartFamily

public string GetPartFamily { get; }

Property Value

string

GetPartName

public string GetPartName { get; }

Property Value

string

Methods

AddFlowRequest(ResourceFlowRequestCommandConfig)

public void AddFlowRequest(ResourceFlowRequestCommandConfig newRequestConfig)

Parameters

newRequestConfig ResourceFlowRequestCommandConfig

AreFlowRequestsDone()

public bool AreFlowRequestsDone()

Returns

bool

ClearFlowStates()

public void ClearFlowStates()

HasFlowRequests()

public bool HasFlowRequests()

Returns

bool

SetResourceContainersToFlowState(ResourceDefinitionID, FlowState)

public void SetResourceContainersToFlowState(ResourceDefinitionID resourceID, FlowState flowState)

Parameters

resourceID ResourceDefinitionID
flowState FlowState

StartResourceTransfer()

public bool StartResourceTransfer()

Returns

bool

StopResourceTransfer()

public void StopResourceTransfer()