PluralKit/Myriad/Types/Activity.cs

22 lines
409 B
C#
Raw Normal View History

2021-08-27 15:03:47 +00:00
namespace Myriad.Types
2020-12-22 12:15:26 +00:00
{
public record Activity: ActivityPartial
{
}
2021-08-27 15:03:47 +00:00
2020-12-22 12:15:26 +00:00
public record ActivityPartial
{
public string Name { get; init; }
public ActivityType Type { get; init; }
public string? Url { get; init; }
}
2021-08-27 15:03:47 +00:00
2020-12-22 12:15:26 +00:00
public enum ActivityType
{
Game = 0,
Streaming = 1,
Listening = 2,
Custom = 4,
Competing = 5
}
}