To retrieve the current user steamid we use the GetSteamID method from the SteamUser class. We also need to use the Steamworks namespace by adding using Steamworks; at the top of your class.
GetSteamID
SteamUser
Steamworks
using Steamworks;
using Steamworks; CSteamID steamid = SteamUser.GetSteamID();
Last updated 2 years ago