TrinityCore
VMAP::TileAssembler Class Reference

#include <TileAssembler.h>

Public Member Functions

 TileAssembler (const std::string &pSrcDirName, const std::string &pDestDirName)
 
virtual ~TileAssembler ()
 
bool convertWorld2 ()
 
bool readMapSpawns ()
 
bool calculateTransformedBound (ModelSpawn &spawn)
 
void exportGameobjectModels ()
 
bool convertRawFile (const std::string &pModelFilename)
 

Private Attributes

std::string iDestDir
 
std::string iSrcDir
 
MapData mapData
 
std::set< std::string > spawnedModelFiles
 

Detailed Description

Definition at line 93 of file TileAssembler.h.

Constructor & Destructor Documentation

◆ TileAssembler()

VMAP::TileAssembler::TileAssembler ( const std::string &  pSrcDirName,
const std::string &  pDestDirName 
)

Definition at line 44 of file TileAssembler.cpp.

◆ ~TileAssembler()

VMAP::TileAssembler::~TileAssembler ( )
virtual

Definition at line 50 of file TileAssembler.cpp.

Member Function Documentation

◆ calculateTransformedBound()

bool VMAP::TileAssembler::calculateTransformedBound ( ModelSpawn spawn)

Definition at line 226 of file TileAssembler.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ convertRawFile()

bool VMAP::TileAssembler::convertRawFile ( const std::string &  pModelFilename)

Definition at line 265 of file TileAssembler.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ convertWorld2()

bool VMAP::TileAssembler::convertWorld2 ( )

Definition at line 54 of file TileAssembler.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ exportGameobjectModels()

void VMAP::TileAssembler::exportGameobjectModels ( )

Definition at line 302 of file TileAssembler.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ readMapSpawns()

bool VMAP::TileAssembler::readMapSpawns ( )

Definition at line 183 of file TileAssembler.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ iDestDir

std::string VMAP::TileAssembler::iDestDir
private

Definition at line 96 of file TileAssembler.h.

◆ iSrcDir

std::string VMAP::TileAssembler::iSrcDir
private

Definition at line 97 of file TileAssembler.h.

◆ mapData

MapData VMAP::TileAssembler::mapData
private

Definition at line 98 of file TileAssembler.h.

◆ spawnedModelFiles

std::set<std::string> VMAP::TileAssembler::spawnedModelFiles
private

Definition at line 99 of file TileAssembler.h.


The documentation for this class was generated from the following files: