BizHawk/BizHawk.Client.Common/lua/LuaFunctionList.cs

17 lines
311 B
C#
Raw Normal View History

2013-10-28 20:57:25 +00:00
using System.Collections.Generic;
using System.Linq;
namespace BizHawk.Client.Common
{
public class LuaFunctionList : List<NamedLuaFunction>
{
public NamedLuaFunction this[string guid]
{
get
{
return this.FirstOrDefault(x => x.GUID.ToString() == guid) ?? null;
}
}
}
}