Skip to content

Create Plugin Base Class

Note

You should first design the plugin metadata, then set up the plugin base class.

PluginBase.cs
csharp
// Example code
using ShadowPluginLoader.WinUI;

namespace ShadowExample.Core.Plugins;

public abstract class PluginBase: AbstractPlugin
{
    public abstract string GetEmoji();
}
  • Plugin base class must inherit from AbstractPlugin
  • (Optional) AbstractPlugin has some default functions set up, you can add or modify based on this