TrinityCore
ReputationMgr.cpp File Reference
#include "ReputationMgr.h"
#include "CharacterPackets.h"
#include "DatabaseEnv.h"
#include "DB2Stores.h"
#include "Language.h"
#include "Log.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "ReputationPackets.h"
#include "ScriptMgr.h"
#include "World.h"
#include "WorldSession.h"
+ Include dependency graph for ReputationMgr.cpp:

Go to the source code of this file.

Functions

template<typename T , typename F , typename... Rest>
static int32 ReputationToRankHelper (std::set< T, Rest... > const &thresholds, int32 standing, F thresholdExtractor)
 

Variables

uint32 const ReputationRankStrIndex [MAX_REPUTATION_RANK]
 

Function Documentation

◆ ReputationToRankHelper()

template<typename T , typename F , typename... Rest>
static int32 ReputationToRankHelper ( std::set< T, Rest... > const &  thresholds,
int32  standing,
thresholdExtractor 
)
static

Definition at line 61 of file ReputationMgr.cpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ ReputationRankStrIndex

uint32 const ReputationRankStrIndex[MAX_REPUTATION_RANK]
Initial value:
=
{
}
@ LANG_REP_FRIENDLY
Definition: Language.h:378
@ LANG_REP_HONORED
Definition: Language.h:379
@ LANG_REP_NEUTRAL
Definition: Language.h:377
@ LANG_REP_REVERED
Definition: Language.h:380
@ LANG_REP_HOSTILE
Definition: Language.h:375
@ LANG_REP_HATED
Definition: Language.h:374
@ LANG_REP_EXALTED
Definition: Language.h:381
@ LANG_REP_UNFRIENDLY
Definition: Language.h:376

Definition at line 31 of file ReputationMgr.cpp.