TrinityCore
PlayerDumpWriter Class Reference

#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)
 

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 ()
 
static void InitializeColumnDefinition ()
 
- Protected Member Functions inherited from PlayerDump
 PlayerDump ()
 

Detailed Description

Definition at line 88 of file PlayerDump.h.

Constructor & Destructor Documentation

◆ PlayerDumpWriter()

PlayerDumpWriter::PlayerDumpWriter ( )
inline

Definition at line 91 of file PlayerDump.h.

Member Function Documentation

◆ AppendTable()

bool PlayerDumpWriter::AppendTable ( StringTransaction trans,
ObjectGuid::LowType  guid,
TableStruct const &  tableStruct,
DumpTable const &  dumpTable 
)
private

Definition at line 737 of file PlayerDump.cpp.

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

◆ GetDump()

bool PlayerDumpWriter::GetDump ( ObjectGuid::LowType  guid,
std::string &  dump 
)
Todo:
Add instance/group..
Todo:
Todo:
Add a dump level option to skip some non-important tables

Definition at line 797 of file PlayerDump.cpp.

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

◆ PopulateGuids()

void PlayerDumpWriter::PopulateGuids ( ObjectGuid::LowType  guid)
private

Definition at line 690 of file PlayerDump.cpp.

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

◆ WriteDumpToFile()

DumpReturn PlayerDumpWriter::WriteDumpToFile ( std::string const &  file,
ObjectGuid::LowType  guid 
)

Definition at line 818 of file PlayerDump.cpp.

+ Here is the call graph for this function:

◆ WriteDumpToString()

DumpReturn PlayerDumpWriter::WriteDumpToString ( std::string &  dump,
ObjectGuid::LowType  guid 
)

Definition at line 844 of file PlayerDump.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ _items

std::set<ObjectGuid::LowType> PlayerDumpWriter::_items
private

Definition at line 103 of file PlayerDump.h.

◆ _itemSets

std::set<uint64> PlayerDumpWriter::_itemSets
private

Definition at line 105 of file PlayerDump.h.

◆ _mails

std::set<uint32> PlayerDumpWriter::_mails
private

Definition at line 102 of file PlayerDump.h.

◆ _pets

std::set<uint32> PlayerDumpWriter::_pets
private

Definition at line 101 of file PlayerDump.h.


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