// 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 MessagePack; namespace osu.Game.Users { /// /// Structure containing all relevant information about a user's online presence. /// [Serializable] [MessagePackObject] public struct UserPresence { /// /// The user's current activity. /// [Key(0)] public UserActivity? Activity { get; set; } /// /// The user's current status. /// [Key(1)] public UserStatus? Status { get; set; } } }