benilla-re systems structs docs

GetTrainerGroupOfRow

function · ui · primitive

Address
0x4d8be0 · 66 bytes, up to 0x4d8c21
Meaning
Returns the group ordinal of a trainer header row, or -1 for a service row or an index past the total
Confidence
verified, proof one
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 2

Callees 0

None by a direct call or jump.

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