Table of Contents

Class ResourceManagerFamilyEntry

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

Constructors

ResourceManagerFamilyEntry(ResourceManagerUI, PartComponent)

public ResourceManagerFamilyEntry(ResourceManagerUI resourceManagerUI, PartComponent part)

Parameters

resourceManagerUI ResourceManagerUI
part PartComponent

Fields

PartFamily

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

Field Value

PropertyReadonly<string>

Parts

[DataList("PartsList")]
public ContextListProperty<ResourceManagerPartEntry> Parts

Field Value

ContextListProperty<ResourceManagerPartEntry>

Title

[DataProperty("FamilyTitle")]
public PropertyExternal<string> Title

Field Value

PropertyExternal<string>

TotalParts

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

Field Value

PropertyReadonly<int>

Methods

AddPart(VesselComponent, PartComponent, bool)

public bool AddPart(VesselComponent activeVessel, PartComponent part, bool fireEvent = true)

Parameters

activeVessel VesselComponent
part PartComponent
fireEvent bool

Returns

bool