Skip to main content
Version: 14.x (API 14) [Legacy]

Interface INameDataShareAdapter

An interface to provide live IPC adapters that can invoke methods directly using names without the runtime overhead of IPC queries.

Assembly: Dalamud.dll
Declaration
public interface INameDataShareAdapter : IDisposable

Methods

Invoke(string)

Try to invoke an action by its name using generic arguments.

Declaration
void Invoke(string methodName)
Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.

Invoke<T1>(string, T1)

Try to invoke an action by its name using generic arguments.

Declaration
void Invoke<T1>(string methodName, T1 argument1) where T1 : allows ref struct
Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.
<T1>argument1The first argument.
Type Parameters
NameDescription
T1The first parameter type. This needs to be a type known to Dalamud again.

Invoke<T1, T2>(string, T1, T2)

Try to invoke an action by its name using generic arguments.

Declaration
void Invoke<T1, T2>(string methodName, T1 argument1, T2 argument2) where T1 : allows ref struct where T2 : allows ref struct
Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.
<T1>argument1The first argument.
<T2>argument2The second argument.
Type Parameters
NameDescription
T1The first parameter type. This needs to be a type known to Dalamud again.
T2The second parameter type. This needs to be a type known to Dalamud again.

Invoke<T1, T2, T3>(string, T1, T2, T3)

Try to invoke an action by its name using generic arguments.

Declaration
void Invoke<T1, T2, T3>(string methodName, T1 argument1, T2 argument2, T3 argument3) where T1 : allows ref struct where T2 : allows ref struct where T3 : allows ref struct
Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.
<T1>argument1The first argument.
<T2>argument2The second argument.
<T3>argument3The third argument.
Type Parameters
NameDescription
T1The first parameter type. This needs to be a type known to Dalamud again.
T2The second parameter type. This needs to be a type known to Dalamud again.
T3The third parameter type. This needs to be a type known to Dalamud again.

Invoke<T1, T2, T3, T4>(string, T1, T2, T3, T4)

Try to invoke an action by its name using generic arguments.

Declaration
void Invoke<T1, T2, T3, T4>(string methodName, T1 argument1, T2 argument2, T3 argument3, T4 argument4) where T1 : allows ref struct where T2 : allows ref struct where T3 : allows ref struct where T4 : allows ref struct
Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.
<T1>argument1The first argument.
<T2>argument2The second argument.
<T3>argument3The third argument.
<T4>argument4The fourth argument.
Type Parameters
NameDescription
T1The first parameter type. This needs to be a type known to Dalamud again.
T2The second parameter type. This needs to be a type known to Dalamud again.
T3The third parameter type. This needs to be a type known to Dalamud again.
T4The fourth parameter type. This needs to be a type known to Dalamud again.

Invoke<T1, T2, T3, T4, T5>(string, T1, T2, T3, T4, T5)

Try to invoke an action by its name using generic arguments.

Declaration
void Invoke<T1, T2, T3, T4, T5>(string methodName, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5) where T1 : allows ref struct where T2 : allows ref struct where T3 : allows ref struct where T4 : allows ref struct where T5 : allows ref struct
Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.
<T1>argument1The first argument.
<T2>argument2The second argument.
<T3>argument3The third argument.
<T4>argument4The fourth argument.
<T5>argument5The fifth argument.
Type Parameters
NameDescription
T1The first parameter type. This needs to be a type known to Dalamud again.
T2The second parameter type. This needs to be a type known to Dalamud again.
T3The third parameter type. This needs to be a type known to Dalamud again.
T4The fourth parameter type. This needs to be a type known to Dalamud again.
T5The fifth parameter type. This needs to be a type known to Dalamud again.

Invoke<T1, T2, T3, T4, T5, T6>(string, T1, T2, T3, T4, T5, T6)

Try to invoke an action by its name using generic arguments.

