feat: Dalamud RPC service

A draft for a simple RPC service for Dalamud. Enables use of Dalamud URIs, to be added later.
This commit is contained in:
Kaz Wolfe 2025-11-16 15:55:35 -08:00
parent 62b9c1f2a1
commit 78ed4a2b01
No known key found for this signature in database
GPG key ID: 258813F53A16EBB4
12 changed files with 911 additions and 1 deletions

View file

@ -0,0 +1,20 @@
using Dalamud.Networking.Pipes;
namespace Dalamud.Plugin.Services;
/// <summary>
/// A service to allow plugins to subscribe to dalamud:// URIs targeting them. Plugins will receive any URI sent to the
/// <code>dalamud://plugin/{PLUGIN_INTERNAL_NAME}/...</code> namespace.
/// </summary>
public interface IPluginLinkHandler
{
/// <summary>
/// A delegate containing the received URI.
/// </summary>
delegate void PluginUriReceived(DalamudUri uri);
/// <summary>
/// The event fired when a URI targeting this plugin is received.
/// </summary>
event PluginUriReceived OnUriReceived;
}