예제 #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;
            }
        }
예제 #2
0
 public override void RemoveLink(KcpLink link)
 {
     linkBuff[link.buffIndex].Delete(link);
 }
예제 #3
0
 public virtual void RemoveLink(KcpLink link)
 {
 }