TrinityCore
Loading...
Searching...
No Matches
WDTFile Class Reference

#include <wdtfile.h>

Public Member Functions

 WDTFile (char const *file_name, char const *file_name1)
 
 ~WDTFile (void)
 
bool init (uint32 mapId)
 
ADTFileGetMap (int x, int z)
 

Public Attributes

std::vector< std::string > _wmoNames
 

Private Attributes

MPQFile _file
 
std::string filename
 

Detailed Description

Definition at line 26 of file wdtfile.h.

Constructor & Destructor Documentation

◆ WDTFile()

WDTFile::WDTFile ( char const *  file_name,
char const *  file_name1 
)

Definition at line 34 of file wdtfile.cpp.

◆ ~WDTFile()

WDTFile::~WDTFile ( void  )

Definition at line 118 of file wdtfile.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ GetMap()

ADTFile * WDTFile::GetMap ( int  x,
int  z 
)

Definition at line 123 of file wdtfile.cpp.

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

◆ init()

bool WDTFile::init ( uint32  mapId)

Definition at line 39 of file wdtfile.cpp.

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

Member Data Documentation

◆ _file

MPQFile WDTFile::_file
private

Definition at line 38 of file wdtfile.h.

◆ _wmoNames

std::vector<std::string> WDTFile::_wmoNames

Definition at line 35 of file wdtfile.h.

◆ filename

std::string WDTFile::filename
private

Definition at line 39 of file wdtfile.h.


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