mirror of
https://github.com/Gigaslav/HL2Overcharged.git
synced 2026-01-05 06:10:21 +03:00
27 lines
803 B
C++
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 |