TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
VisibleAchievementCheck Struct Reference

Public Member Functions

AchievementEntry constoperator() (CompletedAchievementMap::value_type const &val)
 

Member Function Documentation

AchievementEntry const* VisibleAchievementCheck::operator() ( CompletedAchievementMap::value_type const val)
inline
1856  {
1857  AchievementEntry const* achievement = sAchievementMgr->GetAchievement(val.first);
1858  if (achievement && !(achievement->Flags & ACHIEVEMENT_FLAG_HIDDEN))
1859  return achievement;
1860  return nullptr;
1861  }
uint32 Flags
Definition: DB2Structure.h:38
Definition: DB2Structure.h:27
Definition: DBCEnums.h:84
#define sAchievementMgr
Definition: AchievementMgr.h:501

The documentation for this struct was generated from the following file: