wManager.Wow.Helpers Namespace
WRobot

Lua Members

The Lua type exposes the following members.

Methods


  Name Description
Public method Static member GetLocalizedText
Get value of specified lua variable
Public method Static member LuaDoString(array<String>[]()[][], String)
Execute lua code and get result.
Public method Static member LuaDoString(List<(Of <<'(String>)>>), String)
Execute lua code and get result.
Public method Static member LuaDoString(String, Type, String)
Execute lua code and get result (you can found example in [LuaDoString{T}(string,string)]).
Public method Static member LuaDoString(String, String)
Execute lua code and get result (you can found example in [LuaDoString{T}(string,string)]).
Public method Static member LuaDoString(List<(Of <<'(String>)>>), Boolean)
Execute lua code.
Public method Static member LuaDoString(String, Boolean)
Execute lua code.
Public method Static member LuaDoString(String, Boolean, Boolean)
Execute lua code.
Public method Static member LuaDoString<(Of <<'(T>)>>)(array<String>[]()[][], String)
Execute lua code and get result (you can found example in [LuaDoString{T}(string,string)]).
Public method Static member LuaDoString<(Of <<'(T>)>>)(List<(Of <<'(String>)>>), String)
Execute lua code and get result (you can found example in [LuaDoString{T}(string,string)]).
Public method Static member LuaDoString<(Of <<'(T>)>>)(String, String)
Execute lua code and get result.
Public method Static member RunMacroText
Run lua macro (with https://wowwiki.fandom.com/wiki/API_RunMacroText).
Public method Static member RunMacroTextHW
Create lua macro in game and run it (by pressing a keyboard key).

Fields


  Name Description
Public field Static member DebugstackFilterMode
Filter "debugstack" (https://wowwiki.fandom.com/wiki/API_debugstack) result (try to remove bot trace).
Public field Static member ListSeparator
The list separator, use when you want return an array separate the entries with this string (you can found example in [LuaDoString{T}(string,string)]).
Public field Static member SecureLuaCall
Secure called lua code (a lot of private servers add traps in lua to detect bots).
Public field Static member Wow
Allows to use/mix Lua with C# (or LuaBot).

Examples


C#
string playerName = Lua.Wow.GetUnitName("player"); // call https://wowwiki.fandom.com/wiki/API_GetUnitName
Lua.Wow.print(playerName); // call https://wowwiki.fandom.com/wiki/API_print

Properties


  Name Description
Public property Static member LuaFile
Get or set the lua file.