示例#1
0
        public void ResetQueues()
        {
            if (NeedsDispatch)
            {
                NeedsDispatch = false;
            }

            Acknowledgements.Clear();
            SentReliableCommands.Clear();
            SentUnreliableCommands.Clear();
            OutgoingReliableCommands.Clear();
            OutgoingUnreliableCommands.Clear();
            DispatchedCommands.Clear();
            Channels.Clear();
            ChannelCount = 0;
        }
示例#2
0
        public void ResetQueues()
        {
            if (NeedsDispatch)
            {
                Node.Remove();
                NeedsDispatch = false;
            }

            Acknowledgements.Clear();
            SentReliableCommands.Clear();
            SentUnreliableCommands.Clear();
            OutgoingReliableCommands.Clear();
            OutgoingUnreliableCommands.Clear();
            DispatchedCommands.Clear();

            ResetChannels();
        }