Entity systemClasses
CDamageRecord
Schema class CDamageRecord.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CDamageRecord.h
Fields
| Field | Type |
|---|---|
m_PlayerDamager | CHandle<CCSPlayerPawn> |
m_PlayerRecipient | CHandle<CCSPlayerPawn> |
m_hPlayerControllerDamager | CHandle<CCSPlayerController> |
m_hPlayerControllerRecipient | CHandle<CCSPlayerController> |
m_szPlayerDamagerName | CUtlString |
m_szPlayerRecipientName | CUtlString |
m_DamagerXuid | uint64_t |
m_RecipientXuid | uint64_t |
m_flBulletsDamage | float |
m_flDamage | float |
m_flActualHealthRemoved | float |
m_iNumHits | int32_t |
m_iLastBulletUpdate | int32_t |
m_bIsOtherEnemy | bool |
m_killType | EKillTypes_t |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).