Commit b38deb09 authored by TOM_RUS's avatar TOM_RUS
Browse files

WOW-31812patch8.2.5_PTR

parent 86c6efda
......@@ -80,6 +80,7 @@ KnowledgeBaseDocumentation.lua
LFGInfoDocumentation.lua
LFGListInfoDocumentation.lua
LFGuildInfoDocumentation.lua
LevelLinkDocumentation.lua
LoadingScreenDocumentation.lua
LootDocumentation.lua
LootJournalDocumentation.lua
......@@ -118,6 +119,7 @@ SecureTransferDocumentation.lua
SkillInfoDocumentation.lua
SocialInfoDocumentation.lua
SocialQueueDocumentation.lua
SocialRestrictionsDocumentation.lua
SoundDocumentation.lua
SpecializationInfoDocumentation.lua
SpellDocumentation.lua
......@@ -151,6 +153,7 @@ VoiceChatDocumentation.lua
VoidStorageInfoDocumentation.lua
WarCampaignDocumentation.lua
WorldStateInfoDocumentation.lua
WowEntitlementInfoDocumentation.lua
WowTokenUIDocumentation.lua
ZoneAbilityDocumentation.lua
# End documentation files here
......@@ -1432,9 +1432,9 @@ local Club =
{
Name = "ValidateNameResult",
Type = "Enumeration",
NumValues = 17,
NumValues = 18,
MinValue = 0,
MaxValue = 16,
MaxValue = 17,
Fields =
{
{ Name = "NameSuccess", Type = "ValidateNameResult", EnumValue = 0 },
......@@ -1454,6 +1454,7 @@ local Club =
{ Name = "NameRussianConsecutiveSilentCharacters", Type = "ValidateNameResult", EnumValue = 14 },
{ Name = "NameRussianSilentCharacterAtBeginningOrEnd", Type = "ValidateNameResult", EnumValue = 15 },
{ Name = "NameDeclensionDoesntMatchBaseName", Type = "ValidateNameResult", EnumValue = 16 },
{ Name = "NameSpacesDisallowed", Type = "ValidateNameResult", EnumValue = 17 },
},
},
{
......
......@@ -63,6 +63,15 @@ local ClubFinder =
{ Name = "belongsToClub", Type = "bool", Nilable = false },
},
},
{
Name = "GetClubFinderDisableReason",
Type = "Function",
Returns =
{
{ Name = "disableReason", Type = "ClubFinderDisableReason", Nilable = true },
},
},
{
Name = "GetClubRecruitmentSettings",
Type = "Function",
......@@ -109,6 +118,20 @@ local ClubFinder =
{ Name = "settings", Type = "ClubSettingsInfo", Nilable = false },
},
},
{
Name = "GetPlayerClubApplicationStatus",
Type = "Function",
Arguments =
{
{ Name = "clubFinderGUID", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "clubStatus", Type = "PlayerClubRequestStatus", Nilable = false },
},
},
{
Name = "GetPlayerSettingsFocusFlagsSelectedCount",
Type = "Function",
......@@ -129,7 +152,7 @@ local ClubFinder =
Returns =
{
{ Name = "clubInfo", Type = "RecruitingClubInfo", Nilable = false },
{ Name = "clubInfo", Type = "RecruitingClubInfo", Nilable = true },
},
},
{
......@@ -164,6 +187,43 @@ local ClubFinder =
{ Name = "totalSize", Type = "number", Nilable = false },
},
},
{
Name = "HasAlreadyAppliedToLinkedPosting",
Type = "Function",
Arguments =
{
{ Name = "clubFinderGUID", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "hasAlreadyApplied", Type = "bool", Nilable = false },
},
},
{
Name = "IsEnabled",
Type = "Function",
Returns =
{
{ Name = "isEnabled", Type = "bool", Nilable = false },
},
},
{
Name = "IsListingEnabledFromFlags",
Type = "Function",
Arguments =
{
{ Name = "flags", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "isListed", Type = "bool", Nilable = false },
},
},
{
Name = "LookupClubPostingFromClubFinderGUID",
Type = "Function",
......@@ -324,6 +384,8 @@ local ClubFinder =
{ Name = "playerGUID", Type = "string", Nilable = false },
{ Name = "shouldAccept", Type = "bool", Nilable = false },
{ Name = "requestType", Type = "ClubFinderRequestType", Nilable = false },
{ Name = "playerName", Type = "string", Nilable = false },
{ Name = "forceAccept", Type = "bool", Nilable = false },
},
},
{
......@@ -414,6 +476,15 @@ local ClubFinder =
Events =
{
{
Name = "ClubFinderApplicantInviteRecieved",
Type = "Event",
LiteralName = "CLUB_FINDER_APPLICANT_INVITE_RECIEVED",
Payload =
{
{ Name = "clubFinderGUIDs", Type = "table", InnerType = "string", Nilable = false },
},
},
{
Name = "ClubFinderApplicationsUpdated",
Type = "Event",
......@@ -434,6 +505,22 @@ local ClubFinder =
{ Name = "type", Type = "ClubFinderRequestType", Nilable = false },
},
},
{
Name = "ClubFinderCommunityOfflineJoin",
Type = "Event",
LiteralName = "CLUB_FINDER_COMMUNITY_OFFLINE_JOIN",
Documentation = { "Signals to the UI that you (the player) have joined a community offline." },
Payload =
{
{ Name = "clubId", Type = "string", Nilable = false },
},
},
{
Name = "ClubFinderEnabledOrDisabled",
Type = "Event",
LiteralName = "CLUB_FINDER_ENABLED_OR_DISABLED",
Documentation = { "Sends an update to the UI that the club finder feature has been enabled or disabled." },
},
{
Name = "ClubFinderLinkedClubReturned",
Type = "Event",
......@@ -542,6 +629,18 @@ local ClubFinder =
{ Name = "All", Type = "ClubFinderRequestType", EnumValue = 3 },
},
},
{
Name = "ClubFinderDisableReason",
Type = "Enumeration",
NumValues = 2,
MinValue = 0,
MaxValue = 1,
Fields =
{
{ Name = "Muted", Type = "ClubFinderDisableReason", EnumValue = 0 },
{ Name = "Silenced", Type = "ClubFinderDisableReason", EnumValue = 1 },
},
},
{
Name = "ClubFinderPostingReportType",
Type = "Enumeration",
......@@ -595,6 +694,7 @@ local ClubFinder =
{
{ Name = "clubFinderGUID", Type = "string", Nilable = false },
{ Name = "playerGUID", Type = "string", Nilable = false },
{ Name = "closed", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "message", Type = "string", Nilable = false },
{ Name = "level", Type = "number", Nilable = false },
......@@ -603,6 +703,7 @@ local ClubFinder =
{ Name = "specIds", Type = "table", InnerType = "number", Nilable = false },
{ Name = "requestStatus", Type = "PlayerClubRequestStatus", Nilable = false },
{ Name = "lookupSuccess", Type = "bool", Nilable = false },
{ Name = "lastUpdatedTime", Type = "number", Nilable = false },
},
},
{
......@@ -630,7 +731,6 @@ local ClubFinder =
{ Name = "isGuild", Type = "bool", Nilable = false },
{ Name = "emblemInfo", Type = "number", Nilable = false },
{ Name = "tabardInfo", Type = "ClubFinderGuildTabardInfo", Nilable = true },
{ Name = "clubStatus", Type = "PlayerClubRequestStatus", Nilable = true },
{ Name = "recruitingSpecIds", Type = "table", InnerType = "number", Nilable = false },
{ Name = "recruitmentFlags", Type = "number", Nilable = false },
{ Name = "minILvl", Type = "number", Nilable = false },
......
......@@ -20,6 +20,16 @@ local LFGInfo =
{ Name = "lfgDungeonIDs", Type = "table", InnerType = "number", Nilable = false },
},
},
{
Name = "GetRoleCheckDifficultyDetails",
Type = "Function",
Returns =
{
{ Name = "maxLevel", Type = "number", Nilable = true },
{ Name = "isLevelReduced", Type = "bool", Nilable = false },
},
},
{
Name = "HideNameFromUI",
Type = "Function",
......
local LevelLink =
{
Name = "LevelLink",
Type = "System",
Namespace = "C_LevelLink",
Functions =
{
{
Name = "IsActionLocked",
Type = "Function",
Arguments =
{
{ Name = "actionID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "isLocked", Type = "bool", Nilable = false },
},
},
{
Name = "IsSpellLocked",
Type = "Function",
Arguments =
{
{ Name = "spellID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "isLocked", Type = "bool", Nilable = false },
},
},
},
Events =
{
},
Tables =
{
},
};
APIDocumentation:AddDocumentationTable(LevelLink);
\ No newline at end of file
......@@ -20,15 +20,49 @@ local PartyInfo =
{ Name = "allowed", Type = "bool", Nilable = false },
},
},
{
Name = "CanInvite",
Type = "Function",
Returns =
{
{ Name = "allowedToInvite", Type = "bool", Nilable = false },
},
},
{
Name = "ConfirmConvertToRaid",
Type = "Function",
Documentation = { "Immediately convert to raid with no regard for potentially destructive actions" },
},
{
Name = "ConfirmInviteTravelPass",
Type = "Function",
Arguments =
{
{ Name = "targetName", Type = "string", Nilable = false },
{ Name = "targetGUID", Type = "string", Nilable = false },
},
},
{
Name = "ConfirmInviteUnit",
Type = "Function",
Documentation = { "Immediately invites the named unit to a party, with no regard for potentially destructive actions" },
Arguments =
{
{ Name = "targetName", Type = "string", Nilable = false },
},
},
{
Name = "ConfirmLeaveParty",
Type = "Function",
Documentation = { "Immediately leave the party with no regard for potentially destructive actions" },
Arguments =
{
{ Name = "category", Type = "number", Nilable = true },
},
},
{
Name = "ConvertToParty",
......@@ -80,15 +114,57 @@ local PartyInfo =
{ Name = "outClubId", Type = "string", Nilable = false },
},
},
{
Name = "InviteUnit",
Type = "Function",
Documentation = { "Attempt to invite the named unit to a party, requires confirmation in some cases (e.g. the party will convert to a raid, or if there is a party sync in progress)" },
Arguments =
{
{ Name = "targetName", Type = "string", Nilable = false },
},
},
{
Name = "IsPartyFull",
Type = "Function",
Arguments =
{
{ Name = "category", Type = "number", Nilable = true },
},
Returns =
{
{ Name = "isFull", Type = "bool", Nilable = false },
},
},
{
Name = "LeaveParty",
Type = "Function",
Documentation = { "Usually this will leave the party immediately. In some cases (e.g. PartySync) the user will be prompted to confirm leaving the party, because it's potentially destructive" },
Arguments =
{
{ Name = "category", Type = "number", Nilable = true },
},
},
},
Events =
{
{
Name = "BnetRequestInviteConfirmation",
Type = "Event",
LiteralName = "BNET_REQUEST_INVITE_CONFIRMATION",
Payload =
{
{ Name = "gameAccountID", Type = "number", Nilable = false },
{ Name = "questSessionActive", Type = "bool", Nilable = false },
{ Name = "tank", Type = "bool", Nilable = false },
{ Name = "healer", Type = "bool", Nilable = false },
{ Name = "dps", Type = "bool", Nilable = false },
},
},
{
Name = "ConvertToRaidConfirmation",
Type = "Event",
......@@ -154,6 +230,29 @@ local PartyInfo =
Type = "Event",
LiteralName = "INSTANCE_GROUP_SIZE_CHANGED",
},
{
Name = "InviteToPartyConfirmation",
Type = "Event",
LiteralName = "INVITE_TO_PARTY_CONFIRMATION",
Payload =
{
{ Name = "targetName", Type = "string", Nilable = false },
{ Name = "willConvertToRaid", Type = "bool", Nilable = false },
{ Name = "questSessionActive", Type = "bool", Nilable = false },
},
},
{
Name = "InviteTravelPassConfirmation",
Type = "Event",
LiteralName = "INVITE_TRAVEL_PASS_CONFIRMATION",
Payload =
{
{ Name = "targetName", Type = "string", Nilable = false },
{ Name = "targetGUID", Type = "string", Nilable = false },
{ Name = "willConvertToRaid", Type = "bool", Nilable = false },
{ Name = "questSessionActive", Type = "bool", Nilable = false },
},
},
{
Name = "LeavePartyConfirmation",
Type = "Event",
......@@ -177,6 +276,7 @@ local PartyInfo =
{ Name = "isNativeRealm", Type = "bool", Nilable = false },
{ Name = "allowMultipleRoles", Type = "bool", Nilable = false },
{ Name = "inviterGUID", Type = "string", Nilable = false },
{ Name = "questSessionActive", Type = "bool", Nilable = false },
},
},
{
......
......@@ -217,12 +217,12 @@ local PvpInfo =
},
},
{
Name = "GetMatchPVPStatIDs",
Name = "GetMatchPVPStatColumns",
Type = "Function",
Returns =
{
{ Name = "pvpStatIDs", Type = "table", InnerType = "number", Nilable = false },
{ Name = "columns", Type = "table", InnerType = "MatchPVPStatColumn", Nilable = false },
},
},
{
......@@ -790,6 +790,11 @@ local PvpInfo =
Type = "Event",
LiteralName = "PVP_ROLE_UPDATE",
},
{
Name = "PvpSpecialEventInfoUpdated",
Type = "Event",
LiteralName = "PVP_SPECIAL_EVENT_INFO_UPDATED",
},
{
Name = "PvpTypesEnabled",
Type = "Event",
......@@ -1046,6 +1051,7 @@ local PvpInfo =
{
{ Name = "pvpStatID", Type = "number", Nilable = false },
{ Name = "pvpStatValue", Type = "number", Nilable = false },
{ Name = "orderIndex", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "tooltip", Type = "string", Nilable = false },
{ Name = "iconName", Type = "string", Nilable = false },
......@@ -1083,7 +1089,8 @@ local PvpInfo =
Fields =
{
{ Name = "name", Type = "string", Nilable = false },
{ Name = "description", Type = "string", Nilable = false },
{ Name = "shortDescription", Type = "string", Nilable = false },
{ Name = "longDescription", Type = "string", Nilable = false },
{ Name = "achievementID", Type = "number", Nilable = false },
{ Name = "isActive", Type = "bool", Nilable = false },
},
......
......@@ -95,6 +95,20 @@ local QuestLog =
{ Name = "leaderboardCount", Type = "number", Nilable = false },
},
},
{
Name = "GetQuestDifficultyLevel",
Type = "Function",
Arguments =
{
{ Name = "questID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "level", Type = "number", Nilable = false },
},
},
{
Name = "GetQuestInfo",
Type = "Function",
......@@ -250,6 +264,20 @@ local QuestLog =
{ Name = "isTrivial", Type = "bool", Nilable = false },
},
},
{
Name = "QuestHasQuestSessionBonus",
Type = "Function",
Arguments =
{
{ Name = "questID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "hasBonus", Type = "bool", Nilable = false },
},
},
{
Name = "QuestHasWarModeBonus",
Type = "Function",
......
......@@ -19,9 +19,9 @@ local QuestSessionConstants =
{
Name = "QuestSessionResult",
Type = "Enumeration",
NumValues = 28,
NumValues = 31,
MinValue = 0,
MaxValue = 27,
MaxValue = 30,
Fields =
{
{ Name = "Ok", Type = "QuestSessionResult", EnumValue = 0 },
......@@ -51,7 +51,10 @@ local QuestSessionConstants =
{ Name = "Logout", Type = "QuestSessionResult", EnumValue = 24 },
{ Name = "Empty", Type = "QuestSessionResult", EnumValue = 25 },
{ Name = "QuestNotCompleted", Type = "QuestSessionResult", EnumValue = 26 },
{ Name = "Unknown", Type = "QuestSessionResult", EnumValue = 27 },
{ Name = "Resync", Type = "QuestSessionResult", EnumValue = 27 },
{ Name = "Restricted", Type = "QuestSessionResult", EnumValue = 28 },
{ Name = "InPetBattle", Type = "QuestSessionResult", EnumValue = 29 },
{ Name = "Unknown", Type = "QuestSessionResult", EnumValue = 30 },
},
},
},
......
......@@ -6,6 +6,21 @@ local RecruitAFriend =
Functions =
{
{
Name = "ClaimActivityReward",
Type = "Function",
Arguments =
{
{ Name = "activityID", Type = "number", Nilable = false },
{ Name = "acceptanceID", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "success", Type = "bool", Nilable = false },
},
},
{
Name = "ClaimNextReward",
Type = "Function",
......@@ -112,15 +127,6 @@ local RecruitAFriend =
Events =
{
{
Name = "PartyRecruitAFriendUpdated",
Type = "Event",
LiteralName = "PARTY_RECRUIT_A_FRIEND_UPDATED",
Payload =
{
{ Name = "unitTarget", Type = "string", Nilable = false },
},
},
{
Name = "RafInfoUpdated",
Type = "Event",
......@@ -171,11 +177,11 @@ local RecruitAFriend =
{
{ Name = "Pet", Type = "RafRewardType", EnumValue = 0 },
{ Name = "Mount", Type = "RafRewardType", EnumValue = 1 },
{ Nam