benilla-re systems structs docs

Script::GetTradeSkillInvSlotFilter

function · ui · primitive

Address
0x4fffd0 · 238 bytes, up to 0x5000bd
Signature
int __fastcall (lua_State *L)
Meaning
Returns 1 when an equipment slot kind is shown, else nil
Confidence
verified, proof one
Name from
the community database (idb)
Finding
tradeskill/bindings#filter-functions

Finding: Filter functions in tradeskill: bindings

SetTradeSkillSubClassFilter (0x4ffc70) takes an index, an on flag and an optional exclusive flag. An index of 0 or below turns every subclass on. Otherwise the index is the 1-based header position: a bit is cleared by an on flag of 0, set alone by a nonzero exclusive flag, and added otherwise. GetTradeSkillSubClassFilter (0x4ffd90) returns 1 or nil for a header, and for an index of 0 or below 1 when every header is on. SetTradeSkillInvSlotFilter (0x4ffe60) and GetTradeSkillInvSlotFilter (0x4fffd0) do the same for the slots; the index counts only the set bits of 0xbde058, ascending. Each setter ends in a mask setter of recipes and so raises TRADE_SKILL_UPDATE.

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.