![]() |
TrinityCore
|
Namespaces | |
| namespace | VMapFactory |
Classes | |
| class | DynamicTileBuilder |
| struct | IntermediateValues |
| class | MapBuilder |
| struct | MapEntry |
| class | MapTileBuilder |
| struct | MeshData |
| struct | MMapData |
| class | MMapManager |
| struct | MMapMapData |
| class | TerrainBuilder |
| class | TileBuilder |
| struct | TileBuildRequest |
| struct | TileConfig |
| struct | TileInfo |
Typedefs | |
| using | detour_unique_ptr = std::unique_ptr< unsigned char, decltype(Trinity::unique_ptr_deleter< unsigned char *, &::dtFree >())> |
| using | NavMeshQuerySet = std::unordered_map< std::pair< uint32, uint32 >, dtNavMeshQuery > |
| using | MMapTileSet = std::unordered_map< uint32, dtTileRef > |
| using | MeshDataMap = std::unordered_map< uint32, MMapMapData > |
| typedef std::unordered_map< uint32, std::unique_ptr< MMapData > > | MMapDataSet |
| typedef std::unordered_map< uint32, Trinity::Containers::FlatSet< uint32 > > | TileList |
Enumerations | |
| enum | Spot { TOP = 1 , RIGHT = 2 , LEFT = 3 , BOTTOM = 4 , ENTIRE = 5 } |
| enum | Grid { GRID_V8 , GRID_V9 } |
| enum class | LoadResult : uint8 { Success , AlreadyLoaded , FileNotFound , VersionMismatch , ReadFromFileFailed , LibraryError } |
| enum | ListFilesResult { LISTFILE_DIRECTORY_NOT_FOUND = 0 , LISTFILE_OK = 1 } |
Functions | |
| bool | InvokeAsyncCallbackIfReady (TileBuildRequest &request) |
| bool | matchWildcardFilter (std::string_view filter, std::string_view str) |
| ListFilesResult | getDirContents (std::vector< std::string > &fileList, boost::filesystem::path const &dirpath, boost::filesystem::file_type type=boost::filesystem::regular_file, std::string_view filter="*"sv) |
Variables | |
| std::unique_ptr< VMAP::VMapManager >(* | CreateVMapManager )(uint32 mapId) |
| static const int | V9_SIZE = 129 |
| static const int | V9_SIZE_SQ = V9_SIZE*V9_SIZE |
| static const int | V8_SIZE = 128 |
| static const int | V8_SIZE_SQ = V8_SIZE*V8_SIZE |
| static const float | GRID_SIZE = 533.3333f |
| static const float | GRID_PART_SIZE = GRID_SIZE/V8_SIZE |
| static const float | INVALID_MAP_LIQ_HEIGHT = -2000.f |
| static const float | INVALID_MAP_LIQ_HEIGHT_MAX = 5000.0f |
| constexpr char | MAP_FILE_NAME_FORMAT [] = "{}mmaps/{:04}.mmap" |
| constexpr char | TILE_FILE_NAME_FORMAT [] = "{}mmaps/{:04}_{:02}_{:02}.mmtile" |
| static constexpr auto | SetAsyncCallbackReady |
| std::unordered_map< uint32, MapEntry > | sMapStore |
| using MMAP::detour_unique_ptr = typedef std::unique_ptr<unsigned char, decltype(Trinity::unique_ptr_deleter<unsigned char*, &::dtFree>())> |
Definition at line 32 of file TileBuilder.h.
| using MMAP::MeshDataMap = typedef std::unordered_map<uint32, MMapMapData> |
Definition at line 41 of file MMapManager.cpp.
| typedef std::unordered_map<uint32, std::unique_ptr<MMapData> > MMAP::MMapDataSet |
Definition at line 34 of file MMapManager.h.
| using MMAP::MMapTileSet = typedef std::unordered_map<uint32, dtTileRef> |
Definition at line 33 of file MMapManager.cpp.
| using MMAP::NavMeshQuerySet = typedef std::unordered_map<std::pair<uint32, uint32>, dtNavMeshQuery> |
Definition at line 32 of file MMapManager.cpp.
| typedef std::unordered_map<uint32, Trinity::Containers::FlatSet<uint32> > MMAP::TileList |
Definition at line 35 of file MapBuilder.h.
| enum MMAP::Grid |
| Enumerator | |
|---|---|
| GRID_V8 | |
| GRID_V9 | |
Definition at line 44 of file TerrainBuilder.h.
| Enumerator | |
|---|---|
| LISTFILE_DIRECTORY_NOT_FOUND | |
| LISTFILE_OK | |
Definition at line 63 of file PathCommon.h.
|
strong |
| Enumerator | |
|---|---|
| Success | |
| AlreadyLoaded | |
| FileNotFound | |
| VersionMismatch | |
| ReadFromFileFailed | |
| LibraryError | |
Definition at line 36 of file MMapManager.h.
| enum MMAP::Spot |
| Enumerator | |
|---|---|
| TOP | |
| RIGHT | |
| LEFT | |
| BOTTOM | |
| ENTIRE | |
Definition at line 35 of file TerrainBuilder.h.
|
inline |
Definition at line 69 of file PathCommon.h.
Here is the call graph for this function:
Here is the caller graph for this function:| bool MMAP::InvokeAsyncCallbackIfReady | ( | TileBuildRequest & | request | ) |
Definition at line 211 of file DynamicMMapTileBuilder.cpp.
|
inline |
| TC_MMAPS_COMMON_API std::unique_ptr< VMAP::VMapManager >(* MMAP::CreateVMapManager)(uint32 mapId) | ( | uint32 | mapId | ) |
Definition at line 1 of file TerrainBuilder.cpp.
Definition at line 55 of file TerrainBuilder.h.
|
static |
Definition at line 54 of file TerrainBuilder.h.
|
static |
Definition at line 58 of file TerrainBuilder.h.
|
static |
Definition at line 59 of file TerrainBuilder.h.
|
constexpr |
Definition at line 29 of file MMapManager.cpp.
|
staticconstexpr |
Definition at line 241 of file DynamicMMapTileBuilder.cpp.
Definition at line 47 of file PathGenerator.cpp.
|
constexpr |
Definition at line 30 of file MMapManager.cpp.
|
static |
Definition at line 52 of file TerrainBuilder.h.
Definition at line 53 of file TerrainBuilder.h.
|
static |
Definition at line 50 of file TerrainBuilder.h.
Definition at line 51 of file TerrainBuilder.h.