summaryrefslogtreecommitdiff
path: root/game/shared/tf/tf_player_info.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/shared/tf/tf_player_info.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'game/shared/tf/tf_player_info.h')
-rw-r--r--game/shared/tf/tf_player_info.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/game/shared/tf/tf_player_info.h b/game/shared/tf/tf_player_info.h
new file mode 100644
index 0000000..a367e0e
--- /dev/null
+++ b/game/shared/tf/tf_player_info.h
@@ -0,0 +1,29 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose: Holds the CTFPlayerInfo object
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef TFPLAYERINFO_H
+#define TFPLAYERINFO_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "gcsdk/protobufsharedobject.h"
+#include "tf_gcmessages.pb.h"
+
+//---------------------------------------------------------------------------------
+// Purpose: All the account-level information that the GC tracks for TF
+//---------------------------------------------------------------------------------
+class CTFPlayerInfo : public GCSDK::CProtoBufSharedObject< CSOTFPlayerInfo, k_EEconTypePlayerInfo >
+{
+#ifdef GC
+ DECLARE_CLASS_MEMPOOL( CTFPlayerInfo );
+public:
+ virtual bool BIsDatabaseBacked() const { return false; }
+#endif
+};
+
+#endif // TFPLAYERINFO_H