initial commit
Pulsar .NET 9.0 Windows Release / build (push) Canceled after 0s
Mirror to Codeberg and Gitea / mirror (push) Canceled after 0s

This commit is contained in:
i2p
2026-08-27 10:57:58 -06:00
commit 773d05f8f1
1038 changed files with 109261 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
using System;
namespace Pulsar.Common.Plugins
{
public interface IUniversalPlugin
{
string PluginId { get; }
string Version { get; }
string[] SupportedCommands { get; }
void Initialize(Object initData);
PluginResult ExecuteCommand(string command, Object parameters);
void Cleanup();
bool IsComplete { get; }
}
public class PluginResult
{
public bool Success { get; set; }
public string Message { get; set; }
// I haven't tested this too much but I would try and make sure
// that you only use primitive data types in this or well known data types
// Don't send back classes that can't be deserialized due to them not being in
// Pulsar.Server or Pulsar.Common. Otherwise you will get serialization issues.
public Object Data { get; set; }
public bool ShouldUnload { get; set; }
public string NextCommand { get; set; }
}
}