feat: add Player:GetAchievementCriteriaProgress() (#78)

This commit is contained in:
Axel Cocat
2022-12-29 11:51:29 +01:00
committed by GitHub
parent 9b0eedc6f7
commit 03f1948b2d
2 changed files with 23 additions and 0 deletions

View File

@@ -612,6 +612,7 @@ ElunaRegister<Player> PlayerMethods[] =
// {"HasPendingBind", &LuaPlayer::HasPendingBind}, // :HasPendingBind() - UNDOCUMENTED - Returns true if the player has a pending instance bind
#if (!defined(TBC) && !defined(CLASSIC))
{ "HasAchieved", &LuaPlayer::HasAchieved },
{ "GetAchievementCriteriaProgress", &LuaPlayer::GetAchievementCriteriaProgress },
#if defined(TRINITY) || defined(AZEROTHCORE)
{ "SetAchievement", &LuaPlayer::SetAchievement },
#endif