s_tradeSkillDifficultyWords
global · ui
- Address
0x8080a0· 128 bytes, up to0x80811f- Type
char[128]- Meaning
- Holds the four difficulty words of a profession row, 32 bytes each
- Confidence
- verified, proof one
- 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.