steam_is_cloud_enabled_for_account

Check to see if Steam Cloud storage is enabled for the current user.

Syntax:

GML Code Example

steam_is_cloud_enabled_for_account();


Returns: Boolean


Description

With this function you can check to make sure that the Steam Cloud service is enabled by the user in their Steam Client settings. It will return true if it is and false otherwise. Note that this does not automatically mean that you can store data to the Cloud, as it will also have to have been enabled for your game (you can check this using the function steam_is_cloud_enabled_for_app). If the Steam Cloud is enabled for your game, but the user has it switched off locally, you can still use the Cloud functions to store and retrieve data from a local copy of all files, it will just not upload them to the cloud on the game end, nor synchronise on the game start.


Example:

GML Code Example

if steam_is_cloud_enabled_for_account
    {
    steam_file_share("Save.txt");
    }
 

The above code checks to see if the user has the Steam Cloud enabled and if it returns true, it will then synchronise the given file.





No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here