private void Send(ArraySegment <byte> msg) { if (!isSimulated) { ServerPeer.SendMessage(msg, UDPTransport.Source.Client); } else { ServerPeer.SendSimulatedMessage(msg, UDPTransport.Source.Client); } }
private void Send(ArraySegment <byte> msg) { if (!isSimulated) { ServerPeer.SendMessage(msg, UDPTransport.Source.Client); } else { ServerPeer.SendSimulatedMessage(msg, UDPTransport.Source.Client); } }