Register Login

Players and Steam accounts

Link the player and the Steam account.

Step 3. Link the player and the Steam account

  1. When the player is signed in to your game, call client.SetGamePlayerIdAsync with your own player account ID.
  2. Get a ticket from Steamworks with ISteamUser::GetAuthTicketForWebApi, with the identity r3fto. Turn the ticket bytes into a hex string.
  3. Call client.BindVerifiedSteamIdentityAsync with your AppID and the hex ticket. R3FTO checks the ticket with Steam before it links the Steam account to the player.

A SteamID on its own is never accepted. Players choose a creator only in R3FTO's own creator choice (client.OpenCreatorSelectionAsync). Your code can never set a creator.

Documentation

Back to site