benilla-re systems structs docs

Script::UnitHasRelicSlot

function · ui · primitive

Address
0x519e50 · 149 bytes, up to 0x519ee4
Signature
int __fastcall (lua_State *L)
Meaning
Pushes 1 for a player whose class row has a relic slot, else nil
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/unitinfo#unithasrelicslot

Finding: UnitHasRelicSlot in ui: unit presence, flags, classification and type

UnitHasRelicSlot(unit) raises Usage: UnitHasRelicSlot("unit") for a missing argument and pushes 1 for a unit that is a player (type bit 0x10) whose class row has a nonzero dword at +0x40, else nil.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 6

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