Declaration
void Invoke<T1, T2, T3, T4, T5, T6>(string methodName, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6) where T1 : allows ref struct where T2 : allows ref struct where T3 : allows ref struct where T4 : allows ref struct where T5 : allows ref struct where T6 : allows ref struct
Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.
<T1>argument1The first argument.
<T2>argument2The second argument.
<T3>argument3The third argument.
<T4>argument4The fourth argument.
<T5>argument5The fifth argument.
<T6>argument6The sixth argument.
Type Parameters
NameDescription
T1The first parameter type. This needs to be a type known to Dalamud again.
T2The second parameter type. This needs to be a type known to Dalamud again.
T3The third parameter type. This needs to be a type known to Dalamud again.
T4The fourth parameter type. This needs to be a type known to Dalamud again.
T5The fifth parameter type. This needs to be a type known to Dalamud again.
T6The sixth parameter type. This needs to be a type known to Dalamud again.

Invoke<T1, T2, T3, T4, T5, T6, T7>(string, T1, T2, T3, T4, T5, T6, T7)

Try to invoke an action by its name using generic arguments.

Declaration
void Invoke<T1, T2, T3, T4, T5, T6, T7>(string methodName, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, T7 argument7) where T1 : allows ref struct where T2 : allows ref struct where T3 : allows ref struct where T4 : allows ref struct where T5 : allows ref struct where T6 : allows ref struct where T7 : allows ref struct
Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.
<T1>argument1The first argument.
<T2>argument2The second argument.
<T3>argument3The third argument.
<T4>argument4The fourth argument.
<T5>argument5The fifth argument.
<T6>argument6The sixth argument.
<T7>argument7The seventh argument.
Type Parameters
NameDescription
T1The first parameter type. This needs to be a type known to Dalamud again.
T2The second parameter type. This needs to be a type known to Dalamud again.
T3The third parameter type. This needs to be a type known to Dalamud again.
T4The fourth parameter type. This needs to be a type known to Dalamud again.
T5The fifth parameter type. This needs to be a type known to Dalamud again.
T6The sixth parameter type. This needs to be a type known to Dalamud again.
T7The seventh parameter type. This needs to be a type known to Dalamud again.

Invoke<T1, T2, T3, T4, T5, T6, T7, T8>(string, T1, T2, T3, T4, T5, T6, T7, T8)

Try to invoke an action by its name using generic arguments.

Declaration
void Invoke<T1, T2, T3, T4, T5, T6, T7, T8>(string methodName, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, T7 argument7, T8 argument8) where T1 : allows ref struct where T2 : allows ref struct where T3 : allows ref struct where T4 : allows ref struct where T5 : allows ref struct where T6 : allows ref struct where T7 : allows ref struct where T8 : allows ref struct
Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.
<T1>argument1The first argument.
<T2>argument2The second argument.
<T3>argument3The third argument.
<T4>argument4The fourth argument.
<T5>argument5The fifth argument.
<T6>argument6The sixth argument.
<T7>argument7The seventh argument.
<T8>argument8The eighth argument.
Type Parameters
NameDescription
T1The first parameter type. This needs to be a type known to Dalamud again.
T2The second parameter type. This needs to be a type known to Dalamud again.
T3The third parameter type. This needs to be a type known to Dalamud again.
T4The fourth parameter type. This needs to be a type known to Dalamud again.
T5The fifth parameter type. This needs to be a type known to Dalamud again.
T6The sixth parameter type. This needs to be a type known to Dalamud again.
T7The seventh parameter type. This needs to be a type known to Dalamud again.
T8The eight parameter type. This needs to be a type known to Dalamud again.

Invoke<T1, T2, T3, T4, T5, T6, T7, T8, T9>(string, T1, T2, T3, T4, T5, T6, T7, T8, T9)

Try to invoke an action by its name using generic arguments.

