StendhalScripting/LuaAPI: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
imported>AntumDeluge
Line 309: Line 309:


Methods:
Methods:
; ''<span style="color:green;">arrays.toTable</span>(list)''
; ''<span style="color:green;">arrays:toTable</span>(list)''
: Converts a Java array or list to a Lua table.
: Converts a Java array or list to a Lua table.
: '''''list:''''' Java array or [https://docs.oracle.com/javase/8/docs/api/java/util/List.html list].
: '''''list:''''' Java array or [https://docs.oracle.com/javase/8/docs/api/java/util/List.html list].