1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-22 17:47:38 +08:00
hl2sdk/common/userid.h

33 lines
689 B
C
Raw Normal View History

2013-06-28 05:27:15 +08:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef USERID_H
#define USERID_H
#ifdef _WIN32
#pragma once
#endif
2014-10-31 00:30:57 +08:00
#include "strtools.h"
#include "steam/steamclientpublic.h"
2013-06-28 05:27:15 +08:00
#if !defined( INCLUDED_STEAM_STEAMUSERIDTYPES_H )
2014-10-31 00:30:57 +08:00
#define INCLUDED_STEAM2_USERID_STRUCTS
#include "SteamCommon.h"
2013-06-28 05:27:15 +08:00
#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;
2014-10-31 00:30:57 +08:00
CSteamID steamid;
2013-06-28 05:27:15 +08:00
} USERID_t;
#endif // USERID_H