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

#include <DamageLayout.hpp>

Public Attributes

void * VTable
 
Vector Force
 
Vector Position
 
Vector ReportedPosition
 
Vector Direction
 
CEntityHandle Inflictor
 
CEntityHandle Attacker
 
CEntityHandle Ability
 
float Damage
 
float TotalledDamage
 
int32_t DamageType
 
uint8_t Rest [200]
 

Detailed Description

CTakeDamageInfo as of server build 2000908, from CS2Fixes. Only the leading fields are named; the engine's constructor fills the rest.

Definition at line 14 of file DamageLayout.hpp.

Member Data Documentation

◆ Ability

CEntityHandle VoltMod::EngineDamageInfo::Ability

Definition at line 23 of file DamageLayout.hpp.

◆ Attacker

CEntityHandle VoltMod::EngineDamageInfo::Attacker

Definition at line 22 of file DamageLayout.hpp.

◆ Damage

float VoltMod::EngineDamageInfo::Damage

Definition at line 24 of file DamageLayout.hpp.

◆ DamageType

int32_t VoltMod::EngineDamageInfo::DamageType

Definition at line 26 of file DamageLayout.hpp.

◆ Direction

Vector VoltMod::EngineDamageInfo::Direction

Definition at line 20 of file DamageLayout.hpp.

◆ Force

Vector VoltMod::EngineDamageInfo::Force

Definition at line 17 of file DamageLayout.hpp.

◆ Inflictor

CEntityHandle VoltMod::EngineDamageInfo::Inflictor

Definition at line 21 of file DamageLayout.hpp.

◆ Position

Vector VoltMod::EngineDamageInfo::Position

Definition at line 18 of file DamageLayout.hpp.

◆ ReportedPosition

Vector VoltMod::EngineDamageInfo::ReportedPosition

Definition at line 19 of file DamageLayout.hpp.

◆ Rest

uint8_t VoltMod::EngineDamageInfo::Rest[200]

Definition at line 27 of file DamageLayout.hpp.

◆ TotalledDamage

float VoltMod::EngineDamageInfo::TotalledDamage

Definition at line 25 of file DamageLayout.hpp.

◆ VTable

void* VoltMod::EngineDamageInfo::VTable

Definition at line 16 of file DamageLayout.hpp.


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