mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-11 23:57:59 +00:00
45 lines
887 B
C++
45 lines
887 B
C++
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
//
|
|
//=============================================================================
|
|
#ifndef TF_WEAPON_NAILGUN_H
|
|
#define TF_WEAPON_NAILGUN_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "tf_weaponbase_gun.h"
|
|
|
|
// Client specific.
|
|
#ifdef CLIENT_DLL
|
|
#define CTFNailgun C_TFNailgun
|
|
#endif
|
|
|
|
//=============================================================================
|
|
//
|
|
// TF Weapon Sub-machine gun.
|
|
//
|
|
class CTFNailgun : public CTFWeaponBaseGun
|
|
{
|
|
public:
|
|
|
|
DECLARE_CLASS( CTFNailgun, CTFWeaponBaseGun );
|
|
DECLARE_NETWORKCLASS();
|
|
DECLARE_PREDICTABLE();
|
|
|
|
// Server specific.
|
|
#ifdef GAME_DLL
|
|
DECLARE_DATADESC();
|
|
#endif
|
|
|
|
CTFNailgun() {}
|
|
~CTFNailgun() {}
|
|
|
|
virtual int GetWeaponID( void ) const { return TF_WEAPON_NAILGUN; }
|
|
|
|
private:
|
|
|
|
CTFNailgun( const CTFNailgun & ) {}
|
|
};
|
|
|
|
#endif // TF_WEAPON_NAILGUN_H
|