CTakeDamageInfo@

Take Damage info.

Methods

Getters

  • CBaseEntity@ GetInflictor()
  • CBaseEntity@ GetWeapon()
  • CBaseEntity@ GetAttacker()
  • double GetDamage()
  • double GetDamage() const
  • double GetMaxDamage()
  • double GetMaxDamage() const
  • double GetBaseDamage()
  • double GetBaseDamage() const
  • bool BaseDamageIsValid()
  • Vector GetDamagePosition()
  • Vector GetReportedPosition()
  • Vector GetDamageForce()
  • int GetDamageType()
  • int GetDamageCustom()
  • int GetDamageStats()
  • int GetAmmoType()
  • string GetAmmoName()
  • int GetDamagedOtherPlayers()
  • bool GetCanCrit()
  • bool GetHandleDamageLikeRagdoll()

Setters

  • void SetDamage(double flDamage)
  • void SetMaxDamage(double flMaxDamage)
  • void SetInflictor(CBaseEntity@ pInflictor)
  • void SetAttacker(CBaseEntity@ pAttacker)
  • void SetWeapon(CBaseEntity@ pWeapon)
  • void SetReportedPosition(Vector reportedPosition)
  • void SetAmmoType(int iAmmoType)
  • void SetDamageType(int bitsDamageType)
  • void AddDamageType(int bitsDamageType)
  • void ScaleDamage(double flScaleAmount)
  • void AddDamage(double flAddAmount)
  • void SubtractDamage(double flSubtractAmount)
  • void SetDamageForce(Vector damageForce)
  • void ScaleDamageForce(double flScaleAmount)
  • void SetDamagePosition(Vector damagePosition)
  • void SetDamageCustom(int iDamageCustom)
  • void SetDamageStats(int iDamageStats)
  • void AdjustPlayerDamageInflictedForSkillLevel()
  • void AdjustPlayerDamageTakenForSkillLevel()
  • void SetDamagedOtherPlayers(int iVal)
  • void SetCanCrit(bool val)
  • void SetHandleDamageLikeRagdoll(bool val)
  • void CopyDamageToBaseDamage()