tinsert(DEBUGmsgs[DBG_CurrentEvent], tostring(GetTime()).. ": Got: universalClassName (no validation needed) = ".. universalClassName); |
-- GetNumSpecializations(...) does not exist in Classic, and all classes have 3 specs anyway |
-- local ClassNumSpecs = GetNumSpecializations(false, false); -- Number of Specialisations |
local ClassNumSpecs = 3; -- Will tru the following line instead: |
-- local ClassNumSpecs = GetNumTalentTabs(): |
print(AddonName.. ": ClassNumSpecs = ".. tostring(ClassNumSpecs)); |
local ClassNumSpecs = 3; |
tinsert(DEBUGmsgs[DBG_CurrentEvent], tostring(GetTime()).. ": Got: ClassNumSpecs (no validation needed) = ".. ClassNumSpecs); |
-- Ordered list of Class specs' IDs and Names -- Do we still use this? |
tinsert(DEBUGmsgs[DBG_CurrentEvent], tostring(GetTime()).. ": Order list of Class specs' IDs and Names: START"); |
-- GetSpecializationInfo(num) does not exist in Classic. FIX ! |
-- local specID, specName = GetSpecializationInfo(1); |
-- NB: Wowpedia note on the line bellow: |
-- Return values id, description, and isUnlocked were added in Patch 4.0.1. |
local specID, specName = GetTalentTabInfo(1); |
print(AddonName.. ": specID, specName = ".. tostring(specID).. ", ".. tostring(specName)); |
local specID, specName = GetSpecializationInfo(1); |
tinsert(DEBUGmsgs[DBG_CurrentEvent], tostring(GetTime()).. ": Order list of Class specs' IDs and Names: END"); |
|
---- Check the tables' skeleton structure and build whatever may be missing ---- |