25 lines
424 B
C#
25 lines
424 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace PluginSDK.Interfaces;
|
|
|
|
[ComVisible(false)]
|
|
public interface ICustomPlugin
|
|
{
|
|
string PluginName { get; }
|
|
|
|
string PluginVersion { get; }
|
|
|
|
string PluginAuthor { get; }
|
|
|
|
string PluginDescription { get; }
|
|
|
|
bool OnOpen(string title);
|
|
|
|
void OnConnected(Action<IPacket> send, Action disconnect);
|
|
|
|
void OnPacketReceived(IPacket packet);
|
|
|
|
void OnDisconnected();
|
|
}
|