AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
MMAP::MapTiles Struct Reference

#include "MapBuilder.h"

Public Member Functions

 MapTiles ()
 
 MapTiles (uint32 id, std::set< uint32 > *tiles)
 
 ~MapTiles ()=default
 
bool operator== (uint32 id)
 

Public Attributes

uint32 m_mapId
 
std::set< uint32 > * m_tiles {nullptr}
 

Detailed Description

Constructor & Destructor Documentation

◆ MapTiles() [1/2]

MMAP::MapTiles::MapTiles ( )
inline
42: m_mapId(uint32(-1)) {}
std::uint32_t uint32
Definition: Define.h:107
uint32 m_mapId
Definition: MapBuilder.h:47

◆ MapTiles() [2/2]

MMAP::MapTiles::MapTiles ( uint32  id,
std::set< uint32 > *  tiles 
)
inline
44: m_mapId(id), m_tiles(tiles) {}
std::set< uint32 > * m_tiles
Definition: MapBuilder.h:48

◆ ~MapTiles()

MMAP::MapTiles::~MapTiles ( )
default

Member Function Documentation

◆ operator==()

bool MMAP::MapTiles::operator== ( uint32  id)
inline
51 {
52 return m_mapId == id;
53 }

References m_mapId.

Member Data Documentation

◆ m_mapId

uint32 MMAP::MapTiles::m_mapId

Referenced by operator==().

◆ m_tiles

std::set<uint32>* MMAP::MapTiles::m_tiles {nullptr}