For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get the current SteamID

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.

using Steamworks;

CSteamID steamid = SteamUser.GetSteamID();

Last updated