mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-22 03:34:35 +00:00
refactor(Core/Game): restyle game lib with astyle (#3466)
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user