Team Fortress 2 Source Code as on 22/4/2020
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.

32 lines
657 B

  1. //========= Copyright 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. #include "strtools.h"
  13. #include "steam/steamclientpublic.h"
  14. #if !defined( INCLUDED_STEAM_STEAMUSERIDTYPES_H )
  15. #define INCLUDED_STEAM2_USERID_STRUCTS
  16. #include "steamcommon.h"
  17. #endif
  18. #define IDTYPE_WON 0
  19. #define IDTYPE_STEAM 1
  20. #define IDTYPE_VALVE 2
  21. #define IDTYPE_HLTV 3
  22. #define IDTYPE_REPLAY 4
  23. typedef struct USERID_s
  24. {
  25. int idtype;
  26. CSteamID steamid;
  27. } USERID_t;
  28. #endif // USERID_H