|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <DBCStructure.h>
Public Member Functions | |
| bool | IsContestedGuardFaction () const |
| bool | IsFriendlyTo (FactionTemplateEntry const &entry) const |
| bool | IsHostileTo (FactionTemplateEntry const &entry) const |
| bool | IsHostileToPlayers () const |
| bool | IsNeutralToAll () const |
Definition at line 1491 of file DBCStructure.h.
|
inline |
Definition at line 1541 of file DBCStructure.h.
References FACTION_TEMPLATE_FLAG_CONTESTED_GUARD, and factionFlags.
|
inline |
Definition at line 1503 of file DBCStructure.h.
References enemyFaction, faction, friendFaction, friendlyMask, ID, MAX_FACTION_RELATIONS, and ourMask.
Referenced by Unit::BuildValuesUpdate(), Player::CanUseBattlegroundObject(), Spell::EffectGameObjectDamage(), and Unit::GetFactionReactionTo().
|
inline |
Definition at line 1518 of file DBCStructure.h.
References enemyFaction, faction, friendFaction, hostileMask, ID, MAX_FACTION_RELATIONS, and ourMask.
Referenced by Unit::GetFactionReactionTo().
|
inline |
Definition at line 1533 of file DBCStructure.h.
References FACTION_MASK_PLAYER, and hostileMask.
Referenced by Unit::IsHostileToPlayers().
|
inline |
Definition at line 1534 of file DBCStructure.h.
References enemyFaction, friendlyMask, hostileMask, and MAX_FACTION_RELATIONS.
Referenced by Unit::IsNeutralToAll().
| uint32 FactionTemplateEntry::enemyFaction[MAX_FACTION_RELATIONS] |
Definition at line 1499 of file DBCStructure.h.
Referenced by IsFriendlyTo(), IsHostileTo(), and IsNeutralToAll().
| uint32 FactionTemplateEntry::faction |
Definition at line 1494 of file DBCStructure.h.
Referenced by HostileRefManager::deleteReferencesForFaction(), Unit::GetFactionReactionTo(), ReputationMgr::GetForcedRankIfAny(), Player::GetReputationPriceDiscount(), IsFriendlyTo(), IsHostileTo(), Unit::IsHostileToPlayers(), Unit::IsNeutralToAll(), and ReputationMgr::SetVisible().
| uint32 FactionTemplateEntry::factionFlags |
Definition at line 1495 of file DBCStructure.h.
Referenced by Unit::GetFactionReactionTo(), and IsContestedGuardFaction().
| uint32 FactionTemplateEntry::friendFaction[MAX_FACTION_RELATIONS] |
Definition at line 1500 of file DBCStructure.h.
Referenced by IsFriendlyTo(), and IsHostileTo().
| uint32 FactionTemplateEntry::friendlyMask |
Definition at line 1497 of file DBCStructure.h.
Referenced by IsFriendlyTo(), IsNeutralToAll(), and Unit::RestoreFaction().
| uint32 FactionTemplateEntry::hostileMask |
Definition at line 1498 of file DBCStructure.h.
Referenced by IsHostileTo(), IsHostileToPlayers(), and IsNeutralToAll().
| uint32 FactionTemplateEntry::ID |
Definition at line 1493 of file DBCStructure.h.
Referenced by IsFriendlyTo(), and IsHostileTo().
| uint32 FactionTemplateEntry::ourMask |
Definition at line 1496 of file DBCStructure.h.
Referenced by AuctionHouseMgr::GetAuctionHouseEntry(), AuctionHouseMgr::GetAuctionsMap(), IsFriendlyTo(), and IsHostileTo().