Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
756 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef HOLIDAY_GIFT_H
  7. #define HOLIDAY_GIFT_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "items.h"
  12. class CHolidayGift: public CItem
  13. {
  14. public:
  15. DECLARE_CLASS( CHolidayGift, CItem );
  16. public:
  17. virtual void Precache();
  18. virtual void Spawn( void );
  19. virtual bool MyTouch( CBasePlayer *pBasePlayer );
  20. virtual void ItemTouch( CBaseEntity *pOther );
  21. void DropSoundThink( void );
  22. public:
  23. static CHolidayGift* Create( const Vector &position, const QAngle &angles, const QAngle &eyeAngles, const Vector &velocity, CBaseCombatCharacter *pOwner );
  24. };
  25. #endif // HOLIDAY_GIFT_H