mirror of
https://github.com/Stone-Red-Code/EchoHub.git
synced 2026-09-04 00:56:05 +02:00
33 lines
898 B
C#
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; }
|
|
}
|