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
931 {
932 return reputationListID >= 0 && BaseRepRaceMask[0] == 1791;
933 }
uint32 BaseRepRaceMask[4]
Definition: DBCStructure.h:910
int32 reputationListID
Definition: DBCStructure.h:909

References BaseRepRaceMask, and reputationListID.

◆ CanHaveReputation()

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

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