OregonCore  revision fb2a440-git
Your Favourite TBC server
MapEntry Struct Reference

#include <DBCStructure.h>

Public Member Functions

uint32 Expansion () const
 
bool IsDungeon () const
 
bool Instanceable () const
 
bool IsRaid () const
 
bool IsBattleground () const
 
bool IsBattleArena () const
 
bool IsBattlegroundOrArena () const
 
bool SupportsHeroicMode () const
 
bool HasResetTime () const
 
bool IsContinent () const
 

Public Attributes

uint32 MapID
 
uint32 map_type
 
char * name [16]
 
uint32 linked_zone
 
uint32 multimap_id
 
char * heroicIntroText [16]
 
int32 entrance_map
 
float entrance_x
 
float entrance_y
 
uint32 resetTimeRaid
 
uint32 resetTimeHeroic
 
uint32 addon
 

Detailed Description

Definition at line 512 of file DBCStructure.h.

Member Function Documentation

uint32 MapEntry::Expansion ( ) const
inline

Definition at line 545 of file DBCStructure.h.

Referenced by GetContentLevelsForMapAndZone(), and Player::TeleportTo().

546  {
547  return addon;
548  }
uint32 addon
Definition: DBCStructure.h:542
bool MapEntry::HasResetTime ( ) const
inline

Definition at line 578 of file DBCStructure.h.

Referenced by ObjectMgr::LoadInstanceTemplate(), and InstanceSaveManager::LoadResetTimes().

579  {
580  return resetTimeHeroic || resetTimeRaid;
581  }
uint32 resetTimeRaid
Definition: DBCStructure.h:539
uint32 resetTimeHeroic
Definition: DBCStructure.h:540
bool MapEntry::Instanceable ( ) const
inline
bool MapEntry::IsBattleArena ( ) const
inline

Definition at line 566 of file DBCStructure.h.

References MAP_ARENA.

Referenced by Player::SaveToDB().

567  {
568  return map_type == MAP_ARENA;
569  }
uint32 map_type
Definition: DBCStructure.h:516
bool MapEntry::IsBattleground ( ) const
inline

Definition at line 562 of file DBCStructure.h.

References MAP_BATTLEGROUND.

Referenced by IsSpellAllowedInLocation().

563  {
564  return map_type == MAP_BATTLEGROUND;
565  }
uint32 map_type
Definition: DBCStructure.h:516
bool MapEntry::IsContinent ( ) const
inline

Definition at line 583 of file DBCStructure.h.

Referenced by IsSpellAllowedInLocation().

584  {
585  return MapID == 0 || MapID == 1 || MapID == 530;
586  }
uint32 MapID
Definition: DBCStructure.h:514
bool MapEntry::SupportsHeroicMode ( ) const
inline

Member Data Documentation

uint32 MapEntry::addon

Definition at line 542 of file DBCStructure.h.

Referenced by IsSpellAllowedInLocation().

int32 MapEntry::entrance_map

Definition at line 536 of file DBCStructure.h.

Referenced by ObjectMgr::GetClosestGraveYard(), and ObjectMgr::GetGoBackTrigger().

float MapEntry::entrance_x

Definition at line 537 of file DBCStructure.h.

Referenced by ObjectMgr::GetClosestGraveYard().

float MapEntry::entrance_y

Definition at line 538 of file DBCStructure.h.

Referenced by ObjectMgr::GetClosestGraveYard().

char* MapEntry::heroicIntroText[16]

Definition at line 532 of file DBCStructure.h.

Referenced by Player::Satisfy().

uint32 MapEntry::linked_zone

Definition at line 522 of file DBCStructure.h.

uint32 MapEntry::map_type

Definition at line 516 of file DBCStructure.h.

Referenced by DisableMgr::IsDisabledFor(), and DisableMgr::LoadDisables().

uint32 MapEntry::multimap_id

Definition at line 528 of file DBCStructure.h.

Referenced by IsSpellAllowedInLocation().

char* MapEntry::name[16]
uint32 MapEntry::resetTimeHeroic

Definition at line 540 of file DBCStructure.h.

Referenced by ObjectMgr::LoadInstanceTemplate().

uint32 MapEntry::resetTimeRaid

Definition at line 539 of file DBCStructure.h.

Referenced by ObjectMgr::LoadInstanceTemplate().


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