From d1ddbf5d545bc39a234649cdb21b005aa482142f Mon Sep 17 00:00:00 2001 From: teascade Date: Wed, 5 Aug 2020 21:55:17 +0300 Subject: [PATCH] Add SendReliableLater --- Assets/Scripts/TeaNet/Peers/Peer.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Assets/Scripts/TeaNet/Peers/Peer.cs b/Assets/Scripts/TeaNet/Peers/Peer.cs index cd1f67e..7ff88aa 100644 --- a/Assets/Scripts/TeaNet/Peers/Peer.cs +++ b/Assets/Scripts/TeaNet/Peers/Peer.cs @@ -65,6 +65,10 @@ namespace NeonTea.Quakeball.TeaNet.Peers { ConnectionManager.SendPacketQueue(uid); } + public void SendReliableLater(ulong uid, Packet packet) { + ConnectionManager.AddPacketToQueue(uid, packet); + } + public void SendUnreliable(ulong uid, Packet packet) { ConnectionManager.SendSingleUnreliable(uid, packet); }