Files
Fishing2/Assets/Scripts/Configs/Gen/Warps/FishConfigWarp.cs

65 lines
1.5 KiB
C#

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