steam_file_persisted

Find out if the given file is synchronised with the Steam Cloud.

Syntax:

GML Code Example

steam_file_persisted(filename);


Argument Description
filename The name of the file to check.


Returns: Boolean


Description

With this function you can check the given file to see if it has been synchronised with the Steam Cloud. A return value of true means that it is, while false means it is not.


Example:

GML Code Example

if !steam_file_persisted("Save.txt")
    {
    steam_file_share("Save.txt");
    }
 

The above code will check to see if a file has been stored to the Steam Cloud, and if it has not it will then synchronise it.





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