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

65 lines
1.6 KiB
C#

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