refactor: remove debug output from computeProtocolVersionSignature function

This commit is contained in:
MayaTheShy
2025-11-08 18:33:09 -05:00
parent 35775a8268
commit 8ac50bba74

View File

@@ -468,15 +468,11 @@ std::vector<uint8_t> NLPacket::computeProtocolVersionSignature() {
uint8_t numPacketTypes = static_cast<uint8_t>(numPacketTypesInt);
buffer.push_back(numPacketTypes);
// Debug: print version table
std::cout << "[OverteClient] Computing protocol signature with " << (int)numPacketTypes << " packet types:" << std::endl;
// Write version for each packet type
for (uint8_t i = 0; i < numPacketTypes; i++) {
PacketType type = static_cast<PacketType>(i);
uint8_t version = versionForPacketType(type);
buffer.push_back(version);
std::cout << " Type " << (int)i << ": version " << (int)version << std::endl;
}
// Compute MD5 hash