Execute lua code and get result (you can found example in [LuaDoString{T}(string,string)]).
Namespace:
wManager.Wow.Helpers
Assembly:
wManager (in wManager.dll)
public static T LuaDoString<T>(
string[] command,
string returnVariableName
)
Public Shared Function LuaDoString(Of T) ( _
command As String(), _
returnVariableName As String _
) As T
public:
generic<typename T>
static T LuaDoString(
array<String^>^ command,
String^ returnVariableName
)
Type Parameters
- T
Parameters
- command
- Type: array<String>[]()[][]
The lua code.
- returnVariableName
- Type: String
Name of variable where is save the result (if empty, return result).
Return Value
result
Return Value
T.