Module CorsixTH.CorsixTH.Lua.dialogs.resizables.file_browsers.save_game

Save Game Window

Functions

UISaveGame:abortName () Function called when textbox is aborted (e.g.
UISaveGame:choiceMade (name) Function called by clicking button of existing save #num
UISaveGame:confirmName () Function called when textbox is confirmed (e.g.
UISaveGame:doSave (filename) Actually do save the game with given filename.
UISaveGame:setInputValue (label) Updates the textbox to selected file
UISaveGame:trySave (filename) Try to save the game with given filename; if already exists, create confirmation window first.


Functions

UISaveGame:abortName ()
Function called when textbox is aborted (e.g. by pressing escape)
UISaveGame:choiceMade (name)
Function called by clicking button of existing save #num

Parameters:

  • name
UISaveGame:confirmName ()
Function called when textbox is confirmed (e.g. by pressing enter)
UISaveGame:doSave (filename)
Actually do save the game with given filename.

Parameters:

  • filename
UISaveGame:setInputValue (label)
Updates the textbox to selected file

Parameters:

  • label (string) Selected file name
UISaveGame:trySave (filename)
Try to save the game with given filename; if already exists, create confirmation window first.

Parameters:

  • filename
generated by LDoc TESTING Last updated 2015-01-01 12:00:00