ReadDamageCalcLog
function · objectlayer · primitive
- Address
0x5e8d30· 478 bytes, up to0x5e8f0d- Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)- Meaning
- Prints a damage calculation's attacker, target, spell and entries to the console
- Confidence
- verified, proof one
- Finding
- objectlayer/playercombat#damage-calculation-log
Finding: Damage calculation log in objectlayer: player spells and combat
0x27c prints "DMG: '%s' attacks '%s' sourceType=%d, spell='%s'" with the two units' names
("Non-unit" and "Unknown Unit" when absent) and the spell's first-locale name or "None", then per
entry a name of at most 30, an index and two floats: "val" prints "DMG: NOT VALIDATED: Old=%f,
New=%f", an index below 36 prints its name from 0x85fc54 as "DMG: (%s) '%s'=%8.2f, total=%f", any
other the number.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 8
- CDataStore::GetInt32 base
- CDataStore::GetGuid base
- CDataStore::GetFloat base
- CDataStore::GetCString base
- ClntObjMgrObjectPtr objectlayer
- CGUnit_C::GetUnitName objectlayer
- ConsolePrintf console
- SStrCmpI storm
Calls and jumps by a bare address, from tables/calls.tsv.