Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
887 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. //
  4. //=============================================================================
  5. #ifndef TF_WEAPON_NAILGUN_H
  6. #define TF_WEAPON_NAILGUN_H
  7. #ifdef _WIN32
  8. #pragma once
  9. #endif
  10. #include "tf_weaponbase_gun.h"
  11. // Client specific.
  12. #ifdef CLIENT_DLL
  13. #define CTFNailgun C_TFNailgun
  14. #endif
  15. //=============================================================================
  16. //
  17. // TF Weapon Sub-machine gun.
  18. //
  19. class CTFNailgun : public CTFWeaponBaseGun
  20. {
  21. public:
  22. DECLARE_CLASS( CTFNailgun, CTFWeaponBaseGun );
  23. DECLARE_NETWORKCLASS();
  24. DECLARE_PREDICTABLE();
  25. // Server specific.
  26. #ifdef GAME_DLL
  27. DECLARE_DATADESC();
  28. #endif
  29. CTFNailgun() {}
  30. ~CTFNailgun() {}
  31. virtual int GetWeaponID( void ) const { return TF_WEAPON_NAILGUN; }
  32. private:
  33. CTFNailgun( const CTFNailgun & ) {}
  34. };
  35. #endif // TF_WEAPON_NAILGUN_H