mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-08 19:54:14 +00:00
Push my suggestion for CI tests.
This commit is contained in:
@@ -1244,7 +1244,11 @@ void HandlePacket(Packet* packet) {
|
||||
}
|
||||
|
||||
default:
|
||||
LOG("Unknown world packet received: %i", int(packet->data[3]));
|
||||
if (packet->bitSize < (16 + sizeof(uint32_t) * 8)) break;
|
||||
|
||||
uint32_t messageId = *reinterpret_cast<uint32_t*>(&packet->data[3]);
|
||||
const char* messageIdString = magic_enum::enum_name(static_cast<eWorldMessageType>(messageId)).data();
|
||||
LOG("Unknown world packet received: (%4i) %s", messageId, messageIdString);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user