Commit 6922484b authored by TOM_RUS's avatar TOM_RUS
Browse files

WOW-26624patch8.0.1_Beta

parent 3612631a
......@@ -160,6 +160,24 @@ local ActionBarFrame =
{ Name = "isOnBarOrSpecialBar", Type = "bool", Nilable = false },
},
},
{
Name = "ShouldOverrideBarShowHealthBar",
Type = "Function",
Returns =
{
{ Name = "showHealthBar", Type = "bool", Nilable = false },
},
},
{
Name = "ShouldOverrideBarShowManaBar",
Type = "Function",
Returns =
{
{ Name = "showManaBar", Type = "bool", Nilable = false },
},
},
{
Name = "ToggleAutoCastPetAction",
Type = "Function",
......
......@@ -29,7 +29,6 @@ BarberShopDocumentation.lua
BattlePetDocumentation.lua
BlackMarketInfoDocumentation.lua
BrowserDocumentation.lua
CalendarDocumentation.lua
ChallengeModeInfoDocumentation.lua
ChatBubblesDocumentation.lua
ChatInfoDocumentation.lua
......@@ -99,6 +98,7 @@ ReputationInfoDocumentation.lua
ResearchInfoDocumentation.lua
RestrictedActionsDocumentation.lua
ScenarioInfoDocumentation.lua
ScrappingMachineUIDocumentation.lua
ScriptWarningsDocumentation.lua
SecureTransferDocumentation.lua
SkillInfoDocumentation.lua
......@@ -137,6 +137,7 @@ WarfrontDocumentation.lua
WorldStateInfoDocumentation.lua
WowTokenUIDocumentation.lua
ZoneAbilityDocumentation.lua
CalendarDocumentation.lua
ClubDocumentation.lua
FriendsDocumentation.lua
# End documentation files here
......@@ -62,6 +62,7 @@ local Club =
Arguments =
{
{ Name = "name", Type = "string", Nilable = false },
{ Name = "shortName", Type = "string", Nilable = true },
{ Name = "description", Type = "string", Nilable = false },
{ Name = "clubType", Type = "ClubType", Nilable = false, Documentation = { "Valid types are BattleNet or Character" } },
{ Name = "avatarId", Type = "number", Nilable = false },
......@@ -90,6 +91,7 @@ local Club =
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "allowedRedeemCount", Type = "number", Nilable = true, Documentation = { "Number of uses. nil means unlimited" } },
{ Name = "duration", Type = "number", Nilable = true, Documentation = { "Duration in seconds. nil never expires" } },
{ Name = "defaultStreamId", Type = "string", Nilable = true },
},
},
{
......@@ -153,6 +155,7 @@ local Club =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "name", Type = "string", Nilable = true },
{ Name = "shortName", Type = "string", Nilable = true },
{ Name = "description", Type = "string", Nilable = true },
{ Name = "avatarId", Type = "number", Nilable = true },
{ Name = "broadcast", Type = "string", Nilable = true },
......@@ -250,6 +253,7 @@ local Club =
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "streamId", Type = "string", Nilable = true },
},
Returns =
......@@ -493,6 +497,15 @@ local Club =
{ Name = "tickets", Type = "table", InnerType = "ClubTicketInfo", Nilable = false },
},
},
{
Name = "IsEnabled",
Type = "Function",
Returns =
{
{ Name = "clubsEnabled", Type = "bool", Nilable = false },
},
},
{
Name = "IsSubscribedToStream",
Type = "Function",
......@@ -716,6 +729,22 @@ local Club =
{ Name = "streamId", Type = "string", Nilable = false },
},
},
{
Name = "ValidateText",
Type = "Function",
Arguments =
{
{ Name = "clubType", Type = "ClubType", Nilable = false },
{ Name = "text", Type = "string", Nilable = false },
{ Name = "clubFieldType", Type = "ClubFieldType", Nilable = false },
},
Returns =
{
{ Name = "result", Type = "ClubValidateTextResult", Nilable = false },
},
},
},
Events =
......@@ -929,6 +958,16 @@ local Club =
{ Name = "clubId", Type = "string", Nilable = false },
},
},
{
Name = "ClubTicketCreated",
Type = "Event",
LiteralName = "CLUB_TICKET_CREATED",
Payload =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "ticketInfo", Type = "ClubTicketInfo", Nilable = false },
},
},
{
Name = "ClubTicketReceived",
Type = "Event",
......@@ -940,6 +979,15 @@ local Club =
{ Name = "info", Type = "ClubInfo", Nilable = true },
},
},
{
Name = "ClubTicketsReceived",
Type = "Event",
LiteralName = "CLUB_TICKETS_RECEIVED",
Payload =
{
{ Name = "clubId", Type = "string", Nilable = false },
},
},
{
Name = "ClubUpdated",
Type = "Event",
......@@ -991,6 +1039,23 @@ local Club =
{ Name = "Guild", Type = "ClubType", EnumValue = 2 },
},
},
{
Name = "ClubFieldType",
Type = "Enumeration",
NumValues = 7,
MinValue = 0,
MaxValue = 6,
Fields =
{
{ Name = "ClubName", Type = "ClubFieldType", EnumValue = 0 },
{ Name = "ClubShortName", Type = "ClubFieldType", EnumValue = 1 },
{ Name = "ClubDescription", Type = "ClubFieldType", EnumValue = 2 },
{ Name = "ClubBroadcast", Type = "ClubFieldType", EnumValue = 3 },
{ Name = "ClubStreamName", Type = "ClubFieldType", EnumValue = 4 },
{ Name = "ClubStreamSubject", Type = "ClubFieldType", EnumValue = 5 },
{ Name = "NumTypes", Type = "ClubFieldType", EnumValue = 6 },
},
},
{
Name = "ClubMemberPresence",
Type = "Enumeration",
......@@ -1032,6 +1097,20 @@ local Club =
{ Name = "All", Type = "ClubStreamNotificationFilter", EnumValue = 2 },
},
},
{
Name = "ClubValidateTextResult",
Type = "Enumeration",
NumValues = 4,
MinValue = 0,
MaxValue = 3,
Fields =
{
{ Name = "Success", Type = "ClubValidateTextResult", EnumValue = 0 },
{ Name = "FailProfanity", Type = "ClubValidateTextResult", EnumValue = 1 },
{ Name = "FailTooShort", Type = "ClubValidateTextResult", EnumValue = 2 },
{ Name = "FailTooLong", Type = "ClubValidateTextResult", EnumValue = 3 },
},
},
{
Name = "ClubInfo",
Type = "Structure",
......@@ -1039,6 +1118,7 @@ local Club =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "shortName", Type = "string", Nilable = true },
{ Name = "description", Type = "string", Nilable = false },
{ Name = "broadcast", Type = "string", Nilable = false },
{ Name = "clubType", Type = "ClubType", Nilable = false },
......@@ -1057,11 +1137,24 @@ local Club =
{ Name = "name", Type = "string", Nilable = true, Documentation = { "name may be encoded as a Kstring" } },
{ Name = "role", Type = "ClubRoleIdentifier", Nilable = true },
{ Name = "presence", Type = "ClubMemberPresence", Nilable = false },
{ Name = "guid", Type = "string", Nilable = true },
{ Name = "memberNote", Type = "string", Nilable = true },
{ Name = "officerNote", Type = "string", Nilable = true },
{ Name = "classID", Type = "number", Nilable = true },
{ Name = "race", Type = "number", Nilable = true },
{ Name = "level", Type = "number", Nilable = true },
{ Name = "zone", Type = "string", Nilable = true },
{ Name = "achievementPoints", Type = "number", Nilable = true },
{ Name = "profession1ID", Type = "number", Nilable = true },
{ Name = "profession1Rank", Type = "number", Nilable = true },
{ Name = "profession1Name", Type = "string", Nilable = true },
{ Name = "profession2ID", Type = "number", Nilable = true },
{ Name = "profession2Rank", Type = "number", Nilable = true },
{ Name = "profession2Name", Type = "string", Nilable = true },
{ Name = "lastOnlineYear", Type = "number", Nilable = true },
{ Name = "lastOnlineMonth", Type = "number", Nilable = true },
{ Name = "lastOnlineDay", Type = "number", Nilable = true },
{ Name = "lastOnlineHour", Type = "number", Nilable = true },
},
},
{
......@@ -1201,11 +1294,12 @@ local Club =
Fields =
{
{ Name = "ticketId", Type = "string", Nilable = false },
{ Name = "isMyTicket", Type = "bool", Nilable = false },
{ Name = "allowedRedeemCount", Type = "number", Nilable = false },
{ Name = "currentRedeemCount", Type = "number", Nilable = false },
{ Name = "creationTime", Type = "number", Nilable = false, Documentation = { "Creation time in microseconds since the UNIX epoch." } },
{ Name = "expirationTime", Type = "number", Nilable = false, Documentation = { "Expiration time in microseconds since the UNIX epoch." } },
{ Name = "defaultStreamId", Type = "string", Nilable = true },
{ Name = "creator", Type = "ClubMemberInfo", Nilable = false },
},
},
},
......
......@@ -34,6 +34,20 @@ local Item =
{ Name = "currentItemLevel", Type = "number", Nilable = true },
},
},
{
Name = "GetItemLink",
Type = "Function",
Arguments =
{
{ Name = "itemLocation", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
},
Returns =
{
{ Name = "itemLink", Type = "string", Nilable = true },
},
},
{
Name = "GetItemName",
Type = "Function",
......
......@@ -24,6 +24,20 @@ local QuestLog =
{ Name = "maxNumQuests", Type = "number", Nilable = false },
},
},
{
Name = "GetQuestInfo",
Type = "Function",
Arguments =
{
{ Name = "questID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "title", Type = "string", Nilable = false },
},
},
{
Name = "GetQuestsOnMap",
Type = "Function",
......
local ScrappingMachineUI =
{
Name = "ScrappingMachineUI",
Type = "System",
Namespace = "C_ScrappingMachineUI",
Functions =
{
{
Name = "CloseScrappingMachine",
Type = "Function",
},
{
Name = "DropPendingScrapItemFromCursor",
Type = "Function",
Arguments =
{
{ Name = "index", Type = "number", Nilable = false },
},
},
{
Name = "GetCurrentPendingScrapItemLocationByIndex",
Type = "Function",
Arguments =
{
{ Name = "index", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "itemLoc", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
},
},
{
Name = "GetScrapSpellID",
Type = "Function",
Returns =
{
{ Name = "spellID", Type = "number", Nilable = false },
},
},
{
Name = "HasScrappableItems",
Type = "Function",
Returns =
{
{ Name = "hasScrappableItems", Type = "bool", Nilable = false },
},
},
{
Name = "RemoveAllScrapItems",
Type = "Function",
},
{
Name = "RemoveCurrentScrappingItem",
Type = "Function",
},
{
Name = "RemoveItemToScrap",
Type = "Function",
Arguments =
{
{ Name = "index", Type = "number", Nilable = false },
},
},
{
Name = "ScrapItems",
Type = "Function",
},
{
Name = "SetScrappingMachine",
Type = "Function",
Arguments =
{
{ Name = "gameObject", Type = "string", Nilable = false },
},
},
},
Events =
{
{
Name = "ScrappingMachineClose",
Type = "Event",
LiteralName = "SCRAPPING_MACHINE_CLOSE",
},
{
Name = "ScrappingMachineItemRemovedOrCancelled",
Type = "Event",
LiteralName = "SCRAPPING_MACHINE_ITEM_REMOVED_OR_CANCELLED",
Payload =
{
{ Name = "index", Type = "number", Nilable = false },
},
},
{
Name = "ScrappingMachinePendingItemChanged",
Type = "Event",
LiteralName = "SCRAPPING_MACHINE_PENDING_ITEM_CHANGED",
},
{
Name = "ScrappingMachineScrappingFinished",
Type = "Event",
LiteralName = "SCRAPPING_MACHINE_SCRAPPING_FINISHED",
},
{
Name = "ScrappingMachineShow",
Type = "Event",
LiteralName = "SCRAPPING_MACHINE_SHOW",
},
},
Tables =
{
},
};
APIDocumentation:AddDocumentationTable(ScrappingMachineUI);
\ No newline at end of file
......@@ -17,6 +17,7 @@ local TradeSkillUI =
{ Name = "skillLineRank", Type = "number", Nilable = false },
{ Name = "skillLineMaxRank", Type = "number", Nilable = false },
{ Name = "skillLineModifier", Type = "number", Nilable = false },
{ Name = "parentSkillLineID", Type = "number", Nilable = true },
{ Name = "parentSkillLineDisplayName", Type = "string", Nilable = true },
},
},
......
......@@ -222,34 +222,22 @@ local UIWidgetManager =
MaxValue = 1,
Fields =
{
{ Name = "Shown", Type = "WidgetShownState", EnumValue = 0 },
{ Name = "Hidden", Type = "WidgetShownState", EnumValue = 1 },
{ Name = "Hidden", Type = "WidgetShownState", EnumValue = 0 },
{ Name = "Shown", Type = "WidgetShownState", EnumValue = 1 },
},
},
{
Name = "TextColorState",
Name = "WidgetEnabledState",
Type = "Enumeration",
NumValues = 4,
MinValue = 0,
MaxValue = 3,
Fields =
{
{ Name = "Enabled", Type = "TextColorState", EnumValue = 0 },
{ Name = "Disabled", Type = "TextColorState", EnumValue = 1 },
{ Name = "Red", Type = "TextColorState", EnumValue = 2 },
{ Name = "Highlight", Type = "TextColorState", EnumValue = 3 },
},
},
{
Name = "CaptureBarWidgetState",
Type = "Enumeration",
NumValues = 2,
MinValue = 0,
MaxValue = 1,
Fields =
{
{ Name = "Hidden", Type = "CaptureBarWidgetState", EnumValue = 0 },
{ Name = "Shown", Type = "CaptureBarWidgetState", EnumValue = 1 },
{ Name = "Disabled", Type = "WidgetEnabledState", EnumValue = 0 },
{ Name = "Enabled", Type = "WidgetEnabledState", EnumValue = 1 },
{ Name = "Red", Type = "WidgetEnabledState", EnumValue = 2 },
{ Name = "Highlight", Type = "WidgetEnabledState", EnumValue = 3 },
},
},
{
......@@ -293,7 +281,7 @@ local UIWidgetManager =
Fields =
{
{ Name = "shownState", Type = "WidgetShownState", Nilable = false },
{ Name = "colorState", Type = "TextColorState", Nilable = false },
{ Name = "enabledState", Type = "WidgetEnabledState", Nilable = false },
{ Name = "lines", Type = "table", InnerType = "string", Nilable = false },
{ Name = "orderIndex", Type = "number", Nilable = false },
{ Name = "widgetTag", Type = "string", Nilable = false },
......@@ -304,7 +292,7 @@ local UIWidgetManager =
Type = "Structure",
Fields =
{
{ Name = "state", Type = "CaptureBarWidgetState", Nilable = false },
{ Name = "shownState", Type = "WidgetShownState", Nilable = false },
{ Name = "barPercent", Type = "number", Nilable = false },
{ Name = "neutralPercent", Type = "number", Nilable = false },
{ Name = "textureKitID", Type = "number", Nilable = false },
......@@ -411,9 +399,9 @@ local UIWidgetManager =
Fields =
{
{ Name = "shownState", Type = "WidgetShownState", Nilable = false },
{ Name = "enabledState", Type = "TextColorState", Nilable = false },
{ Name = "enabledState", Type = "WidgetEnabledState", Nilable = false },
{ Name = "descriptionShownState", Type = "WidgetShownState", Nilable = false },
{ Name = "descriptionColorState", Type = "TextColorState", Nilable = false },
{ Name = "descriptionEnabledState", Type = "WidgetEnabledState", Nilable = false },
{ Name = "text", Type = "string", Nilable = false },
{ Name = "description", Type = "string", Nilable = false },
{ Name = "currencies", Type = "table", InnerType = "UIWidgetCurrencyInfo", Nilable = false },
......@@ -455,7 +443,7 @@ local UIWidgetManager =
Fields =
{
{ Name = "shownState", Type = "WidgetShownState", Nilable = false },
{ Name = "colorState", Type = "TextColorState", Nilable = false },
{ Name = "enabledState", Type = "WidgetEnabledState", Nilable = false },
{ Name = "text", Type = "string", Nilable = false },
{ Name = "orderIndex", Type = "number", Nilable = false },
{ Name = "widgetTag", Type = "string", Nilable = false },
......
......@@ -2,10 +2,19 @@ local Video =
{
Name = "Video",
Type = "System",
Namespace = "C_Video",
Namespace = "C_VideoOptions",
Functions =
{
{
Name = "GetGxAdapterInfo",
Type = "Function",
Returns =
{
{ Name = "adapters", Type = "table", InnerType = "GxAdapterInfoDetails", Nilable = false },
},
},
},
Events =
......@@ -39,6 +48,16 @@ local Video =
Tables =
{
{
Name = "GxAdapterInfoDetails",
Type = "Structure",
Fields =
{
{ Name = "name", Type = "string", Nilable = false },
{ Name = "isLowPower", Type = "bool", Nilable = false },
{ Name = "isExternal", Type = "bool", Nilable = false },
},
},
},
};
......
......@@ -115,6 +115,21 @@ local VoiceChat =
{ Name = "channel", Type = "VoiceChatChannel", Nilable = true },
},
},
{
Name = "GetChannelForCommunityStream",
Type = "Function",
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "streamId", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "channel", Type = "VoiceChatChannel", Nilable = true },
},
},
{
Name = "GetCommunicationMode",
Type = "Function",
......@@ -411,7 +426,22 @@ local VoiceChat =
Documentation = { "Once the UI has enumerated all channels, use this to reset the channel discovery state, it will be updated again if appropriate" },
},
{
Name = "RequestChannelInfo",
Name = "RequestJoinAndActivateCommunityStreamChannel",
Type = "Function",
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "streamId", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "status", Type = "VoiceChatStatusCode", Nilable = false },