source-engine/game/shared/dod/weapon_dodfullauto_punch.h

34 lines
897 B
C
Raw Normal View History

2022-04-16 09:05:19 +00:00
//========= 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 & );
};