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
541 {
542 return flags & AREA_FLAG_OUTLAND;
543 }
@ AREA_FLAG_OUTLAND
Definition: DBCEnums.h:252
uint32 flags
Definition: DBCStructure.h:524

References AREA_FLAG_OUTLAND, and flags.

Referenced by SpellInfo::CheckLocation().

◆ IsSanctuary()

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

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