public void ForwardPacket(MaplePacket.CommunicationType pType, MaplePacket pPacket) { pPacket.Reset(); ushort header = pPacket.ReadUShort(); if (!_validHeaders[(byte)pType].Contains(header)) { return; } using (MaplePacket packet = new MaplePacket(pType, header)) { packet.WriteBytes(pPacket.ReadLeftoverBytes()); SendPacket(packet); } }