WinterSync.LuaValue.GetLuaValues C# (CSharp) Method

GetLuaValues() public method

/// extracts the the values (and not the keys) from a LuaValue.Table
public GetLuaValues ( string key ) : WinterSync.LuaValue[]
key string
return WinterSync.LuaValue[]
        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();
        }