mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 19:45:43 +08:00
31 lines
718 B
C#
31 lines
718 B
C#
// 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.
|
|
|
|
using System.Collections.Generic;
|
|
using osu.Game.Online.API.Requests.Responses;
|
|
|
|
namespace osu.Game.Overlays.Dashboard.Friends
|
|
{
|
|
public class FriendsBundle
|
|
{
|
|
public FriendsOnlineStatus Status { get; }
|
|
|
|
public int Count => Users.Count;
|
|
|
|
public List<APIFriend> Users { get; }
|
|
|
|
public FriendsBundle(FriendsOnlineStatus status, List<APIFriend> users)
|
|
{
|
|
Status = status;
|
|
Users = users;
|
|
}
|
|
}
|
|
|
|
public enum FriendsOnlineStatus
|
|
{
|
|
All,
|
|
Online,
|
|
Offline
|
|
}
|
|
}
|