2024-04-16 18:29:40 +00:00
|
|
|
using LootDumpProcessor.Storage;
|
2023-08-12 19:08:38 +01:00
|
|
|
|
|
|
|
namespace LootDumpProcessor.Model.Processing;
|
|
|
|
|
|
|
|
public class PartialData
|
|
|
|
{
|
|
|
|
public BasicInfo BasicInfo { get; set; }
|
|
|
|
public IKey ParsedDumpKey { get; set; }
|
|
|
|
|
|
|
|
public override bool Equals(object? obj)
|
|
|
|
{
|
|
|
|
if (obj is ParsedDump dump)
|
2024-04-16 18:29:40 +00:00
|
|
|
return dump.BasicInfo.Equals(BasicInfo);
|
2023-08-12 19:08:38 +01:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
public override int GetHashCode()
|
|
|
|
{
|
2024-04-16 18:29:40 +00:00
|
|
|
return BasicInfo.GetHashCode();
|
2023-08-12 19:08:38 +01:00
|
|
|
}
|
|
|
|
}
|