![]() |
TrinityCore
|
#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] |
Definition at line 667 of file DBCStructure.h.
|
inline |
Definition at line 713 of file DBCStructure.h.
References FACTION_TEMPLATE_FLAG_CONTESTED_GUARD, and Flags.
|
inline |
Definition at line 679 of file DBCStructure.h.
References Enemies, Faction, FactionGroup, Friend, FriendGroup, and MAX_FACTION_RELATIONS.
Referenced by Unit::BuildValuesUpdate(), Player::CanUseBattlegroundObject(), Spell::EffectGameObjectDamage(), and WorldObject::GetFactionReactionTo().
|
inline |
Definition at line 692 of file DBCStructure.h.
References Enemies, EnemyGroup, Faction, FactionGroup, Friend, and MAX_FACTION_RELATIONS.
Referenced by WorldObject::GetFactionReactionTo().
|
inline |
Definition at line 705 of file DBCStructure.h.
References EnemyGroup, and FACTION_MASK_PLAYER.
Referenced by WorldObject::IsHostileToPlayers().
|
inline |
Definition at line 706 of file DBCStructure.h.
References Enemies, EnemyGroup, FriendGroup, and MAX_FACTION_RELATIONS.
Referenced by WorldObject::IsNeutralToAll().
| uint32 FactionTemplateEntry::Enemies[MAX_FACTION_RELATIONS] |
Definition at line 675 of file DBCStructure.h.
Referenced by IsFriendlyTo(), IsHostileTo(), and IsNeutralToAll().
| uint32 FactionTemplateEntry::EnemyGroup |
Definition at line 674 of file DBCStructure.h.
Referenced by IsHostileTo(), IsHostileToPlayers(), and IsNeutralToAll().
| uint32 FactionTemplateEntry::Faction |
Definition at line 670 of file DBCStructure.h.
Referenced by WorldObject::GetFactionReactionTo(), ReputationMgr::GetForcedRankIfAny(), Player::GetReputationPriceDiscount(), IsFriendlyTo(), IsHostileTo(), WorldObject::IsHostileToPlayers(), WorldObject::IsNeutralToAll(), ReputationMgr::SetVisible(), and Unit::StopAttackFaction().
| uint32 FactionTemplateEntry::FactionGroup |
Definition at line 672 of file DBCStructure.h.
Referenced by AuctionHouseMgr::GetAuctionHouseEntry(), AuctionHouseMgr::GetAuctionsMap(), IsFriendlyTo(), and IsHostileTo().
| uint32 FactionTemplateEntry::Flags |
Definition at line 671 of file DBCStructure.h.
Referenced by WorldObject::GetFactionReactionTo(), and IsContestedGuardFaction().
| uint32 FactionTemplateEntry::Friend[MAX_FACTION_RELATIONS] |
Definition at line 676 of file DBCStructure.h.
Referenced by IsFriendlyTo(), and IsHostileTo().
| uint32 FactionTemplateEntry::FriendGroup |
Definition at line 673 of file DBCStructure.h.
Referenced by IsFriendlyTo(), and IsNeutralToAll().
| uint32 FactionTemplateEntry::ID |
Definition at line 669 of file DBCStructure.h.