diff options
Diffstat (limited to 'common/userid.h')
| -rw-r--r-- | common/userid.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/common/userid.h b/common/userid.h new file mode 100644 index 0000000..4aacdbc --- /dev/null +++ b/common/userid.h @@ -0,0 +1,32 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef USERID_H +#define USERID_H +#ifdef _WIN32 +#pragma once +#endif + +#include "strtools.h" +#include "steam/steamclientpublic.h" +#if !defined( INCLUDED_STEAM_STEAMUSERIDTYPES_H ) +#define INCLUDED_STEAM2_USERID_STRUCTS +#include "steamcommon.h" +#endif + +#define IDTYPE_WON 0 +#define IDTYPE_STEAM 1 +#define IDTYPE_VALVE 2 +#define IDTYPE_HLTV 3 +#define IDTYPE_REPLAY 4 +typedef struct USERID_s +{ + int idtype; + CSteamID steamid; +} USERID_t; + +#endif // USERID_H |