Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
630 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef USERID_H
  8. #define USERID_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #if !defined( INCLUDED_STEAM_STEAMUSERIDTYPES_H )
  13. #include "SteamCommon.h"
  14. #endif
  15. #define IDTYPE_WON 0
  16. #define IDTYPE_STEAM 1
  17. #define IDTYPE_VALVE 2
  18. #define IDTYPE_HLTV 3
  19. #define IDTYPE_REPLAY 4
  20. typedef struct USERID_s
  21. {
  22. int idtype;
  23. union
  24. {
  25. TSteamGlobalUserID steamid;
  26. } uid;
  27. // unsigned int clientip;
  28. } USERID_t;
  29. #endif // USERID_H