file_name
Stringfile_content
Stringsuccess_callback
Function()error_callback
Function(err)
file_name
Stringsuccess_callback
Function(file_content)file_content
String: represents the content offile_name
file.
error_callback
Function(err)
file_name
Stringsuccess_callback
Function()error_callback
Function(err)
files_path
Array of String: The files' path on local machine.success_callback
Function()error_callback
Function(err)
Writes mutilple local files to Steam Cloud.
Returns a Boolean
indicates whether cloud is enabled in general for the
current Steam account.
Returns a Boolean
indicates whether cloud is enabled for the current app.
This might return true
independently of greenworks.isCloudEnabledForUser()
.
Keep in mind that the general account setting has priority over the app specific
setting. So you might want to check isCloudEnabledForUser()
first.
flag
Boolean
Enables/Disables the cloud feature for the current app. Keep in mind that your
app won't sync anything to the user's cloud if he disabled it at top level
(see greenworks.isCloudEnabledForUser()
).
success_callback
Function(total_bytes, available_bytes)total_bytes
uint64 String: total bytes of quotaavailable_bytes
uint64 String: available bytes of quota
error_callback
Function(err)
Gets the number of files on the cloud.
index
Integer: the index of the file
Returns an Object
:
name
String: The file namesize
Integer: The file size