Declaration
void Invoke<T1, T2, T3, T4, T5, T6, T7, T8, T9>(string methodName, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, T7 argument7, T8 argument8, T9 argument9) where T1 : allows ref struct where T2 : allows ref struct where T3 : allows ref struct where T4 : allows ref struct where T5 : allows ref struct where T6 : allows ref struct where T7 : allows ref struct where T8 : allows ref struct where T9 : allows ref struct
Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.
<T1>argument1The first argument.
<T2>argument2The second argument.
<T3>argument3The third argument.
<T4>argument4The fourth argument.
<T5>argument5The fifth argument.
<T6>argument6The sixth argument.
<T7>argument7The seventh argument.
<T8>argument8The eighth argument.
<T9>argument9The ninth argument.
Type Parameters
NameDescription
T1The first parameter type. This needs to be a type known to Dalamud again.
T2The second parameter type. This needs to be a type known to Dalamud again.
T3The third parameter type. This needs to be a type known to Dalamud again.
T4The fourth parameter type. This needs to be a type known to Dalamud again.
T5The fifth parameter type. This needs to be a type known to Dalamud again.
T6The sixth parameter type. This needs to be a type known to Dalamud again.
T7The seventh parameter type. This needs to be a type known to Dalamud again.
T8The eight parameter type. This needs to be a type known to Dalamud again.
T9The ninth parameter type. This needs to be a type known to Dalamud again.

TryInvoke<TRet>(string, out TRet?)

Try to invoke a function by its name using generic arguments.

Declaration
bool TryInvoke<TRet>(string methodName, out TRet? ret) where TRet : allows ref struct
Returns

System.Boolean: True if the invocation was successful, false otherwise.

Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.
<TRet>retThe returned value on success, undefined on failure.
Type Parameters
NameDescription
TRetThe type of the returned value. This needs to be a type known to Dalamud again.

TryInvoke<T1, TRet>(string, T1, out TRet?)

Try to invoke a function by its name using generic arguments.

Declaration
bool TryInvoke<T1, TRet>(string methodName, T1 argument1, out TRet? ret) where T1 : allows ref struct where TRet : allows ref struct
Returns

System.Boolean: True if the invocation was successful, false otherwise.

Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.
<T1>argument1The first argument.
<TRet>retThe returned value on success, undefined on failure.
Type Parameters
NameDescription
T1The first parameter type. This needs to be a type known to Dalamud again.
TRetThe type of the returned value. This needs to be a type known to Dalamud again.

TryInvoke<T1, T2, TRet>(string, T1, T2, out TRet?)

Try to invoke a function by its name using generic arguments.

Declaration
bool TryInvoke<T1, T2, TRet>(string methodName, T1 argument1, T2 argument2, out TRet? ret) where T1 : allows ref struct where T2 : allows ref struct where TRet : allows ref struct
Returns

System.Boolean: True if the invocation was successful, false otherwise.

Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.
<T1>argument1The first argument.
<T2>argument2The second argument.
<TRet>retThe returned value on success, undefined on failure.
Type Parameters
NameDescription
T1The first parameter type. This needs to be a type known to Dalamud again.
T2The second parameter type. This needs to be a type known to Dalamud again.
TRetThe type of the returned value. This needs to be a type known to Dalamud again.

TryInvoke<T1, T2, T3, TRet>(string, T1, T2, T3, out TRet?)

Try to invoke a function by its name using generic arguments.

Declaration
bool TryInvoke<T1, T2, T3, TRet>(string methodName, T1 argument1, T2 argument2, T3 argument3, out TRet? ret) where T1 : allows ref struct where T2 : allows ref struct where T3 : allows ref struct where TRet : allows ref struct
Returns

System.Boolean: True if the invocation was successful, false otherwise.

Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.
<T1>argument1The first argument.
<T2>argument2The second argument.
<T3>argument3The third argument.
<TRet>retThe returned value on success, undefined on failure.
Type Parameters
NameDescription
T1The first parameter type. This needs to be a type known to Dalamud again.
T2The second parameter type. This needs to be a type known to Dalamud again.
T3The third parameter type. This needs to be a type known to Dalamud again.
TRetThe type of the returned value. This needs to be a type known to Dalamud again.

TryInvoke<T1, T2, T3, T4, TRet>(string, T1, T2, T3, T4, out TRet?)

Try to invoke a function by its name using generic arguments.

Declaration
bool TryInvoke<T1, T2, T3, T4, TRet>(string methodName, T1 argument1, T2 argument2, T3 argument3, T4 argument4, out TRet? ret) where T1 : allows ref struct where T2 : allows ref struct where T3 : allows ref struct where T4 : allows ref struct where TRet : allows ref struct
Returns

