Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Properties | List of all members
UIPartActionController Class Reference
Inheritance diagram for UIPartActionController:

Public Member Functions

void Activate ()
 
void Deactivate ()
 
void Deselect (bool resourcesToo)
 
UIPartActionItem GetControl (System.Type uiControlType)
 
UIPartActionFieldItem GetFieldControl (System.Type uiControlType)
 
UIPartActionWindow GetItem (Part part, bool includeSymmetryCounterparts=true)
 
bool InventoryAndCargoPartExist ()
 Checks for null references for the current inventory and cargo part. More...
 
bool ItemListContains (Part part, bool includeSymmetryCounterparts)
 
bool ItemListContainsCounterparts (Part part)
 
UIPartActionWindow ItemListGet (Part part)
 
void SetupResourceTransfer (UIPartActionResourceTransfer trans)
 
void Show (bool show)
 Hides or shows all the active PAW windows. More...
 
bool ShowTransfers (PartResource res)
 
void SpawnPartActionWindow (Part part)
 Calls Select Part, and spawns the PartActionWindow More...
 
void SpawnPartActionWindow (Part part, bool overrideSymmetry)
 Calls Select Part, and spawns the PartActionWindow More...
 
void UpdateEditor ()
 
void UpdateFlight ()
 

Public Attributes

UIPartActionAeroDisplay debugAeroItemPrefab
 
UIPartActionRoboticJointDisplay debugRoboticJointItemPrefab
 
UIPartActionThermalDisplay debugThermalItemPrefab
 
UIPartActionButton eventItemPrefab
 
List< UIPartActionFieldItemfieldPrefabs
 
UIPartActionFuelFlowOverlay fuelFlowOverlayPrefab
 
UIPartActionGroup groupPrefab
 
List< UIPartActionWindowhiddenResourceWindows
 
List< UIPartActionWindowhiddenWindows
 
UIPartActionControllerInventory partInventory
 Part Action Controller inventory reference More...
 
UIPartActionResourceEditor resourceItemEditorPrefab
 
UIPartActionResource resourceItemPrefab
 
UIPartActionResourcePriority resourcePriorityPrefab
 
UIPartActionResourceTransfer resourceTransferItemPrefab
 
UIPartActionWindow windowPrefab
 
List< UIPartActionWindowwindows
 
float zMin
 

Properties

static UIPartActionController Instance [get, set]
 
List< int > resourcesShown [get]
 

Member Function Documentation

void UIPartActionController.Activate ( )
inline
void UIPartActionController.Deactivate ( )
inline
void UIPartActionController.Deselect ( bool  resourcesToo)
inline
UIPartActionItem UIPartActionController.GetControl ( System.Type  uiControlType)
inline
UIPartActionFieldItem UIPartActionController.GetFieldControl ( System.Type  uiControlType)
inline
UIPartActionWindow UIPartActionController.GetItem ( Part  part,
bool  includeSymmetryCounterparts = true 
)
inline
bool UIPartActionController.InventoryAndCargoPartExist ( )
inline

Checks for null references for the current inventory and cargo part.

Returns
bool UIPartActionController.ItemListContains ( Part  part,
bool  includeSymmetryCounterparts 
)
inline
bool UIPartActionController.ItemListContainsCounterparts ( Part  part)
inline
UIPartActionWindow UIPartActionController.ItemListGet ( Part  part)
inline
void UIPartActionController.SetupResourceTransfer ( UIPartActionResourceTransfer  trans)
inline
void UIPartActionController.Show ( bool  show)
inline

Hides or shows all the active PAW windows.

bool UIPartActionController.ShowTransfers ( PartResource  res)
inline
void UIPartActionController.SpawnPartActionWindow ( Part  part)
inline

Calls Select Part, and spawns the PartActionWindow

Parameters
partPart to select.
void UIPartActionController.SpawnPartActionWindow ( Part  part,
bool  overrideSymmetry 
)
inline

Calls Select Part, and spawns the PartActionWindow

Parameters
partPart to select.
overrideSymmetrySkips symmetry check.
void UIPartActionController.UpdateEditor ( )
inline
void UIPartActionController.UpdateFlight ( )
inline

< test to see if we need to select a part

< check the resources selected

< go through list of stuff and check if things are fine

Member Data Documentation

UIPartActionAeroDisplay UIPartActionController.debugAeroItemPrefab
UIPartActionRoboticJointDisplay UIPartActionController.debugRoboticJointItemPrefab
UIPartActionThermalDisplay UIPartActionController.debugThermalItemPrefab
UIPartActionButton UIPartActionController.eventItemPrefab
List<UIPartActionFieldItem> UIPartActionController.fieldPrefabs
UIPartActionFuelFlowOverlay UIPartActionController.fuelFlowOverlayPrefab
UIPartActionGroup UIPartActionController.groupPrefab
List<UIPartActionWindow> UIPartActionController.hiddenResourceWindows
List<UIPartActionWindow> UIPartActionController.hiddenWindows
UIPartActionControllerInventory UIPartActionController.partInventory

Part Action Controller inventory reference

UIPartActionResourceEditor UIPartActionController.resourceItemEditorPrefab
UIPartActionResource UIPartActionController.resourceItemPrefab
UIPartActionResourcePriority UIPartActionController.resourcePriorityPrefab
UIPartActionResourceTransfer UIPartActionController.resourceTransferItemPrefab
UIPartActionWindow UIPartActionController.windowPrefab
List<UIPartActionWindow> UIPartActionController.windows
float UIPartActionController.zMin

Property Documentation

UIPartActionController UIPartActionController.Instance
staticgetset
List<int> UIPartActionController.resourcesShown
get

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