steam_file_size

Find the size of the given file from the Steam Cloud.

Syntax:

GML Code Example

steam_file_size(filename);


Argument Description
filename The name of the file to check the size of.


Returns: Real


Description

With this function you can check the size of a file stored on the Steam Cloud. The returned real number is the size, in bytes, of the file.


Example:

GML Code Example

file_bytes = steam_file_size("Save.txt");

The above code stores the size of a file from the Steam Cloud in the variable "file_bytes".





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