System.Boolean: True if the invocation was successful, false otherwise.

Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.
<T1>argument1The first argument.
<T2>argument2The second argument.
<T3>argument3The third argument.
<T4>argument4The fourth argument.
<TRet>retThe returned value on success, undefined on failure.
Type Parameters
NameDescription
T1The first parameter type. This needs to be a type known to Dalamud again.
T2The second parameter type. This needs to be a type known to Dalamud again.
T3The third parameter type. This needs to be a type known to Dalamud again.
T4The fourth parameter type. This needs to be a type known to Dalamud again.
TRetThe type of the returned value. This needs to be a type known to Dalamud again.

TryInvoke<T1, T2, T3, T4, T5, TRet>(string, T1, T2, T3, T4, T5, out TRet?)

Try to invoke a function by its name using generic arguments.

Declaration
bool TryInvoke<T1, T2, T3, T4, T5, TRet>(string methodName, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, out TRet? ret) where T1 : allows ref struct where T2 : allows ref struct where T3 : allows ref struct where T4 : allows ref struct where T5 : allows ref struct where TRet : allows ref struct
Returns

System.Boolean: True if the invocation was successful, false otherwise.

Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.
<T1>argument1The first argument.
<T2>argument2The second argument.
<T3>argument3The third argument.
<T4>argument4The fourth argument.
<T5>argument5The fifth argument.
<TRet>retThe returned value on success, undefined on failure.
Type Parameters
NameDescription
T1The first parameter type. This needs to be a type known to Dalamud again.
T2The second parameter type. This needs to be a type known to Dalamud again.
T3The third parameter type. This needs to be a type known to Dalamud again.
T4The fourth parameter type. This needs to be a type known to Dalamud again.
T5The fifth parameter type. This needs to be a type known to Dalamud again.
TRetThe type of the returned value. This needs to be a type known to Dalamud again.

TryInvoke<T1, T2, T3, T4, T5, T6, TRet>(string, T1, T2, T3, T4, T5, T6, out TRet?)

Try to invoke a function by its name using generic arguments.

Declaration
bool TryInvoke<T1, T2, T3, T4, T5, T6, TRet>(string methodName, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, out TRet? ret) where T1 : allows ref struct where T2 : allows ref struct where T3 : allows ref struct where T4 : allows ref struct where T5 : allows ref struct where T6 : allows ref struct where TRet : allows ref struct
Returns

System.Boolean: True if the invocation was successful, false otherwise.

Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.
<T1>argument1The first argument.
<T2>argument2The second argument.
<T3>argument3The third argument.
<T4>argument4The fourth argument.
<T5>argument5The fifth argument.
<T6>argument6The sixth argument.
<TRet>retThe returned value on success, undefined on failure.
Type Parameters
NameDescription
T1The first parameter type. This needs to be a type known to Dalamud again.
T2The second parameter type. This needs to be a type known to Dalamud again.
T3The third parameter type. This needs to be a type known to Dalamud again.
T4The fourth parameter type. This needs to be a type known to Dalamud again.
T5The fifth parameter type. This needs to be a type known to Dalamud again.
T6The sixth parameter type. This needs to be a type known to Dalamud again.
TRetThe type of the returned value. This needs to be a type known to Dalamud again.

TryInvoke<T1, T2, T3, T4, T5, T6, T7, TRet>(string, T1, T2, T3, T4, T5, T6, T7, out TRet?)

Try to invoke a function by its name using generic arguments.

Declaration
bool TryInvoke<T1, T2, T3, T4, T5, T6, T7, TRet>(string methodName, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, T7 argument7, out TRet? ret) where T1 : allows ref struct where T2 : allows ref struct where T3 : allows ref struct where T4 : allows ref struct where T5 : allows ref struct where T6 : allows ref struct where T7 : allows ref struct where TRet : allows ref struct
Returns

System.Boolean: True if the invocation was successful, false otherwise.

Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.
<T1>argument1The first argument.
<T2>argument2The second argument.
<T3>argument3The third argument.
<T4>argument4The fourth argument.
<T5>argument5The fifth argument.
<T6>argument6The sixth argument.
<T7>argument7The seventh argument.
<TRet>retThe returned value on success, undefined on failure.
Type Parameters
NameDescription
T1The first parameter type. This needs to be a type known to Dalamud again.
T2The second parameter type. This needs to be a type known to Dalamud again.
T3The third parameter type. This needs to be a type known to Dalamud again.
T4The fourth parameter type. This needs to be a type known to Dalamud again.
T5The fifth parameter type. This needs to be a type known to Dalamud again.
T6The sixth parameter type. This needs to be a type known to Dalamud again.
T7The seventh parameter type. This needs to be a type known to Dalamud again.
TRetThe type of the returned value. This needs to be a type known to Dalamud again.

