BaseItem

Baseclass for CItem.
Allows calling of the base implementation of certain methods.

Type: Reference type

Methods

Declaration Description
BaseEntity@ opImplCast() Implicitly casts to base type.
bool KeyValue(const string& in szKeyName, const string& in szValue) Calls the base class implementation of KeyValue
void Precache() Calls the base class implementation of Precache
void PreSpawn() Calls the base class implementation of PreSpawn
void Spawn() Calls the base class implementation of Spawn
void PostSpawn() Calls the base class implementation of PostSpawn
void Think() Calls the base class implementation of Think
void Touch(CBaseEntity@ pOther) Calls the base class implementation of Touch
void Use(CBaseEntity@ pActivator, CBaseEntity@ pCaller, USE_TYPE useType, float flValue = 0.0f) Calls the base class implementation of Use
void Blocked(CBaseEntity@ pOther) Calls the base class implementation of Blocked
void UpdateOnRemove() Calls the base class implementation of UpdateOnRemove
int ObjectCaps() Calls the base class implementation of ObjectCaps
void TraceAttack(entvars_t@ pevAttacker, float flDamage, const Vector& in vecDir, TraceResult& in ptr, int bitsDamageType) Calls the base class implementation of TraceAttack
int TakeDamage(entvars_t@ pevInflictor, entvars_t@ pevAttacker, float flDamage, int bitsDamageType) Calls the base class implementation of TakeDamage
bool TakeHealth(float flHealth, int bitsDamageType, float health_cap = 0) Calls the base class implementation of TakeHealth
bool TakeArmor(float flArmor, int bitsDamageType, float armor_cap = 0) Calls the base class implementation of TakeArmor
void Killed(entvars_t@ pevAttacker, int iGib) Calls the base class implementation of Killed
int BloodColor() Calls the base class implementation of BloodColor
void TraceBleed(float flDamage, const Vector& in vecDir, TraceResult& in traceResult, int bitsDamageType) Calls the base class implementation of TraceBleed
float GetPointsForDamage(float flDamage) Calls the base class implementation of GetPointsForDamage
bool IsRevivable() Calls the base class implementation of IsRevivable
void BeginRevive(float flTimeUntilRevive) Calls the base class implementation of BeginRevive
void EndRevive(float flTimeUntilRevive) Calls the base class implementation of EndRevive