mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Device dialog - Added LEDs tab
General - Resolved lots of compile warnings (XML comments)
This commit is contained in:
1 parent
021f17aef4
commit
65837e671a
44 files changed
+1015
-761
No files matched your search
@@ -87,7 +87,7 @@ namespace Artemis.Core.Services
|
||||
nodeScript.Save();
|
||||
return JsonConvert.SerializeObject(nodeScript.Entity, IProfileService.ExportSettings);
|
||||
}
|
||||
|
||||
|
||||
public void ImportScript(string json, NodeScript target)
|
||||
{
|
||||
NodeScriptEntity? entity = JsonConvert.DeserializeObject<NodeScriptEntity>(json);
|
||||
@@ -153,7 +153,18 @@ namespace Artemis.Core.Services
|
||||
/// <param name="color">The color to display</param>
|
||||
TypeColorRegistration RegisterTypeColor(Plugin plugin, Type type, SKColor color);
|
||||
|
||||
/// <summary>
|
||||
/// Exports the provided node script to JSON.
|
||||
/// </summary>
|
||||
/// <param name="nodeScript">The node script to export.</param>
|
||||
/// <returns>The resulting JSON.</returns>
|
||||
string ExportScript(NodeScript nodeScript);
|
||||
|
||||
/// <summary>
|
||||
/// Imports the provided JSON onto the provided node script, overwriting any existing contents.
|
||||
/// </summary>
|
||||
/// <param name="json">The JSON to import.</param>
|
||||
/// <param name="target">The target node script whose contents to overwrite.</param>
|
||||
void ImportScript(string json, NodeScript target);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user