public void LuaReleaseTable(LuaTable table) { if (lua != null && Initialized) { lua.CollectRef(table.GetReference(), table.name); } }
public Bean(Table table) { luaTable = (LuaTable)LuaGame.it.StrToLuaTable("{}"); this.reference = luaTable.GetReference(); this.luaState = luaTable.GetLuaState(); this.table = table; luaTable ["_tableName"] = table.name; _data = new object[table.cols]; }