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



Argument Description
filename The name of the file to check.

Returns: Boolean


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.


if !steam_file_persisted("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.

Back: Steam API
Next: steam_file_write
© Copyright YoYo Games Ltd. 2018 All Rights Reserved