2023-10-16 11:38:27 +02:00
|
|
|
|
namespace TaikoWebUI.Settings;
|
|
|
|
|
|
|
|
|
|
public class WebUiSettings
|
|
|
|
|
{
|
2024-06-06 04:29:26 +02:00
|
|
|
|
public string Title { get; set; } = "TaikoWebUI";
|
2024-03-09 00:42:56 +01:00
|
|
|
|
public bool LoginRequired { get; set; }
|
|
|
|
|
public bool OnlyAdmin { get; set; }
|
|
|
|
|
public int BoundAccessCodeUpperLimit { get; set; }
|
|
|
|
|
public bool RegisterWithLastPlayTime { get; set; }
|
|
|
|
|
public bool AllowUserDelete { get; set; }
|
|
|
|
|
public bool AllowFreeProfileEditing { get; set; }
|
2024-06-09 21:12:12 +02:00
|
|
|
|
|
|
|
|
|
public SongLeaderboardSettings SongLeaderboardSettings { get; set; } = new SongLeaderboardSettings();
|
2024-03-09 00:42:56 +01:00
|
|
|
|
public Language[] SupportedLanguages { get; set; } = Array.Empty<Language>();
|
2024-06-09 21:12:12 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class SongLeaderboardSettings
|
|
|
|
|
{
|
|
|
|
|
public bool DisablePagination { get; set; } = false;
|
|
|
|
|
public int PageSize { get; set; } = 10;
|
2023-10-16 11:38:27 +02:00
|
|
|
|
}
|