VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::EngineDamageResult Struct Reference

#include <DamageLayout.hpp>

Public Attributes

EngineDamageInfo * OriginatingInfo
uint8_t DestructibleHitGroupRequests [16]
int32_t HealthLost
int32_t HealthBefore
float DamageDealt
float PreModifiedDamage
Vector DamagePosition
int32_t TotalledHealthLost
float TotalledDamageDealt
float TotalledPreModifiedDamage
float NewDamageAccumulatorValue
TakeDamageFlags_t DamageFlags
bool WasDamageSuppressed
bool SuppressFlinch
HitGroup_t OverrideFlinchHitGroup
uint8_t Unknown [8]

Detailed Description

CTakeDamageResult as of server build 2000908, from CS2Fixes.

Definition at line 36 of file DamageLayout.hpp.

Member Data Documentation

◆ DamageDealt

float VoltMod::EngineDamageResult::DamageDealt

Definition at line 42 of file DamageLayout.hpp.

Referenced by VoltMod::Damage::Apply().

◆ DamageFlags

TakeDamageFlags_t VoltMod::EngineDamageResult::DamageFlags

Definition at line 49 of file DamageLayout.hpp.

◆ DamagePosition

Vector VoltMod::EngineDamageResult::DamagePosition

Definition at line 44 of file DamageLayout.hpp.

◆ DestructibleHitGroupRequests

uint8_t VoltMod::EngineDamageResult::DestructibleHitGroupRequests[16]

Definition at line 39 of file DamageLayout.hpp.

◆ HealthBefore

int32_t VoltMod::EngineDamageResult::HealthBefore

Definition at line 41 of file DamageLayout.hpp.

◆ HealthLost

int32_t VoltMod::EngineDamageResult::HealthLost

Definition at line 40 of file DamageLayout.hpp.

Referenced by VoltMod::Damage::Apply().

◆ NewDamageAccumulatorValue

float VoltMod::EngineDamageResult::NewDamageAccumulatorValue

Definition at line 48 of file DamageLayout.hpp.

◆ OriginatingInfo

EngineDamageInfo* VoltMod::EngineDamageResult::OriginatingInfo

Definition at line 38 of file DamageLayout.hpp.

Referenced by VoltMod::Damage::Apply().

◆ OverrideFlinchHitGroup

HitGroup_t VoltMod::EngineDamageResult::OverrideFlinchHitGroup

Definition at line 52 of file DamageLayout.hpp.

◆ PreModifiedDamage

float VoltMod::EngineDamageResult::PreModifiedDamage

Definition at line 43 of file DamageLayout.hpp.

Referenced by VoltMod::Damage::Apply().

◆ SuppressFlinch

bool VoltMod::EngineDamageResult::SuppressFlinch

Definition at line 51 of file DamageLayout.hpp.

◆ TotalledDamageDealt

float VoltMod::EngineDamageResult::TotalledDamageDealt

Definition at line 46 of file DamageLayout.hpp.

Referenced by VoltMod::Damage::Apply().

◆ TotalledHealthLost

int32_t VoltMod::EngineDamageResult::TotalledHealthLost

Definition at line 45 of file DamageLayout.hpp.

Referenced by VoltMod::Damage::Apply().

◆ TotalledPreModifiedDamage

float VoltMod::EngineDamageResult::TotalledPreModifiedDamage

Definition at line 47 of file DamageLayout.hpp.

◆ Unknown

uint8_t VoltMod::EngineDamageResult::Unknown[8]

Definition at line 53 of file DamageLayout.hpp.

◆ WasDamageSuppressed

bool VoltMod::EngineDamageResult::WasDamageSuppressed

Definition at line 50 of file DamageLayout.hpp.


The documentation for this struct was generated from the following file: