TrinityCore
Loading...
Searching...
No Matches
FactionTemplateEntry Struct Reference

#include <DBCStructure.h>

Public Member Functions

bool IsFriendlyTo (FactionTemplateEntry const &entry) const
 
bool IsHostileTo (FactionTemplateEntry const &entry) const
 
bool IsHostileToPlayers () const
 
bool IsNeutralToAll () const
 
bool IsContestedGuardFaction () const
 

Public Attributes

uint32 ID
 
uint32 Faction
 
uint32 Flags
 
uint32 FactionGroup
 
uint32 FriendGroup
 
uint32 EnemyGroup
 
uint32 Enemies [MAX_FACTION_RELATIONS]
 
uint32 Friend [MAX_FACTION_RELATIONS]
 

Detailed Description

Definition at line 667 of file DBCStructure.h.

Member Function Documentation

◆ IsContestedGuardFaction()

bool FactionTemplateEntry::IsContestedGuardFaction ( ) const
inline

Definition at line 713 of file DBCStructure.h.

◆ IsFriendlyTo()

bool FactionTemplateEntry::IsFriendlyTo ( FactionTemplateEntry const &  entry) const
inline

Definition at line 679 of file DBCStructure.h.

+ Here is the caller graph for this function:

◆ IsHostileTo()

bool FactionTemplateEntry::IsHostileTo ( FactionTemplateEntry const &  entry) const
inline

Definition at line 692 of file DBCStructure.h.

+ Here is the caller graph for this function:

◆ IsHostileToPlayers()

bool FactionTemplateEntry::IsHostileToPlayers ( ) const
inline

Definition at line 705 of file DBCStructure.h.

+ Here is the caller graph for this function:

◆ IsNeutralToAll()

bool FactionTemplateEntry::IsNeutralToAll ( ) const
inline

Definition at line 706 of file DBCStructure.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ Enemies

uint32 FactionTemplateEntry::Enemies[MAX_FACTION_RELATIONS]

Definition at line 675 of file DBCStructure.h.

◆ EnemyGroup

uint32 FactionTemplateEntry::EnemyGroup

Definition at line 674 of file DBCStructure.h.

◆ Faction

uint32 FactionTemplateEntry::Faction

Definition at line 670 of file DBCStructure.h.

◆ FactionGroup

uint32 FactionTemplateEntry::FactionGroup

Definition at line 672 of file DBCStructure.h.

◆ Flags

uint32 FactionTemplateEntry::Flags

Definition at line 671 of file DBCStructure.h.

◆ Friend

uint32 FactionTemplateEntry::Friend[MAX_FACTION_RELATIONS]

Definition at line 676 of file DBCStructure.h.

◆ FriendGroup

uint32 FactionTemplateEntry::FriendGroup

Definition at line 673 of file DBCStructure.h.

◆ ID

uint32 FactionTemplateEntry::ID

Definition at line 669 of file DBCStructure.h.


The documentation for this struct was generated from the following file: