diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/client/tf2/hintitemobjectbase.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/client/tf2/hintitemobjectbase.h')
| -rw-r--r-- | game/client/tf2/hintitemobjectbase.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/game/client/tf2/hintitemobjectbase.h b/game/client/tf2/hintitemobjectbase.h new file mode 100644 index 0000000..a55fd9f --- /dev/null +++ b/game/client/tf2/hintitemobjectbase.h @@ -0,0 +1,43 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef HINTITEMOBJECTBASE_H +#define HINTITEMOBJECTBASE_H +#ifdef _WIN32 +#pragma once +#endif + +#include "hintitemorderbase.h" + +class C_BaseEntity; + +//----------------------------------------------------------------------------- +// Purpose: +//----------------------------------------------------------------------------- +class CHintItemObjectBase : public CHintItemOrderBase +{ + DECLARE_CLASS( CHintItemObjectBase, CHintItemOrderBase ); + +public: + CHintItemObjectBase( vgui::Panel *parent, const char *panelName ); + + virtual void ParseItem( KeyValues *pKeyValues ); + // Is the object of type m_szObjectType + virtual bool IsObjectOfType( C_BaseEntity *object ); + virtual void SetObjectType( const char *type ); + virtual char const *GetObjectType( void ); + +private: + enum + { + MAX_OBJECT_TYPE = 128, + }; + + char m_szObjectType[ MAX_OBJECT_TYPE ]; +}; + +#endif // HINTITEMOBJECTBASE_H |