Skip to content

Commit dff2e58

Browse files
committed
Update CTakeDamageInfo
1 parent b5ea37b commit dff2e58

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

src/cs2_sdk/entity/ctakedamageinfo.h

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,19 +125,24 @@ class CTakeDamageInfo
125125
bool m_bShouldSpark; // 0x6d | 109
126126

127127
private:
128-
[[maybe_unused]] uint8_t _x66[0x2]; // 0x66
128+
[[maybe_unused]] uint8_t _x6e[0x2]; // 0x6e
129129

130130
public:
131131
float m_flDamageAbsorbed; // 0x70 | 112
132132
CGameTrace* m_pTrace; // 0x78 | 120
133133
TakeDamageFlags_t m_nDamageFlags; // 0x80 | 128
134-
int32_t m_nNumObjectsPenetrated; // 0x88 | 136
135-
float m_flFriendlyFireDamageReductionRatio; // 0x8c | 140
136-
void* m_hScriptInstance; // 0x90 | 144
137-
AttackerInfo_t m_AttackerInfo; // 0x98 | 152
138-
bool m_bInTakeDamageFlow; // 0xac | 172
134+
int32_t m_nNumObjectsPenetrated; // 0x84 | 132
135+
float m_flFriendlyFireDamageReductionRatio; // 0x88 | 136
139136

140137
private:
141-
[[maybe_unused]] int32_t m_nUnknown2; // 0xa0 | 176
138+
[[maybe_unused]] uint8_t _x8c[0x58]; // 0x8c
139+
140+
public:
141+
void* m_hScriptInstance; // 0xe8 | 232
142+
AttackerInfo_t m_AttackerInfo; // 0xf0 | 240
143+
bool m_bInTakeDamageFlow; // 0x104 | 260
144+
145+
private:
146+
[[maybe_unused]] int32_t m_nUnknown2; // 0x108 | 264
142147
};
143-
static_assert(sizeof(CTakeDamageInfo) == 184);
148+
static_assert(sizeof(CTakeDamageInfo) == 272);

0 commit comments

Comments
 (0)