Module CorsixTH.CorsixTH.Lua.dialogs.resizables.file_browsers.save_map

Save Map Window

Functions

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


Functions

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

Parameters:

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

Parameters:

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

Parameters:

  • label (string) Selected file name
UISaveMap: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