CTakeDamageInfo
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 280 bytes (0x118)Alignment: 8 bytesModule: serverBinary: !GlobalTypes
Relationships
Inherits from: nothing; this is a root class.
Used by (2) as a field type
Inheritance tree
- CTakeDamageInfo
Relationship diagram (3 edges)
classDiagram
CTakeDamageInfo --> CBaseEntity
CTakeDamageInfo *-- AmmoIndex_t
CTakeDamageInfo *-- DestructiblePartDamageRequest_tMemory layout
22 fields, 22 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
CTakeDamageInfo
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_vecDamageForce | Vector | ||
0x14 | m_vecDamagePosition | VectorWS | ||
0x20 | m_vecReportedPosition | VectorWS | ||
0x2c | m_vecDamageDirection | Vector | ||
0x38 | m_hInflictor | CHandle< CBaseEntity > | ||
0x3c | m_hAttacker | CHandle< CBaseEntity > | ||
0x40 | m_hAbility | CHandle< CBaseEntity > | ||
0x44 | m_flDamage | float32 | ||
0x48 | m_flTotalledDamage | float32 | ||
0x4c | m_bitsDamageType | DamageTypes_t | ||
0x50 | m_iDamageCustom | int32 | ||
0x54 | m_iAmmoType | AmmoIndex_t | ||
0x60 | m_flOriginalDamage | float32 | ||
0x64 | m_bShouldBleed | bool | ||
0x65 | m_bShouldSpark | bool | ||
0x70 | m_nDamageFlags | TakeDamageFlags_t | ||
0x78 | m_iHitGroupId | HitGroup_t | ||
0x7c | m_nNumObjectsPenetrated | int32 | ||
0x80 | m_flFriendlyFireDamageReductionRatio | float32 | ||
0x84 | m_bStoppedBullet | bool | ||
0x100 | m_DestructibleHitGroupRequests | CUtlLeanVector< DestructiblePartDamageRequest_t > | ||
0x110 | m_bInTakeDamageFlow | bool | MNotSaved |
KV3 class defaults
{
"_class": "CTakeDamageInfo",
"m_vecDamageForce":
[
0.000000,
0.000000,
0.000000
],
"m_vecDamagePosition": null,
"m_vecReportedPosition": null,
"m_vecDamageDirection":
[
0.000000,
0.000000,
0.000000
],
"m_hInflictor": null,
"m_hAttacker": null,
"m_hAbility": null,
"m_flDamage": 0.000000,
"m_flTotalledDamage": 0.000000,
"m_bitsDamageType": "",
"m_iDamageCustom": 0,
"m_iAmmoType": "",
"m_flOriginalDamage": 0.000000,
"m_bShouldBleed": false,
"m_bShouldSpark": false,
"m_nDamageFlags": "",
"m_iHitGroupId": "HITGROUP_INVALID",
"m_nNumObjectsPenetrated": 0,
"m_flFriendlyFireDamageReductionRatio": 1.000000,
"m_bStoppedBullet": false,
"m_DestructibleHitGroupRequests":
[
]
}