You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
489 B
15 lines
489 B
using StabilityMatrix.Core.Models.Api.CivitTRPC; |
|
|
|
namespace StabilityMatrix.Core.Models.Api; |
|
|
|
public class CivitAccountStatusUpdateEventArgs : EventArgs |
|
{ |
|
public static CivitAccountStatusUpdateEventArgs Disconnected { get; } = new(); |
|
|
|
public bool IsConnected { get; init; } |
|
|
|
public CivitUserProfileResponse? UserProfile { get; init; } |
|
|
|
public string? UsernameWithParentheses => |
|
string.IsNullOrEmpty(UserProfile?.Username) ? null : $"({UserProfile.Username})"; |
|
}
|
|
|