You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current version the application is extrapolating which classes are exposed by reading methods declared in LuaManager#GlobalObject or more precisely their parameters and return values.
While it is true that class references used in exposed global methods are going to be exposed themselves, just collecting these references does not encompass all exposed classes. The only way to do that is to obtain it programmatically from code.
All exposed classes are stored as Class<?> objects in HashSet exposed variable in a private inner class LuaManager#Exposer. We need to add Zomboid classes and libraries to application classpath and employ reflection to read these objects.
The text was updated successfully, but these errors were encountered:
In the current version the application is extrapolating which classes are exposed by reading methods declared in
LuaManager#GlobalObject
or more precisely their parameters and return values.While it is true that class references used in exposed global methods are going to be exposed themselves, just collecting these references does not encompass all exposed classes. The only way to do that is to obtain it programmatically from code.
All exposed classes are stored as
Class<?>
objects inHashSet exposed
variable in a private inner classLuaManager#Exposer
. We need to add Zomboid classes and libraries to application classpath and employ reflection to read these objects.The text was updated successfully, but these errors were encountered: