Skip to content

trainer

This table contains all the trainer entries.

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
IdintunsignedPRINO0
TypetinyintunsignedNO2
RequirementintunsignedNO0
GreetingmediumtextYESNULL
VerifiedBuildintsignedYESNULL

 

Description of fields ​

Id ​

For trainer, this field signifies a unique trainer ID. It is to this ID that all spells are tied to in trainer_spell.
 

Type ​

The trainer type dictates the Requirement, if any (0 for no Requirement).

Trainer::Type::Class (0) ​

  • Reqirement: ChrClass ID or 0
    IDNameIDName
    1Warrior6Death Knight
    2Paladin7Shaman
    3Hunter8Mage
    4Rogue9Warlock
    5Priest11Druid

Trainer::Type::Mount (1) ​

  • Reqirement: ChrRace ID or 0
    IDNameIDName
    1Human2Orc
    4Dwarf16Undead
    8Night Elf32Tauren
    64Gnome128Troll
    1024Draenei512Blood Elf

Trainer::Type::Tradeskill (2) ​

  • Reqirement: Spell ID or 0
    The player must know this spell to learn from this trainer.

Trainer::Type::Pet (3) ​

  • Requirement: ChrClass ID or 0
    IDNameIDName
    1Warrior6Death Knight
    2Paladin7Shaman
    3Hunter8Mage
    4Rogue9Warlock
    5Priest11Druid

 

Greeting ​

This is the text shown, once a trainer window has been opened in the top.

Note: This is not the gossip text.

 

VerifiedBuild ​

This field is used by the TrinityDB Team to determine whether a template has been verified from WDB files.

If value is 0 then it has not been parsed yet.

If value is above 0 then it has been parsed with WDB files from that specific client build.

If value is -1 then it is just a place holder until proper data are found on WDBs.

If value is -Client Build then it was parsed with WDB files from that specific client build and manually edited later for some special necessity.