Commit 4dd5608b authored by TOM_RUS's avatar TOM_RUS

WOW-30093patch8.2.0_PTR

parent 03d97687
local AzeriteEssence =
{
Name = "AzeriteEssence",
Type = "System",
Namespace = "C_AzeriteEssence",
Functions =
{
{
Name = "ActivateEssence",
Type = "Function",
Arguments =
{
{ Name = "essenceID", Type = "number", Nilable = false },
{ Name = "slot", Type = "AzeriteEssence", Nilable = false },
},
},
{
Name = "CanActivateEssence",
Type = "Function",
Arguments =
{
{ Name = "essenceID", Type = "number", Nilable = false },
{ Name = "slot", Type = "AzeriteEssence", Nilable = false },
},
Returns =
{
{ Name = "canActivate", Type = "bool", Nilable = false },
},
},
{
Name = "CanOpenUI",
Type = "Function",
Returns =
{
{ Name = "canOpen", Type = "bool", Nilable = false },
},
},
{
Name = "ClearPendingActivationEssence",
Type = "Function",
},
{
Name = "CloseForge",
Type = "Function",
},
{
Name = "GetActionSpell",
Type = "Function",
Returns =
{
{ Name = "spellID", Type = "number", Nilable = false },
},
},
{
Name = "GetActiveEssence",
Type = "Function",
Arguments =
{
{ Name = "slot", Type = "AzeriteEssence", Nilable = false },
},
Returns =
{
{ Name = "essenceID", Type = "number", Nilable = false },
},
},
{
Name = "GetEssenceInfo",
Type = "Function",
Arguments =
{
{ Name = "essenceID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "info", Type = "AzeriteEssenceInfo", Nilable = false },
},
},
{
Name = "GetEssences",
Type = "Function",
Returns =
{
{ Name = "essences", Type = "table", InnerType = "AzeriteEssenceInfo", Nilable = false },
},
},
{
Name = "GetPendingActivationEssence",
Type = "Function",
Returns =
{
{ Name = "essenceID", Type = "number", Nilable = false },
},
},
{
Name = "GetSlotInfo",
Type = "Function",
Arguments =
{
{ Name = "slot", Type = "AzeriteEssence", Nilable = false },
},
Returns =
{
{ Name = "locked", Type = "bool", Nilable = false, Default = false },
{ Name = "unlockLevel", Type = "number", Nilable = false, Default = 0 },
{ Name = "unlockDescription", Type = "string", Nilable = true },
},
},
{
Name = "HasPendingActivationEssence",
Type = "Function",
Returns =
{
{ Name = "hasEssence", Type = "bool", Nilable = false },
},
},
{
Name = "IsAtForge",
Type = "Function",
Returns =
{
{ Name = "isAtForge", Type = "bool", Nilable = false },
},
},
{
Name = "SetPendingActivationEssence",
Type = "Function",
Arguments =
{
{ Name = "essenceID", Type = "number", Nilable = false },
},
},
},
Events =
{
{
Name = "AzeriteEssenceActivated",
Type = "Event",
LiteralName = "AZERITE_ESSENCE_ACTIVATED",
Payload =
{
{ Name = "slot", Type = "AzeriteEssence", Nilable = false },
{ Name = "essenceID", Type = "number", Nilable = false },
},
},
{
Name = "AzeriteEssenceActivationFailed",
Type = "Event",
LiteralName = "AZERITE_ESSENCE_ACTIVATION_FAILED",
Payload =
{
{ Name = "slot", Type = "AzeriteEssence", Nilable = false },
{ Name = "essenceID", Type = "number", Nilable = false },
},
},
{
Name = "AzeriteEssenceChanged",
Type = "Event",
LiteralName = "AZERITE_ESSENCE_CHANGED",
Payload =
{
{ Name = "essenceID", Type = "number", Nilable = false },
{ Name = "newRank", Type = "number", Nilable = false },
},
},
{
Name = "AzeriteEssenceForgeClose",
Type = "Event",
LiteralName = "AZERITE_ESSENCE_FORGE_CLOSE",
},
{
Name = "AzeriteEssenceForgeOpen",
Type = "Event",
LiteralName = "AZERITE_ESSENCE_FORGE_OPEN",
},
{
Name = "AzeriteEssenceUpdate",
Type = "Event",
LiteralName = "AZERITE_ESSENCE_UPDATE",
},
{
Name = "PendingAzeriteEssenceChanged",
Type = "Event",
LiteralName = "PENDING_AZERITE_ESSENCE_CHANGED",
Payload =
{
{ Name = "essenceID", Type = "number", Nilable = true },
},
},
},
Tables =
{
{
Name = "AzeriteEssence",
Type = "Enumeration",
NumValues = 3,
MinValue = 0,
MaxValue = 2,
Fields =
{
{ Name = "MainSlot", Type = "AzeriteEssence", EnumValue = 0 },
{ Name = "PassiveOneSlot", Type = "AzeriteEssence", EnumValue = 1 },
{ Name = "PassiveTwoSlot", Type = "AzeriteEssence", EnumValue = 2 },
},
},
{
Name = "AzeriteEssenceInfo",
Type = "Structure",
Fields =
{
{ Name = "ID", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "rank", Type = "number", Nilable = false },
{ Name = "unlocked", Type = "bool", Nilable = false },
{ Name = "valid", Type = "bool", Nilable = false },
{ Name = "icon", Type = "number", Nilable = false },
},
},
},
};
APIDocumentation:AddDocumentationTable(AzeriteEssence);
\ No newline at end of file
......@@ -131,6 +131,15 @@ local BattlePet =
Type = "Event",
LiteralName = "PET_BATTLE_OVER",
},
{
Name = "PetBattleOverrideAbility",
Type = "Event",
LiteralName = "PET_BATTLE_OVERRIDE_ABILITY",
Payload =
{
{ Name = "abilityIndex", Type = "number", Nilable = false },
},
},
{
Name = "PetBattlePetChanged",
Type = "Event",
......
## Interface: 80100
## Title: Blizzard API Documentation
## Secure: 1
## Author: Blizzard Entertainment
## LoadOnDemand: 1
......@@ -24,6 +22,7 @@ AreaPoiInfoDocumentation.lua
ArtifactUIDocumentation.lua
AuctionHouseDocumentation.lua
AzeriteEmpoweredItemDocumentation.lua
AzeriteEssenceDocumentation.lua
AzeriteItemDocumentation.lua
BankDocumentation.lua
BarberShopDocumentation.lua
......@@ -40,6 +39,7 @@ CinematicDocumentation.lua
ClassColorDocumentation.lua
ClassTrialDocumentation.lua
ClubDocumentation.lua
ClubFinderDocumentation.lua
CombatLogDocumentation.lua
CommentatorFrameDocumentation.lua
CompactUnitFramesDocumentation.lua
......@@ -104,6 +104,7 @@ QuestLineInfoDocumentation.lua
QuestLogDocumentation.lua
QuestOfferDocumentation.lua
QuestTaskInfoDocumentation.lua
RaidLocksDocumentation.lua
RecruitAFriendDocumentation.lua
ReportSystemDocumentation.lua
ReputationInfoDocumentation.lua
......
......@@ -957,6 +957,7 @@ local Calendar =
{ Name = "dontDisplayBanner", Type = "bool", Nilable = false },
{ Name = "dontDisplayEnd", Type = "bool", Nilable = false },
{ Name = "clubID", Type = "string", Nilable = false },
{ Name = "isLocked", Type = "bool", Nilable = false },
},
},
{
......
local ClassColor =
{
Name = "ClassColor",
Type = "System",
Namespace = "C_ClassColor",
Functions =
{
{
Name = "GetClassColor",
Type = "Function",
Arguments =
{
{ Name = "className", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "classColor", Type = "table", Mixin = "ColorMixin", Nilable = false },
},
},
},
Events =
{
},
Tables =
{
},
};
APIDocumentation:AddDocumentationTable(ClassColor);
\ No newline at end of file
local ClubFinder =
{
Name = "ClubFinderInfo",
Type = "System",
Namespace = "C_ClubFinder",
Functions =
{
{
Name = "CancelMembershipRequest",
Type = "Function",
Arguments =
{
{ Name = "clubFinderGUID", Type = "string", Nilable = false },
},
},
{
Name = "CheckAllPlayerApplicantSettings",
Type = "Function",
},
{
Name = "GetApplicantInfoList",
Type = "Function",
Returns =
{
{ Name = "applicants", Type = "table", InnerType = "ClubFinderApplicantInfo", Nilable = false },
},
},
{
Name = "GetClubRecruitmentSettings",
Type = "Function",
Returns =
{
{ Name = "settings", Type = "ClubSettingsInfo", Nilable = false },
},
},
{
Name = "GetPlayerApplicantSettings",
Type = "Function",
Returns =
{
{ Name = "settings", Type = "ClubSettingsInfo", Nilable = false },
},
},
{
Name = "PlayerRequestPendingClubsList",
Type = "Function",
Arguments =
{
{ Name = "requestGuildList", Type = "bool", Nilable = false },
},
},
{
Name = "PlayerReturnPendingCommunitiesList",
Type = "Function",
Returns =
{
{ Name = "info", Type = "table", InnerType = "RecruitingClubInfo", Nilable = false },
},
},
{
Name = "PlayerReturnPendingGuildsList",
Type = "Function",
Returns =
{
{ Name = "info", Type = "table", InnerType = "RecruitingClubInfo", Nilable = false },
},
},
{
Name = "PostClub",
Type = "Function",
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "minimumLevel", Type = "number", Nilable = false },
{ Name = "itemLevelRequirement", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "description", Type = "string", Nilable = false },
{ Name = "specs", Type = "table", InnerType = "number", Nilable = false },
{ Name = "type", Type = "ClubFinderRequestType", Nilable = false },
},
},
{
Name = "RequestApplicantList",
Type = "Function",
},
{
Name = "RequestClubsList",
Type = "Function",
Arguments =
{
{ Name = "guildListRequested", Type = "bool", Nilable = false },
{ Name = "searchString", Type = "string", Nilable = false },
{ Name = "specIDs", Type = "table", InnerType = "number", Nilable = false },
},
},
{
Name = "RequestMembershipToClub",
Type = "Function",
Arguments =
{
{ Name = "clubFinderGUID", Type = "string", Nilable = false },
{ Name = "comment", Type = "string", Nilable = false },
{ Name = "specIDs", Type = "table", InnerType = "number", Nilable = false },