API FillLocalizedClassList

Fills a table with localized class names, callable with localization-independent class IDs. FillLocalizedClassList(classTable[, isFemale])

Arguments

 * classTable: Table - The table you want to be filled with the data (does not have to be an empty table).
 * isFemale: Boolean - If true the table will be filled with female class names.

Returns

 * classTable: Table - The table you parsed as argument (now filled with class names).

e.g. for enUS

[1] = {    DEATHKNIGHT="Death Knight", WARRIOR="Warrior", ROGUE="Rogue", MAGE="Mage", PRIEST="Priest", WARLOCK="Warlock", HUNTER="Hunter", SHAMAN="Shaman", DRUID="Druid", MONK="Monk", PALADIN="Paladin" }

Details

 * FrameXML populates the globals  and   using this function; you can access these tables directly instead of creating another copy.