mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-22 15:57:46 +01:00
Current State.
This commit is contained in:
parent
282189ef6d
commit
5f9cbe9ab1
14 changed files with 381 additions and 213 deletions
|
|
@ -16,6 +16,22 @@ public sealed class TemporaryModSettings : ModSettings
|
|||
Priority = ModPriority.Default,
|
||||
Settings = SettingList.Default(mod),
|
||||
};
|
||||
|
||||
public TemporaryModSettings()
|
||||
{ }
|
||||
|
||||
public TemporaryModSettings(ModSettings? clone, string source, int key = 0)
|
||||
{
|
||||
Source = source;
|
||||
Lock = key;
|
||||
ForceInherit = clone == null;
|
||||
if (clone != null)
|
||||
{
|
||||
Enabled = clone.Enabled;
|
||||
Priority = clone.Priority;
|
||||
Settings = clone.Settings.Clone();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static class ModSettingsExtensions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue