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/shared/tf/tf_item_tools.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/shared/tf/tf_item_tools.h')
| -rw-r--r-- | game/shared/tf/tf_item_tools.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/game/shared/tf/tf_item_tools.h b/game/shared/tf/tf_item_tools.h new file mode 100644 index 0000000..0a1c33b --- /dev/null +++ b/game/shared/tf/tf_item_tools.h @@ -0,0 +1,34 @@ + +#include "econ_item_tools.h" + +//--------------------------------------------------------------------------------------- +// Purpose: +//--------------------------------------------------------------------------------------- +class CEconTool_TFSpellbookPage : public IEconTool +{ +public: + CEconTool_TFSpellbookPage( const char *pszTypeName, item_capabilities_t unCapabilities ) + : IEconTool( pszTypeName, NULL, NULL, unCapabilities ) + { + // + } + +#ifdef CLIENT_DLL + virtual bool ShouldDisplayAsUseableOnItemsInArmory() const { return false; } + + virtual void OnClientApplyTool( CEconItemView *pTool, CEconItemView *pSubject, vgui::Panel *pParent ) const; +#endif // CLIENT_DLL +}; + +//--------------------------------------------------------------------------------------- +// Purpose: +//--------------------------------------------------------------------------------------- +class CEconTool_TFEventEnableHalloween : public IEconTool +{ +public: + CEconTool_TFEventEnableHalloween( const char *pszTypeName, const char *pszUseString ) : IEconTool( pszTypeName, pszUseString, NULL, ITEM_CAP_NONE ) { } + +#ifdef CLIENT_DLL + virtual void OnClientUseConsumable( CEconItemView *pItem, vgui::Panel *pParent ) const; +#endif // CLIENT_DLL +};
\ No newline at end of file |