Script::GetTrainerServiceTypeFilter
function · ui · primitive
- Address
0x4da510· 128 bytes, up to0x4da58f- Signature
int __fastcall (lua_State *L)- Meaning
- Returns 1 when a trainer service state is shown, else nil
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/trainerverbs#filter-and-group-getters
Finding: Filter and group getters in ui: trainer window getters and filters
GetTrainerServiceTypeFilter("type") returns 1 when the state bit of available, unavailable or used is set, else nil;
all or another name raises Bad service type in GetTrainerServiceTypeFilter. GetTrainerSkillLineFilter(n) returns 1 when
group n - 1 is shown (for n below 1, when every group is) and raises Bad skill line in GetTrainerSkillLineFilter past the
count. GetTrainerSkillLines() pushes the localized skill line name stored at each group's key, nil for a key without one, and
returns the group count. CollapseTrainerSkillLine(n) and ExpandTrainerSkillLine(n) clear or set the expanded bit of the group
whose header is row n - 1 of the full array, or the whole mask for n below 1; a non-header row raises Bad skill line in ....
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 6
- TrainerFilterBit ui
- lua_isstring lua
- lua_tostring lua
- lua_pushnil lua
- lua_pushnumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.