0
0
mirror of https://github.com/sp-tarkov/loot-dump-processor.git synced 2025-02-13 09:50:44 -05:00

23 lines
564 B
C#
Raw Permalink Normal View History

using LootDumpProcessor.Model.Input;
2023-08-12 19:08:38 +01:00
namespace LootDumpProcessor.Model.Processing;
public class BasicInfo
{
public required string Map { get; set; }
public required string FileHash { get; set; }
public RootData? Data { get; set; }
2023-08-12 19:08:38 +01:00
public DateTime Date { get; set; }
public required string FileName { get; set; }
2023-08-12 19:08:38 +01:00
public override bool Equals(object? obj)
{
if (obj is BasicInfo info)
return FileHash == info.FileHash;
return false;
}
public override int GetHashCode() => FileHash.GetHashCode();
2023-08-12 19:08:38 +01:00
}