steam_is_user_logged_on

Check to see if the user is logged onto the Steam Workshop.

Syntax:

GML Code Example

steam_is_user_logged_on();


Returns: String


Description

This function will return true if the Steam client currently has a live connection to the Steam servers. If it returns false, it means there is no active connection due to either a networking issue on the local machine, or the Steam server being down or busy.


Example:

GML Code Example

if steam_is_user_logged_on()
    {
    steam_publish_workshop_file("SaveData.txt", "", "Save Text", "Workshop saved text file");
    }
 

The above code will check to see if the user is logged onto the Steam server and if so it will publish a file to the Workshop.





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