mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Misc: Move large functions out of header files
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include "DB2Stores.h"
|
||||
#include "Language.h"
|
||||
#include "Log.h"
|
||||
#include "MapUtils.h"
|
||||
#include "ObjectMgr.h"
|
||||
#include "Player.h"
|
||||
#include "ReputationPackets.h"
|
||||
@@ -225,6 +226,11 @@ ReputationRank const* ReputationMgr::GetForcedRankIfAny(FactionTemplateEntry con
|
||||
return GetForcedRankIfAny(factionTemplateEntry->Faction);
|
||||
}
|
||||
|
||||
ReputationRank const* ReputationMgr::GetForcedRankIfAny(uint32 factionId) const
|
||||
{
|
||||
return Trinity::Containers::MapGetValuePtr(_forcedReactions, factionId);
|
||||
}
|
||||
|
||||
bool ReputationMgr::IsParagonReputation(FactionEntry const* factionEntry) const
|
||||
{
|
||||
if (sDB2Manager.GetParagonReputation(factionEntry->ID))
|
||||
|
||||
Reference in New Issue
Block a user