mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2026-10-12 06:38:00 +08:00
Add Steam instance defs.
This commit is contained in:
1 parent
bb454b5045
commit
d7a6baed25
1 file changed
+4
@@ -248,6 +248,10 @@ typedef bool (*PFNLegacyKeyInstalled)();
|
||||
|
||||
const int k_unSteamAccountIDMask = 0xFFFFFFFF;
|
||||
const int k_unSteamAccountInstanceMask = 0x000FFFFF;
|
||||
// we allow 3 simultaneous user account instances right now, 1= desktop, 2 = console, 4 = web, 0 = all
|
||||
const unsigned int k_unSteamUserDesktopInstance = 1;
|
||||
const unsigned int k_unSteamUserConsoleInstance = 2;
|
||||
const unsigned int k_unSteamUserWebInstance = 4;
|
||||
|
||||
// Special flags for Chat accounts - they go in the top 8 bits
|
||||
// of the steam ID's "instance", leaving 12 for the actual instances
|
||||
|
||||
Reference in new issue
Block a user