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

            AddReliableComposer(composer);
            ExecuteNextComposerInQueue();
        }
Exemple #3
0
        public void QueueComposer(BasePacketComposer composer)
        {
            if (Disconnected)
            {
                return;
            }

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

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