using QCRPG.Framework;

namespace QCRPG.TSL.BT;

public class BTSnoopLogPacketData : SnoopLogPacketData, IDeepCopyable<BTSnoopLogPacketData>
{
	public BTPacketDataType btPacketType;

	public BTSnoopLogPacketData(byte[] bytes)
		: base(bytes)
	{
	}

	public BTSnoopLogPacketData(byte[] bytes, SnoopLogReader.PacketRecord packetRecord)
		: base(bytes, packetRecord)
	{
	}

	public new BTSnoopLogPacketData DeepCopy()
	{
		BTSnoopLogPacketData bTSnoopLogPacketData = new BTSnoopLogPacketData(bytes);
		bTSnoopLogPacketData.btPacketType = btPacketType;
		bTSnoopLogPacketData.packetRecord = packetRecord.DeepCopy();
		return bTSnoopLogPacketData;
	}
}
