refactor(Core/Game): restyle game lib with astyle (#3466)

This commit is contained in:
Kargatum
2020-10-12 15:08:15 +07:00
committed by GitHub
parent e99b526e17
commit a2b26272d2
338 changed files with 52196 additions and 50944 deletions

View File

@@ -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()