Rename Plugin & API namespaces and implement saving/loading of setting

This commit is contained in:
Stone_Red
2023-11-21 19:54:29 +01:00
parent 1f9e123893
commit e8de6fe9a5
35 changed files with 247 additions and 138 deletions
+11 -1
View File
@@ -1,4 +1,4 @@
namespace DesktopMagicPluginAPI.Settings;
namespace DesktopMagic.Api.Settings;
/// <summary>
/// Represents a text box control.
@@ -31,4 +31,14 @@ public class TextBox : Setting
{
Value = value;
}
internal override string GetJsonValue()
{
return Value;
}
internal override void SetJsonValue(string value)
{
Value = value;
}
}