* most of the groups refactoring on client * register OnMethods for group stuff * start implementing client (still pretty broken) * finish implementing new api first iteration * idk rework everything for pair shit (still WIP); goal is to remove PairedClients and GroupPairClients from ApiController * move everything to PairManager, remove dictionaries from APiController * remove admin stuff from client, cleanup * adjust reconnection handling, add new settings, todo still to remove access from old stuff that's marked obsolete from config * add back adding servers, fix intro ui * fix obsolete calls * adjust config namespace * add UI for setting animation/sound permissions to syncshells * add ConfigurationService to hot reload config on change from external * move transient data cache to configuration * add deleting service to ui * fix saving of transient resources * fix group pair user assignments * halt scanner when penumbra inactive, add visible/online/offline split to individual pairs and tags * add presence to syncshell ui * move fullpause from config to server config * fixes in code style * more codestyle * show info icon on player in shells, don't show icon when no changes from default state are made, add online notifs * fixes to intro UI --------- Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
30 lines
1.5 KiB
C#
30 lines
1.5 KiB
C#
using Dalamud.Configuration;
|
|
using MareSynchronos.WebAPI;
|
|
|
|
namespace MareSynchronos.MareConfiguration;
|
|
|
|
[Serializable]
|
|
public class MareConfig : IPluginConfiguration
|
|
{
|
|
public int Version { get; set; } = 0;
|
|
public Dictionary<string, ServerStorage> ServerStorage { get; set; } = new(StringComparer.OrdinalIgnoreCase)
|
|
{
|
|
{ ApiController.MainServiceUri, new ServerStorage() { ServerName = ApiController.MainServer, ServerUri = ApiController.MainServiceUri } },
|
|
};
|
|
public Dictionary<string, HashSet<string>> PlayerPersistentTransientCache { get; set; } = new(StringComparer.Ordinal);
|
|
public bool AcceptedAgreement { get; set; } = false;
|
|
public string CacheFolder { get; set; } = string.Empty;
|
|
public double MaxLocalCacheInGiB { get; set; } = 20;
|
|
public bool ReverseUserSort { get; set; } = false;
|
|
public int TimeSpanBetweenScansInSeconds { get; set; } = 30;
|
|
public bool FileScanPaused { get; set; } = false;
|
|
public bool InitialScanComplete { get; set; } = false;
|
|
public bool HideInfoMessages { get; set; } = false;
|
|
public bool DisableOptionalPluginWarnings { get; set; } = false;
|
|
public bool OpenGposeImportOnGposeStart { get; set; } = false;
|
|
public bool ShowTransferWindow { get; set; } = true;
|
|
public bool OpenPopupOnAdd { get; set; } = true;
|
|
public string CurrentServer { get; set; } = string.Empty;
|
|
public bool ShowOnlineNotifications { get; set; } = false;
|
|
public bool ShowOnlineNotificationsOnlyForIndividualPairs { get; set; } = true;
|
|
} |