Files
asesidaa_GC-local-server-re…/GC-local-server-rewrite/common/IAppSettings.cs
T
Yuchen Ji c8b8a2816e Finish prototype for web interface
Only unlock unlockable songs at first write
2022-06-21 03:40:42 +08:00

44 lines
1.2 KiB
C#

using Config.Net;
namespace GCLocalServerRewrite.common;
public interface IAppSettings
{
[Option(DefaultValue = Configs.DEFAULT_AVATAR_COUNT)]
int AvatarCount { get; }
[Option(DefaultValue = Configs.DEFAULT_NAVIGATOR_COUNT)]
int NavigatorCount { get; }
[Option(DefaultValue = Configs.DEFAULT_ITEM_COUNT)]
int ItemCount { get; }
[Option(DefaultValue = Configs.DEFAULT_TITLE_COUNT)]
int TitleCount { get; }
[Option(DefaultValue = Configs.DEFAULT_SKIN_COUNT)]
int SkinCount { get; }
[Option(DefaultValue = Configs.DEFAULT_SE_COUNT)]
int SeCount { get; }
[Option(DefaultValue = Configs.DEFAULT_MUSIC_DB_NAME)]
string MusicDbName { get; }
[Option(DefaultValue = Configs.DEFAULT_CARD_DB_NAME)]
string CardDbName { get; }
[Option(DefaultValue = Configs.DEFAULT_SERVER_IP)]
string ServerIp { get; }
[Option(DefaultValue = Configs.DEFAULT_RELAY_SERVER)]
string RelayServer { get; }
[Option(DefaultValue = Configs.DEFAULT_RELAY_PORT)]
int RelayPort { get; }
[Option(DefaultValue = null)]
IEnumerable<int>? UnlockableSongIds { get; }
IEnumerable<IOptionServiceResponse> ResponseData { get; }
}