65 lines
1.5 KiB
C#
65 lines
1.5 KiB
C#
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改**/
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace NBF
|
|
{
|
|
[Serializable]
|
|
public partial class ReelConfig
|
|
{
|
|
private static ConfigContext<ReelConfig> _context;
|
|
|
|
private static ConfigContext<ReelConfig> Context => _context ??= Configs.Table<ReelConfig>();
|
|
|
|
public static ReelConfig Get(int key)
|
|
{
|
|
return Context.Get(key);
|
|
}
|
|
|
|
public static ReelConfig Get(Predicate<ReelConfig> match)
|
|
{
|
|
return Context.Get(match);
|
|
}
|
|
|
|
public static ReelConfig Fist()
|
|
{
|
|
return Context.Fist();
|
|
}
|
|
|
|
public static ReelConfig Last()
|
|
{
|
|
return Context.Last();
|
|
}
|
|
|
|
public static ReelConfig Fist(Predicate<ReelConfig> match)
|
|
{
|
|
return Context.Fist(match);
|
|
}
|
|
|
|
public static ReelConfig Last(Predicate<ReelConfig> match)
|
|
{
|
|
return Context.Last(match);
|
|
}
|
|
|
|
public static int Count()
|
|
{
|
|
return Context.Count();
|
|
}
|
|
|
|
public static int Count(Func<ReelConfig, bool> predicate)
|
|
{
|
|
return Context.Count(predicate);
|
|
}
|
|
|
|
|
|
public static List<ReelConfig> GetList()
|
|
{
|
|
return Context.GetList();
|
|
}
|
|
|
|
public static List<ReelConfig> GetList(Predicate<ReelConfig> match)
|
|
{
|
|
return Context.GetList(match);
|
|
}
|
|
}
|
|
} |