Entity systemClasses

CDamageRecord

Schema class CDamageRecord.

Generated from the game's schema. Header: source2mod/schema/entity/classes/CDamageRecord.h

Fields

FieldType
m_PlayerDamagerCHandle<CCSPlayerPawn>
m_PlayerRecipientCHandle<CCSPlayerPawn>
m_hPlayerControllerDamagerCHandle<CCSPlayerController>
m_hPlayerControllerRecipientCHandle<CCSPlayerController>
m_szPlayerDamagerNameCUtlString
m_szPlayerRecipientNameCUtlString
m_DamagerXuiduint64_t
m_RecipientXuiduint64_t
m_flBulletsDamagefloat
m_flDamagefloat
m_flActualHealthRemovedfloat
m_iNumHitsint32_t
m_iLastBulletUpdateint32_t
m_bIsOtherEnemybool
m_killTypeEKillTypes_t

Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).

On this page