Core/Achievements: Defined all modifier tree types and implemented many of them
Port From (https://github.com/TrinityCore/TrinityCore/commit/d0be92ec0ad0334c38b4073a7e24a571982b17da)
This commit is contained in:
@@ -20,6 +20,7 @@ using Game.Achievements;
|
||||
using Game.DataStorage;
|
||||
using Game.Guilds;
|
||||
using Game.Scenarios;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Game.Entities
|
||||
{
|
||||
@@ -39,6 +40,12 @@ namespace Game.Entities
|
||||
{
|
||||
return m_achievementSys.GetAchievementPoints();
|
||||
}
|
||||
|
||||
public ICollection<uint> GetCompletedAchievementIds()
|
||||
{
|
||||
return m_achievementSys.GetCompletedAchievementIds();
|
||||
}
|
||||
|
||||
public bool HasAchieved(uint achievementId)
|
||||
{
|
||||
return m_achievementSys.HasAchieved(achievementId);
|
||||
|
||||
Reference in New Issue
Block a user