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