public Table(ScriptState luaState, int index) { _luaState = luaState; _index = LuaCore.GetRef(_luaState, index); _readTableWay = ReadTableWay.ByName; Refresh(); }
public Table(ScriptState luaState, string tableName) { _luaState = luaState; _index = LuaCore.GetGlobalRef(_luaState, tableName, ScriptTypes.Table); _readTableWay = ReadTableWay.ByName; Refresh(); }