Ejemplo n.º 1
0
 private void AddReliableComposer(BasePacketComposer composer)
 {
     lock (reliableComposers)
     {
         reliableComposers.Add(composer);
     }
 }
Ejemplo n.º 2
0
        public void QueueComposer(BasePacketComposer composer)
        {
            if (Disconnected)
            {
                return;
            }

            AddReliableComposer(composer);
            ExecuteNextComposerInQueue();
        }
Ejemplo n.º 3
0
        public void QueueComposer(BasePacketComposer composer)
        {
            if (Disconnected)
            {
                return;
            }

            lock (reliableComposers) {
                reliableComposers.Add(composer);
            }

            // Start the reliable send thread on this composer
            NextComposerInQueue();
        }