source-engine/game/shared/dod/weapon_dodfullauto_punch.h
2022-04-16 12:05:19 +03:00

34 lines
897 B
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include "cbase.h"
#include "weapon_dodfullauto.h"
#if defined( CLIENT_DLL )
#define CDODFullAutoPunchWeapon C_DODFullAutoPunchWeapon
#endif
class CDODFullAutoPunchWeapon : public CDODFullAutoWeapon
{
public:
DECLARE_CLASS( CDODFullAutoPunchWeapon, CDODFullAutoWeapon );
DECLARE_NETWORKCLASS();
DECLARE_PREDICTABLE();
CDODFullAutoPunchWeapon() {}
virtual void Spawn( void );
virtual void SecondaryAttack( void );
virtual bool Reload( void );
virtual void ItemBusyFrame( void );
virtual const char *GetSecondaryDeathNoticeName( void ) { return "punch"; }
virtual DODWeaponID GetWeaponID( void ) const { return WEAPON_NONE; }
private:
CDODFullAutoPunchWeapon( const CDODFullAutoPunchWeapon & );
};