benilla-re systems structs docs

s_trainerGreeting

global · ui

Address
0xb737b8 · 512 bytes, up to 0xb739b7
Type
char[512]
Meaning
Holds the trainer greeting text that GetTrainerGreetingText returns
Confidence
verified, proof one
Finding
ui/trainerverbs#opening-and-the-type-tests

Finding: Opening and the type tests in ui: trainer window getters and filters

OpenTrainer() asks the server for the trainer list with the player's own GUID, through TalkToTrainer; it does nothing without a player. CloseTrainer() closes the window with a zero GUID. IsTradeskillTrainer() returns 1 when the trainer type is 2, else nil. IsTalentTrainer() returns 1 when no trainer is open or the type is 1 and nil otherwise, so it answers 1 with the window closed. GetTrainerGreetingText() returns the greeting buffer (0xb737b8).

The derivation is in the doc.