mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 00:00:40 +08:00
1f4cfa74dc
It's at a very simple stage for now: - Tab control is no longer recreated when friends change, counts are updated as bindables. - All async logic removed temporarily. - Sort and filtering happens in realtime without panel reload. - Display modes removed for now. Need to think about this one a bit more, and whether to retry the async path or look for a separate solution. - Real time user presence is now considered. Not considered for sorting by last visit time yet.
19 lines
488 B
C#
19 lines
488 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 osu.Framework.Bindables;
|
|
|
|
namespace osu.Game.Overlays.Dashboard.Friends
|
|
{
|
|
public class FriendStream
|
|
{
|
|
public readonly BindableInt UserCount = new BindableInt();
|
|
public readonly OnlineStatus Status;
|
|
|
|
public FriendStream(OnlineStatus status)
|
|
{
|
|
Status = status;
|
|
}
|
|
}
|
|
}
|