summaryrefslogtreecommitdiff
path: root/game/shared/tf/tf_item_tools.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/shared/tf/tf_item_tools.h')
-rw-r--r--game/shared/tf/tf_item_tools.h34
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