1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-23 01:59:43 +08:00

Add Steam instance defs.

This commit is contained in:
Nicholas Hastings 2016-10-13 21:28:33 -04:00
parent 456fbed5bc
commit 1db7fa120d

View File

@ -637,6 +637,13 @@ inline bool CSteamID::IsValid() const
return true;
}
const unsigned int k_unSteamAccountIDMask = 0xFFFFFFFF;
const unsigned 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;
// generic invalid CSteamID
const CSteamID k_steamIDNil;