public void RegisterPacket(int entry) { if (Packets.Count == 5) { Packets.Dequeue(); } Packets.Enqueue(entry); }