TrinityCore
Loading...
Searching...
No Matches
vmapexport.h File Reference
#include "Define.h"
#include <string>
#include <unordered_map>
+ 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.

Enumerations

enum  ModelFlags { MOD_M2 = 1 , MOD_WORLDSPAWN = 1<<1 , MOD_HAS_BOUND = 1<<2 }
 

Functions

uint32 GenerateUniqueObjectId (uint32 clientId, uint16 clientDoodadId)
 
bool FileExists (const char *file)
 
void strToLower (char *str)
 
bool ExtractSingleWmo (std::string &fname)
 
bool ExtractSingleModel (std::string &fname)
 
void ExtractGameobjectModels ()
 

Variables

const char * szWorkDirWmo
 
std::unordered_map< std::string, WMODoodadDataWmoDoodads
 

Enumeration Type Documentation

◆ ModelFlags

enum ModelFlags
Enumerator
MOD_M2 
MOD_WORLDSPAWN 
MOD_HAS_BOUND 

Definition at line 25 of file vmapexport.h.

Function Documentation

◆ ExtractGameobjectModels()

void ExtractGameobjectModels ( )

Definition at line 58 of file gameobject_extract.cpp.

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

◆ ExtractSingleModel()

bool ExtractSingleModel ( std::string &  fname)

Definition at line 26 of file gameobject_extract.cpp.

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

◆ ExtractSingleWmo()

bool ExtractSingleWmo ( std::string &  fname)

Definition at line 85 of file vmapexport.cpp.

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

◆ FileExists()

bool FileExists ( const char *  file)

Definition at line 66 of file vmapexport.cpp.

+ Here is the caller graph for this function:

◆ GenerateUniqueObjectId()

uint32 GenerateUniqueObjectId ( uint32  clientId,
uint16  clientDoodadId 
)

Definition at line 59 of file vmapexport.cpp.

+ Here is the caller graph for this function:

◆ strToLower()

void strToLower ( char *  str)

Definition at line 76 of file vmapexport.cpp.

Variable Documentation

◆ szWorkDirWmo

const char* szWorkDirWmo
extern

Definition at line 55 of file vmapexport.cpp.

◆ WmoDoodads

std::unordered_map<std::string, WMODoodadData> WmoDoodads
extern

Definition at line 50 of file vmapexport.cpp.