If I declare in the java code as static method
public static int getMessageIdByName(String name) {
return messageIdMap.get(name);
}
and try to call it in lua
Core:getManager():getMessageIdByName("DRAW")
I get an error:
null:17: com.naef.jnlua.LuaRuntimeException: no method of class
org.gram.engine.manager.Manager matches 'getMessageIdByName(string)'
but if it works to remove static
What version of the product are you using? On what operating system?
version - JNLua 1.04
OS - Windows 7
Original issue reported on code.google.com by ruslan.n...@gmail.com on 26 Mar 2014 at 8:29
Original issue reported on code.google.com by
ruslan.n...@gmail.com
on 26 Mar 2014 at 8:29