aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Reputation/ReputationMgr.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-07-13 13:40:31 +0200
committerShauren <shauren.trinity@gmail.com>2025-07-13 13:40:31 +0200
commit5de252ae8471cea021944d2f404a7793f39a8d0d (patch)
tree013165f80f8315e6bfe907af32fa193dee4264cb /src/server/game/Reputation/ReputationMgr.cpp
parent8fad176f5f83f741107d06a9cbe0243da89f8b30 (diff)
Core/Misc: Move large functions out of header files
Diffstat (limited to 'src/server/game/Reputation/ReputationMgr.cpp')
-rw-r--r--src/server/game/Reputation/ReputationMgr.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/game/Reputation/ReputationMgr.cpp b/src/server/game/Reputation/ReputationMgr.cpp
index a512a9eb018..a8973df150c 100644
--- a/src/server/game/Reputation/ReputationMgr.cpp
+++ b/src/server/game/Reputation/ReputationMgr.cpp
@@ -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))