Remove useless prints

This commit is contained in:
Sofia 2017-11-25 16:29:23 +02:00
parent da0fa50323
commit c44813d0d2
3 changed files with 2 additions and 5 deletions

View File

@ -31,6 +31,7 @@ namespace Network {
TextMessagePkt Pkt = new TextMessagePkt(); TextMessagePkt Pkt = new TextMessagePkt();
Pkt.Text = "Hello, Server!"; Pkt.Text = "Hello, Server!";
PacketDistributor.AddReliableForAll(Pkt); PacketDistributor.AddReliableForAll(Pkt);
GD.print("Hello'd the server!");
} }
} }

View File

@ -47,7 +47,6 @@ namespace Network {
LastConnectionSended = to.ID; LastConnectionSended = to.ID;
} }
PacketPeer.PutPacket(packetBuffer.ByteBuffer); PacketPeer.PutPacket(packetBuffer.ByteBuffer);
GD.print("Sent PacketBuffer with size " + packetBuffer.ByteBuffer.Length + " bytes.");
} }
public bool StartListening(int port, string address = "*") { public bool StartListening(int port, string address = "*") {

View File

@ -58,7 +58,6 @@ namespace Network.Syncing {
Reliable.Serialize(Buffer); Reliable.Serialize(Buffer);
} }
GD.print("Sending sync-" + Sync.Metadata.ID + " to " + Connection);
Peer.SendBuffer(Buffer, Connection); Peer.SendBuffer(Buffer, Connection);
// Clear unreliables-queue // Clear unreliables-queue
@ -72,8 +71,6 @@ namespace Network.Syncing {
SyncPkt Sync = new SyncPkt(); SyncPkt Sync = new SyncPkt();
Sync.Deserialize(packetBuffer); Sync.Deserialize(packetBuffer);
GD.print("Received sync-" + Sync.Metadata.ID);
LastReliableIDTheyReceived = Sync.LastReliableIDReceived; LastReliableIDTheyReceived = Sync.LastReliableIDReceived;
RemoveRedundantReliables(); RemoveRedundantReliables();