benilla-re systems structs docs

Script::GetSelectedSkill

function · ui · primitive

Address
0x4d4090 · 80 bytes, up to 0x4d40df
Signature
int __fastcall (lua_State *L)
Meaning
Returns the 1-based row of the selected skill, or 0
Confidence
verified, proof one
Name from
the community database (idb)
Finding
tradeskill/skills#selection

Finding: Selection in tradeskill: skills

SetSelectedSkill (0x4d4020) stores the skill line of the row at the index, or 0 for a header, an index of 0 or below, or one past the last row; it checks no further. GetSelectedSkill (0x4d4090) returns the 1-based position of the first visible row whose skill line equals the selection, or 0 when none matches or none is selected.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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