mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 05:06:24 +00:00
refactor(Core): code cleanup (part 3) (#6380)
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
#include "Errors.h"
|
||||
#include <utf8.h>
|
||||
#include <sstream>
|
||||
#include <array>
|
||||
|
||||
WorldPackets::InvalidStringValueException::InvalidStringValueException(std::string const& value) :
|
||||
ByteBufferInvalidValueException("string", value.c_str()) { }
|
||||
|
||||
@@ -1430,7 +1430,7 @@ void OpcodeTable::Initialize()
|
||||
|
||||
#undef DEFINE_HANDLER
|
||||
#undef DEFINE_SERVER_OPCODE_HANDLER
|
||||
};
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
inline std::string GetOpcodeNameForLoggingImpl(T id)
|
||||
|
||||
@@ -86,7 +86,7 @@ bool WorldSessionFilter::Process(WorldPacket* packet)
|
||||
return true;
|
||||
|
||||
//lets process all packets for non-in-the-world player
|
||||
return (player->IsInWorld() == false);
|
||||
return !player->IsInWorld();
|
||||
}
|
||||
|
||||
/// WorldSession constructor
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
*/
|
||||
|
||||
#include "AccountMgr.h"
|
||||
#include "BigNumber.h"
|
||||
#include "ByteBuffer.h"
|
||||
#include "Common.h"
|
||||
#include "CryptoHash.h"
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
* \author Derex <derex101@gmail.com>
|
||||
*/
|
||||
|
||||
#include "Common.h"
|
||||
#include "Config.h"
|
||||
#include "DatabaseEnv.h"
|
||||
#include "Log.h"
|
||||
@@ -23,7 +22,6 @@
|
||||
#include <ace/os_include/arpa/os_inet.h>
|
||||
#include <ace/os_include/netinet/os_tcp.h>
|
||||
#include <ace/os_include/sys/os_socket.h>
|
||||
#include <ace/os_include/sys/os_types.h>
|
||||
#include <ace/Reactor_Impl.h>
|
||||
#include <ace/Reactor.h>
|
||||
#include <ace/TP_Reactor.h>
|
||||
|
||||
Reference in New Issue
Block a user