|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <PlayerDump.h>
Public Member Functions | |
| bool | GetDump (uint32 guid, std::string &dump) |
| PlayerDumpWriter () | |
| DumpReturn | WriteDump (std::string const &file, uint32 guid) |
Private Types | |
| typedef std::set< uint32 > | GUIDs |
Private Member Functions | |
| bool | DumpTable (std::string &dump, uint32 guid, char const *tableFrom, char const *tableTo, DumpTableType type) |
| std::string | GenerateWhereStr (char const *field, GUIDs const &guids, GUIDs::const_iterator &itr) |
| std::string | GenerateWhereStr (char const *field, uint32 guid) |
Private Attributes | |
| GUIDs | items |
| GUIDs | mails |
| GUIDs | pets |
Additional Inherited Members | |
| Protected Member Functions inherited from PlayerDump | |
| PlayerDump () | |
Definition at line 94 of file PlayerDump.h.
|
private |
Definition at line 102 of file PlayerDump.h.
|
inline |
Definition at line 97 of file PlayerDump.h.
|
private |
Definition at line 260 of file PlayerDump.cpp.
References CharacterDatabase, CreateDumpString(), Skyfire::PlayerDump::CharacterFields::DeleteInfosAccount, DTT_CHARACTER, DTT_INVENTORY, DTT_ITEM, DTT_ITEM_GIFT, DTT_MAIL, DTT_MAIL_ITEM, DTT_PET, DTT_PET_DECLINEDNAME, DTT_PET_TABLE, GenerateWhereStr(), items, mails, pets, SF_LOG_FATAL, and StoreGUID().
Referenced by GetDump().
|
private |
|
private |
Definition at line 213 of file PlayerDump.cpp.
| bool PlayerDumpWriter::GetDump | ( | uint32 | guid, |
| std::string & | dump ) |
Definition at line 341 of file PlayerDump.cpp.
References DUMP_TABLE_COUNT, DumpTable(), and dumpTables.
Referenced by WriteDump().
| DumpReturn PlayerDumpWriter::WriteDump | ( | std::string const & | file, |
| uint32 | guid ) |
Definition at line 358 of file PlayerDump.cpp.
References CONFIG_PDUMP_NO_OVERWRITE, CONFIG_PDUMP_NO_PATHS, DUMP_CHARACTER_DELETED, DUMP_FILE_OPEN_ERROR, DUMP_SUCCESS, GetDump(), and sWorld.
|
private |
Definition at line 110 of file PlayerDump.h.
Referenced by DumpTable().
|
private |
Definition at line 109 of file PlayerDump.h.
Referenced by DumpTable().
|
private |
Definition at line 108 of file PlayerDump.h.
Referenced by DumpTable().