⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sackslot.cs

📁 破解的飞信源代码
💻 CS
字号:
namespace NCindy.Protocol.RUDP.SACK
{
    using System;

    internal sealed class SACKSlot
    {
        internal int ACKsCount;
        internal int EndPacketId;
        internal int StartPacketId;

        internal SACKSlot(int startPacketId, int endPacketId)
        {
            this.ACKsCount = 1;
            this.StartPacketId = startPacketId;
            this.EndPacketId = endPacketId;
        }

        internal SACKSlot(int startPacketId, int endPacketId, int acksCount)
        {
            this.ACKsCount = 1;
            this.StartPacketId = startPacketId;
            this.EndPacketId = endPacketId;
            this.ACKsCount = acksCount;
        }

        internal SACKSlot Clone()
        {
            return new SACKSlot(this.StartPacketId, this.EndPacketId, this.ACKsCount);
        }

        public override string ToString()
        {
            return string.Concat(new object[] { "StartPacketId(", this.StartPacketId, ") EndPacketId(", this.EndPacketId, ") ACKsCount(", this.ACKsCount, ")" });
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -