Mention remote interfaces forbid function args
Posted: Thu Nov 14, 2024 11:26 pm
On the LuaRemote class it does not mention that defining an interface that takes a function argument is forbidden. This is implied, but not expressly clear.
Please mention that functions are forbidden. I wasted a bit of time creating an interface that took functions... :: Any
Arguments to pass to the called function. Note that any arguments passed through the interface are a copy of the original, not a reference. Metatables are not retained, while references to LuaObjects stay intact.