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.

29 lines
874 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Holds the CTFPlayerInfo object
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef TFPLAYERINFO_H
  8. #define TFPLAYERINFO_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "gcsdk/protobufsharedobject.h"
  13. #include "tf_gcmessages.pb.h"
  14. //---------------------------------------------------------------------------------
  15. // Purpose: All the account-level information that the GC tracks for TF
  16. //---------------------------------------------------------------------------------
  17. class CTFPlayerInfo : public GCSDK::CProtoBufSharedObject< CSOTFPlayerInfo, k_EEconTypePlayerInfo >
  18. {
  19. #ifdef GC
  20. DECLARE_CLASS_MEMPOOL( CTFPlayerInfo );
  21. public:
  22. virtual bool BIsDatabaseBacked() const { return false; }
  23. #endif
  24. };
  25. #endif // TFPLAYERINFO_H