TryInvoke<T1, T2, T3, T4, T5, T6, T7, T8, TRet>(string, T1, T2, T3, T4, T5, T6, T7, T8, out TRet?)

Try to invoke a function by its name using generic arguments.

Declaration
bool TryInvoke<T1, T2, T3, T4, T5, T6, T7, T8, TRet>(string methodName, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, T7 argument7, T8 argument8, out TRet? ret) where T1 : allows ref struct where T2 : allows ref struct where T3 : allows ref struct where T4 : allows ref struct where T5 : allows ref struct where T6 : allows ref struct where T7 : allows ref struct where T8 : allows ref struct where TRet : allows ref struct
Returns

System.Boolean: True if the invocation was successful, false otherwise.

Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.
<T1>argument1The first argument.
<T2>argument2The second argument.
<T3>argument3The third argument.
<T4>argument4The fourth argument.
<T5>argument5The fifth argument.
<T6>argument6The sixth argument.
<T7>argument7The seventh argument.
<T8>argument8The eighth argument.
<TRet>retThe returned value on success, undefined on failure.
Type Parameters
NameDescription
T1The first parameter type. This needs to be a type known to Dalamud again.
T2The second parameter type. This needs to be a type known to Dalamud again.
T3The third parameter type. This needs to be a type known to Dalamud again.
T4The fourth parameter type. This needs to be a type known to Dalamud again.
T5The fifth parameter type. This needs to be a type known to Dalamud again.
T6The sixth parameter type. This needs to be a type known to Dalamud again.
T7The seventh parameter type. This needs to be a type known to Dalamud again.
T8The eight parameter type. This needs to be a type known to Dalamud again.
TRetThe type of the returned value. This needs to be a type known to Dalamud again.

TryInvoke<T1, T2, T3, T4, T5, T6, T7, T8, T9, TRet>(string, T1, T2, T3, T4, T5, T6, T7, T8, T9, out TRet?)

Try to invoke a function by its name using generic arguments.

Declaration
bool TryInvoke<T1, T2, T3, T4, T5, T6, T7, T8, T9, TRet>(string methodName, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, T7 argument7, T8 argument8, T9 argument9, out TRet? ret) where T1 : allows ref struct where T2 : allows ref struct where T3 : allows ref struct where T4 : allows ref struct where T5 : allows ref struct where T6 : allows ref struct where T7 : allows ref struct where T8 : allows ref struct where T9 : allows ref struct where TRet : allows ref struct
Returns

System.Boolean: True if the invocation was successful, false otherwise.

Parameters
TypeNameDescription
System.StringmethodNameThe name of the method to invoke.
<T1>argument1The first argument.
<T2>argument2The second argument.
<T3>argument3The third argument.
<T4>argument4The fourth argument.
<T5>argument5The fifth argument.
<T6>argument6The sixth argument.
<T7>argument7The seventh argument.
<T8>argument8The eighth argument.
<T9>argument9The ninth argument.
<TRet>retThe returned value on success, undefined on failure.
Type Parameters
NameDescription
T1The first parameter type. This needs to be a type known to Dalamud again.
T2The second parameter type. This needs to be a type known to Dalamud again.
T3The third parameter type. This needs to be a type known to Dalamud again.
T4The fourth parameter type. This needs to be a type known to Dalamud again.
T5The fifth parameter type. This needs to be a type known to Dalamud again.
T6The sixth parameter type. This needs to be a type known to Dalamud again.
T7The seventh parameter type. This needs to be a type known to Dalamud again.
T8The eight parameter type. This needs to be a type known to Dalamud again.
T9The ninth parameter type. This needs to be a type known to Dalamud again.
TRetThe type of the returned value. This needs to be a type known to Dalamud again.