Script::UnitIsVisible
function · ui · orchestration
- Address
0x516030· 57 bytes, up to0x516068- Signature
int __fastcall (lua_State *L)- Meaning
- Pushes 1 when the token names a held unit object, else nil
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/unitinfo#unitisvisible
Finding: UnitIsVisible in ui: unit presence, flags, classification and type
UnitIsVisible(unit) pushes the number 1 when 0x515940 returns an object, else nil. 0x515940 resolves the token with 0x515970 and, for a nonzero GUID, looks
the object up with type mask 8 (a unit); it adds no other test. No Usage: check: a nil or missing unit gives nil.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 4
- GetUnitFromToken ui
- lua_tostring lua
- lua_pushnil lua
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.