Commit 996ccd6f authored by TOM_RUS's avatar TOM_RUS
Browse files

WOW-26287patch8.0.1_Beta

parent cf6ae346
......@@ -50,6 +50,20 @@ local AzeriteEmpoweredItem =
{ Name = "powerInfo", Type = "AzeriteEmpoweredItemPowerInfo", Nilable = false },
},
},
{
Name = "HasAnyUnselectedPowers",
Type = "Function",
Arguments =
{
{ Name = "azeriteEmpoweredItemLocation", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
},
Returns =
{
{ Name = "hasAnyUnselectedPowers", Type = "bool", Nilable = false },
},
},
{
Name = "IsAzeriteEmpoweredItem",
Type = "Function",
......@@ -97,16 +111,6 @@ local AzeriteEmpoweredItem =
Events =
{
{
Name = "AzeriteEmpoweredItemNewTierAvailable",
Type = "Event",
LiteralName = "AZERITE_EMPOWERED_ITEM_NEW_TIER_AVAILABLE",
Payload =
{
{ Name = "azeriteEmpoweredItemLocation", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
{ Name = "tierIndex", Type = "number", Nilable = false },
},
},
{
Name = "AzeriteEmpoweredItemSelectionUpdated",
Type = "Event",
......
......@@ -81,12 +81,22 @@ local AzeriteItem =
{ Name = "azeriteItemLocation", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
{ Name = "oldPowerLevel", Type = "number", Nilable = false },
{ Name = "newPowerLevel", Type = "number", Nilable = false },
{ Name = "unlockedEmpoweredItemsInfo", Type = "table", InnerType = "UnlockedAzeriteEmpoweredItems", Nilable = false },
},
},
},
Tables =
{
{
Name = "UnlockedAzeriteEmpoweredItems",
Type = "Structure",
Fields =
{
{ Name = "unlockedItem", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
{ Name = "tierIndex", Type = "number", Nilable = false },
},
},
},
};
......
......@@ -50,7 +50,6 @@ EncounterInfoDocumentation.lua
EncounterJournalDocumentation.lua
EquipmentManagerDocumentation.lua
ExpansionDocumentation.lua
FriendsDocumentation.lua
GMTicketInfoDocumentation.lua
GarrisonInfoDocumentation.lua
GlyphInfoDocumentation.lua
......@@ -122,10 +121,13 @@ UnitDocumentation.lua
VehicleDocumentation.lua
VideoDocumentation.lua
VignetteInfoDocumentation.lua
VoiceChatDocumentation.lua
VoidStorageInfoDocumentation.lua
WarfrontDocumentation.lua
WorldMapDocumentation.lua
WorldStateInfoDocumentation.lua
WowTokenUIDocumentation.lua
ZoneAbilityDocumentation.lua
ClubDocumentation.lua
FriendsDocumentation.lua
# End documentation files here
......@@ -6,6 +6,24 @@ local ChatInfo =
Functions =
{
{
Name = "GetChannelRosterInfo",
Type = "Function",
Arguments =
{
{ Name = "channelIndex", Type = "number", Nilable = false },
{ Name = "rosterIndex", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "name", Type = "string", Nilable = false },
{ Name = "owner", Type = "bool", Nilable = false },
{ Name = "moderator", Type = "bool", Nilable = false },
{ Name = "guid", Type = "string", Nilable = false },
},
},
{
Name = "GetRegisteredAddonMessagePrefixes",
Type = "Function",
......@@ -29,6 +47,20 @@ local ChatInfo =
{ Name = "isRegistered", Type = "bool", Nilable = false },
},
},
{
Name = "IsPartyChannelType",
Type = "Function",
Arguments =
{
{ Name = "channelType", Type = "ChatChannelType", Nilable = false },
},
Returns =
{
{ Name = "isPartyChannelType", Type = "bool", Nilable = false },
},
},
{
Name = "RegisterAddonMessagePrefix",
Type = "Function",
......@@ -130,6 +162,16 @@ local ChatInfo =
{ Name = "name", Type = "string", Nilable = false },
},
},
{
Name = "ChannelLeft",
Type = "Event",
LiteralName = "CHANNEL_LEFT",
Payload =
{
{ Name = "chatChannelID", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
},
},
{
Name = "ChannelPasswordRequest",
Type = "Event",
......@@ -154,17 +196,6 @@ local ChatInfo =
Type = "Event",
LiteralName = "CHANNEL_UI_UPDATE",
},
{
Name = "ChannelVoiceUpdate",
Type = "Event",
LiteralName = "CHANNEL_VOICE_UPDATE",
Payload =
{
{ Name = "displayIndex", Type = "number", Nilable = false },
{ Name = "voiceEnabled", Type = "number", Nilable = true },
{ Name = "voiceActive", Type = "number", Nilable = true },
},
},
{
Name = "ChatCombatMsgArenaPointsGain",
Type = "Event",
......
......@@ -24,6 +24,11 @@ local Cinematic =
Type = "Event",
LiteralName = "CINEMATIC_STOP",
},
{
Name = "HideSubtitle",
Type = "Event",
LiteralName = "HIDE_SUBTITLE",
},
{
Name = "PlayMovie",
Type = "Event",
......
local ClubsLua =
{
Name = "Clubs",
Type = "System",
Namespace = "C_Clubs",
Functions =
{
{
Name = "AcceptInvitation",
Type = "Function",
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
},
},
{
Name = "ClearClubPresenceSubscription",
Type = "Function",
},
{
Name = "CreateClub",
Type = "Function",
Arguments =
{
{ Name = "name", Type = "string", Nilable = false },
{ 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 },
},
},
{
Name = "CreateStream",
Type = "Function",
Documentation = { "Check the canCreateStream privilege." },
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "subject", Type = "string", Nilable = false },
{ Name = "leadersAndModeratorsOnly", Type = "bool", Nilable = false },
},
},
{
Name = "CreateTicket",
Type = "Function",
Documentation = { "Check canCreateTicket privilege." },
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "allowedRedeemCount", Type = "number", Nilable = false, Documentation = { "Number of uses. 0 means unlimited" } },
{ Name = "duration", Type = "number", Nilable = false, Documentation = { "Duration in seconds. 0 never expires" } },
},
},
{
Name = "DeclineInvitation",
Type = "Function",
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
},
},
{
Name = "DestroyClub",
Type = "Function",
Documentation = { "Check the canDestroy privilege." },
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
},
},
{
Name = "DestroyMessage",
Type = "Function",
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "streamId", Type = "string", Nilable = false },
{ Name = "messageId", Type = "ClubMessageIdentifier", Nilable = false },
},
},
{
Name = "DestroyStream",
Type = "Function",
Documentation = { "Check canDestroyStream privilege." },
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "streamId", Type = "string", Nilable = false },
},
},
{
Name = "DestroyTicket",
Type = "Function",
Documentation = { "Check canDestroyTicket privilege." },
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "ticketId", Type = "string", Nilable = false },
},
},
{
Name = "EditClub",
Type = "Function",
Documentation = { "nil arguments will not change existing club data" },
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "name", Type = "string", Nilable = true },
{ Name = "description", Type = "string", Nilable = true },
{ Name = "avatarId", Type = "number", Nilable = true },
},
},
{
Name = "EditMessage",
Type = "Function",
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "streamId", Type = "string", Nilable = false },
{ Name = "messageId", Type = "ClubMessageIdentifier", Nilable = false },
{ Name = "message", Type = "string", Nilable = false },
},
},
{
Name = "EditStream",
Type = "Function",
Documentation = { "Check the canSetStreamName, canSetStreamSubject, canSetStreamAccess privileges. nil arguments will not change existing stream data." },
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "streamId", Type = "string", Nilable = false },
{ Name = "name", Type = "string", Nilable = true },
{ Name = "subject", Type = "string", Nilable = true },
{ Name = "leadersAndModeratorsOnly", Type = "bool", Nilable = true },
},
},
{
Name = "GetClubInfo",
Type = "Function",
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "info", Type = "ClubInfo", Nilable = true },
},
},
{
Name = "GetClubMembers",
Type = "Function",
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "members", Type = "table", InnerType = "number", Nilable = false },
},
},
{
Name = "GetClubPrivileges",
Type = "Function",
Documentation = { "The privileges for the logged in user for this club" },
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "privilegeInfo", Type = "ClubPrivilegeInfo", Nilable = false },
},
},
{
Name = "GetInvitationCandidates",
Type = "Function",
Documentation = { "Returns a list of players that you can send a request to a Battle.net club. Returns an empty list for Character based clubs" },
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "candidates", Type = "table", InnerType = "ClubInvitationCandidateInfo", Nilable = false },
},
},
{
Name = "GetInvitationsForClub",
Type = "Function",
Documentation = { "Get the pending invitations for this club. Call RequestInvitationsForClub() to retrieve invitations from server." },
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "invitations", Type = "table", InnerType = "ClubInvitationInfo", Nilable = false },
},
},
{
Name = "GetInvitationsForSelf",
Type = "Function",
Documentation = { "These are the clubs the active player has been invited to." },
Returns =
{
{ Name = "invitations", Type = "table", InnerType = "ClubSelfInvitationInfo", Nilable = false },
},
},
{
Name = "GetMemberInfo",
Type = "Function",
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "memberId", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "info", Type = "ClubMemberInfo", Nilable = true },
},
},
{
Name = "GetMessageRange",
Type = "Function",
Documentation = { "Get the range of the messages currently downloaded." },
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "streamId", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "oldest", Type = "ClubMessageIdentifier", Nilable = false },
{ Name = "newest", Type = "ClubMessageIdentifier", Nilable = false },
},
},
{
Name = "GetMessagesInRange",
Type = "Function",
Documentation = { "Get all downloaded messages in the given range." },
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "streamId", Type = "string", Nilable = false },
{ Name = "oldest", Type = "ClubMessageIdentifier", Nilable = false },
{ Name = "newest", Type = "ClubMessageIdentifier", Nilable = false },
},
Returns =
{
{ Name = "messages", Type = "table", InnerType = "ClubMessageInfo", Nilable = false },
},
},
{
Name = "GetStreams",
Type = "Function",
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "streams", Type = "table", InnerType = "ClubStreamInfo", Nilable = false },
},
},
{
Name = "GetSubscribedClubs",
Type = "Function",
Returns =
{
{ Name = "clubs", Type = "table", InnerType = "ClubInfo", Nilable = false },
},
},
{
Name = "GetTickets",
Type = "Function",
Documentation = { "Get the existing tickets for this club. Call RequestTickets() to retrieve tickets from server." },
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "tickets", Type = "table", InnerType = "ClubTicketInfo", Nilable = false },
},
},
{
Name = "KickMember",
Type = "Function",
Documentation = { "Check canKickMember privilege." },
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "memberId", Type = "number", Nilable = false },
},
},
{
Name = "LeaveClub",
Type = "Function",
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
},
},
{
Name = "RedeemTicket",
Type = "Function",
Arguments =
{
{ Name = "ticketId", Type = "string", Nilable = false },
},
},
{
Name = "RequestInvitationsForClub",
Type = "Function",
Documentation = { "Request invitations for this club from server. Check canGetInvitation privilege." },
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
},
},
{
Name = "RequestMoreMessages",
Type = "Function",
Documentation = { "Call this when the user scrolls near the top of the message view, and more need to be displayed. The history will be downloaded backwards (newest to oldest)." },
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "streamId", Type = "string", Nilable = false },
},
},
{
Name = "RequestTickets",
Type = "Function",
Documentation = { "Request tickets from server. Check canGetTicket privilege." },
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
},
},
{
Name = "RevokeInvitation",
Type = "Function",
Documentation = { "Check canRevokeOwnInvitation or canRevokeOtherInvitation" },
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "memberId", Type = "number", Nilable = false },
},
},
{
Name = "SendCharacterInvitation",
Type = "Function",
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "character", Type = "string", Nilable = false },
},
},
{
Name = "SendInvitation",
Type = "Function",
Documentation = { "Check the canSendInvitation privilege." },
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "memberId", Type = "number", Nilable = false },