CGGameUI::OfferNameMatch
function · ui · primitive
- Address
0x493d30· 265 bytes, up to0x493e38- Signature
uint32_t __thiscall (CGGameUI *this, uint64_t guid)- Meaning
- Offers one object to the name search when its type and kind filter pass
- Confidence
- verified, proof one
- Finding
- ui/targeting#matching-a-name
Finding: Matching a name in ui: selecting a target
0x493aa0(name, typeMask, mode, exactOnly, maxDistance) returns the GUID of the best unit for a typed name, or 0. Mode 0
and 2 try the four party slots, then the raid, then every object; mode 1 tries only objects; mode 3 tries party and objects.
Party and raid members take the same compare as objects, so they match by prefix too. An object must
pass the type mask and the filter, which receives the search's mode. An equal name nearer than the best distance so far ends the search. Otherwise, unless exactOnly, a unit counts by the prefix it shares with the text, at least one character: a longer prefix wins, and at equal length the nearer unit.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 4
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGGameUI::ConsiderNameMatch ui
- CGGameUI::TargetKindAccepts ui
Calls and jumps by a bare address, from tables/calls.tsv.