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