summaryrefslogtreecommitdiff
path: root/game/server/cstrike/holiday_gift.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/server/cstrike/holiday_gift.h')
-rw-r--r--game/server/cstrike/holiday_gift.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/game/server/cstrike/holiday_gift.h b/game/server/cstrike/holiday_gift.h
new file mode 100644
index 0000000..f5987bd
--- /dev/null
+++ b/game/server/cstrike/holiday_gift.h
@@ -0,0 +1,36 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#ifndef HOLIDAY_GIFT_H
+#define HOLIDAY_GIFT_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+#include "items.h"
+
+
+class CHolidayGift: public CItem
+{
+public:
+ DECLARE_CLASS( CHolidayGift, CItem );
+
+public:
+
+ virtual void Precache();
+ virtual void Spawn( void );
+ virtual bool MyTouch( CBasePlayer *pBasePlayer );
+ virtual void ItemTouch( CBaseEntity *pOther );
+ void DropSoundThink( void );
+
+public:
+
+ static CHolidayGift* Create( const Vector &position, const QAngle &angles, const QAngle &eyeAngles, const Vector &velocity, CBaseCombatCharacter *pOwner );
+};
+
+
+#endif // HOLIDAY_GIFT_H