View Single Post
05-08-18, 07:30 PM   #19
thomasjohnshannon
A Theradrim Guardian
 
thomasjohnshannon's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 68
More (26567) Changes

IsWarModeEnabled was renamed to IsWarModeFeatureEnabled.
ShowUIPanel(WorldMapFrame); replaced with OpenWorldMap();

Quest Tag constants changed.

Lua Code:
  1. {
  2.   Name = "QuestTag",
  3.   Type = "Enumeration",
  4.   NumValues = 10,
  5.   MinValue = 0,
  6.   MaxValue = 102,
  7.   Fields =
  8.   {
  9.     { Name = "Group", Type = "QuestTag", EnumValue = 1 },
  10.     { Name = "Pvp", Type = "QuestTag", EnumValue = 41 },
  11.     { Name = "Raid", Type = "QuestTag", EnumValue = 62 },
  12.     { Name = "Dungeon", Type = "QuestTag", EnumValue = 81 },
  13.     { Name = "Legendary", Type = "QuestTag", EnumValue = 83 },
  14.     { Name = "Heroic", Type = "QuestTag", EnumValue = 85 },
  15.     { Name = "Raid10", Type = "QuestTag", EnumValue = 88 },
  16.     { Name = "Raid25", Type = "QuestTag", EnumValue = 89 },
  17.     { Name = "Scenario", Type = "QuestTag", EnumValue = 98 },
  18.     { Name = "Account", Type = "QuestTag", EnumValue = 102 },
  19.   },
  20. },
  21.  
  22. [Enum.QuestTag.Dungeon] = { 0.421875, 0.5625, 0, 0.28125 },
  23. [Enum.QuestTag.Scenario] = { 0.5625, 0.703125, 0, 0.28125 },
  24. [Enum.QuestTag.Account] = { 0.84375, 0.984375, 0, 0.28125 },
  25. [Enum.QuestTag.Legendary] = { 0, 0.140625, 0.28125, 0.5625 },
  26. [Enum.QuestTag.Group] = { 0.140625, 0.28125, 0.28125, 0.5625 },
  27. [Enum.QuestTag.Pvp] = { 0.28125, 0.421875, 0.28125, 0.5625 },
  28. [Enum.QuestTag.Heroic] = { 0, 0.140625, 0.5625, 0.84375 },
  29. -- same texture for all raids
  30. [Enum.QuestTag.Raid] = { 0.703125, 0.84375, 0, 0.28125 },
  31. [Enum.QuestTag.Raid10] = { 0.703125, 0.84375, 0, 0.28125 },
  32. [Enum.QuestTag.Raid25] = { 0.703125, 0.84375, 0, 0.28125 },

New Functions

Lua Code:
  1. {
  2.   Name = "GetStaggerPercentage",
  3.   Type = "Function",
  4.  
  5.   Arguments =
  6.   {
  7.     { Name = "unit", Type = "string", Nilable = false },
  8.   },
  9.  
  10.   Returns =
  11.   {
  12.     { Name = "stagger", Type = "number", Nilable = false },
  13.     { Name = "staggerAgainstTarget", Type = "number", Nilable = true },
  14.   },
  15. },
  16.  
  17. {
  18.   Name = "GetHonorRewardInfo",
  19.   Type = "Function",
  20.  
  21.   Arguments =
  22.   {
  23.     { Name = "honorLevel", Type = "number", Nilable = false },
  24.   },
  25.  
  26.   Returns =
  27.   {
  28.     { Name = "info", Type = "HonorRewardInfo", Nilable = true },
  29.   },
  30. },
  31. {
  32.   Name = "GetNextHonorLevelForReward",
  33.   Type = "Function",
  34.  
  35.   Arguments =
  36.   {
  37.     { Name = "honorLevel", Type = "number", Nilable = false },
  38.   },
  39.  
  40.   Returns =
  41.   {
  42.     { Name = "nextHonorLevelWithReward", Type = "number", Nilable = true },
  43.   },
  44. },
  45. {
  46.   Name = "GetPvpTierInfo",
  47.   Type = "Function",
  48.  
  49.   Arguments =
  50.   {
  51.     { Name = "tierID", Type = "number", Nilable = false },
  52.   },
  53.  
  54.   Returns =
  55.   {
  56.     { Name = "pvpTierInfo", Type = "PvpTierInfo", Nilable = true },
  57.   },
  58. },
  59.  
  60. {
  61.   Name = "GetSpellsDisplay",
  62.   Type = "Function",
  63.  
  64.   Arguments =
  65.   {
  66.     { Name = "specializationID", Type = "number", Nilable = false },
  67.   },
  68.  
  69.   Returns =
  70.   {
  71.     { Name = "spellID", Type = "table", InnerType = "number", Nilable = false },
  72.   },
  73. },
__________________
Thomas aka Urnn
  Reply With Quote