Lua file operation. The object passed by Java calls the object containing the string parameter. #23
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
:org.luaj.vm2.LuaError: chunkname:40 bad argument: userdata expected, got string
我应该怎么把 lua 字符串传递给msgitem对象。 我能使用item.getMessage()够获取java对象字符串,但是我无法设置lua字符串给java对象。 如果实现自动databind呢?
1.I pass the Lua string to the msgitem java object get errors,
2.I can use item. getMessage () to get the Java object string, but I can't set the Lua string to the Java object. What if automatic databind is implemented?
errordetails
Lua code
Java Code
item Obj Class
. modify to :