public LuaValue[] GetLuaValues(string key) { var table = this as LuaTable; if (table == null) throw new Exception("value is not table"); return table.Values.Select(kvp => kvp.Value).ToArray(); }