1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00
Artemis/src/Artemis.VisualScripting/Nodes/Input/HotkeyEnableDisableNodeEntity.cs

18 lines
552 B
C#

using Artemis.Core;
using Artemis.Storage.Entities.Profile;
namespace Artemis.VisualScripting.Nodes.Input;
public class HotkeyEnableDisableNodeEntity
{
public HotkeyEnableDisableNodeEntity(Hotkey? enableHotkey, Hotkey? disableHotkey)
{
enableHotkey?.Save();
EnableHotkey = enableHotkey?.Entity;
disableHotkey?.Save();
DisableHotkey = disableHotkey?.Entity;
}
public ProfileConfigurationHotkeyEntity? EnableHotkey { get; set; }
public ProfileConfigurationHotkeyEntity? DisableHotkey { get; set; }
}