mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-12 18:37:18 +00:00
45 lines
852 B
C
45 lines
852 B
C
|
//========= 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
|