benilla-re systems structs docs

Script::SelectTradeSkill

function · ui · orchestration

Address
0x4fd9b0 · 64 bytes, up to 0x4fd9ef
Signature
int __fastcall (lua_State *L)
Meaning
Selects the profession row of a number
Confidence
verified, proof one
Name from
the community database (idb)
Finding
tradeskill/bindings#list-and-selection

Finding: List and selection in tradeskill: bindings

GetNumTradeSkills (0x4fd800) returns the displayed count. GetTradeSkillInfo (0x4fd820) returns four values for an index. A recipe row gives the spell name, its difficulty word (optimal, medium, easy or trivial), the available count and nil. A header row gives the subclass name, header, 0, and 1 when the group is not collapsed or nil when it is. SelectTradeSkill (0x4fd9b0) stores the row's spell id as the selection, or 0 for a header, and GetTradeSkillSelectionIndex (0x4fd9f0) returns the position of the selected spell plus 1, so 0 for none. GetFirstTradeSkill (0x5001c0) returns the position of the first displayed row with a spell id above 0, or 0.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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