Thread Tools Display Modes
01-02-23, 03:09 PM   #1
Billtopia
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 110
Trade Skill levels

So, has anyone figured out how to get the player's trade skill levels now? C_TradeSkillUI.GetProfessionInfoBySkillLineID returns a table with skill info but the current and max level are 0... (for all SkillLines)

You cannot open the professions frame without a hardware event so that is out. Can't get a complete skill link without the professions frame open so that is out(although it appears that the level info was removed anyways)... Trying to cast the profession to open the window with CastByName silently fails...

I have tried so many different ideas that I have forgotten them all... It is almost like they don't want us to know...

Last edited by Billtopia : 01-02-23 at 03:15 PM.
  Reply With Quote
01-02-23, 05:16 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
I haven't looked at that stuff in a long long while so not sure myself but ..

Have you tried

https://wowpedia.fandom.com/wiki/API_GetProfessionInfo
https://wowpedia.fandom.com/wiki/API...ProfessionInfo
https://wowpedia.fandom.com/wiki/API...ProfessionInfo
https://wowpedia.fandom.com/wiki/API...rofessionInfos

Although the last 3 seem to be carbon copies of each other so it might output different information based on the hierarchy level ?
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote
01-02-23, 08:33 PM   #3
Billtopia
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 110
https://wowpedia.fandom.com/wiki/API_GetProfessionInfo -- gives info on skills learned but like for herbalism it only gives info now for Dragon Isles Herbalism (The ones showing on the professions tab of your spell book) and ignores all the other herbalisms learned


https://wowpedia.fandom.com/wiki/API...ProfessionInfo
https://wowpedia.fandom.com/wiki/API...ProfessionInfo
https://wowpedia.fandom.com/wiki/API...rofessionInfos


The last 3 require the trade skill window to be open which requires a hardware event to do...



I looked at trying to set it to a game tooltip and scan the tooltip but they don't support trade skills links either...
  Reply With Quote
01-03-23, 08:59 AM   #4
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
Okay, did a dabble as this intrigued me ..

This code did all I needed and I executed it on ADDON_LOADED
Lua Code:
  1. local skillDB = C_TradeSkillUI.GetAllProfessionTradeSkillLines()
  2.     for skillIndex, skillID in pairs(skillDB) do
  3.         local profDB = C_TradeSkillUI.GetProfessionInfoBySkillLineID(skillID)
  4.         XTest_ProfessionInfo[skillID] = {}
  5.         for profKey,profData in pairs(profDB) do
  6.             print(profKey,profData)
  7.             XTest_ProfessionInfo[skillID][profKey] = profData
  8.         end
  9.     end

I also added this as a dependency in case it makes a difference
## RequiredDeps: Blizzard_Professions
And this for the saved variables
## SavedVariables: XTest_ProfessionInfo

And this was the end result when looking at the saved variables

