Commit 937154a8 authored by TOM_RUS's avatar TOM_RUS

WOW-35522patch9.0.1_PTR

parent 64878158
......@@ -160,6 +160,36 @@ local ActionBarFrame =
{ Name = "isEnabledAutoCastPetAction", Type = "bool", Nilable = false },
},
},
{
Name = "IsHarmfulAction",
Type = "Function",
Arguments =
{
{ Name = "actionID", Type = "number", Nilable = false },
{ Name = "useNeutral", Type = "bool", Nilable = false },
},
Returns =
{
{ Name = "isHarmful", Type = "bool", Nilable = false },
},
},
{
Name = "IsHelpfulAction",
Type = "Function",
Arguments =
{
{ Name = "actionID", Type = "number", Nilable = false },
{ Name = "useNeutral", Type = "bool", Nilable = false },
},
Returns =
{
{ Name = "isHelpful", Type = "bool", Nilable = false },
},
},
{
Name = "IsOnBarOrSpecialBar",
Type = "Function",
......
......@@ -19,6 +19,10 @@ local BarberShop =
Name = "Cancel",
Type = "Function",
},
{
Name = "ClearPreviewChoices",
Type = "Function",
},
{
Name = "GetAvailableCustomizations",
Type = "Function",
......@@ -68,6 +72,16 @@ local BarberShop =
Name = "OldBarberShopLoaded",
Type = "Function",
},
{
Name = "PreviewCustomizationChoice",
Type = "Function",
Arguments =
{
{ Name = "optionID", Type = "number", Nilable = false },
{ Name = "choiceID", Type = "number", Nilable = false },
},
},
{
Name = "ResetCameraRotation",
Type = "Function",
......
......@@ -38,6 +38,34 @@ local ChatInfo =
{ Name = "ruleset", Type = "ChatChannelRuleset", Nilable = false },
},
},
{
Name = "GetChannelRulesetForChannelID",
Type = "Function",
Arguments =
{
{ Name = "channelID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "ruleset", Type = "ChatChannelRuleset", Nilable = false },
},
},
{
Name = "GetChannelShortcutForChannelID",
Type = "Function",
Arguments =
{
{ Name = "channelID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "shortcut", Type = "string", Nilable = false },
},
},
{
Name = "GetClubStreamIDs",
Type = "Function",
......
......@@ -53,6 +53,17 @@ local Cursor =
Type = "Event",
LiteralName = "COMMUNITIES_STREAM_CURSOR_CLEAR",
},
{
Name = "CursorChanged",
Type = "Event",
LiteralName = "CURSOR_CHANGED",
Payload =
{
{ Name = "isDefault", Type = "bool", Nilable = false },
{ Name = "newCursorType", Type = "UICursorType", Nilable = false },
{ Name = "oldCursorType", Type = "UICursorType", Nilable = false },
},
},
{
Name = "CursorUpdate",
Type = "Event",
......@@ -67,6 +78,37 @@ local Cursor =
Tables =
{
{
Name = "UICursorType",
Type = "Enumeration",
NumValues = 21,
MinValue = 0,
MaxValue = 20,
Fields =
{
{ Name = "Default", Type = "UICursorType", EnumValue = 0 },
{ Name = "Item", Type = "UICursorType", EnumValue = 1 },
{ Name = "Money", Type = "UICursorType", EnumValue = 2 },
{ Name = "Spell", Type = "UICursorType", EnumValue = 3 },
{ Name = "PetAction", Type = "UICursorType", EnumValue = 4 },
{ Name = "Merchant", Type = "UICursorType", EnumValue = 5 },
{ Name = "ActionBar", Type = "UICursorType", EnumValue = 6 },
{ Name = "Macro", Type = "UICursorType", EnumValue = 7 },
{ Name = "AmmoObsolete", Type = "UICursorType", EnumValue = 8 },
{ Name = "Pet", Type = "UICursorType", EnumValue = 9 },
{ Name = "GuildBank", Type = "UICursorType", EnumValue = 10 },
{ Name = "GuildBankMoney", Type = "UICursorType", EnumValue = 11 },
{ Name = "EquipmentSet", Type = "UICursorType", EnumValue = 12 },
{ Name = "Currency", Type = "UICursorType", EnumValue = 13 },
{ Name = "Flyout", Type = "UICursorType", EnumValue = 14 },
{ Name = "VoidItem", Type = "UICursorType", EnumValue = 15 },
{ Name = "BattlePet", Type = "UICursorType", EnumValue = 16 },
{ Name = "Mount", Type = "UICursorType", EnumValue = 17 },
{ Name = "Toy", Type = "UICursorType", EnumValue = 18 },
{ Name = "CommunitiesStream", Type = "UICursorType", EnumValue = 19 },
{ Name = "ConduitCollectionItem", Type = "UICursorType", EnumValue = 20 },
},
},
},
};
......
......@@ -74,6 +74,15 @@ local DateAndTime =
{ Name = "date", Type = "CalendarTime", Nilable = false },
},
},
{
Name = "GetSecondsUntilWeeklyReset",
Type = "Function",
Returns =
{
{ Name = "seconds", Type = "number", Nilable = false },
},
},
{
Name = "GetServerTimeLocal",
Type = "Function",
......
......@@ -198,10 +198,32 @@ local Expansion =
Type = "Event",
LiteralName = "MIN_EXPANSION_LEVEL_UPDATED",
},
{
Name = "ShowSubscriptionInterstitial",
Type = "Event",
LiteralName = "SHOW_SUBSCRIPTION_INTERSTITIAL",
Payload =
{
{ Name = "type", Type = "SubscriptionInterstitialType", Nilable = false },
},
},
},
Tables =
{
{
Name = "SubscriptionInterstitialType",
Type = "Enumeration",
NumValues = 3,
MinValue = 0,
MaxValue = 2,
Fields =
{
{ Name = "Standard", Type = "SubscriptionInterstitialType", EnumValue = 0 },
{ Name = "LeftNpeArea", Type = "SubscriptionInterstitialType", EnumValue = 1 },
{ Name = "MaxLevel", Type = "SubscriptionInterstitialType", EnumValue = 2 },
},
},
{
Name = "ExpansionDisplayInfo",
Type = "Structure",
......
......@@ -116,6 +116,21 @@ local GarrisonConstants =
{ Name = "Died", Type = "GarrAutoMissionEventType", EnumValue = 9 },
},
},
{
Name = "GarrAutoPreviewTargetType",
Type = "Enumeration",
NumValues = 5,
MinValue = 0,
MaxValue = 8,
Fields =
{
{ Name = "None", Type = "GarrAutoPreviewTargetType", EnumValue = 0 },
{ Name = "Damage", Type = "GarrAutoPreviewTargetType", EnumValue = 1 },
{ Name = "Heal", Type = "GarrAutoPreviewTargetType", EnumValue = 2 },
{ Name = "Buff", Type = "GarrAutoPreviewTargetType", EnumValue = 4 },
{ Name = "Debuff", Type = "GarrAutoPreviewTargetType", EnumValue = 8 },
},
},
{
Name = "GarrFollowerMissionCompleteState",
Type = "Enumeration",
......
......@@ -13,7 +13,7 @@ local GarrisonInfo =
Arguments =
{
{ Name = "missionID", Type = "number", Nilable = false },
{ Name = "followerID", Type = "number", Nilable = false },
{ Name = "followerID", Type = "string", Nilable = false },
{ Name = "boardIndex", Type = "number", Nilable = true },
},
......@@ -31,6 +31,22 @@ local GarrisonInfo =
{ Name = "damageClassStrings", Type = "table", InnerType = "AutoCombatDamageClassString", Nilable = false },
},
},
{
Name = "GetAutoMissionTargetingInfo",
Type = "Function",
Arguments =
{
{ Name = "missionID", Type = "number", Nilable = false },
{ Name = "followerID", Type = "string", Nilable = false },
{ Name = "casterBoardIndex", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "targetInfo", Type = "table", InnerType = "AutoMissionTargetingInfo", Nilable = false },
},
},
{
Name = "GetCombatLogSpellInfo",
Type = "Function",
......@@ -327,16 +343,6 @@ local GarrisonInfo =
{ Name = "missionID", Type = "number", Nilable = false },
},
},
{
Name = "RequestAutoMissionTargetingInfo",
Type = "Function",
Arguments =
{
{ Name = "missionID", Type = "number", Nilable = false },
{ Name = "garrAutoSpellID", Type = "number", Nilable = false },
},
},
{
Name = "RushHealFollower",
Type = "Function",
......@@ -373,17 +379,6 @@ local GarrisonInfo =
{ Name = "followerTypeID", Type = "number", Nilable = false },
},
},
{
Name = "GarrisonAutoMissionTargetingResponse",
Type = "Event",
LiteralName = "GARRISON_AUTO_MISSION_TARGETING_RESPONSE",
Payload =
{
{ Name = "missionID", Type = "number", Nilable = false },
{ Name = "garrAutoSpellID", Type = "number", Nilable = false },
{ Name = "targetInfo", Type = "table", InnerType = "AutoMissionTargetingInfo", Nilable = false },
},
},
{
Name = "GarrisonBuildingActivatable",
Type = "Event",
......@@ -903,6 +898,7 @@ local GarrisonInfo =
{ Name = "schoolMask", Type = "number", Nilable = false },
{ Name = "effectIndex", Type = "number", Nilable = false },
{ Name = "casterBoardIndex", Type = "number", Nilable = false },
{ Name = "auraType", Type = "number", Nilable = false },
{ Name = "targetInfo", Type = "table", InnerType = "AutoMissionCombatEventInfo", Nilable = false },
},
},
......@@ -919,8 +915,8 @@ local GarrisonInfo =
Type = "Structure",
Fields =
{
{ Name = "casterBoardIndex", Type = "number", Nilable = false },
{ Name = "targetIndices", Type = "table", InnerType = "number", Nilable = false },
{ Name = "targetIndex", Type = "number", Nilable = false },
{ Name = "previewType", Type = "number", Nilable = false },
},
},
{
......
......@@ -121,6 +121,20 @@ local LegendaryCrafting =
{ Name = "power", Type = "RuneforgePower", Nilable = false },
},
},
{
Name = "GetRuneforgePowerSlots",
Type = "Function",
Arguments =
{
{ Name = "runeforgePowerID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "slotNames", Type = "table", InnerType = "string", Nilable = false },
},
},
{
Name = "GetRuneforgePowers",
Type = "Function",
......
......@@ -122,6 +122,7 @@ local PlayerChoice =
{ Name = "soundKitID", Type = "number", Nilable = true },
{ Name = "hasRewards", Type = "bool", Nilable = false },
{ Name = "rarity", Type = "PlayerChoiceRarity", Nilable = false },
{ Name = "rarityColor", Type = "table", Mixin = "ColorMixin", Nilable = true },
{ Name = "typeArtID", Type = "number", Nilable = true },
{ Name = "uiTextureKit", Type = "string", Nilable = true },
{ Name = "spellID", Type = "number", Nilable = true },
......
......@@ -15,6 +15,21 @@ local Soulbinds =
{ Name = "soulbindID", Type = "number", Nilable = false },
},
},
{
Name = "AddPendingConduit",
Type = "Function",
Arguments =
{
{ Name = "nodeID", Type = "number", Nilable = false },
{ Name = "conduitID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "result", Type = "bool", Nilable = false },
},
},
{
Name = "CanActivateSoulbind",
Type = "Function",
......@@ -31,11 +46,35 @@ local Soulbinds =
},
},
{
Name = "CloseSoulbindForge",
Name = "CanModifySoulbind",
Type = "Function",
Returns =
{
{ Name = "result", Type = "bool", Nilable = false },
},
},
{
Name = "EndInteraction",
Name = "CanResetConduitsInSoulbind",
Type = "Function",
Arguments =
{
{ Name = "soulbindID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "result", Type = "bool", Nilable = false },
{ Name = "errorDescription", Type = "string", Nilable = true },
},
},
{
Name = "CloseUI",
Type = "Function",
},
{
Name = "CommitPendingConduits",
Type = "Function",
},
{
......@@ -62,32 +101,41 @@ local Soulbinds =
},
},
{
Name = "GetConduitHyperlink",
Name = "GetConduitCollectionData",
Type = "Function",
Arguments =
{
{ Name = "conduitID", Type = "number", Nilable = false },
{ Name = "rank", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "link", Type = "string", Nilable = false },
{ Name = "collectionData", Type = "ConduitCollectionData", Nilable = true },
},
},
{
Name = "GetConduitCollectionDataAtCursor",
Type = "Function",
Returns =
{
{ Name = "collectionData", Type = "ConduitCollectionData", Nilable = true },
},
},
{
Name = "GetConduitID",
Name = "GetConduitHyperlink",
Type = "Function",
Arguments =
{
{ Name = "itemID", Type = "number", Nilable = false },
{ Name = "conduitID", Type = "number", Nilable = false },
{ Name = "rank", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "conduitID", Type = "number", Nilable = true },
{ Name = "link", Type = "string", Nilable = false },
},
},
{
......@@ -106,59 +154,60 @@ local Soulbinds =
},
},
{
Name = "GetItemConduitType",
Name = "GetNode",
Type = "Function",
Arguments =
{
{ Name = "itemLocation", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
{ Name = "nodeID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "type", Type = "SoulbindConduitType", Nilable = true },
{ Name = "node", Type = "SoulbindNode", Nilable = false },
},
},
{
Name = "GetItemConduitTypeByItemID",
Name = "GetPendingConduitID",
Type = "Function",
Arguments =
{
{ Name = "itemID", Type = "number", Nilable = false },
{ Name = "nodeID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "type", Type = "SoulbindConduitType", Nilable = true },
{ Name = "conduitID", Type = "number", Nilable = false },
},
},
{
Name = "GetSoulbindData",
Name = "GetPendingNodeIDInSoulbind",
Type = "Function",
Arguments =
{
{ Name = "soulbindID", Type = "number", Nilable = false },
{ Name = "conduitID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "data", Type = "SoulbindData", Nilable = false },
{ Name = "nodeID", Type = "number", Nilable = false },
},
},
{
Name = "GetSoulbindIDs",
Name = "GetSoulbindData",
Type = "Function",
Arguments =
{
{ Name = "covenantID", Type = "number", Nilable = false },
{ Name = "soulbindID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "soulbindID", Type = "table", InnerType = "number", Nilable = false },
{ Name = "data", Type = "SoulbindData", Nilable = false },
},
},
{
......@@ -176,13 +225,22 @@ local Soulbinds =
},
},
{
Name = "HasInstalledConduit",
Name = "HasAnyInstalledConduitInSoulbind",
Type = "Function",
Arguments =
{
{ Name = "nodeID", Type = "number", Nilable = false },
{ Name = "soulbindID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "result", Type = "bool", Nilable = false },
},
},
{
Name = "HasAnyPendingConduits",
Type = "Function",
Returns =
{
......@@ -190,41 +248,47 @@ local Soulbinds =
},
},
{
Name = "InstallConduitInSlot",
Name = "HasPendingConduitInSoulbind",
Type = "Function",
Arguments =
{
{ Name = "nodeID", Type = "number", Nilable = false },
{ Name = "soulbindID", Type = "number", Nilable = false },
{ Name = "conduitID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "result", Type = "SoulbindConduitInstallResult", Nilable = false },
{ Name = "result", Type = "bool", Nilable = false },