Remove obsolete class/prop

This commit is contained in:
Raymond 2021-08-31 20:48:28 -04:00
parent 9697f0b7a0
commit 67bd5a5076
2 changed files with 0 additions and 44 deletions

View file

@ -124,11 +124,6 @@ namespace Dalamud.Plugin.Internal
/// </summary>
public bool SafeMode { get; init; }
/// <summary>
/// Gets a list of all IPC subscriptions.
/// </summary>
public List<IpcSubscription> IpcSubscriptions { get; } = new();
/// <summary>
/// Gets the <see cref="PluginConfigurations"/> object used when initializing plugins.
/// </summary>

View file

@ -1,39 +0,0 @@
using System;
using System.Dynamic;
namespace Dalamud.Plugin.Internal.Types
{
/// <summary>
/// This class represents an IPC subscription between two plugins.
/// </summary>
internal record IpcSubscription
{
/// <summary>
/// Initializes a new instance of the <see cref="IpcSubscription"/> class.
/// </summary>
/// <param name="sourcePluginName">The source plugin name.</param>
/// <param name="subPluginName">The name of the plugin being subscribed to.</param>
/// <param name="subAction">The subscription action.</param>
public IpcSubscription(string sourcePluginName, string subPluginName, Action<ExpandoObject> subAction)
{
this.SourcePluginName = sourcePluginName;
this.SubPluginName = subPluginName;
this.SubAction = subAction;
}
/// <summary>
/// Gets the name of the plugin requesting the subscription.
/// </summary>
public string SourcePluginName { get; }
/// <summary>
/// Gets the name of the plugin being subscribed to.
/// </summary>
public string SubPluginName { get; }
/// <summary>
/// Gets the subscription action.
/// </summary>
public Action<ExpandoObject> SubAction { get; }
}
}