Signals | User

These require you to run Steam.run_callbacks() in your _process() function to receive them.


duration_control

  • Sent for games with enabled anti indulgence / duration control, for enabled users. Lets the game know whether persistent rewards or XP should be granted at normal rate, half rate, or zero rate.
  • Sends back the following data:
    • result (int)
    • duration (dictionary)
      • app_id (int)
      • applicable (bool)
      • seconds_last_5hrs (int)
      • progress (int)
      • notification (int)
      • notification_verbal (string)
    • result (int)
    • duration (dictionary)
      • app_id (uint32)
      • applicable (bool)
      • seconds_last_5hrs (int32)
      • progress (int)
      • notification (int)
      • notification_verbal (string)

client_game_server_deny

  • Sent by the Steam server to the client telling it to disconnect from the specified game server, which it may be in the process of or already connected to. The game client should immediately disconnect upon receiving this message. This can usually occur if the user doesn't have rights to play on the game server.
  • Sends back the following data:
    • app_id (int)
    • ip (string)
    • server_port (int)
    • secure (int)
    • reason (int)
    • app_id (uint32)
    • ip (string)
    • server_port (uint16)
    • secure (uint16)
    • reason (uint32)

encrypted_app_ticket_response

  • Called when an encrypted application ticket has been received.
  • Sends back the following data:
    • result (string)

game_web_callback

  • Sent to your game in response to a steam://gamewebcallback/ command from a user clicking a link in the Steam overlay browser. You can use this to add support for external site signups where you want to pop back into the browser after some web page signup sequence, and optionally get back some detail about that.
  • Sends back the following data:
    • url (string)

get_auth_session_ticket_response

  • Result when creating an auth session ticket.
  • Sends back the following data:
    • auth_ticket (int)
    • result (int)
    • auth_ticket (uint32)
    • result (int)

ipc_failure

  • Called when the callback system for this client is in an error state (and has flushed pending callbacks). When getting this message the client should disconnect from Steam, reset any stored Steam state and reconnect. This usually occurs in the rare event the Steam client has some kind of fatal error.
  • Sends back the following data:
    • type (int)
    • type (uint8)

licenses_updated

  • Called whenever the users licenses (owned packages) changes.
  • Sends back no data.

microtransaction_auth_response

  • Called when a user has responded to a microtransaction authorization request.
  • Sends back the following data:
    • app_id (int)
    • order_id (int)
    • authorized (bool)
    • app_id (uint32)
    • order_id (uint64_t)
    • authorized (bool)

steam_server_connect_failed

  • Called when a connection attempt has failed. This will occur periodically if the Steam client is not connected, and has failed when retrying to establish a connection.
  • Sends back the following data:
    • result (int)
    • retrying (bool)

steam_server_connected

  • Called when a connections to the Steam back-end has been established. This means the Steam client now has a working connection to the Steam servers. Usually this will have occurred before the game has launched, and should only be seen if the user has dropped connection due to a networking issue or a Steam server update.
  • Sends back no data.

steam_server_disconnected

  • Called if the client has lost connection to the Steam servers. Real-time services will be disabled until a matching steam_server_connected has been posted.
  • Sends back no data.

store_auth_url_response

  • Response when we have recieved the authentication URL after a call to requestStoreAuthURL.
  • Sends back the following data:
    • url (string)

validate_auth_ticket_response

  • Called when an auth ticket has been validated.
  • Emits signal in response to function beginAuthSession.
  • Sends back the following data:
    • auth_id (int)
    • response (int)
    • owner_id (int)
    • auth_id (uint64_t)
    • response (uint32_t)
    • owner_id (uint64_t)