Example #1
0
        public void Delete(KcpLink link)
        {
            int index = link.Index;

            buffer[index] = null;
            top--;
            buffer[index] = buffer[top];
            buffer[top]   = null;
            if (top > 0)
            {
                buffer[index].Index = index;
            }
        }
Example #2
0
 public override void RemoveLink(KcpLink link)
 {
     linkBuff[link.buffIndex].Delete(link);
 }
Example #3
0
 public virtual void RemoveLink(KcpLink link)
 {
 }