UI - Made it so modules are sorted by priority in the sidebar

This commit is contained in:
Diogo Trindade committed 2020-11-29 15:03:00 +00:00
1 parent a5e2dc81a4
commit 45b82039e2
3 files changed
+49 -22

No files matched your search

@@ -1,4 +1,5 @@
using System.Threading.Tasks;
using System;
using System.Threading.Tasks;
using Artemis.Core.Modules;
namespace Artemis.Core.Services
@@ -8,6 +9,11 @@ namespace Artemis.Core.Services
/// </summary>
public interface IModuleService : IArtemisService
{
/// <summary>
/// Occurs when the priorty of a module is updated.
/// </summary>
event EventHandler ModulePriorityUpdated;
/// <summary>
/// Gets the current active module override. If set, all other modules are deactivated and only the
/// <see cref="ActiveModuleOverride" /> is active.