Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Attributes | List of all members
UI_Grid Class Reference

This class is a UI Control for the Inventory and slots. More...

Inheritance diagram for UI_Grid:
UI_Control

Public Attributes

int columnCount = 3
 Custom column count for the inventory. More...
 
List< string > inventoryItems
 inventory item reference by name More...
 
ModuleInventoryPart inventoryPart
 Inventory PartModule instance reference for this UI inventory. More...
 
UIPartActionInventory pawInventory
 Inventory UI class instance using this grid (the one that constructs the inventory and slots.) More...
 
bool updateSlotItems = false
 A bool for the inventory to know when to update the slot items. More...
 
- Public Attributes inherited from UI_Control
UI_Scene affectSymCounterparts = UI_Scene.Editor
 
bool controlEnabled = true
 
Callback< BaseField, object > onFieldChanged = null
 
Callback< BaseField, object > onSymmetryFieldChanged = null
 
UIPartActionItem partActionItem = null
 
bool requireFullControl = false
 Does this require full, not just partial, control? More...
 
UI_Scene scene = UI_Scene.All
 
bool suppressEditorShipModified = false
 

Additional Inherited Members

- Public Member Functions inherited from UI_Control
virtual void Load (ConfigNode node, object host)
 
virtual void Save (ConfigNode node, object host)
 
void SetSceneVisibility (UI_Scene scene, bool state)
 
void Setup (BaseField field)
 
- Static Protected Member Functions inherited from UI_Control
static bool ParseEnabled (out bool value, ConfigNode node, string valueName, string FieldUIControlName)
 
static bool ParseFloat (out float value, ConfigNode node, string valueName, string FieldUIControlName, string errorNoValue)
 
static bool ParseString (out string value, ConfigNode node, string valueName, string FieldUIControlName, string errorNoValue)
 
- Protected Attributes inherited from UI_Control
BaseField field
 

Detailed Description

This class is a UI Control for the Inventory and slots.

Member Data Documentation

int UI_Grid.columnCount = 3

Custom column count for the inventory.

List<string> UI_Grid.inventoryItems

inventory item reference by name

ModuleInventoryPart UI_Grid.inventoryPart

Inventory PartModule instance reference for this UI inventory.

UIPartActionInventory UI_Grid.pawInventory

Inventory UI class instance using this grid (the one that constructs the inventory and slots.)

bool UI_Grid.updateSlotItems = false

A bool for the inventory to know when to update the slot items.


The documentation for this class was generated from the following file: