Remove useless prints
This commit is contained in:
parent
da0fa50323
commit
c44813d0d2
@ -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!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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 = "*") {
|
||||||
|
@ -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
|
||||||
@ -71,9 +70,7 @@ 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();
|
||||||
|
Loading…
Reference in New Issue
Block a user