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

#include "DBCStructure.h"

Public Member Functions

bool IsSanctuary () const
 
bool IsFlyable () const
 

Public Attributes

uint32 ID
 
uint32 mapid
 
uint32 zone
 
uint32 exploreFlag
 
uint32 flags
 
int32 area_level
 
char const * area_name [16]
 
uint32 team
 
uint32 LiquidTypeOverride [4]
 

Detailed Description

Member Function Documentation

◆ IsFlyable()

bool AreaTableEntry::IsFlyable ( ) const
inline
540 {
541 return flags & AREA_FLAG_OUTLAND;
542 }
@ AREA_FLAG_OUTLAND
Definition: DBCEnums.h:244
uint32 flags
Definition: DBCStructure.h:523

References AREA_FLAG_OUTLAND, and flags.

Referenced by SpellInfo::CheckLocation().

◆ IsSanctuary()

bool AreaTableEntry::IsSanctuary ( ) const
inline
533 {
534 if (mapid == 609)
535 return true;
536 return (flags & AREA_FLAG_SANCTUARY);
537 }
@ AREA_FLAG_SANCTUARY
Definition: DBCEnums.h:245
uint32 mapid
Definition: DBCStructure.h:520

References AREA_FLAG_SANCTUARY, flags, and mapid.

Referenced by Player::UpdateArea(), and Player::UpdateZone().

Member Data Documentation

◆ area_level

int32 AreaTableEntry::area_level

◆ area_name

◆ exploreFlag

◆ flags

◆ ID

◆ LiquidTypeOverride

uint32 AreaTableEntry::LiquidTypeOverride[4]

◆ mapid

◆ team

uint32 AreaTableEntry::team

Referenced by Player::UpdateZone().

◆ zone