source-engine/game/shared/hl1/hl1mp_weapon_mp5.h
2022-04-16 12:05:19 +03:00

54 lines
1005 B
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Projectile shot from the MP5
//
// $Workfile: $
// $Date: $
//
//-----------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#ifndef WEAPONMP5_H
#define WEAPONMP5_H
#ifdef CLIENT_DLL
#else
#include "hl1_basegrenade.h"
#endif
#include "hl1mp_basecombatweapon_shared.h"
#ifdef CLIENT_DLL
class CGrenadeMP5;
#else
#endif
#ifdef CLIENT_DLL
#define CWeaponMP5 C_WeaponMP5
#endif
class CWeaponMP5 : public CBaseHL1MPCombatWeapon
{
DECLARE_CLASS( CWeaponMP5, CBaseHL1MPCombatWeapon );
public:
DECLARE_NETWORKCLASS();
DECLARE_PREDICTABLE();
CWeaponMP5();
void Precache( void );
void PrimaryAttack( void );
void SecondaryAttack( void );
void DryFire( void );
void WeaponIdle( void );
// DECLARE_SERVERCLASS();
DECLARE_DATADESC();
};
#endif //WEAPONMP5_H