1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 04:26:03 +08:00

Add Steam instance defs.

This commit is contained in:
Nicholas Hastings
2016-10-13 21:34:05 -04:00
parent bb454b5045
commit d7a6baed25

View File

@ -248,6 +248,10 @@ typedef bool (*PFNLegacyKeyInstalled)();
const int k_unSteamAccountIDMask = 0xFFFFFFFF; const int k_unSteamAccountIDMask = 0xFFFFFFFF;
const int k_unSteamAccountInstanceMask = 0x000FFFFF; 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 // Special flags for Chat accounts - they go in the top 8 bits
// of the steam ID's "instance", leaving 12 for the actual instances // of the steam ID's "instance", leaving 12 for the actual instances