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

//========= 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