Class LuaStringHelper
java.lang.Object
games.stendhal.server.core.scripting.lua.LuaStringHelper
Adds some useful string function members to Lua "string" object.
-
Method Summary
Modifier and TypeMethodDescriptionstatic LuaStringHelper
get()
Retrieves the static instance.void
init(org.luaj.vm2.LuaTable stringTable)
Adds custom functions to the Lua "string" object.
-
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" object.- Parameters:
stringTable
- Lua "string" object.
-