Exemplo n.º 1
0
        public bool QueueIncomingReliableUnsequenced(NCommand command)
        {
            bool flag = command.reliableSequenceNumber <= this.reliableUnsequencedNumbersCompletelyReceived;
            bool result;

            if (flag)
            {
                result = false;
            }
            else
            {
                bool flag2 = this.reliableUnsequencedNumbersReceived.Contains(command.reliableSequenceNumber);
                if (flag2)
                {
                    result = false;
                }
                else
                {
                    bool flag3 = command.reliableSequenceNumber == this.reliableUnsequencedNumbersCompletelyReceived + 1;
                    if (flag3)
                    {
                        this.reliableUnsequencedNumbersCompletelyReceived++;
                    }
                    else
                    {
                        this.reliableUnsequencedNumbersReceived.Add(command.reliableSequenceNumber);
                    }
                    while (this.reliableUnsequencedNumbersReceived.Contains(this.reliableUnsequencedNumbersCompletelyReceived + 1))
                    {
                        this.reliableUnsequencedNumbersCompletelyReceived++;
                        this.reliableUnsequencedNumbersReceived.Remove(this.reliableUnsequencedNumbersCompletelyReceived);
                    }
                    bool flag4 = command.commandType == 15;
                    if (flag4)
                    {
                        this.incomingUnsequencedFragments.Add(command.reliableSequenceNumber, command);
                    }
                    else
                    {
                        this.incomingUnsequencedCommandsList.Enqueue(command);
                    }
                    result = true;
                }
            }
            return(result);
        }
Exemplo n.º 2
0
        }                                                                                 // 0x00000001806BC4A0-0x00000001806BC500

        // Methods
        internal static void CreateAck(byte[] buffer, int offset, NCommand commandToAck, int sentTime)
        {
        }                                                                                                         // 0x00000001806BB190-0x00000001806BB310
Exemplo n.º 3
0
        }                                                // 0x00000001806BBBC0-0x00000001806BBBF0

        public int CompareTo(NCommand other) => default; // 0x00000001806BB160-0x00000001806BB190
Exemplo n.º 4
0
        public NCommand FetchReliableSequenceNumber(int reliableSequenceNumber) => default;        // 0x00000001806AF990-0x00000001806AF9F0

        public bool TryGetFragment(int reliableSequenceNumber, bool isSequenced, out NCommand fragment)
        {
            fragment = default;
            return(default);
Exemplo n.º 5
0
 public CmdLogReceivedReliable(NCommand command, int timeInt, int rtt, int variance, int timeSinceLastSend, int timeSinceLastSendAck) : base(command, timeInt, rtt, variance)
 {
     this.TimeSinceLastSend    = timeSinceLastSend;
     this.TimeSinceLastSendAck = timeSinceLastSendAck;
 }
Exemplo n.º 6
0
        public NCommand Acquire(EnetPeer peer, byte commandType, StreamBuffer payload, byte channel) => default; // 0x00000001806BAC90-0x00000001806BAE40

        public void Release(NCommand nCommand)
        {
        }                                                 // 0x00000001806BAFD0-0x00000001806BB0F0
Exemplo n.º 7
0
        }                                                                                                                                          // 0x00000001806B23A0-0x00000001806B32A0

        internal bool QueueIncomingCommand(NCommand command) => default;                                                                           // 0x00000001806B39E0-0x00000001806B4500
Exemplo n.º 8
0
        }                                                                                          // 0x00000001806B4D60-0x00000001806B5850

        internal void ExecuteCommand(NCommand command)
        {
        }                                                                                                                                          // 0x00000001806B23A0-0x00000001806B32A0
Exemplo n.º 9
0
        }                                                                         // 0x00000001806B48F0-0x00000001806B4AF0

        internal void QueueOutgoingAcknowledgement(NCommand readCommand, int sendTime)
        {
        }                                                                                         // 0x00000001806B4500-0x00000001806B4730
Exemplo n.º 10
0
        }                                                                       // 0x00000001806B4730-0x00000001806B48F0

        internal void QueueOutgoingUnreliableCommand(NCommand command)
        {
        }                                                                         // 0x00000001806B48F0-0x00000001806B4AF0
Exemplo n.º 11
0
        }                                                           // 0x00000001806B4AF0-0x00000001806B4D60

        internal void QueueOutgoingReliableCommand(NCommand command)
        {
        }                                                                       // 0x00000001806B4730-0x00000001806B48F0
Exemplo n.º 12
0
        }                                                                  // 0x00000001806B6090-0x00000001806B6400

        internal void QueueSentCommand(NCommand command)
        {
        }                                                           // 0x00000001806B4AF0-0x00000001806B4D60