Autoloads: SteamInfo - Skeats/easy-peasy-multiplayer GitHub Wiki

Steaminfo is not necessarily network-related, it primarily just initializes Steam. The notable properties that it contains are:

  • is_on_steam_deck: Whether the client is on a steam deck
  • is_online: Whether the client is online on Steam
  • is_owned: Whether the client owns the game on Steam
  • is_family_shared: Whether the client is playing the game via family sharing
  • is_free_weekend: Whether the client is playing the game via a free weekend
  • timed_trial_stats: Information regarding timed trials (I have not tested this and am not super familiar with what it does)
  • app_owner: The owner of the app. Normally, this will be the same as steam_id below, but in the case of things like family sharing, this will show the original owner of the game
  • steam_id: The steam id of the person playing the game
  • steam_username: The username of the client on Steam
  • steam_app_id: This is deprecated. Don't use it. It does nothing.
  • auth_ticket: The Steam auth ticket for this client. Currently auth tickets don't do anything, however I am planning on incorporating them eventually
  • client_auth_tickets: A dictionary of auth tickets for clients that are connected to this client.

The rest of SteamInfo is mostly just initializing Steam and you don't need to worry about it. I feel like it goes without saying that you need to have Steam installed and running in some capacity in order for any of this to work. If you need to ensure that your game can be run without steam, GodotSteam's documentation has a tutorial on that Here.