Interface ICallGateProvider<T1, TRet>
This class facilitates inter-plugin communication.
Assembly: Dalamud.dll
View Source
Declaration
public interface ICallGateProvider<T1, TRet>
Methods
RegisterAction(Action<T1>)
Registers an Action for inter-plugin communication.
View Source
Declaration
void RegisterAction(Action<T1> action)
Parameters
Type | Name | Description |
---|---|---|
System.Action<<T1>> | action | Action to register. |
RegisterFunc(Func<T1, TRet>)
Registers a Func for inter-plugin communication.
View Source
Declaration
void RegisterFunc(Func<T1, TRet> func)
Parameters
Type | Name | Description |
---|---|---|
System.Func<<T1>,<TRet>> | func | Func to register. |
UnregisterAction()
Removes a registered Action from inter-plugin communication.
View Source
Declaration
void UnregisterAction()
UnregisterFunc()
Removes a registered Func from inter-plugin communication.
View Source
Declaration
void UnregisterFunc()
SendMessage(T1)
Invoke all actions that have subscribed to this IPC.
View Source
Declaration
void SendMessage(T1 arg1)
Parameters
Type | Name |
---|---|
<T1> | arg1 |