Esempio n. 1
0
        public override void FlushSendQueue(ulong clientId)
        {
            UpdateRelay();

            GetUnetConnectionDetails(clientId, out byte hostId, out ushort connectionId);

            RelayTransport.SendQueuedMessages(hostId, connectionId, out byte error);
        }
        public void SendQueued(ulong clientId)
        {
            if (ProfilerEnabled)
            {
                s_TransportProfilerData.Increment(ProfilerConstants.NumberOfTransportSendQueues);
            }

            GetUNetConnectionDetails(clientId, out byte hostId, out ushort connectionId);

            RelayTransport.SendQueuedMessages(hostId, connectionId, out byte error);
        }
Esempio n. 3
0
        public void SendQueue(uint clientId, out byte error)
        {
            NetId netId = new NetId(clientId);

            if (netId.IsServer())
            {
                netId.ConnectionId = (ushort)serverConnectionId;
                netId.HostId       = (byte)serverHostId;
            }
            RelayTransport.SendQueuedMessages(netId.HostId, netId.ConnectionId, out error);
        }