Represents Steam SDK EFloatingGamepadTextInputMode
.
SingleLine
MultipleLines
Email
Numeric
keyboardMode
greenworks.FloatingGamepadTextInputModex
Integery
Integerwidth
Integerheight
Integer
Opens a floating keyboard over the game content and sends OS keyboard keys directly to the game.
Returns true
if the floating keyboard was shown, otherwise false
.
source_dir
Stringtarget_dir
Stringsuccess_callback
Function()error_callback
Function(err)
Moves source_dir
to target_dir
.
greenworks.Utils.createArchive(zip_file_path, source_dir, password, compress_level, success_callback, [error_callback])
zip_file_path
Stringsource_dir
Stringpassword
String: Empty represents no passwordcompress_level
Integer: Compress factor 0-9, store only - best compressed.success_callback
Function()error_callback
Function(err)
Creates a zip archive of source_dir
.
greenworks.Utils.extractArchive(zip_file_path, extract_dir, password, success_callback, [error_callback])
zip_file_path
Stringextract_dir
Stringpassword
String: Empty represents no passwordsuccess_callback
Function()error_callback
Function(err)
Extracts the zip_file_path
to the specified extract_dir
.