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.
37 lines
756 B
37 lines
756 B
![]()
2 years ago
|
//========= 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
|