Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.
 
 
 
 
 
 

39 lines
835 B

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#ifndef HEGRENADE_PROJECTILE_H
#define HEGRENADE_PROJECTILE_H
#ifdef _WIN32
#pragma once
#endif
#include "basecsgrenade_projectile.h"
class CFlashbangProjectile : public CBaseCSGrenadeProjectile
{
public:
DECLARE_CLASS( CFlashbangProjectile, CBaseCSGrenadeProjectile );
// Overrides.
public:
virtual void Spawn();
virtual void Precache();
virtual void BounceSound( void );
virtual void Detonate();
// Grenade stuff.
static CFlashbangProjectile* Create(
const Vector &position,
const QAngle &angles,
const Vector &velocity,
const AngularImpulse &angVelocity,
CBaseCombatCharacter *pOwner );
};
#endif // HEGRENADE_PROJECTILE_H