aboutsummaryrefslogtreecommitdiff
path: root/sp/src/common/userid.h
blob: 7882bc0bb1882bbbb2babb7a37f90b976dbb257a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
// $NoKeywords: $
//=============================================================================//

#ifndef USERID_H
#define USERID_H
#ifdef _WIN32
#pragma once
#endif

#if !defined( INCLUDED_STEAM_STEAMUSERIDTYPES_H )
	#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;

	union
	{
		TSteamGlobalUserID	steamid;
	} uid;

//	unsigned int		clientip;
} USERID_t;

#endif // USERID_H