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.

57 lines
1.0 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef WEAPON_TFC_NAILGUN_H
  7. #define WEAPON_TFC_NAILGUN_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "weapon_tfc_shotgun.h"
  12. #if defined( CLIENT_DLL )
  13. #define CTFCNailgun C_TFCNailgun
  14. #endif
  15. // ----------------------------------------------------------------------------- //
  16. // CTFCNailgun class definition.
  17. // ----------------------------------------------------------------------------- //
  18. class CTFCNailgun : public CWeaponTFCBase
  19. {
  20. public:
  21. DECLARE_CLASS( CTFCNailgun, CWeaponTFCBase );
  22. DECLARE_NETWORKCLASS();
  23. DECLARE_PREDICTABLE();
  24. #ifndef CLIENT_DLL
  25. DECLARE_DATADESC();
  26. #endif
  27. CTFCNailgun();
  28. virtual TFCWeaponID GetWeaponID( void ) const;
  29. virtual void PrimaryAttack();
  30. virtual void SecondaryAttack();
  31. // Overrideables.
  32. public:
  33. private:
  34. CTFCNailgun( const CTFCNailgun & ) {}
  35. };
  36. #endif // WEAPON_TFC_NAILGUN_H