osu/osu.Game/Overlays/Dashboard/Friends/FriendsBundle.cs

31 lines
684 B
C#
Raw Normal View History

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
2020-03-16 06:42:21 +00:00
using System.Collections.Generic;
2020-03-17 05:51:54 +00:00
using osu.Game.Users;
2020-03-16 06:42:21 +00:00
namespace osu.Game.Overlays.Dashboard.Friends
{
public class FriendsBundle
{
public FriendsOnlineStatus Status { get; }
2020-03-16 06:42:21 +00:00
public int Count => Users.Count;
2020-03-17 05:51:54 +00:00
public List<User> Users { get; }
2020-03-17 05:51:54 +00:00
public FriendsBundle(FriendsOnlineStatus status, List<User> users)
{
Status = status;
2020-03-16 06:42:21 +00:00
Users = users;
}
}
public enum FriendsOnlineStatus
{
All,
Online,
Offline
}
}