![]() |
TrinityCore
|
#include <PlayerDump.h>
Inheritance diagram for PlayerDumpWriter:Public Member Functions | |
| PlayerDumpWriter () | |
| bool | GetDump (ObjectGuid::LowType guid, std::string &dump) |
| DumpReturn | WriteDumpToFile (std::string const &file, ObjectGuid::LowType guid) |
| DumpReturn | WriteDumpToString (std::string &dump, ObjectGuid::LowType guid) |
Public Member Functions inherited from PlayerDump | |
| PlayerDump (PlayerDump const &)=delete | |
| PlayerDump (PlayerDump &&)=delete | |
| PlayerDump & | operator= (PlayerDump const &)=delete |
| PlayerDump & | operator= (PlayerDump &&)=delete |
Private Member Functions | |
| bool | AppendTable (StringTransaction &trans, ObjectGuid::LowType guid, TableStruct const &tableStruct, DumpTable const &dumpTable) |
| void | PopulateGuids (ObjectGuid::LowType guid) |
Private Attributes | |
| std::set< uint32 > | _pets |
| std::set< uint32 > | _mails |
| std::set< ObjectGuid::LowType > | _items |
| std::set< uint64 > | _itemSets |
Additional Inherited Members | |
Static Public Member Functions inherited from PlayerDump | |
| static void | InitializeTables () |
Protected Member Functions inherited from PlayerDump | |
| PlayerDump ()=default | |
| ~PlayerDump ()=default | |
Definition at line 92 of file PlayerDump.h.
|
default |
|
private |
Definition at line 736 of file PlayerDump.cpp.
References _items, _itemSets, _mails, _pets, AppendTableDump(), ASSERT, CharacterDatabase, DTT_CHAR_TRANSMOG, DTT_CHARACTER, DTT_EQSET_TABLE, DTT_ITEM, DTT_ITEM_GIFT, DTT_ITEM_TABLE, DTT_MAIL_ITEM, DTT_PET_TABLE, GenerateWhereStr(), GetColumnIndexByName(), DumpTable::Name, DumpTable::Type, and TableStruct::WhereFieldName.
Referenced by GetDump().
| bool PlayerDumpWriter::GetDump | ( | ObjectGuid::LowType | guid, |
| std::string & | dump | ||
| ) |
Definition at line 798 of file PlayerDump.cpp.
References AppendTable(), CharacterTables, DUMP_TABLE_COUNT, DumpTables, StringTransaction::GetBuffer(), and PopulateGuids().
Referenced by WriteDumpToFile(), and WriteDumpToString().
|
private |
Definition at line 689 of file PlayerDump.cpp.
References _items, _itemSets, _mails, _pets, BaseTables, CharacterDatabase, GenerateWhereStr(), GUID_TYPE_EQUIPMENT_SET, GUID_TYPE_ITEM, GUID_TYPE_MAIL, and GUID_TYPE_PET.
Referenced by GetDump().
| DumpReturn PlayerDumpWriter::WriteDumpToFile | ( | std::string const & | file, |
| ObjectGuid::LowType | guid | ||
| ) |
Definition at line 819 of file PlayerDump.cpp.
References CONFIG_PDUMP_NO_OVERWRITE, CONFIG_PDUMP_NO_PATHS, DUMP_CHARACTER_DELETED, DUMP_FILE_OPEN_ERROR, DUMP_SUCCESS, GetDump(), GetFileHandle(), and sWorld.
| DumpReturn PlayerDumpWriter::WriteDumpToString | ( | std::string & | dump, |
| ObjectGuid::LowType | guid | ||
| ) |
Definition at line 845 of file PlayerDump.cpp.
References DUMP_CHARACTER_DELETED, DUMP_SUCCESS, and GetDump().
|
private |
Definition at line 107 of file PlayerDump.h.
Referenced by AppendTable(), and PopulateGuids().
|
private |
Definition at line 109 of file PlayerDump.h.
Referenced by AppendTable(), and PopulateGuids().
|
private |
Definition at line 106 of file PlayerDump.h.
Referenced by AppendTable(), and PopulateGuids().
|
private |
Definition at line 105 of file PlayerDump.h.
Referenced by AppendTable(), and PopulateGuids().