Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/Nitwork/ANitwork.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ namespace Nitwork {

data.header.ids_received = getIdsReceived();
auto updatedPacket = Packet(packet.id, packet.action, std::make_any<T>(data));
std::cout << "updatedPacket.header.ids_received: " << data.header.ids_received << std::endl;
return updatedPacket;
}

Expand Down
4 changes: 0 additions & 4 deletions src/Nitwork/NitworkServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ namespace Nitwork {
packetMsgPlayerInit.header.id,
packetMsgPlayerInit.action.magick,
std::make_any<struct packetMsgPlayerInit_s>(packetMsgPlayerInit));
std::cout << "Send PLAYER_INIT to " << endpoint.address().to_string() << ":" << endpoint.port()
<< std::endl;
addPacketToSend(endpoint, packet);
}

Expand All @@ -156,8 +154,6 @@ namespace Nitwork {
packetMsgStartGame.header.id,
packetMsgStartGame.action.magick,
std::make_any<struct packetMsgStartGame_s>(packetMsgStartGame));
std::cout << "Send START_GAME to " << endpoint.address().to_string() << ":" << endpoint.port()
<< std::endl;
addPacketToSend(endpoint, packet);
}

Expand Down