mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 20:06:33 +00:00
Project - Cleaned up all project files
Project - Ensured every project only has x64 build configs Project - Removed WPF from projects where not needed
This commit is contained in:
1 parent
fc78960d34
commit
afc797762b
27 files changed
+228
-484
No files matched your search
@@ -0,0 +1,35 @@
|
||||
using Artemis.Core.Plugins.Modules;
|
||||
using Artemis.Core.Plugins.Modules.ActivationRequirements;
|
||||
|
||||
namespace Artemis.Plugins.Modules.Overlay
|
||||
{
|
||||
// The core of your module. Hover over the method names to see a description.
|
||||
public class OverlayModule : ProfileModule
|
||||
{
|
||||
// This is the beginning of your plugin life cycle. Use this instead of a constructor.
|
||||
public override void EnablePlugin()
|
||||
{
|
||||
DisplayName = "Overlay";
|
||||
DisplayIcon = "ArrangeBringToFront";
|
||||
DefaultPriorityCategory = ModulePriorityCategory.Overlay;
|
||||
|
||||
ActivationRequirements.Add(new ProcessActivationRequirement("taskmgr"));
|
||||
}
|
||||
|
||||
// This is the end of your plugin life cycle.
|
||||
public override void DisablePlugin()
|
||||
{
|
||||
// Make sure to clean up resources where needed (dispose IDisposables etc.)
|
||||
}
|
||||
|
||||
public override void ModuleActivated(bool isOverride)
|
||||
{
|
||||
// When this gets called your activation requirements have been met and the module will start displaying
|
||||
}
|
||||
|
||||
public override void ModuleDeactivated(bool isOverride)
|
||||
{
|
||||
// When this gets called your activation requirements are no longer met and your module will stop displaying
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user