Commit f9a0f4fc authored by TOM_RUS's avatar TOM_RUS

WOW-29981patch8.1.5_PTR vs WOW-30406patch1.13.2_Beta

parent 03d97687
......@@ -6,20 +6,6 @@ local AccountInfo =
Functions =
{
{
Name = "GetIDFromBattleNetAccountGUID",
Type = "Function",
Arguments =
{
{ Name = "battleNetAccountGUID", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "battleNetAccountID", Type = "number", Nilable = false },
},
},
{
Name = "IsGUIDBattleNetAccountType",
Type = "Function",
......
local AchievementInfo =
{
Name = "AchievementInfo",
Type = "System",
Namespace = "C_AchievementInfo",
Functions =
{
{
Name = "GetRewardItemID",
Type = "Function",
Arguments =
{
{ Name = "achievementID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "rewardItemID", Type = "number", Nilable = true },
},
},
{
Name = "GetSupercedingAchievements",
Type = "Function",
Arguments =
{
{ Name = "achievementID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "supercedingAchievements", Type = "table", InnerType = "number", Nilable = false },
},
},
{
Name = "SetPortraitTexture",
Type = "Function",
Arguments =
{
{ Name = "textureObject", Type = "table", Nilable = false },
},
},
},
Events =
{
{
Name = "AchievementEarned",
Type = "Event",
LiteralName = "ACHIEVEMENT_EARNED",
Payload =
{
{ Name = "achievementID", Type = "number", Nilable = false },
{ Name = "alreadyEarned", Type = "bool", Nilable = true },
},
},
{
Name = "AchievementPlayerName",
Type = "Event",
LiteralName = "ACHIEVEMENT_PLAYER_NAME",
Payload =
{
{ Name = "achievementID", Type = "number", Nilable = false },
},
},
{
Name = "AchievementSearchUpdated",
Type = "Event",
LiteralName = "ACHIEVEMENT_SEARCH_UPDATED",
},
{
Name = "CriteriaComplete",
Type = "Event",
LiteralName = "CRITERIA_COMPLETE",
Payload =
{
{ Name = "criteriaID", Type = "number", Nilable = false },
},
},
{
Name = "CriteriaEarned",
Type = "Event",
LiteralName = "CRITERIA_EARNED",
Payload =
{
{ Name = "achievementID", Type = "number", Nilable = false },
{ Name = "description", Type = "string", Nilable = false },
},
},
{
Name = "CriteriaUpdate",
Type = "Event",
LiteralName = "CRITERIA_UPDATE",
},
{
Name = "InspectAchievementReady",
Type = "Event",
LiteralName = "INSPECT_ACHIEVEMENT_READY",
Payload =
{
{ Name = "guid", Type = "string", Nilable = false },
},
},
{
Name = "ReceivedAchievementList",
Type = "Event",
LiteralName = "RECEIVED_ACHIEVEMENT_LIST",
},
{
Name = "ReceivedAchievementMemberList",
Type = "Event",
LiteralName = "RECEIVED_ACHIEVEMENT_MEMBER_LIST",
Payload =
{
{ Name = "achievementID", Type = "number", Nilable = false },
},
},
{
Name = "TrackedAchievementListChanged",
Type = "Event",
LiteralName = "TRACKED_ACHIEVEMENT_LIST_CHANGED",
Payload =
{
{ Name = "achievementID", Type = "number", Nilable = true },
{ Name = "added", Type = "bool", Nilable = true },
},
},
{
Name = "TrackedAchievementUpdate",
Type = "Event",
LiteralName = "TRACKED_ACHIEVEMENT_UPDATE",
Payload =
{
{ Name = "achievementID", Type = "number", Nilable = false },
{ Name = "criteriaID", Type = "number", Nilable = true },
{ Name = "elapsed", Type = "number", Nilable = true },
{ Name = "duration", Type = "number", Nilable = true },
},
},
},
Tables =
{
},
};
APIDocumentation:AddDocumentationTable(AchievementInfo);
\ No newline at end of file