Table of Contents

Class SaveLoadDialog

Namespace
KSP.Game
Assembly
Assembly-CSharp.dll
public class SaveLoadDialog : KerbalMonoBehaviour
Inheritance
SaveLoadDialog
Inherited Members
Extension Methods

Constructors

SaveLoadDialog()

public SaveLoadDialog()

Fields

BindRoot

public ContextBindRoot BindRoot

Field Value

ContextBindRoot

IsLoading

public bool IsLoading

Field Value

bool

Properties

CurrentSaveFilesCount

public int CurrentSaveFilesCount { get; set; }

Property Value

int

CurrentSelectedFileEntry

public SaveLoadDialogFileEntry CurrentSelectedFileEntry { get; set; }

Property Value

SaveLoadDialogFileEntry

CurrentSelectedFilePath

public string CurrentSelectedFilePath { get; set; }

Property Value

string

IsVisible

public bool IsVisible { get; }

Property Value

bool

Methods

ClearAndRefillSavedGamesList(bool, bool)

public void ClearAndRefillSavedGamesList(bool sortFilesByName, bool quicksave = false)

Parameters

sortFilesByName bool
quicksave bool

ClearAndRefillSavedGamesListIfVisible(bool, bool)

public void ClearAndRefillSavedGamesListIfVisible(bool sortFilesByName, bool quicksave = false)

Parameters

sortFilesByName bool
quicksave bool

DismissDialog()

public void DismissDialog()

LoadSelectedFile()

public void LoadSelectedFile()

OnHideAnimationComplete()

public void OnHideAnimationComplete()

OnNewSaveFile()

public void OnNewSaveFile()

SetOverwriteNameToBeSelected(string)

public void SetOverwriteNameToBeSelected(string selectedOverwriteSaveName)

Parameters

selectedOverwriteSaveName string

SetOverwriteNameToDefault()

public void SetOverwriteNameToDefault()

SetVisiblity(bool)

public void SetVisiblity(bool visible)

Parameters

visible bool

UpdateLoadMenuGameInformation(ExtendedSaveFileInfo, Image)

public void UpdateLoadMenuGameInformation(ExtendedSaveFileInfo fileInfo, Image thumnailScreenshot)

Parameters

fileInfo ExtendedSaveFileInfo
thumnailScreenshot Image