TrinityCore
Loading...
Searching...
No Matches
vmapexport.h File Reference
#include "Define.h"
#include <atomic>
#include <memory>
#include <string>
+ Include dependency graph for vmapexport.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ExtractedModelData
 

Enumerations

enum  ModelInstanceFlags { MOD_HAS_BOUND = 1 << 0 , MOD_PARENT_SPAWN = 1 << 1 , MOD_PATH_ONLY = 1 << 2 }
 
enum class  ModelFlags : uint32 { None = 0x0 , IsM2 = 0x1 }
 

Functions

uint32 GenerateUniqueObjectId (uint32 clientId, uint16 clientDoodadId, bool isWmo)
 
std::pair< ExtractedModelData *, bool > BeginModelExtraction (std::string const &outputName)
 
ExtractedModelData const * ExtractSingleWmo (std::string &fname)
 
ExtractedModelData const * ExtractSingleModel (std::string &fname)
 
void ExtractGameobjectModels ()
 
bool IsLiquidIgnored (uint32 liquidTypeId)
 

Variables

const char * szWorkDirWmo
 

Enumeration Type Documentation

◆ ModelFlags

enum class ModelFlags : uint32
strong
Enumerator
None 
IsM2 

Definition at line 35 of file vmapexport.h.

◆ ModelInstanceFlags

Enumerator
MOD_HAS_BOUND 
MOD_PARENT_SPAWN 
MOD_PATH_ONLY 

Definition at line 27 of file vmapexport.h.

Function Documentation

◆ BeginModelExtraction()

std::pair< ExtractedModelData *, bool > BeginModelExtraction ( std::string const &  outputName)

Definition at line 192 of file vmapexport.cpp.

+ Here is the caller graph for this function:

◆ ExtractGameobjectModels()

void ExtractGameobjectModels ( )

Definition at line 88 of file gameobject_extract.cpp.

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

◆ ExtractSingleModel()

ExtractedModelData const * ExtractSingleModel ( std::string &  fname)

Definition at line 33 of file gameobject_extract.cpp.

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

◆ ExtractSingleWmo()

ExtractedModelData const * ExtractSingleWmo ( std::string &  fname)

Definition at line 199 of file vmapexport.cpp.

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

◆ GenerateUniqueObjectId()

uint32 GenerateUniqueObjectId ( uint32  clientId,
uint16  clientDoodadId,
bool  isWmo 
)

Definition at line 181 of file vmapexport.cpp.

+ Here is the caller graph for this function:

◆ IsLiquidIgnored()

bool IsLiquidIgnored ( uint32  liquidTypeId)

Definition at line 313 of file vmapexport.cpp.

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

Variable Documentation

◆ szWorkDirWmo

const char* szWorkDirWmo
extern

Definition at line 84 of file vmapexport.cpp.