diff options
Diffstat (limited to 'game/shared/tf/tf_weapon_tranq.h')
| -rw-r--r-- | game/shared/tf/tf_weapon_tranq.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/game/shared/tf/tf_weapon_tranq.h b/game/shared/tf/tf_weapon_tranq.h new file mode 100644 index 0000000..5deced2 --- /dev/null +++ b/game/shared/tf/tf_weapon_tranq.h @@ -0,0 +1,45 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// +//============================================================================= +#ifndef TF_WEAPON_TRANQ_H +#define TF_WEAPON_TRANQ_H +#ifdef _WIN32 +#pragma once +#endif + +#include "tf_weaponbase_gun.h" + +// Client specific. +#ifdef CLIENT_DLL +#define CTFTranq C_TFTranq +#endif + +//============================================================================= +// +// TF Weapon Tranq. +// +class CTFTranq : public CTFWeaponBaseGun +{ +public: + + DECLARE_CLASS( CTFTranq, CTFWeaponBaseGun ); + DECLARE_NETWORKCLASS(); + DECLARE_PREDICTABLE(); + +// Server specific. +#ifdef GAME_DLL + DECLARE_DATADESC(); +#endif + + CTFTranq() {} + ~CTFTranq() {} + + virtual int GetWeaponID( void ) const { return TF_WEAPON_TRANQ; } + +private: + + CTFTranq( const CTFTranq & ) {} +}; + +#endif // TF_WEAPON_TRANQ_H
\ No newline at end of file |