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

@@ -26,7 +26,7 @@ WardenMac::~WardenMac()
{
}
void WardenMac::Init(WorldSession *pClient, BigNumber *K)
void WardenMac::Init(WorldSession* pClient, BigNumber* K)
{
_session = pClient;
// Generate Warden Key
@@ -65,7 +65,7 @@ void WardenMac::Init(WorldSession *pClient, BigNumber *K)
ClientWardenModule* WardenMac::GetModuleForClient()
{
ClientWardenModule *mod = new ClientWardenModule;
ClientWardenModule* mod = new ClientWardenModule;
uint32 len = sizeof(Module_0DBBF209A27B1E279A9FEC5C168A15F7_Data);
@@ -110,7 +110,8 @@ void WardenMac::RequestHash()
_session->SendPacket(&pkt);
}
struct keyData {
struct keyData
{
union
{
struct
@@ -125,7 +126,7 @@ struct keyData {
};
};
void WardenMac::HandleHashResult(ByteBuffer &buff)
void WardenMac::HandleHashResult(ByteBuffer& buff)
{
// test
@@ -218,7 +219,7 @@ void WardenMac::RequestData()
_dataSent = true;
}
void WardenMac::HandleData(ByteBuffer &buff)
void WardenMac::HandleData(ByteBuffer& buff)
{
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
sLog->outDebug(LOG_FILTER_WARDEN, "Handle data");