Lua Code:
  1. XTest_ProfessionInfo = {
  2.     [2829] = {
  3.         ["skillLevel"] = 0,
  4.         ["professionID"] = 2829,
  5.         ["skillModifier"] = 0,
  6.         ["expansionName"] = "Dragon Isles",
  7.         ["isPrimaryProfession"] = true,
  8.         ["profession"] = 12,
  9.         ["professionName"] = "Dragon Isles Jewelcrafting",
  10.         ["parentProfessionID"] = 755,
  11.         ["maxSkillLevel"] = 0,
  12.         ["parentProfessionName"] = "Jewelcrafting",
  13.     },
  14.     [2830] = {
  15.         ["skillLevel"] = 0,
  16.         ["professionID"] = 2830,
  17.         ["skillModifier"] = 0,
  18.         ["expansionName"] = "Dragon Isles",
  19.         ["isPrimaryProfession"] = true,
  20.         ["profession"] = 2,
  21.         ["professionName"] = "Dragon Isles Leatherworking",
  22.         ["parentProfessionID"] = 165,
  23.         ["maxSkillLevel"] = 0,
  24.         ["parentProfessionName"] = "Leatherworking",
  25.     },
  26.     [2831] = {
  27.         ["skillLevel"] = 0,
  28.         ["professionID"] = 2831,
  29.         ["skillModifier"] = 0,
  30.         ["expansionName"] = "Dragon Isles",
  31.         ["isPrimaryProfession"] = true,
  32.         ["profession"] = 7,
  33.         ["professionName"] = "Dragon Isles Tailoring",
  34.         ["parentProfessionID"] = 197,
  35.         ["maxSkillLevel"] = 0,
  36.         ["parentProfessionName"] = "Tailoring",
  37.     },
  38.     [171] = {
  39.         ["expansionName"] = "Unknown",
  40.         ["skillLevel"] = 300,
  41.         ["isPrimaryProfession"] = true,
  42.         ["profession"] = 3,
  43.         ["professionName"] = "Alchemy",
  44.         ["professionID"] = 171,
  45.         ["maxSkillLevel"] = 700,
  46.         ["skillModifier"] = 0,
  47.     },
  48.     [2832] = {
  49.         ["skillLevel"] = 23,
  50.         ["professionID"] = 2832,
  51.         ["skillModifier"] = 0,
  52.         ["expansionName"] = "Dragon Isles",
  53.         ["isPrimaryProfession"] = true,
  54.         ["profession"] = 4,
  55.         ["professionName"] = "Dragon Isles Herbalism",
  56.         ["parentProfessionID"] = 182,
  57.         ["maxSkillLevel"] = 100,
  58.         ["parentProfessionName"] = "Herbalism",
  59.     },
  60.     [2833] = {
  61.         ["skillLevel"] = 0,
  62.         ["professionID"] = 2833,
  63.         ["skillModifier"] = 0,
  64.         ["expansionName"] = "Dragon Isles",
  65.         ["isPrimaryProfession"] = true,
  66.         ["profession"] = 6,
  67.         ["professionName"] = "Dragon Isles Mining",
  68.         ["parentProfessionID"] = 186,
  69.         ["maxSkillLevel"] = 0,
  70.         ["parentProfessionName"] = "Mining",
  71.     },
  72.     [2834] = {
  73.         ["skillLevel"] = 0,
  74.         ["professionID"] = 2834,
  75.         ["skillModifier"] = 0,
  76.         ["expansionName"] = "Dragon Isles",
  77.         ["isPrimaryProfession"] = true,
  78.         ["profession"] = 11,
  79.         ["professionName"] = "Dragon Isles Skinning",
  80.         ["parentProfessionID"] = 393,
  81.         ["maxSkillLevel"] = 0,
  82.         ["parentProfessionName"] = "Skinning",
  83.     },
  84.     ["ChildProfessionInfo"] = {
  85.         {
  86.             ["skillLevel"] = 0,
  87.             ["professionName"] = "",
  88.             ["professionID"] = 0,
  89.             ["expansionName"] = "",
  90.             ["isPrimaryProfession"] = false,
  91.             ["maxSkillLevel"] = 0,
  92.             ["skillModifier"] = 0,
  93.         }, -- [1]
  94.     },
  95.     [2846] = {
  96.         ["skillLevel"] = 0,
  97.         ["professionID"] = 2846,
  98.         ["skillModifier"] = 0,
  99.         ["expansionName"] = "Unknown",
  100.         ["parentProfessionName"] = "Language: Common",
  101.         ["professionName"] = "Crafting",
  102.         ["parentProfessionID"] = 98,
  103.         ["maxSkillLevel"] = 0,
  104.         ["isPrimaryProfession"] = false,
  105.     },
  106.     [2847] = {
  107.         ["skillLevel"] = 0,
  108.         ["expansionName"] = "Unknown",
  109.         ["isPrimaryProfession"] = true,
  110.         ["professionName"] = "Tuskarr Fishing Gear",
  111.         ["professionID"] = 2847,
  112.         ["maxSkillLevel"] = 0,
  113.         ["skillModifier"] = 0,
  114.     },
  115.     [2720] = {
  116.         ["skillLevel"] = 0,
  117.         ["expansionName"] = "Unknown",
  118.         ["isPrimaryProfession"] = true,
  119.         ["professionName"] = "Junkyard Tinkering",
  120.         ["professionID"] = 2720,
  121.         ["maxSkillLevel"] = 0,
  122.         ["skillModifier"] = 0,
  123.     },
  124.     [2472] = {
  125.         ["skillLevel"] = 0,
  126.         ["professionID"] = 2472,
  127.         ["skillModifier"] = 0,
  128.         ["expansionName"] = "Draenor",
  129.         ["isPrimaryProfession"] = true,
  130.         ["profession"] = 1,
  131.         ["professionName"] = "Draenor Blacksmithing",
  132.         ["parentProfessionID"] = 164,
  133.         ["maxSkillLevel"] = 0,
  134.         ["parentProfessionName"] = "Blacksmithing",
  135.     },
  136.     [2473] = {
  137.         ["skillLevel"] = 0,
  138.         ["professionID"] = 2473,
  139.         ["skillModifier"] = 0,
  140.         ["expansionName"] = "Pandaria",
  141.         ["isPrimaryProfession"] = true,
  142.         ["profession"] = 1,
  143.         ["professionName"] = "Pandaria Blacksmithing",
  144.         ["parentProfessionID"] = 164,
  145.         ["maxSkillLevel"] = 0,
  146.         ["parentProfessionName"] = "Blacksmithing",
  147.     },
  148.     [2474] = {
  149.         ["skillLevel"] = 0,
  150.         ["professionID"] = 2474,
  151.         ["skillModifier"] = 0,
  152.         ["expansionName"] = "Cataclysm",
  153.         ["isPrimaryProfession"] = true,
  154.         ["profession"] = 1,
  155.         ["professionName"] = "Cataclysm Blacksmithing",
  156.         ["parentProfessionID"] = 164,
  157.         ["maxSkillLevel"] = 0,
  158.         ["parentProfessionName"] = "Blacksmithing",
  159.     },
  160.     [2475] = {
  161.         ["skillLevel"] = 0,
  162.         ["professionID"] = 2475,
  163.         ["skillModifier"] = 0,
  164.         ["expansionName"] = "Northrend",
  165.         ["isPrimaryProfession"] = true,
  166.         ["profession"] = 1,
  167.         ["professionName"] = "Northrend Blacksmithing",
  168.         ["parentProfessionID"] = 164,
  169.         ["maxSkillLevel"] = 0,
  170.         ["parentProfessionName"] = "Blacksmithing",
  171.     },
  172.     [2476] = {
  173.         ["skillLevel"] = 0,
  174.         ["professionID"] = 2476,
  175.         ["skillModifier"] = 0,
  176.         ["expansionName"] = "Outland",
  177.         ["isPrimaryProfession"] = true,
  178.         ["profession"] = 1,
  179.         ["professionName"] = "Outland Blacksmithing",
  180.         ["parentProfessionID"] = 164,
  181.         ["maxSkillLevel"] = 0,
  182.         ["parentProfessionName"] = "Blacksmithing",
  183.     },
  184.     [2477] = {
  185.         ["skillLevel"] = 0,
  186.         ["professionID"] = 2477,
  187.         ["skillModifier"] = 0,
  188.         ["expansionName"] = "Classic",
  189.         ["isPrimaryProfession"] = true,
  190.         ["profession"] = 1,
  191.         ["professionName"] = "Classic Blacksmithing",
  192.         ["parentProfessionID"] = 164,
  193.         ["maxSkillLevel"] = 0,
  194.         ["parentProfessionName"] = "Blacksmithing",
  195.     },
  196.     [2478] = {
  197.         ["skillLevel"] = 1,
  198.         ["professionID"] = 2478,
  199.         ["skillModifier"] = 0,
  200.         ["expansionName"] = "Kul Tiran",
  201.         ["isPrimaryProfession"] = true,
  202.         ["profession"] = 3,
  203.         ["professionName"] = "Kul Tiran Alchemy",
  204.         ["parentProfessionID"] = 171,
  205.         ["maxSkillLevel"] = 175,
  206.         ["parentProfessionName"] = "Alchemy",
  207.     },
  208.     [2479] = {
  209.         ["skillLevel"] = 0,
  210.         ["professionID"] = 2479,
  211.         ["skillModifier"] = 0,
  212.         ["expansionName"] = "Legion",
  213.         ["isPrimaryProfession"] = true,
  214.         ["profession"] = 3,
  215.         ["professionName"] = "Legion Alchemy",
  216.         ["parentProfessionID"] = 171,
  217.         ["maxSkillLevel"] = 0,
  218.         ["parentProfessionName"] = "Alchemy",
  219.     },
  220.     [2480] = {
  221.         ["skillLevel"] = 100,
  222.         ["professionID"] = 2480,
  223.         ["skillModifier"] = 0,
  224.         ["expansionName"] = "Draenor",
  225.         ["isPrimaryProfession"] = true,
  226.         ["profession"] = 3,
  227.         ["professionName"] = "Draenor Alchemy",
  228.         ["parentProfessionID"] = 171,
  229.         ["maxSkillLevel"] = 100,
  230.         ["parentProfessionName"] = "Alchemy",
  231.     },
  232.     [165] = {
  233.         ["expansionName"] = "Unknown",
  234.         ["skillLevel"] = 0,
  235.         ["isPrimaryProfession"] = true,
  236.         ["profession"] = 2,
  237.         ["professionName"] = "Leatherworking",
  238.         ["professionID"] = 165,
  239.         ["maxSkillLevel"] = 0,
  240.         ["skillModifier"] = 0,
  241.     },
  242.     [2481] = {
  243.         ["skillLevel"] = 75,
  244.         ["professionID"] = 2481,
  245.         ["skillModifier"] = 0,
  246.         ["expansionName"] = "Pandaria",
  247.         ["isPrimaryProfession"] = true,
  248.         ["profession"] = 3,
  249.         ["professionName"] = "Pandaria Alchemy",
  250.         ["parentProfessionID"] = 171,
  251.         ["maxSkillLevel"] = 75,
  252.         ["parentProfessionName"] = "Alchemy",
  253.     },
  254.     [2482] = {
  255.         ["skillLevel"] = 75,
  256.         ["professionID"] = 2482,
  257.         ["skillModifier"] = 0,
  258.         ["expansionName"] = "Cataclysm",
  259.         ["isPrimaryProfession"] = true,
  260.         ["profession"] = 3,
  261.         ["professionName"] = "Cataclysm Alchemy",
  262.         ["parentProfessionID"] = 171,
  263.         ["maxSkillLevel"] = 75,
  264.         ["parentProfessionName"] = "Alchemy",
  265.     },
  266.     [393] = {
  267.         ["expansionName"] = "Unknown",
  268.         ["skillLevel"] = 0,
  269.         ["isPrimaryProfession"] = true,
  270.         ["profession"] = 11,
  271.         ["professionName"] = "Skinning",
  272.         ["professionID"] = 393,
  273.         ["maxSkillLevel"] = 0,
  274.         ["skillModifier"] = 0,
  275.     },
  276.     [2483] = {
  277.         ["skillLevel"] = 75,
  278.         ["professionID"] = 2483,
  279.         ["skillModifier"] = 0,
  280.         ["expansionName"] = "Northrend",
  281.         ["isPrimaryProfession"] = true,
  282.         ["profession"] = 3,
  283.         ["professionName"] = "Northrend Alchemy",
  284.         ["parentProfessionID"] = 171,
  285.         ["maxSkillLevel"] = 75,
  286.         ["parentProfessionName"] = "Alchemy",
  287.     },
  288.     ["ChildProfessions"] = {
  289.     },
  290.     [2484] = {
  291.         ["skillLevel"] = 75,
  292.         ["professionID"] = 2484,
  293.         ["skillModifier"] = 0,
  294.         ["expansionName"] = "Outland",
  295.         ["isPrimaryProfession"] = true,
  296.         ["profession"] = 3,
  297.         ["professionName"] = "Outland Alchemy",
  298.         ["parentProfessionID"] = 171,
  299.         ["maxSkillLevel"] = 75,
  300.         ["parentProfessionName"] = "Alchemy",
  301.     },
  302.     [2485] = {
  303.         ["skillLevel"] = 300,
  304.         ["professionID"] = 2485,
  305.         ["skillModifier"] = 0,
  306.         ["expansionName"] = "Classic",
  307.         ["isPrimaryProfession"] = true,
  308.         ["profession"] = 3,
  309.         ["professionName"] = "Classic Alchemy",
  310.         ["parentProfessionID"] = 171,
  311.         ["maxSkillLevel"] = 300,
  312.         ["parentProfessionName"] = "Alchemy",
  313.     },
  314.     [2486] = {
  315.         ["skillLevel"] = 0,
  316.         ["professionID"] = 2486,
  317.         ["skillModifier"] = 0,
  318.         ["expansionName"] = "Kul Tiran",
  319.         ["isPrimaryProfession"] = true,
  320.         ["profession"] = 9,
  321.         ["professionName"] = "Kul Tiran Enchanting",
  322.         ["parentProfessionID"] = 333,
  323.         ["maxSkillLevel"] = 0,
  324.         ["parentProfessionName"] = "Enchanting",
  325.     },
  326.     [2487] = {
  327.         ["skillLevel"] = 0,
  328.         ["professionID"] = 2487,
  329.         ["skillModifier"] = 0,
  330.         ["expansionName"] = "Legion",
  331.         ["isPrimaryProfession"] = true,
  332.         ["profession"] = 9,
  333.         ["professionName"] = "Legion Enchanting",
  334.         ["parentProfessionID"] = 333,
  335.         ["maxSkillLevel"] = 0,
  336.         ["parentProfessionName"] = "Enchanting",
  337.     },
  338.     [2488] = {
  339.         ["skillLevel"] = 0,
  340.         ["professionID"] = 2488,
  341.         ["skillModifier"] = 0,
  342.         ["expansionName"] = "Draenor",
  343.         ["isPrimaryProfession"] = true,
  344.         ["profession"] = 9,
  345.         ["professionName"] = "Draenor Enchanting",
  346.         ["parentProfessionID"] = 333,
  347.         ["maxSkillLevel"] = 0,
  348.         ["parentProfessionName"] = "Enchanting",
  349.     },
  350.     [2489] = {
  351.         ["skillLevel"] = 0,
  352.         ["professionID"] = 2489,
  353.         ["skillModifier"] = 0,
  354.         ["expansionName"] = "Pandaria",
  355.         ["isPrimaryProfession"] = true,
  356.         ["profession"] = 9,
  357.         ["professionName"] = "Pandaria Enchanting",
  358.         ["parentProfessionID"] = 333,
  359.         ["maxSkillLevel"] = 0,
  360.         ["parentProfessionName"] = "Enchanting",
  361.     },
  362.     [2491] = {
  363.         ["skillLevel"] = 0,
  364.         ["professionID"] = 2491,
  365.         ["skillModifier"] = 0,
  366.         ["expansionName"] = "Cataclysm",
  367.         ["isPrimaryProfession"] = true,
  368.         ["profession"] = 9,
  369.         ["professionName"] = "Cataclysm Enchanting",
  370.         ["parentProfessionID"] = 333,
  371.         ["maxSkillLevel"] = 0,
  372.         ["parentProfessionName"] = "Enchanting",
  373.     },
  374.     [2492] = {
  375.         ["skillLevel"] = 0,
  376.         ["professionID"] = 2492,
  377.         ["skillModifier"] = 0,
  378.         ["expansionName"] = "Northrend",
  379.         ["isPrimaryProfession"] = true,
  380.         ["profession"] = 9,
  381.         ["professionName"] = "Northrend Enchanting",
  382.         ["parentProfessionID"] = 333,
  383.         ["maxSkillLevel"] = 0,
  384.         ["parentProfessionName"] = "Enchanting",
  385.     },
  386.     [2493] = {
  387.         ["skillLevel"] = 0,
  388.         ["professionID"] = 2493,
  389.         ["skillModifier"] = 0,
  390.         ["expansionName"] = "Outland",
  391.         ["isPrimaryProfession"] = true,
  392.         ["profession"] = 9,
  393.         ["professionName"] = "Outland Enchanting",
  394.         ["parentProfessionID"] = 333,
  395.         ["maxSkillLevel"] = 0,
  396.         ["parentProfessionName"] = "Enchanting",
  397.     },
  398.     [2494] = {
  399.         ["skillLevel"] = 0,
  400.         ["professionID"] = 2494,
  401.         ["skillModifier"] = 0,
  402.         ["expansionName"] = "Classic",
  403.         ["isPrimaryProfession"] = true,
  404.         ["profession"] = 9,
  405.         ["professionName"] = "Classic Enchanting",
  406.         ["parentProfessionID"] = 333,
  407.         ["maxSkillLevel"] = 0,
  408.         ["parentProfessionName"] = "Enchanting",
  409.     },
  410.     [2750] = {
  411.         ["skillLevel"] = 0,
  412.         ["professionID"] = 2750,
  413.         ["skillModifier"] = 0,
  414.         ["expansionName"] = "Shadowlands",
  415.         ["isPrimaryProfession"] = true,
  416.         ["profession"] = 3,
  417.         ["professionName"] = "Shadowlands Alchemy",
  418.         ["parentProfessionID"] = 171,
  419.         ["maxSkillLevel"] = 0,
  420.         ["parentProfessionName"] = "Alchemy",
  421.     },
  422.     ["SkillLineIDs"] = {
  423.         {
  424.             2832, -- [1]
  425.             2825, -- [2]
  426.             2831, -- [3]
  427.             2830, -- [4]
  428.             2823, -- [5]
  429.             2822, -- [6]
  430.             2828, -- [7]
  431.             2834, -- [8]
  432.             2827, -- [9]
  433.             2829, -- [10]
  434.             2833, -- [11]
  435.             2753, -- [12]
  436.             2755, -- [13]
  437.             2756, -- [14]
  438.             2757, -- [15]
  439.             2750, -- [16]
  440.             2751, -- [17]
  441.             2758, -- [18]
  442.             2759, -- [19]
  443.             2760, -- [20]
  444.             2761, -- [21]
  445.             2762, -- [22]
  446.             2533, -- [23]
  447.             2499, -- [24]
  448.             2478, -- [25]
  449.             2507, -- [26]
  450.             2557, -- [27]
  451.             2517, -- [28]
  452.             2549, -- [29]
  453.             2565, -- [30]
  454.             2437, -- [31]
  455.             2525, -- [32]
  456.             2486, -- [33]
  457.             2508, -- [34]
  458.             2550, -- [35]
  459.             2566, -- [36]
  460.             2518, -- [37]
  461.             2558, -- [38]
  462.             2454, -- [39]
  463.             2479, -- [40]
  464.             2526, -- [41]
  465.             2487, -- [42]
  466.             2500, -- [43]
  467.             2534, -- [44]
  468.             2527, -- [45]
  469.             2488, -- [46]
  470.             2480, -- [47]
  471.             2567, -- [48]
  472.             2519, -- [49]
  473.             2472, -- [50]
  474.             2559, -- [51]
  475.             2551, -- [52]
  476.             2501, -- [53]
  477.             2509, -- [54]
  478.             2535, -- [55]
  479.             2528, -- [56]
  480.             2489, -- [57]
  481.             2552, -- [58]
  482.             2568, -- [59]
  483.             2520, -- [60]
  484.             2481, -- [61]
  485.             2473, -- [62]
  486.             2560, -- [63]
  487.             2502, -- [64]
  488.             2510, -- [65]
  489.             2536, -- [66]
  490.             2553, -- [67]
  491.             2537, -- [68]
  492.             2529, -- [69]
  493.             2521, -- [70]
  494.             2511, -- [71]
  495.             2561, -- [72]
  496.             2474, -- [73]
  497.             2482, -- [74]
  498.             2491, -- [75]
  499.             2503, -- [76]
  500.             2569, -- [77]
  501.             2530, -- [78]
  502.             2504, -- [79]
  503.             2492, -- [80]
  504.             2554, -- [81]
  505.             2475, -- [82]
  506.             2512, -- [83]
  507.             2483, -- [84]
  508.             2522, -- [85]
  509.             2562, -- [86]
  510.             2570, -- [87]
  511.             2538, -- [88]
  512.             2531, -- [89]
  513.             2493, -- [90]
  514.             2513, -- [91]
  515.             2484, -- [92]
  516.             2523, -- [93]
  517.             2555, -- [94]
  518.             2563, -- [95]
  519.             2476, -- [96]
  520.             2571, -- [97]
  521.             2539, -- [98]
  522.             2505, -- [99]
  523.             2485, -- [100]
  524.             2524, -- [101]
  525.             2540, -- [102]
  526.             2572, -- [103]
  527.             2477, -- [104]
  528.             2556, -- [105]
  529.             2506, -- [106]
  530.             2564, -- [107]
  531.             2514, -- [108]
  532.             2494, -- [109]
  533.             2532, -- [110]
  534.             2720, -- [111]
  535.             2777, -- [112]
  536.             2787, -- [113]
  537.             2791, -- [114]
  538.             2811, -- [115]
  539.             2819, -- [116]
  540.             2821, -- [117]
  541.             2846, -- [118]
  542.             2847, -- [119]
  543.             773, -- [120]
  544.             755, -- [121]
  545.             393, -- [122]
  546.             333, -- [123]
  547.             202, -- [124]
  548.             197, -- [125]
  549.             186, -- [126]
  550.             182, -- [127]
  551.             171, -- [128]
  552.             165, -- [129]
  553.             164, -- [130]
  554.         }, -- [1]
  555.     },
  556.     [2751] = {
  557.         ["skillLevel"] = 0,
  558.         ["professionID"] = 2751,
  559.         ["skillModifier"] = 0,
  560.         ["expansionName"] = "Shadowlands",
  561.         ["isPrimaryProfession"] = true,
  562.         ["profession"] = 1,
  563.         ["professionName"] = "Shadowlands Blacksmithing",
  564.         ["parentProfessionID"] = 164,
  565.         ["maxSkillLevel"] = 0,
  566.         ["parentProfessionName"] = "Blacksmithing",
  567.     },
  568.     [182] = {
  569.         ["expansionName"] = "Unknown",
  570.         ["skillLevel"] = 300,
  571.         ["isPrimaryProfession"] = true,
  572.         ["profession"] = 4,
  573.         ["professionName"] = "Herbalism",
  574.         ["professionID"] = 182,
  575.         ["maxSkillLevel"] = 700,
  576.         ["skillModifier"] = 0,
  577.     },
  578.     [2753] = {
  579.         ["skillLevel"] = 0,
  580.         ["professionID"] = 2753,
  581.         ["skillModifier"] = 0,
  582.         ["expansionName"] = "Shadowlands",
  583.         ["isPrimaryProfession"] = true,
  584.         ["profession"] = 9,
  585.         ["professionName"] = "Shadowlands Enchanting",
  586.         ["parentProfessionID"] = 333,
  587.         ["maxSkillLevel"] = 0,
  588.         ["parentProfessionName"] = "Enchanting",
  589.     },
  590.     [2499] = {
  591.         ["skillLevel"] = 0,
  592.         ["professionID"] = 2499,
  593.         ["skillModifier"] = 0,
  594.         ["expansionName"] = "Kul Tiran",
  595.         ["isPrimaryProfession"] = true,
  596.         ["profession"] = 8,
  597.         ["professionName"] = "Kul Tiran Engineering",
  598.         ["parentProfessionID"] = 202,
  599.         ["maxSkillLevel"] = 0,
  600.         ["parentProfessionName"] = "Engineering",
  601.     },
  602.     [2755] = {
  603.         ["skillLevel"] = 0,
  604.         ["professionID"] = 2755,
  605.         ["skillModifier"] = 0,
  606.         ["expansionName"] = "Shadowlands",
  607.         ["isPrimaryProfession"] = true,
  608.         ["profession"] = 8,
  609.         ["professionName"] = "Shadowlands Engineering",
  610.         ["parentProfessionID"] = 202,
  611.         ["maxSkillLevel"] = 0,
  612.         ["parentProfessionName"] = "Engineering",
  613.     },
  614.     [2501] = {
  615.         ["skillLevel"] = 0,
  616.         ["professionID"] = 2501,
  617.         ["skillModifier"] = 0,
  618.         ["expansionName"] = "Draenor",
  619.         ["isPrimaryProfession"] = true,
  620.         ["profession"] = 8,
  621.         ["professionName"] = "Draenor Engineering",
  622.         ["parentProfessionID"] = 202,
  623.         ["maxSkillLevel"] = 0,
  624.         ["parentProfessionName"] = "Engineering",
  625.     },
  626.     [2502] = {
  627.         ["skillLevel"] = 0,
  628.         ["professionID"] = 2502,
  629.         ["skillModifier"] = 0,
  630.         ["expansionName"] = "Pandaria",
  631.         ["isPrimaryProfession"] = true,
  632.         ["profession"] = 8,
  633.         ["professionName"] = "Pandaria Engineering",
  634.         ["parentProfessionID"] = 202,
  635.         ["maxSkillLevel"] = 0,
  636.         ["parentProfessionName"] = "Engineering",
  637.     },
  638.     [2503] = {
  639.         ["skillLevel"] = 0,
  640.         ["professionID"] = 2503,
  641.         ["skillModifier"] = 0,
  642.         ["expansionName"] = "Cataclysm",
  643.         ["isPrimaryProfession"] = true,
  644.         ["profession"] = 8,
  645.         ["professionName"] = "Cataclysm Engineering",
  646.         ["parentProfessionID"] = 202,
  647.         ["maxSkillLevel"] = 0,
  648.         ["parentProfessionName"] = "Engineering",
  649.     },
  650.     [2504] = {
  651.         ["skillLevel"] = 0,
  652.         ["professionID"] = 2504,
  653.         ["skillModifier"] = 0,
  654.         ["expansionName"] = "Northrend",
  655.         ["isPrimaryProfession"] = true,
  656.         ["profession"] = 8,
  657.         ["professionName"] = "Northrend Engineering",
  658.         ["parentProfessionID"] = 202,
  659.         ["maxSkillLevel"] = 0,
  660.         ["parentProfessionName"] = "Engineering",
  661.     },
  662.     [2505] = {
  663.         ["skillLevel"] = 0,
  664.         ["professionID"] = 2505,
  665.         ["skillModifier"] = 0,
  666.         ["expansionName"] = "Outland",
  667.         ["isPrimaryProfession"] = true,
  668.         ["profession"] = 8,
  669.         ["professionName"] = "Outland Engineering",
  670.         ["parentProfessionID"] = 202,
  671.         ["maxSkillLevel"] = 0,
  672.         ["parentProfessionName"] = "Engineering",
  673.     },
  674.     [2761] = {
  675.         ["skillLevel"] = 0,
  676.         ["professionID"] = 2761,
  677.         ["skillModifier"] = 0,
  678.         ["expansionName"] = "Shadowlands",
  679.         ["isPrimaryProfession"] = true,
  680.         ["profession"] = 6,
  681.         ["professionName"] = "Shadowlands Mining",
  682.         ["parentProfessionID"] = 186,
  683.         ["maxSkillLevel"] = 0,
  684.         ["parentProfessionName"] = "Mining",
  685.     },
  686.     [2762] = {
  687.         ["skillLevel"] = 0,
  688.         ["professionID"] = 2762,
  689.         ["skillModifier"] = 0,
  690.         ["expansionName"] = "Shadowlands",
  691.         ["isPrimaryProfession"] = true,
  692.         ["profession"] = 11,
  693.         ["professionName"] = "Shadowlands Skinning",
  694.         ["parentProfessionID"] = 393,
  695.         ["maxSkillLevel"] = 0,
  696.         ["parentProfessionName"] = "Skinning",
  697.     },
  698.     [2508] = {
  699.         ["skillLevel"] = 0,
  700.         ["professionID"] = 2508,
  701.         ["skillModifier"] = 0,
  702.         ["expansionName"] = "Legion",
  703.         ["isPrimaryProfession"] = true,
  704.         ["profession"] = 13,
  705.         ["professionName"] = "Legion Inscription",
  706.         ["parentProfessionID"] = 773,
  707.         ["maxSkillLevel"] = 0,
  708.         ["parentProfessionName"] = "Inscription",
  709.     },
  710.     [2509] = {
  711.         ["skillLevel"] = 0,
  712.         ["professionID"] = 2509,
  713.         ["skillModifier"] = 0,
  714.         ["expansionName"] = "Draenor",
  715.         ["isPrimaryProfession"] = true,
  716.         ["profession"] = 13,
  717.         ["professionName"] = "Draenor Inscription",
  718.         ["parentProfessionID"] = 773,
  719.         ["maxSkillLevel"] = 0,
  720.         ["parentProfessionName"] = "Inscription",
  721.     },
  722.     [2510] = {
  723.         ["skillLevel"] = 0,
  724.         ["professionID"] = 2510,
  725.         ["skillModifier"] = 0,
  726.         ["expansionName"] = "Pandaria",
  727.         ["isPrimaryProfession"] = true,
  728.         ["profession"] = 13,
  729.         ["professionName"] = "Pandaria Inscription",
  730.         ["parentProfessionID"] = 773,
  731.         ["maxSkillLevel"] = 0,
  732.         ["parentProfessionName"] = "Inscription",
  733.     },
  734.     [2511] = {
  735.         ["skillLevel"] = 0,
  736.         ["professionID"] = 2511,
  737.         ["skillModifier"] = 0,
  738.         ["expansionName"] = "Cataclysm",
  739.         ["isPrimaryProfession"] = true,
  740.         ["profession"] = 13,
  741.         ["professionName"] = "Cataclysm Inscription",
  742.         ["parentProfessionID"] = 773,
  743.         ["maxSkillLevel"] = 0,
  744.         ["parentProfessionName"] = "Inscription",
  745.     },
  746.     [2512] = {
  747.         ["skillLevel"] = 0,
  748.         ["professionID"] = 2512,
  749.         ["skillModifier"] = 0,
  750.         ["expansionName"] = "Northrend",
  751.         ["isPrimaryProfession"] = true,
  752.         ["profession"] = 13,
  753.         ["professionName"] = "Northrend Inscription",
  754.         ["parentProfessionID"] = 773,
  755.         ["maxSkillLevel"] = 0,
  756.         ["parentProfessionName"] = "Inscription",
  757.     },
  758.     [333] = {
  759.         ["expansionName"] = "Unknown",
  760.         ["skillLevel"] = 0,
  761.         ["isPrimaryProfession"] = true,
  762.         ["profession"] = 9,
  763.         ["professionName"] = "Enchanting",
  764.         ["professionID"] = 333,
  765.         ["maxSkillLevel"] = 0,
  766.         ["skillModifier"] = 0,
  767.     },
  768.     [2513] = {
  769.         ["skillLevel"] = 0,
  770.         ["professionID"] = 2513,
  771.         ["skillModifier"] = 0,
  772.         ["expansionName"] = "Outland",
  773.         ["isPrimaryProfession"] = true,
  774.         ["profession"] = 13,
  775.         ["professionName"] = "Outland Inscription",
  776.         ["parentProfessionID"] = 773,
  777.         ["maxSkillLevel"] = 0,
  778.         ["parentProfessionName"] = "Inscription",
  779.     },
  780.     [2514] = {
  781.         ["skillLevel"] = 0,
  782.         ["professionID"] = 2514,
  783.         ["skillModifier"] = 0,
  784.         ["expansionName"] = "Classic",
  785.         ["isPrimaryProfession"] = true,
  786.         ["profession"] = 13,
  787.         ["professionName"] = "Classic Inscription",
  788.         ["parentProfessionID"] = 773,
  789.         ["maxSkillLevel"] = 0,
  790.         ["parentProfessionName"] = "Inscription",
  791.     },
  792.     [2517] = {
  793.         ["skillLevel"] = 0,
  794.         ["professionID"] = 2517,
  795.         ["skillModifier"] = 0,
  796.         ["expansionName"] = "Kul Tiran",
  797.         ["isPrimaryProfession"] = true,
  798.         ["profession"] = 12,
  799.         ["professionName"] = "Kul Tiran Jewelcrafting",
  800.         ["parentProfessionID"] = 755,
  801.         ["maxSkillLevel"] = 0,
  802.         ["parentProfessionName"] = "Jewelcrafting",
  803.     },
  804.     [2518] = {
  805.         ["skillLevel"] = 0,
  806.         ["professionID"] = 2518,
  807.         ["skillModifier"] = 0,
  808.         ["expansionName"] = "Legion",
  809.         ["isPrimaryProfession"] = true,
  810.         ["profession"] = 12,
  811.         ["professionName"] = "Legion Jewelcrafting",
  812.         ["parentProfessionID"] = 755,
  813.         ["maxSkillLevel"] = 0,
  814.         ["parentProfessionName"] = "Jewelcrafting",
  815.     },
  816.     [2519] = {
  817.         ["skillLevel"] = 0,
  818.         ["professionID"] = 2519,
  819.         ["skillModifier"] = 0,
  820.         ["expansionName"] = "Draenor",
  821.         ["isPrimaryProfession"] = true,
  822.         ["profession"] = 12,
  823.         ["professionName"] = "Draenor Jewelcrafting",
  824.         ["parentProfessionID"] = 755,
  825.         ["maxSkillLevel"] = 0,
  826.         ["parentProfessionName"] = "Jewelcrafting",
  827.     },
  828.     [2520] = {
  829.         ["skillLevel"] = 0,
  830.         ["professionID"] = 2520,
  831.         ["skillModifier"] = 0,
  832.         ["expansionName"] = "Pandaria",
  833.         ["isPrimaryProfession"] = true,
  834.         ["profession"] = 12,
  835.         ["professionName"] = "Pandaria Jewelcrafting",
  836.         ["parentProfessionID"] = 755,
  837.         ["maxSkillLevel"] = 0,
  838.         ["parentProfessionName"] = "Jewelcrafting",
  839.     },
  840.     [2521] = {
  841.         ["skillLevel"] = 0,
  842.         ["professionID"] = 2521,
  843.         ["skillModifier"] = 0,
  844.         ["expansionName"] = "Cataclysm",
  845.         ["isPrimaryProfession"] = true,
  846.         ["profession"] = 12,
  847.         ["professionName"] = "Cataclysm Jewelcrafting",
  848.         ["parentProfessionID"] = 755,
  849.         ["maxSkillLevel"] = 0,
  850.         ["parentProfessionName"] = "Jewelcrafting",
  851.     },
  852.     [2777] = {
  853.         ["skillLevel"] = 0,
  854.         ["expansionName"] = "Unknown",
  855.         ["isPrimaryProfession"] = true,
  856.         ["professionName"] = "Soul Cyphering",
  857.         ["professionID"] = 2777,
  858.         ["maxSkillLevel"] = 0,
  859.         ["skillModifier"] = 0,
  860.     },
  861.     [2523] = {
  862.         ["skillLevel"] = 0,
  863.         ["professionID"] = 2523,
  864.         ["skillModifier"] = 0,
  865.         ["expansionName"] = "Outland",
  866.         ["isPrimaryProfession"] = true,
  867.         ["profession"] = 12,
  868.         ["professionName"] = "Outland Jewelcrafting",
  869.         ["parentProfessionID"] = 755,
  870.         ["maxSkillLevel"] = 0,
  871.         ["parentProfessionName"] = "Jewelcrafting",
  872.     },
  873.     [2524] = {
  874.         ["skillLevel"] = 0,
  875.         ["professionID"] = 2524,
  876.         ["skillModifier"] = 0,
  877.         ["expansionName"] = "Classic",
  878.         ["isPrimaryProfession"] = true,
  879.         ["profession"] = 12,
  880.         ["professionName"] = "Classic Jewelcrafting",
  881.         ["parentProfessionID"] = 755,
  882.         ["maxSkillLevel"] = 0,
  883.         ["parentProfessionName"] = "Jewelcrafting",
  884.     },
  885.     [2525] = {
  886.         ["skillLevel"] = 0,
  887.         ["professionID"] = 2525,
  888.         ["skillModifier"] = 0,
  889.         ["expansionName"] = "Kul Tiran",
  890.         ["isPrimaryProfession"] = true,
  891.         ["profession"] = 2,
  892.         ["professionName"] = "Kul Tiran Leatherworking",
  893.         ["parentProfessionID"] = 165,
  894.         ["maxSkillLevel"] = 0,
  895.         ["parentProfessionName"] = "Leatherworking",
  896.     },
  897.     [2526] = {
  898.         ["skillLevel"] = 0,
  899.         ["professionID"] = 2526,
  900.         ["skillModifier"] = 0,
  901.         ["expansionName"] = "Legion",
  902.         ["isPrimaryProfession"] = true,
  903.         ["profession"] = 2,
  904.         ["professionName"] = "Legion Leatherworking",
  905.         ["parentProfessionID"] = 165,
  906.         ["maxSkillLevel"] = 0,
  907.         ["parentProfessionName"] = "Leatherworking",
  908.     },
  909.     [2527] = {
  910.         ["skillLevel"] = 0,
  911.         ["professionID"] = 2527,
  912.         ["skillModifier"] = 0,
  913.         ["expansionName"] = "Draenor",
  914.         ["isPrimaryProfession"] = true,
  915.         ["profession"] = 2,
  916.         ["professionName"] = "Draenor Leatherworking",
  917.         ["parentProfessionID"] = 165,
  918.         ["maxSkillLevel"] = 0,
  919.         ["parentProfessionName"] = "Leatherworking",
  920.     },
  921.     [2528] = {
  922.         ["skillLevel"] = 0,
  923.         ["professionID"] = 2528,
  924.         ["skillModifier"] = 0,
  925.         ["expansionName"] = "Pandaria",
  926.         ["isPrimaryProfession"] = true,
  927.         ["profession"] = 2,
  928.         ["professionName"] = "Pandaria Leatherworking",
  929.         ["parentProfessionID"] = 165,
  930.         ["maxSkillLevel"] = 0,
  931.         ["parentProfessionName"] = "Leatherworking",
  932.     },
  933.     ["ChildSkillLineID"] = {
  934.         0, -- [1]
  935.     },
  936.     [2529] = {
  937.         ["skillLevel"] = 0,
  938.         ["professionID"] = 2529,
  939.         ["skillModifier"] = 0,
  940.         ["expansionName"] = "Cataclysm",
  941.         ["isPrimaryProfession"] = true,
  942.         ["profession"] = 2,
  943.         ["professionName"] = "Cataclysm Leatherworking",
  944.         ["parentProfessionID"] = 165,
  945.         ["maxSkillLevel"] = 0,
  946.         ["parentProfessionName"] = "Leatherworking",
  947.     },
  948.     [2530] = {
  949.         ["skillLevel"] = 0,
  950.         ["professionID"] = 2530,
  951.         ["skillModifier"] = 0,
  952.         ["expansionName"] = "Northrend",
  953.         ["isPrimaryProfession"] = true,
  954.         ["profession"] = 2,
  955.         ["professionName"] = "Northrend Leatherworking",
  956.         ["parentProfessionID"] = 165,
  957.         ["maxSkillLevel"] = 0,
  958.         ["parentProfessionName"] = "Leatherworking",
  959.     },
  960.     [2531] = {
  961.         ["skillLevel"] = 0,
  962.         ["professionID"] = 2531,
  963.         ["skillModifier"] = 0,
  964.         ["expansionName"] = "Outland",
  965.         ["isPrimaryProfession"] = true,
  966.         ["profession"] = 2,
  967.         ["professionName"] = "Outland Leatherworking",
  968.         ["parentProfessionID"] = 165,
  969.         ["maxSkillLevel"] = 0,
  970.         ["parentProfessionName"] = "Leatherworking",
  971.     },
  972.     [2532] = {
  973.         ["skillLevel"] = 0,
  974.         ["professionID"] = 2532,
  975.         ["skillModifier"] = 0,
  976.         ["expansionName"] = "Classic",
  977.         ["isPrimaryProfession"] = true,
  978.         ["profession"] = 2,
  979.         ["professionName"] = "Classic Leatherworking",
  980.         ["parentProfessionID"] = 165,
  981.         ["maxSkillLevel"] = 0,
  982.         ["parentProfessionName"] = "Leatherworking",
  983.     },
  984.     [2533] = {
  985.         ["skillLevel"] = 0,
  986.         ["professionID"] = 2533,
  987.         ["skillModifier"] = 0,
  988.         ["expansionName"] = "Kul Tiran",
  989.         ["isPrimaryProfession"] = true,
  990.         ["profession"] = 7,
  991.         ["professionName"] = "Kul Tiran Tailoring",
  992.         ["parentProfessionID"] = 197,
  993.         ["maxSkillLevel"] = 0,
  994.         ["parentProfessionName"] = "Tailoring",
  995.     },
  996.     [2534] = {
  997.         ["skillLevel"] = 0,
  998.         ["professionID"] = 2534,
  999.         ["skillModifier"] = 0,
  1000.         ["expansionName"] = "Legion",
  1001.         ["isPrimaryProfession"] = true,
  1002.         ["profession"] = 7,
  1003.         ["professionName"] = "Legion Tailoring",
  1004.         ["parentProfessionID"] = 197,
  1005.         ["maxSkillLevel"] = 0,
  1006.         ["parentProfessionName"] = "Tailoring",
  1007.     },
  1008.     [2535] = {
  1009.         ["skillLevel"] = 0,
  1010.         ["professionID"] = 2535,
  1011.         ["skillModifier"] = 0,
  1012.         ["expansionName"] = "Draenor",
  1013.         ["isPrimaryProfession"] = true,
  1014.         ["profession"] = 7,
  1015.         ["professionName"] = "Draenor Tailoring",
  1016.         ["parentProfessionID"] = 197,
  1017.         ["maxSkillLevel"] = 0,
  1018.         ["parentProfessionName"] = "Tailoring",
  1019.     },
  1020.     [2536] = {
  1021.         ["skillLevel"] = 0,
  1022.         ["professionID"] = 2536,
  1023.         ["skillModifier"] = 0,
  1024.         ["expansionName"] = "Pandaria",
  1025.         ["isPrimaryProfession"] = true,
  1026.         ["profession"] = 7,
  1027.         ["professionName"] = "Pandaria Tailoring",
  1028.         ["parentProfessionID"] = 197,
  1029.         ["maxSkillLevel"] = 0,
  1030.         ["parentProfessionName"] = "Tailoring",
  1031.     },
  1032.     [2537] = {
  1033.         ["skillLevel"] = 0,
  1034.         ["professionID"] = 2537,
  1035.         ["skillModifier"] = 0,
  1036.         ["expansionName"] = "Cataclysm",
  1037.         ["isPrimaryProfession"] = true,
  1038.         ["profession"] = 7,
  1039.         ["professionName"] = "Cataclysm Tailoring",
  1040.         ["parentProfessionID"] = 197,
  1041.         ["maxSkillLevel"] = 0,
  1042.         ["parentProfessionName"] = "Tailoring",
  1043.     },
  1044.     [2538] = {
  1045.         ["skillLevel"] = 0,
  1046.         ["professionID"] = 2538,
  1047.         ["skillModifier"] = 0,
  1048.         ["expansionName"] = "Northrend",
  1049.         ["isPrimaryProfession"] = true,
  1050.         ["profession"] = 7,
  1051.         ["professionName"] = "Northrend Tailoring",
  1052.         ["parentProfessionID"] = 197,
  1053.         ["maxSkillLevel"] = 0,
  1054.         ["parentProfessionName"] = "Tailoring",
  1055.     },
  1056.     [2539] = {
  1057.         ["skillLevel"] = 0,
  1058.         ["professionID"] = 2539,
  1059.         ["skillModifier"] = 0,
  1060.         ["expansionName"] = "Outland",
  1061.         ["isPrimaryProfession"] = true,
  1062.         ["profession"] = 7,
  1063.         ["professionName"] = "Outland Tailoring",
  1064.         ["parentProfessionID"] = 197,
  1065.         ["maxSkillLevel"] = 0,
  1066.         ["parentProfessionName"] = "Tailoring",
  1067.     },
  1068.     [2540] = {
  1069.         ["skillLevel"] = 0,
  1070.         ["professionID"] = 2540,
  1071.         ["skillModifier"] = 0,
  1072.         ["expansionName"] = "Classic",
  1073.         ["isPrimaryProfession"] = true,
  1074.         ["profession"] = 7,
  1075.         ["professionName"] = "Classic Tailoring",
  1076.         ["parentProfessionID"] = 197,
  1077.         ["maxSkillLevel"] = 0,
  1078.         ["parentProfessionName"] = "Tailoring",
  1079.     },
  1080.     [2454] = {
  1081.         ["skillLevel"] = 0,
  1082.         ["professionID"] = 2454,
  1083.         ["skillModifier"] = 0,
  1084.         ["expansionName"] = "Legion",
  1085.         ["isPrimaryProfession"] = true,
  1086.         ["profession"] = 1,
  1087.         ["professionName"] = "Legion Blacksmithing",
  1088.         ["parentProfessionID"] = 164,
  1089.         ["maxSkillLevel"] = 0,
  1090.         ["parentProfessionName"] = "Blacksmithing",
  1091.     },
  1092.     [2758] = {
  1093.         ["skillLevel"] = 0,
  1094.         ["professionID"] = 2758,
  1095.         ["skillModifier"] = 0,
  1096.         ["expansionName"] = "Shadowlands",
  1097.         ["isPrimaryProfession"] = true,
  1098.         ["profession"] = 2,
  1099.         ["professionName"] = "Shadowlands Leatherworking",
  1100.         ["parentProfessionID"] = 165,
  1101.         ["maxSkillLevel"] = 0,
  1102.         ["parentProfessionName"] = "Leatherworking",
  1103.     },
  1104.     ["MultipleChildInfos"] = {
  1105.         {
  1106.         }, -- [1]
  1107.     },
  1108.     [2827] = {
  1109.         ["skillLevel"] = 0,
  1110.         ["professionID"] = 2827,
  1111.         ["skillModifier"] = 0,
  1112.         ["expansionName"] = "Dragon Isles",
  1113.         ["isPrimaryProfession"] = true,
  1114.         ["profession"] = 8,
  1115.         ["professionName"] = "Dragon Isles Engineering",
  1116.         ["parentProfessionID"] = 202,
  1117.         ["maxSkillLevel"] = 0,
  1118.         ["parentProfessionName"] = "Engineering",
  1119.     },
  1120.     [2549] = {
  1121.         ["skillLevel"] = 20,
  1122.         ["professionID"] = 2549,
  1123.         ["skillModifier"] = 0,
  1124.         ["expansionName"] = "Kul Tiran",
  1125.         ["isPrimaryProfession"] = true,
  1126.         ["profession"] = 4,
  1127.         ["professionName"] = "Kul Tiran Herbalism",
  1128.         ["parentProfessionID"] = 182,
  1129.         ["maxSkillLevel"] = 175,
  1130.         ["parentProfessionName"] = "Herbalism",
  1131.     },
  1132.     [2757] = {
  1133.         ["skillLevel"] = 0,
  1134.         ["professionID"] = 2757,
  1135.         ["skillModifier"] = 0,
  1136.         ["expansionName"] = "Shadowlands",
  1137.         ["isPrimaryProfession"] = true,
  1138.         ["profession"] = 12,
  1139.         ["professionName"] = "Shadowlands Jewelcrafting",
  1140.         ["parentProfessionID"] = 755,
  1141.         ["maxSkillLevel"] = 0,
  1142.         ["parentProfessionName"] = "Jewelcrafting",
  1143.     },
  1144.     [2550] = {
  1145.         ["skillLevel"] = 0,
  1146.         ["professionID"] = 2550,
  1147.         ["skillModifier"] = 0,
  1148.         ["expansionName"] = "Legion",
  1149.         ["isPrimaryProfession"] = true,
  1150.         ["profession"] = 4,
  1151.         ["professionName"] = "Legion Herbalism",
  1152.         ["parentProfessionID"] = 182,
  1153.         ["maxSkillLevel"] = 0,
  1154.         ["parentProfessionName"] = "Herbalism",
  1155.     },
  1156.     [755] = {
  1157.         ["expansionName"] = "Unknown",
  1158.         ["skillLevel"] = 0,
  1159.         ["isPrimaryProfession"] = true,
  1160.         ["profession"] = 12,
  1161.         ["professionName"] = "Jewelcrafting",
  1162.         ["professionID"] = 755,
  1163.         ["maxSkillLevel"] = 0,
  1164.         ["skillModifier"] = 0,
  1165.     },
  1166.     [2551] = {
  1167.         ["skillLevel"] = 100,
  1168.         ["professionID"] = 2551,
  1169.         ["skillModifier"] = 0,
  1170.         ["expansionName"] = "Draenor",
  1171.         ["isPrimaryProfession"] = true,
  1172.         ["profession"] = 4,
  1173.         ["professionName"] = "Draenor Herbalism",
  1174.         ["parentProfessionID"] = 182,
  1175.         ["maxSkillLevel"] = 100,
  1176.         ["parentProfessionName"] = "Herbalism",
  1177.     },
  1178.     [2507] = {
  1179.         ["skillLevel"] = 0,
  1180.         ["professionID"] = 2507,
  1181.         ["skillModifier"] = 0,
  1182.         ["expansionName"] = "Kul Tiran",
  1183.         ["isPrimaryProfession"] = true,
  1184.         ["profession"] = 13,
  1185.         ["professionName"] = "Kul Tiran Inscription",
  1186.         ["parentProfessionID"] = 773,
  1187.         ["maxSkillLevel"] = 0,
  1188.         ["parentProfessionName"] = "Inscription",
  1189.     },
  1190.     [2552] = {
  1191.         ["skillLevel"] = 75,
  1192.         ["professionID"] = 2552,
  1193.         ["skillModifier"] = 0,
  1194.         ["expansionName"] = "Pandaria",
  1195.         ["isPrimaryProfession"] = true,
  1196.         ["profession"] = 4,
  1197.         ["professionName"] = "Pandaria Herbalism",
  1198.         ["parentProfessionID"] = 182,
  1199.         ["maxSkillLevel"] = 75,
  1200.         ["parentProfessionName"] = "Herbalism",
  1201.     },
  1202.     [2825] = {
  1203.         ["skillLevel"] = 0,
  1204.         ["professionID"] = 2825,
  1205.         ["skillModifier"] = 0,
  1206.         ["expansionName"] = "Dragon Isles",
  1207.         ["isPrimaryProfession"] = true,
  1208.         ["profession"] = 9,
  1209.         ["professionName"] = "Dragon Isles Enchanting",
  1210.         ["parentProfessionID"] = 333,
  1211.         ["maxSkillLevel"] = 0,
  1212.         ["parentProfessionName"] = "Enchanting",
  1213.     },
  1214.     [2553] = {
  1215.         ["skillLevel"] = 75,
  1216.         ["professionID"] = 2553,
  1217.         ["skillModifier"] = 0,
  1218.         ["expansionName"] = "Cataclysm",
  1219.         ["isPrimaryProfession"] = true,
  1220.         ["profession"] = 4,
  1221.         ["professionName"] = "Cataclysm Herbalism",
  1222.         ["parentProfessionID"] = 182,
  1223.         ["maxSkillLevel"] = 75,
  1224.         ["parentProfessionName"] = "Herbalism",
  1225.     },
  1226.     [2821] = {
  1227.         ["skillLevel"] = 0,
  1228.         ["expansionName"] = "Unknown",
  1229.         ["isPrimaryProfession"] = true,
  1230.         ["professionName"] = "Arcana Manipulation",
  1231.         ["professionID"] = 2821,
  1232.         ["maxSkillLevel"] = 0,
  1233.         ["skillModifier"] = 0,
  1234.     },
  1235.     [2554] = {
  1236.         ["skillLevel"] = 75,
  1237.         ["professionID"] = 2554,
  1238.         ["skillModifier"] = 0,
  1239.         ["expansionName"] = "Northrend",
  1240.         ["isPrimaryProfession"] = true,
  1241.         ["profession"] = 4,
  1242.         ["professionName"] = "Northrend Herbalism",
  1243.         ["parentProfessionID"] = 182,
  1244.         ["maxSkillLevel"] = 75,
  1245.         ["parentProfessionName"] = "Herbalism",
  1246.     },
  1247.     [2756] = {
  1248.         ["skillLevel"] = 0,
  1249.         ["professionID"] = 2756,
  1250.         ["skillModifier"] = 0,
  1251.         ["expansionName"] = "Shadowlands",
  1252.         ["isPrimaryProfession"] = true,
  1253.         ["profession"] = 13,
  1254.         ["professionName"] = "Shadowlands Inscription",
  1255.         ["parentProfessionID"] = 773,
  1256.         ["maxSkillLevel"] = 0,
  1257.         ["parentProfessionName"] = "Inscription",
  1258.     },
  1259.     [2555] = {
  1260.         ["skillLevel"] = 75,
  1261.         ["professionID"] = 2555,
  1262.         ["skillModifier"] = 0,
  1263.         ["expansionName"] = "Outland",
  1264.         ["isPrimaryProfession"] = true,
  1265.         ["profession"] = 4,
  1266.         ["professionName"] = "Outland Herbalism",
  1267.         ["parentProfessionID"] = 182,
  1268.         ["maxSkillLevel"] = 75,
  1269.         ["parentProfessionName"] = "Herbalism",
  1270.     },
  1271.     ["SkillLineProfessions"] = {
  1272.         {
  1273.             {
  1274.                 ["skillLevel"] = 0,
  1275.                 ["professionID"] = 2831,
  1276.                 ["skillModifier"] = 0,
  1277.                 ["parentProfessionName"] = "Tailoring",
  1278.                 ["expansionName"] = "Dragon Isles",
  1279.                 ["profession"] = 7,
  1280.                 ["professionName"] = "Dragon Isles Tailoring",
  1281.                 ["parentProfessionID"] = 197,
  1282.                 ["maxSkillLevel"] = 0,
  1283.                 ["isPrimaryProfession"] = true,
  1284.             }, -- [1]
  1285.         }, -- [1]
  1286.     },
  1287.     [2556] = {
  1288.         ["skillLevel"] = 300,
  1289.         ["professionID"] = 2556,
  1290.         ["skillModifier"] = 0,
  1291.         ["expansionName"] = "Classic",
  1292.         ["isPrimaryProfession"] = true,
  1293.         ["profession"] = 4,
  1294.         ["professionName"] = "Classic Herbalism",
  1295.         ["parentProfessionID"] = 182,
  1296.         ["maxSkillLevel"] = 300,
  1297.         ["parentProfessionName"] = "Herbalism",
  1298.     },
  1299.     [2760] = {
  1300.         ["skillLevel"] = 0,
  1301.         ["professionID"] = 2760,
  1302.         ["skillModifier"] = 0,
  1303.         ["expansionName"] = "Shadowlands",
  1304.         ["isPrimaryProfession"] = true,
  1305.         ["profession"] = 4,
  1306.         ["professionName"] = "Shadowlands Herbalism",
  1307.         ["parentProfessionID"] = 182,
  1308.         ["maxSkillLevel"] = 0,
  1309.         ["parentProfessionName"] = "Herbalism",
  1310.     },
  1311.     [2557] = {
  1312.         ["skillLevel"] = 0,
  1313.         ["professionID"] = 2557,
  1314.         ["skillModifier"] = 0,
  1315.         ["expansionName"] = "Kul Tiran",
  1316.         ["isPrimaryProfession"] = true,
  1317.         ["profession"] = 11,
  1318.         ["professionName"] = "Kul Tiran Skinning",
  1319.         ["parentProfessionID"] = 393,
  1320.         ["maxSkillLevel"] = 0,
  1321.         ["parentProfessionName"] = "Skinning",
  1322.     },
  1323.     [2568] = {
  1324.         ["skillLevel"] = 0,
  1325.         ["professionID"] = 2568,
  1326.         ["skillModifier"] = 0,
  1327.         ["expansionName"] = "Pandaria",
  1328.         ["isPrimaryProfession"] = true,
  1329.         ["profession"] = 6,
  1330.         ["professionName"] = "Pandaria Mining",
  1331.         ["parentProfessionID"] = 186,
  1332.         ["maxSkillLevel"] = 0,
  1333.         ["parentProfessionName"] = "Mining",
  1334.     },
  1335.     [2558] = {
  1336.         ["skillLevel"] = 0,
  1337.         ["professionID"] = 2558,
  1338.         ["skillModifier"] = 0,
  1339.         ["expansionName"] = "Legion",
  1340.         ["isPrimaryProfession"] = true,
  1341.         ["profession"] = 11,
  1342.         ["professionName"] = "Legion Skinning",
  1343.         ["parentProfessionID"] = 393,
  1344.         ["maxSkillLevel"] = 0,
  1345.         ["parentProfessionName"] = "Skinning",
  1346.     },
  1347.     [2500] = {
  1348.         ["skillLevel"] = 0,
  1349.         ["professionID"] = 2500,
  1350.         ["skillModifier"] = 0,
  1351.         ["expansionName"] = "Legion",
  1352.         ["isPrimaryProfession"] = true,
  1353.         ["profession"] = 8,
  1354.         ["professionName"] = "Legion Engineering",
  1355.         ["parentProfessionID"] = 202,
  1356.         ["maxSkillLevel"] = 0,
  1357.         ["parentProfessionName"] = "Engineering",
  1358.     },
  1359.     [2559] = {
  1360.         ["skillLevel"] = 0,
  1361.         ["professionID"] = 2559,
  1362.         ["skillModifier"] = 0,
  1363.         ["expansionName"] = "Draenor",
  1364.         ["isPrimaryProfession"] = true,
  1365.         ["profession"] = 11,
  1366.         ["professionName"] = "Draenor Skinning",
  1367.         ["parentProfessionID"] = 393,
  1368.         ["maxSkillLevel"] = 0,
  1369.         ["parentProfessionName"] = "Skinning",
  1370.     },
  1371.     [2822] = {
  1372.         ["skillLevel"] = 0,
  1373.         ["professionID"] = 2822,
  1374.         ["skillModifier"] = 0,
  1375.         ["expansionName"] = "Dragon Isles",
  1376.         ["isPrimaryProfession"] = true,
  1377.         ["profession"] = 1,
  1378.         ["professionName"] = "Dragon Isles Blacksmithing",
  1379.         ["parentProfessionID"] = 164,
  1380.         ["maxSkillLevel"] = 0,
  1381.         ["parentProfessionName"] = "Blacksmithing",
  1382.     },
  1383.     [2560] = {
  1384.         ["skillLevel"] = 0,
  1385.         ["professionID"] = 2560,
  1386.         ["skillModifier"] = 0,
  1387.         ["expansionName"] = "Pandaria",
  1388.         ["isPrimaryProfession"] = true,
  1389.         ["profession"] = 11,
  1390.         ["professionName"] = "Pandaria Skinning",
  1391.         ["parentProfessionID"] = 393,
  1392.         ["maxSkillLevel"] = 0,
  1393.         ["parentProfessionName"] = "Skinning",
  1394.     },
  1395.     [2759] = {
  1396.         ["skillLevel"] = 0,
  1397.         ["professionID"] = 2759,
  1398.         ["skillModifier"] = 0,
  1399.         ["expansionName"] = "Shadowlands",
  1400.         ["isPrimaryProfession"] = true,
  1401.         ["profession"] = 7,
  1402.         ["professionName"] = "Shadowlands Tailoring",
  1403.         ["parentProfessionID"] = 197,
  1404.         ["maxSkillLevel"] = 0,
  1405.         ["parentProfessionName"] = "Tailoring",
  1406.     },
  1407.     [2561] = {
  1408.         ["skillLevel"] = 0,
  1409.         ["professionID"] = 2561,
  1410.         ["skillModifier"] = 0,
  1411.         ["expansionName"] = "Cataclysm",
  1412.         ["isPrimaryProfession"] = true,
  1413.         ["profession"] = 11,
  1414.         ["professionName"] = "Cataclysm Skinning",
  1415.         ["parentProfessionID"] = 393,
  1416.         ["maxSkillLevel"] = 0,
  1417.         ["parentProfessionName"] = "Skinning",
  1418.     },
  1419.     [186] = {
  1420.         ["expansionName"] = "Unknown",
  1421.         ["skillLevel"] = 0,
  1422.         ["isPrimaryProfession"] = true,
  1423.         ["profession"] = 6,
  1424.         ["professionName"] = "Mining",
  1425.         ["professionID"] = 186,
  1426.         ["maxSkillLevel"] = 0,
  1427.         ["skillModifier"] = 0,
  1428.     },
  1429.     [2562] = {
  1430.         ["skillLevel"] = 0,
  1431.         ["professionID"] = 2562,
  1432.         ["skillModifier"] = 0,
  1433.         ["expansionName"] = "Northrend",
  1434.         ["isPrimaryProfession"] = true,
  1435.         ["profession"] = 11,
  1436.         ["professionName"] = "Northrend Skinning",
  1437.         ["parentProfessionID"] = 393,
  1438.         ["maxSkillLevel"] = 0,
  1439.         ["parentProfessionName"] = "Skinning",
  1440.     },
  1441.     [202] = {
  1442.         ["expansionName"] = "Unknown",
  1443.         ["skillLevel"] = 0,
  1444.         ["isPrimaryProfession"] = true,
  1445.         ["profession"] = 8,
  1446.         ["professionName"] = "Engineering",
  1447.         ["professionID"] = 202,
  1448.         ["maxSkillLevel"] = 0,
  1449.         ["skillModifier"] = 0,
  1450.     },
  1451.     [2563] = {
  1452.         ["skillLevel"] = 0,
  1453.         ["professionID"] = 2563,
  1454.         ["skillModifier"] = 0,
  1455.         ["expansionName"] = "Outland",
  1456.         ["isPrimaryProfession"] = true,
  1457.         ["profession"] = 11,
  1458.         ["professionName"] = "Outland Skinning",
  1459.         ["parentProfessionID"] = 393,
  1460.         ["maxSkillLevel"] = 0,
  1461.         ["parentProfessionName"] = "Skinning",
  1462.     },
  1463.     [2566] = {
  1464.         ["skillLevel"] = 0,
  1465.         ["professionID"] = 2566,
  1466.         ["skillModifier"] = 0,
  1467.         ["expansionName"] = "Legion",
  1468.         ["isPrimaryProfession"] = true,
  1469.         ["profession"] = 6,
  1470.         ["professionName"] = "Legion Mining",
  1471.         ["parentProfessionID"] = 186,
  1472.         ["maxSkillLevel"] = 0,
  1473.         ["parentProfessionName"] = "Mining",
  1474.     },
  1475.     [2819] = {
  1476.         ["skillLevel"] = 0,
  1477.         ["expansionName"] = "Unknown",
  1478.         ["isPrimaryProfession"] = true,
  1479.         ["professionName"] = "Protoform Synthesis",
  1480.         ["professionID"] = 2819,
  1481.         ["maxSkillLevel"] = 0,
  1482.         ["skillModifier"] = 0,
  1483.     },
  1484.     [2437] = {
  1485.         ["skillLevel"] = 0,
  1486.         ["professionID"] = 2437,
  1487.         ["skillModifier"] = 0,
  1488.         ["expansionName"] = "Kul Tiran",
  1489.         ["isPrimaryProfession"] = true,
  1490.         ["profession"] = 1,
  1491.         ["professionName"] = "Kul Tiran Blacksmithing",
  1492.         ["parentProfessionID"] = 164,
  1493.         ["maxSkillLevel"] = 0,
  1494.         ["parentProfessionName"] = "Blacksmithing",
  1495.     },
  1496.     [2565] = {
  1497.         ["skillLevel"] = 0,
  1498.         ["professionID"] = 2565,
  1499.         ["skillModifier"] = 0,
  1500.         ["expansionName"] = "Kul Tiran",
  1501.         ["isPrimaryProfession"] = true,
  1502.         ["profession"] = 6,
  1503.         ["professionName"] = "Kul Tiran Mining",
  1504.         ["parentProfessionID"] = 186,
  1505.         ["maxSkillLevel"] = 0,
  1506.         ["parentProfessionName"] = "Mining",
  1507.     },
  1508.     [2506] = {
  1509.         ["skillLevel"] = 0,
  1510.         ["professionID"] = 2506,
  1511.         ["skillModifier"] = 0,
  1512.         ["expansionName"] = "Classic",
  1513.         ["isPrimaryProfession"] = true,
  1514.         ["profession"] = 8,
  1515.         ["professionName"] = "Classic Engineering",
  1516.         ["parentProfessionID"] = 202,
  1517.         ["maxSkillLevel"] = 0,
  1518.         ["parentProfessionName"] = "Engineering",
  1519.     },
  1520.     [773] = {
  1521.         ["expansionName"] = "Unknown",
  1522.         ["skillLevel"] = 0,
  1523.         ["isPrimaryProfession"] = true,
  1524.         ["profession"] = 13,
  1525.         ["professionName"] = "Inscription",
  1526.         ["professionID"] = 773,
  1527.         ["maxSkillLevel"] = 0,
  1528.         ["skillModifier"] = 0,
  1529.     },
  1530.     [2564] = {
  1531.         ["skillLevel"] = 0,
  1532.         ["professionID"] = 2564,
  1533.         ["skillModifier"] = 0,
  1534.         ["expansionName"] = "Classic",
  1535.         ["isPrimaryProfession"] = true,
  1536.         ["profession"] = 11,
  1537.         ["professionName"] = "Classic Skinning",
  1538.         ["parentProfessionID"] = 393,
  1539.         ["maxSkillLevel"] = 0,
  1540.         ["parentProfessionName"] = "Skinning",
  1541.     },
  1542.     [2567] = {
  1543.         ["skillLevel"] = 0,
  1544.         ["professionID"] = 2567,
  1545.         ["skillModifier"] = 0,
  1546.         ["expansionName"] = "Draenor",
  1547.         ["isPrimaryProfession"] = true,
  1548.         ["profession"] = 6,
  1549.         ["professionName"] = "Draenor Mining",
  1550.         ["parentProfessionID"] = 186,
  1551.         ["maxSkillLevel"] = 0,
  1552.         ["parentProfessionName"] = "Mining",
  1553.     },
  1554.     ["BaseProfessionInfo"] = {
  1555.         {
  1556.             ["skillLevel"] = 0,
  1557.             ["professionName"] = "",
  1558.             ["professionID"] = 0,
  1559.             ["expansionName"] = "",
  1560.             ["isPrimaryProfession"] = false,
  1561.             ["maxSkillLevel"] = 0,
  1562.             ["skillModifier"] = 0,
  1563.         }, -- [1]
  1564.     },
  1565.     [2823] = {
  1566.         ["skillLevel"] = 21,
  1567.         ["professionID"] = 2823,
  1568.         ["skillModifier"] = 0,
  1569.         ["expansionName"] = "Dragon Isles",
  1570.         ["isPrimaryProfession"] = true,
  1571.         ["profession"] = 3,
  1572.         ["professionName"] = "Dragon Isles Alchemy",
  1573.         ["parentProfessionID"] = 171,
  1574.         ["maxSkillLevel"] = 100,
  1575.         ["parentProfessionName"] = "Alchemy",
  1576.     },
  1577.     [2787] = {
  1578.         ["skillLevel"] = 0,
  1579.         ["expansionName"] = "Unknown",
  1580.         ["isPrimaryProfession"] = true,
  1581.         ["professionName"] = "Abominable Stitching",
  1582.         ["professionID"] = 2787,
  1583.         ["maxSkillLevel"] = 0,
  1584.         ["skillModifier"] = 0,
  1585.     },
  1586.     [2569] = {
  1587.         ["skillLevel"] = 0,
  1588.         ["professionID"] = 2569,
  1589.         ["skillModifier"] = 0,
  1590.         ["expansionName"] = "Cataclysm",
  1591.         ["isPrimaryProfession"] = true,
  1592.         ["profession"] = 6,
  1593.         ["professionName"] = "Cataclysm Mining",
  1594.         ["parentProfessionID"] = 186,
  1595.         ["maxSkillLevel"] = 0,
  1596.         ["parentProfessionName"] = "Mining",
  1597.     },
  1598.     [2811] = {
  1599.         ["skillLevel"] = 0,
  1600.         ["expansionName"] = "Unknown",
  1601.         ["isPrimaryProfession"] = true,
  1602.         ["professionName"] = "Stygia Crafting",
  1603.         ["professionID"] = 2811,
  1604.         ["maxSkillLevel"] = 0,
  1605.         ["skillModifier"] = 0,
  1606.     },
  1607.     [2570] = {
  1608.         ["skillLevel"] = 0,
  1609.         ["professionID"] = 2570,
  1610.         ["skillModifier"] = 0,
  1611.         ["expansionName"] = "Northrend",
  1612.         ["isPrimaryProfession"] = true,
  1613.         ["profession"] = 6,
  1614.         ["professionName"] = "Northrend Mining",
  1615.         ["parentProfessionID"] = 186,
  1616.         ["maxSkillLevel"] = 0,
  1617.         ["parentProfessionName"] = "Mining",
  1618.     },
  1619.     [2791] = {
  1620.         ["skillLevel"] = 0,
  1621.         ["expansionName"] = "Unknown",
  1622.         ["isPrimaryProfession"] = true,
  1623.         ["professionName"] = "Ascension Crafting",
  1624.         ["professionID"] = 2791,
  1625.         ["maxSkillLevel"] = 0,
  1626.         ["skillModifier"] = 0,
  1627.     },
  1628.     [2571] = {
  1629.         ["skillLevel"] = 0,
  1630.         ["professionID"] = 2571,
  1631.         ["skillModifier"] = 0,
  1632.         ["expansionName"] = "Outland",
  1633.         ["isPrimaryProfession"] = true,
  1634.         ["profession"] = 6,
  1635.         ["professionName"] = "Outland Mining",
  1636.         ["parentProfessionID"] = 186,
  1637.         ["maxSkillLevel"] = 0,
  1638.         ["parentProfessionName"] = "Mining",
  1639.     },
  1640.     [2522] = {
  1641.         ["skillLevel"] = 0,
  1642.         ["professionID"] = 2522,
  1643.         ["skillModifier"] = 0,
  1644.         ["expansionName"] = "Northrend",
  1645.         ["isPrimaryProfession"] = true,
  1646.         ["profession"] = 12,
  1647.         ["professionName"] = "Northrend Jewelcrafting",
  1648.         ["parentProfessionID"] = 755,
  1649.         ["maxSkillLevel"] = 0,
  1650.         ["parentProfessionName"] = "Jewelcrafting",
  1651.     },
  1652.     [2572] = {
  1653.         ["skillLevel"] = 0,
  1654.         ["professionID"] = 2572,
  1655.         ["skillModifier"] = 0,
  1656.         ["expansionName"] = "Classic",
  1657.         ["isPrimaryProfession"] = true,
  1658.         ["profession"] = 6,
  1659.         ["professionName"] = "Classic Mining",
  1660.         ["parentProfessionID"] = 186,
  1661.         ["maxSkillLevel"] = 0,
  1662.         ["parentProfessionName"] = "Mining",
  1663.     },
  1664.     [197] = {
  1665.         ["expansionName"] = "Unknown",
  1666.         ["skillLevel"] = 0,
  1667.         ["isPrimaryProfession"] = true,
  1668.         ["profession"] = 7,
  1669.         ["professionName"] = "Tailoring",
  1670.         ["professionID"] = 197,
  1671.         ["maxSkillLevel"] = 0,
  1672.         ["skillModifier"] = 0,
  1673.     },
  1674.     [2828] = {
  1675.         ["skillLevel"] = 0,
  1676.         ["professionID"] = 2828,
  1677.         ["skillModifier"] = 0,
  1678.         ["expansionName"] = "Dragon Isles",
  1679.         ["isPrimaryProfession"] = true,
  1680.         ["profession"] = 13,
  1681.         ["professionName"] = "Dragon Isles Inscription",
  1682.         ["parentProfessionID"] = 773,
  1683.         ["maxSkillLevel"] = 0,
  1684.         ["parentProfessionName"] = "Inscription",
  1685.     },
  1686.     [164] = {
  1687.         ["expansionName"] = "Unknown",
  1688.         ["skillLevel"] = 0,
  1689.         ["isPrimaryProfession"] = true,
  1690.         ["profession"] = 1,
  1691.         ["professionName"] = "Blacksmithing",
  1692.         ["professionID"] = 164,
  1693.         ["maxSkillLevel"] = 0,
  1694.         ["skillModifier"] = 0,
  1695.     },
  1696. }

