WoW API: IsTradeskillTrainer

From AddOn Studio
Jump to navigation Jump to search

WoW API < IsTradeskillTrainer

Determine whether last opened trainer window offered trade skill (profession) abilities.

isTradeskillTrainer = IsTradeskillTrainer();

Returns[edit]

1 or True if the last open trainer skill list was for a trade skill (as opposed to class skills).

Example[edit]

if (IsTradeskillTrainer()) then
 message('This is a tradeskill trainer');		
end