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).

Tabset ​

Type::Class (0) ​

Trainer::Type::ClassChrClass ID or 0

RequirementDescription
1Warrior
2Paladin
3Hunter
4Rogue
5Priest
6Death Knight
7Shaman
8Mage
9Warlock
11Druid

Type::Mount (1) ​

Trainer::Type::MountChrRace ID or 0

RequirementDescription
1Human
2Orc
3Dwarf
4Night Elf
5Undead
6Tauren
7Gnome
8Troll
10Blood Elf
11Draenei

Type::Tradeskill (2) ​

Trainer::Type::TradeskillSpell ID or 0

The player must know this spell to learn from this trainer.

Type::Pet (3) ​

Trainer::Type::PetChrClass ID or 0

RequirementDescription
1Warrior
2Paladin
3Hunter
4Rogue
5Priest
6Death Knight
7Shaman
8Mage
9Warlock
11Druid

EndTabset ​

 

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.