Files
HL2Overcharged/game/server/overcharged/Entity_WeaponDetach.h
2025-05-21 21:20:08 +03:00

27 lines
803 B
C++

#ifndef ENTITY_WEAPONDETACH_H
#define ENTITY_WEAPONDETACH_H
#ifdef _WIN32
#pragma once
#endif
#include "baseentity.h"
class CEntityWeaponDetach : public CBaseEntity
{
DECLARE_CLASS(CEntityWeaponDetach, CBaseEntity);
//DECLARE_SERVERCLASS();
DECLARE_DATADESC();
public:
CEntityWeaponDetach(void);
CEntityWeaponDetach(CBaseEntity *pParent, const char *attachment, const Vector &min, const Vector &max);
CEntityWeaponDetach *entCreate(CBaseEntity *pOwner, const Vector &position, const Vector &min, const Vector &max);// , const Vector &min, const Vector &max);
void LegacyThink(CBaseEntity *pVehicle, const char *pWeapon, const char *attachment, const char *textOn, const char *textOff, float radius, bool alreadyHaveIt);
bool foundedPlayer;
int count;
bool canTakeOffTheGun;
};
#endif