mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-01 05:13:40 +01:00
15 lines
435 B
C#
15 lines
435 B
C#
namespace Dalamud.Plugin.Ipc;
|
|
|
|
/// <summary>
|
|
/// The context associated for an IPC call. Reads from ThreadLocal.
|
|
/// </summary>
|
|
public class IpcContext
|
|
{
|
|
/// <summary>
|
|
/// Gets the plugin that initiated this IPC call.
|
|
/// </summary>
|
|
public IExposedPlugin? SourcePlugin { get; init; }
|
|
|
|
/// <inheritdoc/>
|
|
public override string ToString() => $"<IpcContext SourcePlugin={this.SourcePlugin?.Name ?? "null"}>";
|
|
}
|