Class ResourceManagerFamilyEntry
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
resourceManagerUIResourceManagerUIpartPartComponent
Fields
PartFamily
[DataProperty("PartFamily")]
public PropertyReadonly<string> PartFamily
Field Value
Parts
[DataList("PartsList")]
public ContextListProperty<ResourceManagerPartEntry> Parts
Field Value
Title
[DataProperty("FamilyTitle")]
public PropertyExternal<string> Title
Field Value
TotalParts
[DataProperty("TotalParts")]
public PropertyReadonly<int> TotalParts
Field Value
Methods
AddPart(VesselComponent, PartComponent, bool)
public bool AddPart(VesselComponent activeVessel, PartComponent part, bool fireEvent = true)
Parameters
activeVesselVesselComponentpartPartComponentfireEventbool