// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Game.Database; namespace osu.Game.Users { public interface IUser : IHasOnlineID, IEquatable { string Username { get; } CountryCode CountryCode { get; } bool IsBot { get; } bool IEquatable.Equals(IUser? other) { if (other == null) return false; return OnlineID == other.OnlineID && Username == other.Username; } } }