source-engine/game/shared/tfc/weapon_tfc_nailgun.h

58 lines
1.0 KiB
C
Raw Normal View History

2020-04-22 16:56:21 +00:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#ifndef WEAPON_TFC_NAILGUN_H
#define WEAPON_TFC_NAILGUN_H
#ifdef _WIN32
#pragma once
#endif
#include "weapon_tfc_shotgun.h"
#if defined( CLIENT_DLL )
#define CTFCNailgun C_TFCNailgun
#endif
// ----------------------------------------------------------------------------- //
// CTFCNailgun class definition.
// ----------------------------------------------------------------------------- //
class CTFCNailgun : public CWeaponTFCBase
{
public:
DECLARE_CLASS( CTFCNailgun, CWeaponTFCBase );
DECLARE_NETWORKCLASS();
DECLARE_PREDICTABLE();
#ifndef CLIENT_DLL
DECLARE_DATADESC();
#endif
CTFCNailgun();
virtual TFCWeaponID GetWeaponID( void ) const;
virtual void PrimaryAttack();
virtual void SecondaryAttack();
// Overrideables.
public:
private:
CTFCNailgun( const CTFCNailgun & ) {}
};
#endif // WEAPON_TFC_NAILGUN_H