Class KerbalManagerPanelContext
public class KerbalManagerPanelContext : ApiDataContext, IDisposable, IDataContext, IDataContextReadonly, IDataContextWritable
- Inheritance
-
KerbalManagerPanelContext
- Implements
- Inherited Members
- Extension Methods
Constructors
KerbalManagerPanelContext(ContextListProperty<KerbalManagerSlotContext>, Action, Action, Action<int>, string, string, string, bool, bool)
public KerbalManagerPanelContext(ContextListProperty<KerbalManagerSlotContext> kerbalSlotList, Action fillAction, Action emptyAction, Action<int> transferAction, string panelName, string panelType, string panelId, bool hasRoom, bool isEmpty)
Parameters
kerbalSlotListContextListProperty<KerbalManagerSlotContext>fillActionActionemptyActionActiontransferActionAction<int>panelNamestringpanelTypestringpanelIdstringhasRoomboolisEmptybool
Fields
HasRoom
[DataProperty("hasRoom")]
public Property<bool> HasRoom
Field Value
IsEmpty
[DataProperty("isEmpty")]
public Property<bool> IsEmpty
Field Value
KerbalSlotList
[DataList("kerbalSlotList")]
public ContextListProperty<KerbalManagerSlotContext> KerbalSlotList
Field Value
PanelId
[DataProperty("panelID")]
public Property<string> PanelId
Field Value
PanelName
[DataProperty("panelName")]
public Property<string> PanelName
Field Value
PanelType
[DataProperty("panelType")]
public Property<string> PanelType
Field Value
Methods
Empty()
[DataAction("empty")]
public void Empty()
Fill()
[DataAction("fill")]
public void Fill()
Transfer(int)
[DataAction("transfer")]
public void Transfer(int value)
Parameters
valueint