The key factor to note is that maxSkill value only has a value if it is a skill you have in my case it was Alchemy and Herbalism. Server was minutes from shutting down so didn't get to test more but if you didn't get this far before it's one step forward.

Lua Code:
  1. [171] = {
  2.         ["expansionName"] = "Unknown",
  3.         ["skillLevel"] = 300,
  4.         ["isPrimaryProfession"] = true,
  5.         ["profession"] = 3,
  6.         ["professionName"] = "Alchemy",
  7.         ["professionID"] = 171,
  8.         ["maxSkillLevel"] = 700,
  9.         ["skillModifier"] = 0,
  10.     },
  11.  
  12.     [2553] = {
  13.         ["skillLevel"] = 75,
  14.         ["professionID"] = 2553,
  15.         ["skillModifier"] = 0,
  16.         ["expansionName"] = "Cataclysm",
  17.         ["isPrimaryProfession"] = true,
  18.         ["profession"] = 4,
  19.         ["professionName"] = "Cataclysm Herbalism",
  20.         ["parentProfessionID"] = 182,
  21.         ["maxSkillLevel"] = 75,
  22.         ["parentProfessionName"] = "Herbalism",
  23.     },
  24.     [2554] = {
  25.         ["skillLevel"] = 75,
  26.         ["professionID"] = 2554,
  27.         ["skillModifier"] = 0,
  28.         ["expansionName"] = "Northrend",
  29.         ["isPrimaryProfession"] = true,
  30.         ["profession"] = 4,
  31.         ["professionName"] = "Northrend Herbalism",
  32.         ["parentProfessionID"] = 182,
  33.         ["maxSkillLevel"] = 75,
  34.         ["parentProfessionName"] = "Herbalism",
  35.     },
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote
01-03-23, 09:08 AM   #5
Billtopia
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 110
I had tried that but never got the skill levels... I didn't include the dependency... I shall try it again with setting the dependency and see what I get with it. Thanks for the help... I wouldn't have thought of that. (Honestly I didn't even consider it lol)
  Reply With Quote
01-03-23, 09:12 AM   #6
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
It looks like it includes all skills and not just profession skills so you may want to identify what data is consistent enough to use as a validator.

And looks like it didn't wipe out all the old testing data so ignore the empty data like "ChildProfessionInfo" which didn't seem to work. But that's probably because like you said it is designed for a specific usage which may or may not be possible when the professions frame is open.

Although, come to think of it .. I did open the trade skill window once during testing. So if you can't get it to work on a fresh log in that might be the reason. I did reloads rather than relogs.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818

Last edited by Xrystal : 01-03-23 at 09:16 AM.
  Reply With Quote
01-03-23, 02:49 PM   #7
Billtopia
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 110
I am guessing your filled in data set was after the panel opening as I am still unable to get the level/ max level data still unless I open the panel. I started attempting to call the different methods attached to the frame and nothing... I have even tried the event handler to see if it would force some kind of update to the data provided. It seems they want to keep us out of it for some reason.
  Reply With Quote
01-03-23, 07:46 PM   #8
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
Not perfect but even without the required addons being preloaded a reload will grab the data. So you can always force a reload after doing the initial skill id list call which is the only one that works straight away. And then do the PLAYER_ENTERING_WORLD reload option to do the UI updates. And then work with the respective event calls for anything else.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote
01-04-23, 06:18 AM   #9
Billtopia
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 110
So, I guess I will have to scan/cache the data whenever they close the profession skills window (as there is an event for that). I had hard coded the max levels before so I can still do that but check them to make sure they are correct after the scan, and watch again for the chat skill up message and cache those as well... It won't be the best but I guess it is what they give me... I was hoping I was missing something that allowed live data access but I guess not.

Thanks for the help anyways.
  Reply With Quote
01-04-23, 02:00 PM   #10
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
I just noticed this :

https://github.com/Gethe/wow-ui-sour...rent.lua#L1345

ProfessionsFrame_LoadUI()
Edit: Nevermind that is the same as preloading the Blizzard_Professions addon based on the line in the function code
UIParentLoadAddOn("Blizzard_Professions")

They call that first before using local currBaseProfessionInfo = C_TradeSkillUI.GetBaseProfessionInfo() and after you click the profession button.



And .. Sudden thought .. I just tried after PLAYER_LOGIN with that line and it seemed to work .. doing some new tests just to double check.



Edit 2 :
Never mind .. what I was seeing in my saved variables was the basic information and not the max skill values for my characters Herbalism and Alchemy.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818

Last edited by Xrystal : 01-04-23 at 02:58 PM.
  Reply With Quote
01-04-23, 08:28 PM   #11
Billtopia
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 110
I got it to open the panel!!!I will have to work on the timing for it now but I CAN OPEN IT

(I did it in an OnUpdate loop in a temp addon just for testing so it is terribly coded with several cascading booleans)

ToggleSpellBook("professions")
-- a small delay... I tried no delay but then it doesn't work
-- 0.05 seconds throws an error on the click ( below ) but 0.07 works without an error

PrimaryProfession1SpellButtonBottom:Click()
-- opens the Professions Frame up

Scanning then gives full information

Available buttons to click are
PrimaryProfession1SpellButtonBottom
PrimaryProfession2SpellButtonBottom
SecondaryProfession1SpellButtonRight
SecondaryProfession2SpellButtonRight
SecondaryProfession3SpellButtonRight

and it is an easy check to see what professions (for the positions to find a button to use) are known
prof1, prof2, archaeology, fishing, cooking = GetProfessions()

Last edited by Billtopia : 01-04-23 at 09:30 PM.
  Reply With Quote
01-04-23, 09:22 PM   #12
Billtopia
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 110
Now what I will have to mess with is seeing if the data updates when you receive a skill up or if it remains static until the window is opened again... Since we have to open the window just to get the data to complete I am going to have to guess it is static.

I should also see if I can close the profession frame in the same OnUpdate cycle as opening it and still get the data to update... and whether once the spell book profession tab has ben used once if I can just use the created button without having to re-open it. If that works I could grab updates on the fly for the skills and not have to parse the CHAT_MSG_SKILL events and just do SPELL_CAST_SUCCESS events on gather abilities and what not...
  Reply With Quote
01-05-23, 08:00 AM   #13
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
I suspect as long as it is opened once in the session it will work.

There are a bunch of events you can watch for. Some are reliant on that window I think but worth checking for them just in case. Then see what happens when you level up. Some only trigger on a major jump rather than each level. But you could always use your frames update routine to periodically check the status ( assuming my theory that the functions and data work as expected for the rest of the session ).
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote
01-05-23, 01:04 PM   #14
Billtopia
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 110
The data stays up to date once the data populates... You just do a C_TradeSkillUI.GetProfessionInfoBySkillLineID(skillLine) and the data for the levels remains correct even if your skill levels up.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Trade Skill levels


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off