Interface ICallGateSubscriber<T1, TRet>
This class facilitates inter-plugin communication.
Assembly: Dalamud.dll​
Declaration
public interface ICallGateSubscriber<T1, TRet> : ICallGateSubscriber
Methods​
Subscribe(Action<T1>)​
Registers a System.Delegate (of type System.Action1) that will be called when the providing plugin calls Dalamud.Plugin.Ipc.ICallGateProvider1.SendMessage. This method can be used to receive notifications
of events or data updates from a specific plugin.
Declaration
void Subscribe(Action<T1> action)
Parameters​
| Type | Name | Description |
|---|---|---|
System.Action<<T1>> | action | Action to subscribe. |
See Also​
Dalamud.Plugin.Ipc.Internal.CallGatePubSubBase.Unsubscribe(System.Delegate)
Unsubscribe(Action<T1>)​
Removes a subscription created through Dalamud.Plugin.Ipc.Internal.CallGatePubSubBase.Subscribe(System.Delegate). Note that the System.Delegate to be
unsubscribed must be the same instance as the one passed in.
Declaration
void Unsubscribe(Action<T1> action)