Script::GetTrainerSkillLines
function · ui · primitive
- Address
0x4da660· 96 bytes, up to0x4da6bf- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the skill line names of the trainer groups
- 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 1
- lua_pushstring lua
Calls and jumps by a bare address, from tables/calls.tsv.