Class LuaStringHelper
java.lang.Object
games.stendhal.server.core.scripting.lua.LuaStringHelper
Adds some useful function members to Lua "string" table.
-
Method Summary
Modifier and TypeMethodDescriptionstatic LuaStringHelperget()Retrieves the static instance.voidinit(org.luaj.vm2.LuaTable stringTable) Adds custom functions to the Lua "string" table.
-
Method Details
-
get
Retrieves the static instance.- Returns:
- Static LuaStringHelper instance.
-
init
public void init(org.luaj.vm2.LuaTable stringTable) Adds custom functions to the Lua "string" table.- Parameters:
stringTable- Lua "string" table.
-