![]() |
TrinityCore
|
#include <adtfile.h>
Public Member Functions | |
| ADTFile (std::string const &filename, bool cache) | |
| ADTFile (uint32 fileDataId, std::string const &description, bool cache) | |
| ~ADTFile () | |
| bool | init (uint32 map_num, uint32 originalMapId) |
| bool | initFromCache (uint32 map_num, uint32 originalMapId) |
Public Attributes | |
| std::vector< std::string > | WmoInstanceNames |
| std::vector< std::string > | ModelInstanceNames |
Private Attributes | |
| CASCFile | _file |
| bool | cacheable |
| std::vector< ADTOutputCache > * | dirfileCache |
| ADTFile::ADTFile | ( | std::string const & | filename, |
| bool | cache | ||
| ) |
Definition at line 64 of file adtfile.cpp.
References cacheable, and dirfileCache.
| ADTFile::ADTFile | ( | uint32 | fileDataId, |
| std::string const & | description, | ||
| bool | cache | ||
| ) |
Definition at line 70 of file adtfile.cpp.
References cacheable, and dirfileCache.
| ADTFile::~ADTFile | ( | ) |
Definition at line 224 of file adtfile.cpp.
References _file, CASCFile::close(), and dirfileCache.
Definition at line 76 of file adtfile.cpp.
References _file, cacheable, CStringSentinel_T::Checked(), CASCFile::close(), CStringSentinel, dirfileCache, Doodad::Extract(), MapObject::Extract(), Doodad::ExtractSet(), ExtractSingleModel(), ExtractSingleWmo(), ADT::MDDF::Flags, ADT::MODF::Flags, CASCFile::getPointer(), CASCFile::getPos(), ADT::MDDF::Id, ADT::MODF::Id, initFromCache(), CASCFile::isEof(), ModelInstanceNames, CASCFile::read(), CASCFile::seek(), CASCFile::seekRelative(), Trinity::StringFormat(), szWorkDirWmo, and WmoInstanceNames.
Definition at line 199 of file adtfile.cpp.
References dirfileCache, flags, MOD_PARENT_SPAWN, Trinity::StringFormat(), and szWorkDirWmo.
Referenced by init().
|
private |
Definition at line 62 of file adtfile.h.
Referenced by init(), and ~ADTFile().
|
private |
|
private |
Definition at line 64 of file adtfile.h.
Referenced by ADTFile(), ADTFile(), init(), initFromCache(), and ~ADTFile().
| std::vector<std::string> ADTFile::ModelInstanceNames |
| std::vector<std::string> ADTFile::WmoInstanceNames |