Commit 48c46ad8 authored by TOM_RUS's avatar TOM_RUS

WOW-35755patch9.0.1_Beta

parent cef2e750
...@@ -90,15 +90,16 @@ local AnimaDiversionUI = ...@@ -90,15 +90,16 @@ local AnimaDiversionUI =
{ {
Name = "AnimaDiversionNodeState", Name = "AnimaDiversionNodeState",
Type = "Enumeration", Type = "Enumeration",
NumValues = 4, NumValues = 5,
MinValue = 0, MinValue = 0,
MaxValue = 3, MaxValue = 4,
Fields = Fields =
{ {
{ Name = "Unavailable", Type = "AnimaDiversionNodeState", EnumValue = 0 }, { Name = "Unavailable", Type = "AnimaDiversionNodeState", EnumValue = 0 },
{ Name = "Available", Type = "AnimaDiversionNodeState", EnumValue = 1 }, { Name = "Available", Type = "AnimaDiversionNodeState", EnumValue = 1 },
{ Name = "SelectedTemporary", Type = "AnimaDiversionNodeState", EnumValue = 2 }, { Name = "SelectedTemporary", Type = "AnimaDiversionNodeState", EnumValue = 2 },
{ Name = "SelectedPermanent", Type = "AnimaDiversionNodeState", EnumValue = 3 }, { Name = "SelectedPermanent", Type = "AnimaDiversionNodeState", EnumValue = 3 },
{ Name = "Cooldown", Type = "AnimaDiversionNodeState", EnumValue = 4 },
}, },
}, },
{ {
......
...@@ -17,9 +17,9 @@ local AuctionHouseEnums = ...@@ -17,9 +17,9 @@ local AuctionHouseEnums =
{ {
Name = "AuctionHouseFilter", Name = "AuctionHouseFilter",
Type = "Enumeration", Type = "Enumeration",
NumValues = 11, NumValues = 12,
MinValue = 0, MinValue = 0,
MaxValue = 10, MaxValue = 11,
Fields = Fields =
{ {
{ Name = "UncollectedOnly", Type = "AuctionHouseFilter", EnumValue = 0 }, { Name = "UncollectedOnly", Type = "AuctionHouseFilter", EnumValue = 0 },
...@@ -33,6 +33,7 @@ local AuctionHouseEnums = ...@@ -33,6 +33,7 @@ local AuctionHouseEnums =
{ Name = "EpicQuality", Type = "AuctionHouseFilter", EnumValue = 8 }, { Name = "EpicQuality", Type = "AuctionHouseFilter", EnumValue = 8 },
{ Name = "LegendaryQuality", Type = "AuctionHouseFilter", EnumValue = 9 }, { Name = "LegendaryQuality", Type = "AuctionHouseFilter", EnumValue = 9 },
{ Name = "ArtifactQuality", Type = "AuctionHouseFilter", EnumValue = 10 }, { Name = "ArtifactQuality", Type = "AuctionHouseFilter", EnumValue = 10 },
{ Name = "LegendaryCraftedItemOnly", Type = "AuctionHouseFilter", EnumValue = 11 },
}, },
}, },
{ {
......
...@@ -126,6 +126,15 @@ local ChatInfo = ...@@ -126,6 +126,15 @@ local ChatInfo =
{ Name = "isPartyChannelType", Type = "bool", Nilable = false }, { Name = "isPartyChannelType", Type = "bool", Nilable = false },
}, },
}, },
{
Name = "IsRegionalServiceAvailable",
Type = "Function",
Returns =
{
{ Name = "available", Type = "bool", Nilable = false },
},
},
{ {
Name = "IsValidChatLine", Name = "IsValidChatLine",
Type = "Function", Type = "Function",
...@@ -1948,6 +1957,20 @@ local ChatInfo = ...@@ -1948,6 +1957,20 @@ local ChatInfo =
{ Name = "supressRaidIcons", Type = "bool", Nilable = false }, { Name = "supressRaidIcons", Type = "bool", Nilable = false },
}, },
}, },
{
Name = "ChatRegionalSendFailed",
Type = "Event",
LiteralName = "CHAT_REGIONAL_SEND_FAILED",
},
{
Name = "ChatRegionalStatusChanged",
Type = "Event",
LiteralName = "CHAT_REGIONAL_STATUS_CHANGED",
Payload =
{
{ Name = "isServiceAvailable", Type = "bool", Nilable = false },
},
},
{ {
Name = "ChatServerDisconnected", Name = "ChatServerDisconnected",
Type = "Event", Type = "Event",
......
...@@ -779,6 +779,16 @@ local GarrisonInfo = ...@@ -779,6 +779,16 @@ local GarrisonInfo =
{ Name = "doAlert", Type = "bool", Nilable = false }, { Name = "doAlert", Type = "bool", Nilable = false },
}, },
}, },
{
Name = "GarrisonTalentEventUpdate",
Type = "Event",
LiteralName = "GARRISON_TALENT_EVENT_UPDATE",
Payload =
{
{ Name = "eventType", Type = "number", Nilable = false },
{ Name = "eventID", Type = "number", Nilable = false },
},
},
{ {
Name = "GarrisonTalentNpcClosed", Name = "GarrisonTalentNpcClosed",
Type = "Event", Type = "Event",
...@@ -949,6 +959,7 @@ local GarrisonInfo = ...@@ -949,6 +959,7 @@ local GarrisonInfo =
{ Name = "boardIndex", Type = "number", Nilable = false }, { Name = "boardIndex", Type = "number", Nilable = false },
{ Name = "oldHealth", Type = "number", Nilable = false }, { Name = "oldHealth", Type = "number", Nilable = false },
{ Name = "newHealth", Type = "number", Nilable = false }, { Name = "newHealth", Type = "number", Nilable = false },
{ Name = "maxHealth", Type = "number", Nilable = false },
{ Name = "points", Type = "number", Nilable = true }, { Name = "points", Type = "number", Nilable = true },
}, },
}, },
......
...@@ -342,6 +342,20 @@ local Item = ...@@ -342,6 +342,20 @@ local Item =
{ Name = "isCached", Type = "bool", Nilable = false }, { Name = "isCached", Type = "bool", Nilable = false },
}, },
}, },
{
Name = "IsItemKeystoneByID",
Type = "Function",
Arguments =
{
{ Name = "itemInfo", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "isKeystone", Type = "bool", Nilable = false },
},
},
{ {
Name = "IsLocked", Name = "IsLocked",
Type = "Function", Type = "Function",
......
...@@ -165,6 +165,21 @@ local LegendaryCrafting = ...@@ -165,6 +165,21 @@ local LegendaryCrafting =
{ Name = "runeforgePowerIDs", Type = "table", InnerType = "number", Nilable = false }, { Name = "runeforgePowerIDs", Type = "table", InnerType = "number", Nilable = false },
}, },
}, },
{
Name = "GetRuneforgePowersByClassAndSpec",
Type = "Function",
Arguments =
{
{ Name = "classID", Type = "number", Nilable = true },
{ Name = "specID", Type = "number", Nilable = true },
},
Returns =
{
{ Name = "runeforgePowerIDs", Type = "table", InnerType = "number", Nilable = false },
},
},
{ {
Name = "IsRuneforgeLegendary", Name = "IsRuneforgeLegendary",
Type = "Function", Type = "Function",
...@@ -238,6 +253,15 @@ local LegendaryCrafting = ...@@ -238,6 +253,15 @@ local LegendaryCrafting =
Events = Events =
{ {
{
Name = "NewRuneforgePowerAdded",
Type = "Event",
LiteralName = "NEW_RUNEFORGE_POWER_ADDED",
Payload =
{
{ Name = "powerID", Type = "number", Nilable = false },
},
},
{ {
Name = "RuneforgeLegendaryCraftingClosed", Name = "RuneforgeLegendaryCraftingClosed",
Type = "Event", Type = "Event",
......
...@@ -525,17 +525,43 @@ local Map = ...@@ -525,17 +525,43 @@ local Map =
{ Name = "TopRight", Type = "MapCanvasPosition", EnumValue = 4 }, { Name = "TopRight", Type = "MapCanvasPosition", EnumValue = 4 },
}, },
}, },
{
Name = "UIMapFlag",
Type = "Enumeration",
NumValues = 15,
MinValue = 1,
MaxValue = 16384,
Fields =
{
{ Name = "NoHighlight", Type = "UIMapFlag", EnumValue = 1 },
{ Name = "ShowOverlays", Type = "UIMapFlag", EnumValue = 2 },
{ Name = "ShowTaxiNodes", Type = "UIMapFlag", EnumValue = 4 },
{ Name = "GarrisonMap", Type = "UIMapFlag", EnumValue = 8 },
{ Name = "FallbackToParentMap", Type = "UIMapFlag", EnumValue = 16 },
{ Name = "NoHighlightTexture", Type = "UIMapFlag", EnumValue = 32 },
{ Name = "ShowTaskObjectives", Type = "UIMapFlag", EnumValue = 64 },
{ Name = "NoWorldPositions", Type = "UIMapFlag", EnumValue = 128 },
{ Name = "HideArchaeologyDigs", Type = "UIMapFlag", EnumValue = 256 },
{ Name = "Deprecated", Type = "UIMapFlag", EnumValue = 512 },
{ Name = "HideIcons", Type = "UIMapFlag", EnumValue = 1024 },
{ Name = "HideVignettes", Type = "UIMapFlag", EnumValue = 2048 },
{ Name = "ForceAllOverlayExplored", Type = "UIMapFlag", EnumValue = 4096 },
{ Name = "FlightMapShowZoomOut", Type = "UIMapFlag", EnumValue = 8192 },
{ Name = "FlightMapAutoZoom", Type = "UIMapFlag", EnumValue = 16384 },
},
},
{ {
Name = "UIMapSystem", Name = "UIMapSystem",
Type = "Enumeration", Type = "Enumeration",
NumValues = 3, NumValues = 4,
MinValue = 0, MinValue = 0,
MaxValue = 2, MaxValue = 3,
Fields = Fields =
{ {
{ Name = "World", Type = "UIMapSystem", EnumValue = 0 }, { Name = "World", Type = "UIMapSystem", EnumValue = 0 },
{ Name = "Taxi", Type = "UIMapSystem", EnumValue = 1 }, { Name = "Taxi", Type = "UIMapSystem", EnumValue = 1 },
{ Name = "Adventure", Type = "UIMapSystem", EnumValue = 2 }, { Name = "Adventure", Type = "UIMapSystem", EnumValue = 2 },
{ Name = "Minimap", Type = "UIMapSystem", EnumValue = 3 },
}, },
}, },
{ {
...@@ -587,6 +613,7 @@ local Map = ...@@ -587,6 +613,7 @@ local Map =
{ Name = "name", Type = "string", Nilable = false }, { Name = "name", Type = "string", Nilable = false },
{ Name = "mapType", Type = "UIMapType", Nilable = false }, { Name = "mapType", Type = "UIMapType", Nilable = false },
{ Name = "parentMapID", Type = "number", Nilable = false }, { Name = "parentMapID", Type = "number", Nilable = false },
{ Name = "flags", Type = "number", Nilable = false },
}, },
}, },
{ {
......
...@@ -20,6 +20,20 @@ local ReportSystem = ...@@ -20,6 +20,20 @@ local ReportSystem =
{ Name = "canReport", Type = "bool", Nilable = false }, { Name = "canReport", Type = "bool", Nilable = false },
}, },
}, },
{
Name = "CanReportPlayerForLanguage",
Type = "Function",
Arguments =
{
{ Name = "playerLocation", Type = "table", Mixin = "PlayerLocationMixin", Nilable = false },
},
Returns =
{
{ Name = "canReport", Type = "bool", Nilable = false },
},
},
{ {
Name = "InitiateReportPlayer", Name = "InitiateReportPlayer",
Type = "Function", Type = "Function",
......
...@@ -74,8 +74,13 @@ local Soulbinds = ...@@ -74,8 +74,13 @@ local Soulbinds =
Type = "Function", Type = "Function",
}, },
{ {
Name = "CommitPendingConduits", Name = "CommitPendingConduitsInSoulbind",
Type = "Function", Type = "Function",
Arguments =
{
{ Name = "soulbindID", Type = "number", Nilable = false },
},
}, },
{ {
Name = "GetActiveSoulbindID", Name = "GetActiveSoulbindID",
...@@ -292,6 +297,20 @@ local Soulbinds = ...@@ -292,6 +297,20 @@ local Soulbinds =
{ Name = "result", Type = "bool", Nilable = false }, { Name = "result", Type = "bool", Nilable = false },
}, },
}, },
{
Name = "HasPendingConduitsInSoulbind",
Type = "Function",
Arguments =
{
{ Name = "soulbindID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "result", Type = "bool", Nilable = false },
},
},
{ {
Name = "IsConduitInstalled", Name = "IsConduitInstalled",
Type = "Function", Type = "Function",
......
...@@ -197,8 +197,9 @@ local TradeSkillUI = ...@@ -197,8 +197,9 @@ local TradeSkillUI =
LiteralName = "NEW_RECIPE_LEARNED", LiteralName = "NEW_RECIPE_LEARNED",
Payload = Payload =
{ {
{ Name = "spellID", Type = "number", Nilable = false }, { Name = "recipeID", Type = "number", Nilable = false },
{ Name = "recipeLevel", Type = "number", Nilable = true }, { Name = "recipeLevel", Type = "number", Nilable = true },
{ Name = "baseRecipeID", Type = "number", Nilable = true },
}, },
}, },
{ {
...@@ -285,6 +286,7 @@ local TradeSkillUI = ...@@ -285,6 +286,7 @@ local TradeSkillUI =
Type = "Structure", Type = "Structure",
Fields = Fields =
{ {
{ Name = "requiredSkillRank", Type = "number", Nilable = false },
{ Name = "slotText", Type = "string", Nilable = true }, { Name = "slotText", Type = "string", Nilable = true },
{ Name = "options", Type = "table", InnerType = "number", Nilable = false }, { Name = "options", Type = "table", InnerType = "number", Nilable = false },
}, },
......
...@@ -166,6 +166,20 @@ local VoiceChat = ...@@ -166,6 +166,20 @@ local VoiceChat =
{ Name = "volume", Type = "number", Nilable = true }, { Name = "volume", Type = "number", Nilable = true },
}, },
}, },
{
Name = "GetJoinClubVoiceChannelError",
Type = "Function",
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "errorReason", Type = "VoiceChannelErrorReason", Nilable = true },
},
},
{ {
Name = "GetLocalPlayerActiveChannelMemberInfo", Name = "GetLocalPlayerActiveChannelMemberInfo",
Type = "Function", Type = "Function",
...@@ -1017,6 +1031,18 @@ local VoiceChat = ...@@ -1017,6 +1031,18 @@ local VoiceChat =
{ Name = "OpenMic", Type = "CommunicationMode", EnumValue = 1 }, { Name = "OpenMic", Type = "CommunicationMode", EnumValue = 1 },
}, },
}, },
{
Name = "VoiceChannelErrorReason",
Type = "Enumeration",
NumValues = 2,
MinValue = 0,
MaxValue = 1,
Fields =
{
{ Name = "Unknown", Type = "VoiceChannelErrorReason", EnumValue = 0 },
{ Name = "IsBattleNetChannel", Type = "VoiceChannelErrorReason", EnumValue = 1 },
},
},
{ {
Name = "VoiceChatStatusCode", Name = "VoiceChatStatusCode",
Type = "Enumeration", Type = "Enumeration",
......
...@@ -81,17 +81,22 @@ local WeeklyRewards = ...@@ -81,17 +81,22 @@ local WeeklyRewards =
}, },
}, },
{ {
Name = "HasRewards", Name = "HasAvailableRewards",
Type = "Function", Type = "Function",
Returns = Returns =
{ {
{ Name = "hasRewards", Type = "bool", Nilable = false }, { Name = "hasAvailableRewards", Type = "bool", Nilable = false },
}, },
}, },
{ {
Name = "RequestRewards", Name = "HasGeneratedRewards",
Type = "Function", Type = "Function",
Returns =
{
{ Name = "hasGeneratedRewards", Type = "bool", Nilable = false },
},
}, },
}, },
......
local animaPinTextureKitRegions = { local animaPinTextureKitRegions = {
["Icon"] = "AnimaChannel-Icon-%s-Normal", [Enum.AnimaDiversionNodeState.Unavailable] = "AnimaChannel-Icon-%s-Normal",
["IconSelect"] = "AnimaChannel-Icon-%s-Select", [Enum.AnimaDiversionNodeState.Available] = "AnimaChannel-Icon-%s-Select",
["IconReinforce"] = "AnimaChannel-Icon-%s-Reinforce", [Enum.AnimaDiversionNodeState.SelectedTemporary] = "AnimaChannel-Icon-%s-Ready",
["IconReady"] = "AnimaChannel-Icon-%s-Ready", [Enum.AnimaDiversionNodeState.SelectedPermanent] = "AnimaChannel-Icon-%s-Ready",
[Enum.AnimaDiversionNodeState.Cooldown] = "AnimaChannel-Icon-%s-Normal",
}; };
local reinforceNodeTextureKitAnimationEffectId = { local reinforceNodeTextureKitAnimationEffectId = {
...@@ -12,20 +13,22 @@ local reinforceNodeTextureKitAnimationEffectId = { ...@@ -12,20 +13,22 @@ local reinforceNodeTextureKitAnimationEffectId = {
["Necrolord"] = 31, ["Necrolord"] = 31,
}; };
local animaConnectionLineColors = { local animaConnectionShowBlackLink = {
["Kyrian"] = CreateColor(0.55, 0.81, 0.90), ["Venthyr"] = true,
["NightFae"] = CreateColor(0, 0.33, 0.97), ["Necrolord"] = true,
["Venthyr"] = CreateColor(0.81, 0.06, 0.06),
["Necrolord"] = CreateColor(0.1, 0.82, 0.30),
}; };
local ANIMA_DIVERSION_DATA_PROVIDER_FRAME_EVENTS = { local ANIMA_DIVERSION_DATA_PROVIDER_FRAME_EVENTS = {
"ANIMA_DIVERSION_TALENT_UPDATED", "ANIMA_DIVERSION_TALENT_UPDATED",
"CURRENCY_DISPLAY_UPDATE", "CURRENCY_DISPLAY_UPDATE",
"GARRISON_TALENT_COMPLETE",
"GARRISON_TALENT_EVENT_UPDATE",
}; };
local ANIMA_DIVERSION_ORIGIN_PIN_BORDER = "AnimaChannel-Icon-Device-%s-Border"; local ANIMA_DIVERSION_ORIGIN_PIN_BORDER = "AnimaChannel-Icon-Device-%s-Border";
local ANIMA_REINFORCE_MODEL_EFFECT_ID = 35; local ANIMA_DIVERSION_LINK_TEXTURE = "animachannel-link-anima-%s";
local ANIMA_DIVERSION_LINE_TEXTURE = "_AnimaChannel-Channel-Line-horizontal-%s";
local ANIMA_SELECTION_MODEL_EFFECT_ID = 35;
AnimaDiversionDataProviderMixin = CreateFromMixins(MapCanvasDataProviderMixin); AnimaDiversionDataProviderMixin = CreateFromMixins(MapCanvasDataProviderMixin);
...@@ -35,28 +38,68 @@ end ...@@ -35,28 +38,68 @@ end
function AnimaDiversionDataProviderMixin:OnHide() function AnimaDiversionDataProviderMixin:OnHide()
FrameUtil.UnregisterFrameForEvents(self, ANIMA_DIVERSION_DATA_PROVIDER_FRAME_EVENTS); FrameUtil.UnregisterFrameForEvents(self, ANIMA_DIVERSION_DATA_PROVIDER_FRAME_EVENTS);
self:ResetModelScene();
end end
function AnimaDiversionDataProviderMixin:OnEvent(event, ...) function AnimaDiversionDataProviderMixin:OnEvent(event, ...)
if event == "ANIMA_DIVERSION_TALENT_UPDATED" or event == "CURRENCY_DISPLAY_UPDATE" then self:RefreshAllData();