mlem / storm

Java modding toolchain for Project Zomboid.
GNU General Public License v3.0
4 stars 0 forks source link

Make it possible to write and expose your own Lua Methods #13

Open mlem opened 2 years ago

mlem commented 2 years ago

Sometimes, if the mod is UI heavy, you need to call back a method in java from lua. There is a need to expose this class at the same time as any other class is exposed. Therefor we need a StormLuaExposer to make it possible for Mods to register their classes which provide @LuaMethod annotated methods.