|
|
@ -20,6 +20,8 @@ bool PlayerProcessor::Process(RakNet::Packet &packet) noexcept
|
|
|
|
PlayerPacket *myPacket = Networking::get().getPlayerPacketController()->GetPacket(packet.data[0]);
|
|
|
|
PlayerPacket *myPacket = Networking::get().getPlayerPacketController()->GetPacket(packet.data[0]);
|
|
|
|
myPacket->setPlayer(player.get());
|
|
|
|
myPacket->setPlayer(player.get());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LOG_MESSAGE_SIMPLE(Log::LOG_TRACE, "Processing %s from %s", processor.second->strPacketID.c_str(), player->npc.mName.c_str());
|
|
|
|
|
|
|
|
|
|
|
|
if (!processor.second->avoidReading)
|
|
|
|
if (!processor.second->avoidReading)
|
|
|
|
myPacket->Read();
|
|
|
|
myPacket->Read();
|
|
|
|
|
|
|
|
|
|
|
|