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

Public Member Functions

void CloseFlyout ()
 
List< string > GetSubdirectoryList (string parentPath, int depth=0)
 Returns a list of paths to each subdirectory under the current game. More...
 
override void OnPointerEnter (PointerEventData eventData)
 
override void OnPointerExit (PointerEventData eventData)
 
void OpenCraftFolderBrowser ()
 Opens the Craft-load dialog, passing an argument instructing the dialog to configure itself for saving. More...
 
void ResetItems ()
 Clears and rebuilds the flyout folder choices. More...
 
void UpdateFolderDisplay (string path)
 Tells the directory controller object to update the file count display for the directory matching the provided path. This happens when the player saves a craft. More...
 

Public Attributes

RectTransform saveFolderContainer
 
- Public Attributes inherited from KSP.UI.UIHoverSlidePanel
List< GameObject > childrenForDeactivate = new List<GameObject>()
 
bool locked = false
 
Callback< Vector2 > OnUpdatePosition = (Vector2) => { }
 
RectTransform panel
 
Vector2 positionHovered
 
Vector2 positionNormal
 
float sharpness = 1f
 

Protected Member Functions

new void Start ()
 
- Protected Member Functions inherited from KSP.UI.UIHoverSlidePanel
IEnumerator MoveToState (float delay, bool newState)
 
void Reset ()
 
void Start ()
 

Additional Inherited Members

- Protected Attributes inherited from KSP.UI.UIHoverSlidePanel
Coroutine coroutine
 
bool pointOver = false
 

Member Function Documentation

void KSP.UI.UICraftSaveFlyoutController.CloseFlyout ( )
inline
List<string> KSP.UI.UICraftSaveFlyoutController.GetSubdirectoryList ( string  parentPath,
int  depth = 0 
)
inline

Returns a list of paths to each subdirectory under the current game.

override void KSP.UI.UICraftSaveFlyoutController.OnPointerEnter ( PointerEventData  eventData)
inlinevirtual

Reimplemented from KSP.UI.UIHoverSlidePanel.

override void KSP.UI.UICraftSaveFlyoutController.OnPointerExit ( PointerEventData  eventData)
inlinevirtual

Reimplemented from KSP.UI.UIHoverSlidePanel.

void KSP.UI.UICraftSaveFlyoutController.OpenCraftFolderBrowser ( )
inline

Opens the Craft-load dialog, passing an argument instructing the dialog to configure itself for saving.

void KSP.UI.UICraftSaveFlyoutController.ResetItems ( )
inline

Clears and rebuilds the flyout folder choices.

new void KSP.UI.UICraftSaveFlyoutController.Start ( )
inlineprotected
void KSP.UI.UICraftSaveFlyoutController.UpdateFolderDisplay ( string  path)
inline

Tells the directory controller object to update the file count display for the directory matching the provided path. This happens when the player saves a craft.

Member Data Documentation

RectTransform KSP.UI.UICraftSaveFlyoutController.saveFolderContainer

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