// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Beatmaps.Drawables.Cards.Buttons; using osu.Game.Beatmaps.Drawables.Cards.Statistics; namespace osu.Game.Beatmaps.Drawables.Cards { /// /// Stores the current favourite state of a beatmap set. /// Used to coordinate between and . /// public readonly struct BeatmapSetFavouriteState { /// /// Whether the currently logged-in user has favourited this beatmap. /// public bool Favourited { get; } /// /// The number of favourites that the beatmap set has received, including the currently logged-in user. /// public int FavouriteCount { get; } public BeatmapSetFavouriteState(bool favourited, int favouriteCount) { Favourited = favourited; FavouriteCount = favouriteCount; } } }