benilla-re systems structs docs

Script::GetSkillLineInfo

function · ui · primitive

Address
0x4d3610 · 1177 bytes, up to 0x4d3aa8
Signature
int __fastcall (lua_State *L)
Meaning
Returns the name, ranks, costs and description of a skill list row
Confidence
verified, proof one
Name from
the community database (idb)
Finding
tradeskill/skills#skill-rows

Finding: Skill rows in tradeskill: skills

GetNumSkillLines (0x4d35e0) returns the visible count. GetSkillLineInfo (0x4d3610) returns 12 values for a header row and 13 for a skill row. A header gives the category name, 1, 1 when the category is expanded or nil when it is collapsed, then four zeros, three nils and two zeros. A skill row gives the name, nil, nil, the rank, the points chosen, the modifier, the maximum, whether the skill can be abandoned, the step cost, the rank cost, the level, the cost type plus 1 and the description. An index out of range gives the 13-value tuple nil, nil, nil, 0, 0, 0, 0, nil, nil, nil, 0, 0, nil, which includes index 0.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 14

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