![]() |
Kerbal Space Program
1.12.4
|
Class for the storage of a part inside an InventoryModule More...
Public Member Functions | |
| void | Load (ConfigNode node) |
| void | Save (ConfigNode node) |
| StoredPart (string partName, int slotIndex) | |
| Constructor for this part - we shoudl never not have these values More... | |
Public Attributes | |
| string | partName |
| The partName that is stored in this slot More... | |
| int | quantity = 0 |
| The size of teh stack in this slot More... | |
| int | slotIndex = -1 |
| The slot this part is stored in More... | |
| ProtoPartSnapshot | snapshot |
| The snapshot of the part More... | |
| int | stackCapacity = 1 |
| the capacity of this slot with respect to the stored part More... | |
| string | variantName = "" |
| the variant of the stored part More... | |
Properties | |
| bool | CanStack [get] |
| bool | IsEmpty [get] |
| the selected variant of teh part in this slot More... | |
| bool | IsFull [get] |
Class for the storage of a part inside an InventoryModule
|
inline |
Constructor for this part - we shoudl never not have these values
| partName | |
| slotIndex |
|
inline |
|
inline |
| string StoredPart.partName |
The partName that is stored in this slot
| int StoredPart.quantity = 0 |
The size of teh stack in this slot
| int StoredPart.slotIndex = -1 |
The slot this part is stored in
| ProtoPartSnapshot StoredPart.snapshot |
The snapshot of the part
| int StoredPart.stackCapacity = 1 |
the capacity of this slot with respect to the stored part
| string StoredPart.variantName = "" |
the variant of the stored part
|
get |
|
get |
the selected variant of teh part in this slot
|
get |
1.8.7