benilla-re systems structs docs

Script::GetTrainerServiceSkillLine

function · ui · primitive

Address
0x4d9160 · 399 bytes, up to 0x4d92ee
Signature
int __fastcall (lua_State *L)
Meaning
Returns the skill line name of the ability a trainer service teaches
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/trainerverbs#skill-line-name

Finding: Skill line name in ui: trainer window getters and filters

GetTrainerServiceSkillLine(row) returns the localized name of the skill line of the row's ability, found through the player's race and class and the skill line ability table: through the spell a learn effect (0x24 or 0x39) teaches, otherwise through the sent spell itself. It returns nil without a player or a match. A row with no learn effect and no ability row of its own falls through to a lookup that indexes the spell's trigger-spell array at -1, which reads the third effect's misc value (+0x1b0).

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 10

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