Script::GetTradeSkillSubClassFilter
function · ui · primitive
- Address
0x4ffd90· 195 bytes, up to0x4ffe52- Signature
int __fastcall (lua_State *L)- Meaning
- Returns 1 when an item subclass 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
- __ftol crt
- lua_isnumber lua
- lua_tonumber lua
- lua_pushnil lua
- lua_pushnumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.