Interface ICallGateProvider
The backing interface for the provider ("server") half of an IPC channel. This interface is used to expose methods to other plugins via RPC, as well as to allow other plugins to subscribe to notifications from this plugin.
Assembly: Dalamud.dll​
public interface ICallGateProvider
Properties​
SubscriptionCount​
Gets the count of subscribers listening for messages through this call gate. Only exposed to Dalamud.Plugin.Ipc.ICallGateProviders, and can be used to determine if messages should be sent through the gate.
int SubscriptionCount { get; }
Methods​
UnregisterAction()​
Removes the associated Action from this call gate, effectively disabling RPC calls.
void UnregisterAction()
See Also​
Dalamud.Plugin.Ipc.Internal.CallGatePubSubBase.RegisterAction(System.Delegate)
UnregisterFunc()​
Removes the associated Function from this call gate.
void UnregisterFunc()
See Also​
Dalamud.Plugin.Ipc.Internal.CallGatePubSubBase.RegisterFunc(System.Delegate)
GetContext()​
Gets the current context for this IPC call. This will only be present when called from within an IPC action or function handler, and will be null otherwise.
IpcContext? GetContext()
Returns​
Dalamud.Plugin.Ipc.IpcContext: Returns a potential IPC context.