s_errTrainerService
global · ui
- Address
0x8553a4· 52 bytes, up to0x8553d7- Type
const char[52]- Meaning
- Holds the error text Invalid trainer service in SetTrainerService(index) of SetTrainerService
- Confidence
- verified, proof one
- Finding
- ui/tooltipbuff#trainer-services
Finding: Trainer services in ui: Buff tooltips and the spell selectors
GameTooltip:SetTrainerService(index) shows what a service teaches. The service names a spell. If one of
its first three effects is learn spell (36) or learn pet spell (57) and the trigger spell has a record, that
taught spell is shown: as the item it creates (by the item builder, with a pseudo GUID holding the spell id)
when it is a recipe (attribute 0x20, first effect 24), else by the spell builder, with the pet flag set for
learn pet spell. A spell with no learning effect is described as itself. An index with no service raises
"Invalid trainer service in SetTrainerService(index)".
The derivation is in the doc.