Skip to main content

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
View Source
Declaration
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.

View Source
Declaration
int SubscriptionCount { get; }

Methods

UnregisterAction()

Removes the associated Action from this call gate, effectively disabling RPC calls.

View Source
Declaration
void UnregisterAction()

UnregisterFunc()

Removes the associated Function from this call gate.

View Source
Declaration
void UnregisterFunc()