AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
FactionEntry Struct Reference

#include "DBCStructure.h"

Public Member Functions

bool CanHaveReputation () const
 
bool CanBeSetAtWar () const
 

Public Attributes

uint32 ID
 
int32 reputationListID
 
uint32 BaseRepRaceMask [4]
 
uint32 BaseRepClassMask [4]
 
int32 BaseRepValue [4]
 
uint32 ReputationFlags [4]
 
uint32 team
 
float spilloverRateIn
 
float spilloverRateOut
 
uint32 spilloverMaxRankIn
 
char const * name [16]
 

Detailed Description

Member Function Documentation

◆ CanBeSetAtWar()

bool FactionEntry::CanBeSetAtWar ( ) const
inline
930 {
931 return reputationListID >= 0 && BaseRepRaceMask[0] == 1791;
932 }
uint32 BaseRepRaceMask[4]
Definition: DBCStructure.h:909
int32 reputationListID
Definition: DBCStructure.h:908

References BaseRepRaceMask, and reputationListID.

◆ CanHaveReputation()

bool FactionEntry::CanHaveReputation ( ) const
inline
925 {
926 return reputationListID >= 0;
927 }

References reputationListID.

Referenced by ReputationMgr::GetState().

Member Data Documentation

◆ BaseRepClassMask

◆ BaseRepRaceMask

◆ BaseRepValue

int32 FactionEntry::BaseRepValue[4]

◆ ID

◆ name

◆ ReputationFlags

uint32 FactionEntry::ReputationFlags[4]

◆ reputationListID

◆ spilloverMaxRankIn

uint32 FactionEntry::spilloverMaxRankIn

◆ spilloverRateIn

float FactionEntry::spilloverRateIn

◆ spilloverRateOut

float FactionEntry::spilloverRateOut

◆ team

uint32 FactionEntry::team