mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
refactor(Core/Game): restyle game lib with astyle (#3466)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#include "WorldPacket.h"
|
||||
#include "WorldSession.h"
|
||||
|
||||
void WorldSession::HandleLearnTalentOpcode(WorldPacket & recvData)
|
||||
void WorldSession::HandleLearnTalentOpcode(WorldPacket& recvData)
|
||||
{
|
||||
uint32 talent_id, requested_rank;
|
||||
recvData >> talent_id >> requested_rank;
|
||||
@@ -50,7 +50,7 @@ void WorldSession::HandleLearnPreviewTalents(WorldPacket& recvPacket)
|
||||
recvPacket.rfinish();
|
||||
}
|
||||
|
||||
void WorldSession::HandleTalentWipeConfirmOpcode(WorldPacket & recvData)
|
||||
void WorldSession::HandleTalentWipeConfirmOpcode(WorldPacket& recvData)
|
||||
{
|
||||
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
|
||||
sLog->outDebug(LOG_FILTER_NETWORKIO, "MSG_TALENT_WIPE_CONFIRM");
|
||||
@@ -76,7 +76,7 @@ void WorldSession::HandleTalentWipeConfirmOpcode(WorldPacket & recvData)
|
||||
|
||||
if (!(_player->resetTalents()))
|
||||
{
|
||||
WorldPacket data(MSG_TALENT_WIPE_CONFIRM, 8+4); //you have not any talent
|
||||
WorldPacket data(MSG_TALENT_WIPE_CONFIRM, 8 + 4); //you have not any talent
|
||||
data << uint64(0);
|
||||
data << uint32(0);
|
||||
SendPacket(&data);
|
||||
|
||||
Reference in New Issue
Block a user