steam_file_delete(filename);
参数 | 描述 |
---|---|
filename | The name of the file delete. |
返回: Real(实数)
This function will delete the given file from the Steam Cloud.
The function will return a value of 0 if it fails for whatever
reason and a value greater than 0 if it succeeds.
if steam_file_exists("Save.txt")
{
steam_file_delete("Save.txt");
}
The above code will check to see if a file exists, and if it does, it deletes the file from the Steam Cloud.