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
When a C#-Method is called with a table as a parameter, a instance of LuaTable is passed not a instance of DynamicLuaTable.
Currently there is no idea how to change this, the only solution would be a wrapper Method, wrapping the in the correct classes.
This would be a workarround, but it requires a reference to the orignal LuaInterface Assembly:
Just to makes this more clear: In the code given above the table in func3 is of the type dynamic with the underlying type LuaTable (instead of DynamicLuaTable). This means, you can't use table.num (but table["num"] works.)
Rewrapping the table as shown above is a workaround. Or just use the array syntax...
When a C#-Method is called with a table as a parameter, a instance of LuaTable is passed not a instance of DynamicLuaTable.
Currently there is no idea how to change this, the only solution would be a wrapper Method, wrapping the in the correct classes.
This would be a workarround, but it requires a reference to the orignal LuaInterface Assembly:
The text was updated successfully, but these errors were encountered: