|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <PacketLog.h>
Public Member Functions | |
| bool | CanLogPacket () const |
| void | CloseSession (void const *sessionKey) |
| void | DisableAllLogging () |
| void | DisableCharacterLogging (std::string const &characterName) |
| void | EnableCharacterLogging (std::string const &characterName) |
| void | EnableGlobalLogging () |
| size_t | GetCharacterLoggingCount () const |
| void | Initialize () |
| bool | IsGlobalLoggingEnabled () const |
| void | LogMarker (void const *sessionKey, PacketLogSessionInfo const &sessionInfo, std::string const &marker) |
| void | LogPacket (void const *sessionKey, PacketLogSessionInfo const &sessionInfo, WorldPacket const &packet, Direction direction) |
| void | LogPacket (WorldPacket const &packet, Direction direction) |
| void | RefreshSessionInfo (void const *sessionKey, PacketLogSessionInfo const &sessionInfo) |
Private Member Functions | |
| PacketLog () | |
| ~PacketLog () | |
Friends | |
| class | Skyfire::Singleton< PacketLog, Skyfire::Mutex > |
Definition at line 23 of file PacketLog.h.
|
private |
Definition at line 18 of file PacketLog.cpp.
References Initialize().
|
private |
Definition at line 23 of file PacketLog.cpp.
| bool PacketLog::CanLogPacket | ( | ) | const |
Definition at line 32 of file PacketLog.cpp.
References sPacketLogServer.
| void PacketLog::CloseSession | ( | void const * | sessionKey | ) |
Definition at line 94 of file PacketLog.cpp.
References sPacketLogServer.
| void PacketLog::DisableAllLogging | ( | ) |
Definition at line 49 of file PacketLog.cpp.
References sPacketLogServer.
| void PacketLog::DisableCharacterLogging | ( | std::string const & | characterName | ) |
Definition at line 59 of file PacketLog.cpp.
References sPacketLogServer.
| void PacketLog::EnableCharacterLogging | ( | std::string const & | characterName | ) |
Definition at line 54 of file PacketLog.cpp.
References sPacketLogServer.
| void PacketLog::EnableGlobalLogging | ( | ) |
Definition at line 44 of file PacketLog.cpp.
References sPacketLogServer.
| size_t PacketLog::GetCharacterLoggingCount | ( | ) | const |
Definition at line 69 of file PacketLog.cpp.
References sPacketLogServer.
| void PacketLog::Initialize | ( | ) |
Definition at line 27 of file PacketLog.cpp.
References sPacketLogServer.
Referenced by PacketLog().
| bool PacketLog::IsGlobalLoggingEnabled | ( | ) | const |
Definition at line 64 of file PacketLog.cpp.
References sPacketLogServer.
| void PacketLog::LogMarker | ( | void const * | sessionKey, |
| PacketLogSessionInfo const & | sessionInfo, | ||
| std::string const & | marker ) |
Definition at line 84 of file PacketLog.cpp.
References sPacketLogServer.
| void PacketLog::LogPacket | ( | void const * | sessionKey, |
| PacketLogSessionInfo const & | sessionInfo, | ||
| WorldPacket const & | packet, | ||
| Direction | direction ) |
Definition at line 74 of file PacketLog.cpp.
References CLIENT_TO_SERVER, ByteBuffer::contents(), WorldPacket::GetOpcode(), GetOpcodeNameForLogging(), LogPacket(), SERVER_TO_CLIENT, serverOpcodeTable, ByteBuffer::size(), and sPacketLogServer.
| void PacketLog::LogPacket | ( | WorldPacket const & | packet, |
| Direction | direction ) |
Definition at line 37 of file PacketLog.cpp.
References CLIENT_TO_SERVER, ByteBuffer::contents(), WorldPacket::GetOpcode(), serverOpcodeTable, ByteBuffer::size(), and sPacketLogServer.
Referenced by LogPacket().
| void PacketLog::RefreshSessionInfo | ( | void const * | sessionKey, |
| PacketLogSessionInfo const & | sessionInfo ) |
Definition at line 89 of file PacketLog.cpp.
References sPacketLogServer.
|
friend |
Definition at line 21 of file PacketLog.h.