mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 13:16:23 +00:00
refactor(Core/Game): restyle game lib with astyle (#3466)
This commit is contained in:
@@ -19,19 +19,19 @@ class WorldPacket;
|
||||
|
||||
class PacketLog
|
||||
{
|
||||
private:
|
||||
PacketLog();
|
||||
~PacketLog();
|
||||
private:
|
||||
PacketLog();
|
||||
~PacketLog();
|
||||
|
||||
public:
|
||||
static PacketLog* instance();
|
||||
public:
|
||||
static PacketLog* instance();
|
||||
|
||||
void Initialize();
|
||||
bool CanLogPacket() const { return (_file != nullptr); }
|
||||
void LogPacket(WorldPacket const& packet, Direction direction);
|
||||
void Initialize();
|
||||
bool CanLogPacket() const { return (_file != nullptr); }
|
||||
void LogPacket(WorldPacket const& packet, Direction direction);
|
||||
|
||||
private:
|
||||
FILE* _file;
|
||||
private:
|
||||
FILE* _file;
|
||||
};
|
||||
|
||||
#define sPacketLog PacketLog::instance()
|
||||
|
||||
Reference in New Issue
Block a user