Core/Guild: Code Refactor

- Send correct events when modifiying Ranks (Add, modify, delete)
- Store money/slots withdraw, not remaining slots. This will update remaining slots/money properly.
- Reset daily slots/money withdraw for all members at same time, configurable
- Better debug messages
This commit is contained in:
Spp committed 2012-11-02 22:26:10 +01:00
1 parent 3ee840a9be
commit 58ec4e5319
38 files changed
+1893 -1709

No files matched your search

@@ -22,24 +22,24 @@
#include "Opcodes.h"
#include "Log.h"
void WorldSession::HandleVoiceSessionEnableOpcode(WorldPacket& recv_data)
void WorldSession::HandleVoiceSessionEnableOpcode(WorldPacket& recvData)
{
sLog->outDebug(LOG_FILTER_NETWORKIO, "WORLD: CMSG_VOICE_SESSION_ENABLE");
// uint8 isVoiceEnabled, uint8 isMicrophoneEnabled
recv_data.read_skip<uint8>();
recv_data.read_skip<uint8>();
recvData.read_skip<uint8>();
recvData.read_skip<uint8>();
}
void WorldSession::HandleChannelVoiceOnOpcode(WorldPacket& /*recv_data*/)
void WorldSession::HandleChannelVoiceOnOpcode(WorldPacket& /*recvData*/)
{
sLog->outDebug(LOG_FILTER_NETWORKIO, "WORLD: CMSG_CHANNEL_VOICE_ON");
// Enable Voice button in channel context menu
}
void WorldSession::HandleSetActiveVoiceChannel(WorldPacket& recv_data)
void WorldSession::HandleSetActiveVoiceChannel(WorldPacket& recvData)
{
sLog->outDebug(LOG_FILTER_NETWORKIO, "WORLD: CMSG_SET_ACTIVE_VOICE_CHANNEL");
recv_data.read_skip<uint32>();
recv_data.read_skip<char*>();
recvData.read_skip<uint32>();
recvData.read_skip<char*>();
}