Files
EchoHub/src/EchoHub.Client/Config/ClientConfig.cs
T

33 lines
898 B
C#

namespace EchoHub.Client.Config;
public class ClientConfig
{
public List<SavedServer> SavedServers { get; set; } = [];
public AccountPreset DefaultPreset { get; set; } = new();
public string ActiveTheme { get; set; } = "Default";
public NotificationConfig Notifications { get; set; } = new();
}
public class NotificationConfig
{
public bool Enabled { get; set; } = true;
public byte Volume { get; set; } = 30;
public string? SoundFile { get; set; }
}
public class SavedServer
{
public required string Name { get; set; }
public required string Url { get; set; }
public string? Username { get; set; }
public string? Token { get; set; }
public DateTimeOffset LastConnected { get; set; }
}
public class AccountPreset
{
public string? DisplayName { get; set; }
public string? Bio { get; set; }
public string? NicknameColor { get; set; }
}