benilla-re systems structs docs

s_keyTargetTokenNotFound

global · ui

Address
0x84f3a4 · 23 bytes, up to 0x84f3ba
Type
const char[23]
Meaning
Holds the global string key TARGET_TOKEN_NOT_FOUND of the text a target token with no name takes
Confidence
verified, proof one
Finding
ui/chatsend#target-token-name

Finding: Target token name in ui: sending chat

Each token looks the name up anew from the target GUID, 0xb4e2d8 (low dword) and 0xb4e2dc. A GUID of 0 gives the text of the global TARGET_TOKEN_NOT_FOUND. Otherwise the object manager is asked for a unit with that GUID (0x468460, mask 8) and one found is named by GetUnitName (0x609210), whose miss text is UNKNOWNOBJECT (objectlayer/unitnames#unit-names). With no unit, the name cache 0xc0e228 is asked (0x55f080) with no callback, so it sends no query, and a record found gives its name, at the record's start; a miss gives TARGET_TOKEN_NOT_FOUND. That global is appended as the script text lookup returns it, which is empty when the global is not a string.

The derivation is in the doc.