diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/shared/tf/tf_weapon_nailgun.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/shared/tf/tf_weapon_nailgun.h')
| -rw-r--r-- | game/shared/tf/tf_weapon_nailgun.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/game/shared/tf/tf_weapon_nailgun.h b/game/shared/tf/tf_weapon_nailgun.h new file mode 100644 index 0000000..365552e --- /dev/null +++ b/game/shared/tf/tf_weapon_nailgun.h @@ -0,0 +1,45 @@ +//========= 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
\ No newline at end of file |