using System.Collections.Generic; using MoonSharp.Interpreter; namespace WingsAPI.Scripting.LUA.Extension { public static class DynValueExtension { public static T GetValue(this Table table, string key) => table.Get(key).ToObject(); public static IEnumerable GetValues(this Table table, string key) => table.Get(key).ToObject>(); } }