1
0
mirror of synced 2024-12-18 17:35:55 +01:00
TaikoLocalServer/SharedProject/Models/Title.cs

25 lines
478 B
C#

namespace SharedProject.Models;
public class Title
{
public uint TitleId { get; set; }
public string TitleName { get; init; } = string.Empty;
public uint TitleRarity { get; init; }
public override bool Equals(object? obj)
{
if (obj is Title title)
{
return title.TitleName.Equals(TitleName);
}
return false;
}
public override int GetHashCode()
{
return TitleName.GetHashCode();
}
}