Add SendReliableLater
This commit is contained in:
parent
07bfca4dd8
commit
d1ddbf5d54
@ -65,6 +65,10 @@ namespace NeonTea.Quakeball.TeaNet.Peers {
|
|||||||
ConnectionManager.SendPacketQueue(uid);
|
ConnectionManager.SendPacketQueue(uid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SendReliableLater(ulong uid, Packet packet) {
|
||||||
|
ConnectionManager.AddPacketToQueue(uid, packet);
|
||||||
|
}
|
||||||
|
|
||||||
public void SendUnreliable(ulong uid, Packet packet) {
|
public void SendUnreliable(ulong uid, Packet packet) {
|
||||||
ConnectionManager.SendSingleUnreliable(uid, packet);
|
ConnectionManager.SendSingleUnreliable(uid, packet);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user