benilla-re systems structs docs

ResolveCombatLogPair

function · objectlayer · primitive

Address
0x626630 · 472 bytes, up to 0x626807
Meaning
Classifies and resolves a line's source and target and tests the player's range to either
Confidence
verified, proof one
Finding
objectlayer/combatlog#range
Test
objectlayer::diff_two_endpoint_a, objectlayer::diff_two_endpoint_b, objectlayer::diff_two_endpoint_dist2, objectlayer::diff_two_endpoint_diffs, objectlayer::diff_two_endpoint_range_sq

Finding: Range in objectlayer: combat log

A line is written only for an event near the player: the player within the range of the source's class of the source, or within the range of the target's class of the target. Classes 0 and 1 reach 100,000 yards and class 9 none; the others read the CVars CombatLogRangeParty, …PartyPet, …FriendlyPlayers, …FriendlyPlayersPets, …HostilePlayers and …HostilePlayersPets, 50 yards by default, and CombatLogRangeCreature, 30. Both comparisons are strict, and NaN fails.

The derivation is in the doc.

Callers 22

Callees 4

Calls and jumps by a bare address, from tables/calls.tsv.