EvEmu
0.8.4
11 September 2021
|
Go to the source code of this file.
Classes | |
struct | FileHeader |
struct | FileHeaderObj |
Functions | |
void | DestinyDumpLogText (const Seperator &cmd) |
void | CRC32Text (const Seperator &cmd) |
void | ExitProgram (const Seperator &cmd) |
void | PrintHelp (const Seperator &cmd) |
void | ObjectToSQL (const Seperator &cmd) |
void | PrintTimeNow (const Seperator &cmd) |
void | LoadScript (const Seperator &cmd) |
void | TimeToString (const Seperator &cmd) |
void | TriToOBJ (const Seperator &cmd) |
void | UnmarshalLogText (const Seperator &cmd) |
void | StuffExtract (const Seperator &cmd) |
const EVEToolCommand * | FindCommand (const char *name) |
Finds a command. More... | |
const EVEToolCommand * | FindCommand (const std::string &name) |
Finds a command. More... | |
void | ProcessCommand (const Seperator &cmd) |
Processed given command. More... | |
Variables | |
const EVEToolCommand | EVETOOL_COMMANDS [] |
const size_t | EVETOOL_COMMAND_COUNT = ( sizeof( EVETOOL_COMMANDS ) / sizeof( EVEToolCommand ) ) |
void CRC32Text | ( | const Seperator & | cmd | ) |
Definition at line 121 of file Commands.cpp.
References Seperator::arg(), Seperator::argCount(), CRC32::Generate(), and sLog.
void DestinyDumpLogText | ( | const Seperator & | cmd | ) |
Definition at line 96 of file Commands.cpp.
References Seperator::arg(), Seperator::argCount(), Destiny::DumpUpdate(), PyDecodeEscape(), Buffer::size(), and sLog.
void ExitProgram | ( | const Seperator & | cmd | ) |
Definition at line 139 of file Commands.cpp.
const EVEToolCommand* FindCommand | ( | const char * | name | ) |
Finds a command.
[in] | name | Name of command. |
Definition at line 64 of file Commands.cpp.
References FindCommand().
Referenced by FindCommand(), PrintHelp(), and ProcessCommand().
const EVEToolCommand* FindCommand | ( | const std::string & | name | ) |
Finds a command.
[in] | name | Name of command. |
Definition at line 69 of file Commands.cpp.
References EVETOOL_COMMAND_COUNT, and EVEToolCommand::name.
void LoadScript | ( | const Seperator & | cmd | ) |
Definition at line 240 of file Commands.cpp.
References Seperator::arg(), Seperator::argCount(), ProcessFile(), and sLog.
void ObjectToSQL | ( | const Seperator & | cmd | ) |
Definition at line 184 of file Commands.cpp.
References Seperator::arg(), Seperator::argCount(), PyCachedObjectDecoder::cache, PySubStream::decoded(), PySubStream::DecodeData(), CachedObjectMgr::LoadCachedObject(), SafeDelete(), sLog, and PyRep::visit().
void PrintHelp | ( | const Seperator & | cmd | ) |
Definition at line 145 of file Commands.cpp.
References Seperator::arg(), Seperator::argCount(), EVEToolCommand::description, EVETOOL_COMMAND_COUNT, FindCommand(), EVEToolCommand::name, and sLog.
void PrintTimeNow | ( | const Seperator & | cmd | ) |
Definition at line 177 of file Commands.cpp.
References Seperator::arg(), PRIu64, sLog, and Win32TimeNow().
void ProcessCommand | ( | const Seperator & | cmd | ) |
Processed given command.
[in] | cmd | Command to be processed. |
Definition at line 82 of file Commands.cpp.
References Seperator::arg(), EVEToolCommand::callback, FindCommand(), and sLog.
Referenced by ProcessString().
void StuffExtract | ( | const Seperator & | cmd | ) |
Definition at line 351 of file Commands.cpp.
References Seperator::arg(), Seperator::argCount(), CreateDirectory(), FileHeader::file_size, FileHeaderObj::filename, FileHeaderObj::length, FileHeaderObj::offset, FileHeader::path_len, sLog, and SplitPath().
void TimeToString | ( | const Seperator & | cmd | ) |
Definition at line 254 of file Commands.cpp.
References Seperator::arg(), Seperator::argCount(), SCNu64, sLog, and Win32TimeToString().
void TriToOBJ | ( | const Seperator & | cmd | ) |
Definition at line 276 of file Commands.cpp.
References Seperator::arg(), Seperator::argCount(), and sLog.
void UnmarshalLogText | ( | const Seperator & | cmd | ) |
Definition at line 302 of file Commands.cpp.
References Seperator::arg(), Seperator::argCount(), PyRep::Dump(), InflateUnmarshal(), PyDecodeEscape(), PyDecRef, and sLog.
const size_t EVETOOL_COMMAND_COUNT = ( sizeof( EVETOOL_COMMANDS ) / sizeof( EVEToolCommand ) ) |
Number of available commands.
Definition at line 62 of file Commands.cpp.
Referenced by FindCommand(), and PrintHelp().
const EVEToolCommand EVETOOL_COMMANDS[] |
Array of all available commands in eve-tool.
Definition at line 48 of file Commands.cpp.