表格相关逻辑修改和组件定义
This commit is contained in:
@@ -5,38 +5,38 @@ using System.Collections.Generic;
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public partial class GameFloats
|
||||
public partial class BaitConfig
|
||||
{
|
||||
private static ConfigContext<GameFloats> _context;
|
||||
private static ConfigContext<BaitConfig> _context;
|
||||
|
||||
private static ConfigContext<GameFloats> Context => _context ??= Configs.Table<GameFloats>();
|
||||
private static ConfigContext<BaitConfig> Context => _context ??= Configs.Table<BaitConfig>();
|
||||
|
||||
public static GameFloats Get(int key)
|
||||
public static BaitConfig Get(int key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static GameFloats Get(Predicate<GameFloats> match)
|
||||
public static BaitConfig Get(Predicate<BaitConfig> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static GameFloats Fist()
|
||||
public static BaitConfig Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static GameFloats Last()
|
||||
public static BaitConfig Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static GameFloats Fist(Predicate<GameFloats> match)
|
||||
public static BaitConfig Fist(Predicate<BaitConfig> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static GameFloats Last(Predicate<GameFloats> match)
|
||||
public static BaitConfig Last(Predicate<BaitConfig> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
@@ -46,18 +46,18 @@ namespace NBF
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<GameFloats, bool> predicate)
|
||||
public static int Count(Func<BaitConfig, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
|
||||
public static List<GameFloats> GetList()
|
||||
public static List<BaitConfig> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<GameFloats> GetList(Predicate<GameFloats> match)
|
||||
public static List<BaitConfig> GetList(Predicate<BaitConfig> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
2
Assets/Scripts/Configs/Gen/Warps/BaitConfigWarp.cs.meta
Normal file
2
Assets/Scripts/Configs/Gen/Warps/BaitConfigWarp.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5c6bdb0bae4da2a4da6aacaf58a1abc0
|
||||
@@ -5,38 +5,38 @@ using System.Collections.Generic;
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public partial class GameFeeders
|
||||
public partial class BobberConfig
|
||||
{
|
||||
private static ConfigContext<GameFeeders> _context;
|
||||
private static ConfigContext<BobberConfig> _context;
|
||||
|
||||
private static ConfigContext<GameFeeders> Context => _context ??= Configs.Table<GameFeeders>();
|
||||
private static ConfigContext<BobberConfig> Context => _context ??= Configs.Table<BobberConfig>();
|
||||
|
||||
public static GameFeeders Get(int key)
|
||||
public static BobberConfig Get(int key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static GameFeeders Get(Predicate<GameFeeders> match)
|
||||
public static BobberConfig Get(Predicate<BobberConfig> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static GameFeeders Fist()
|
||||
public static BobberConfig Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static GameFeeders Last()
|
||||
public static BobberConfig Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static GameFeeders Fist(Predicate<GameFeeders> match)
|
||||
public static BobberConfig Fist(Predicate<BobberConfig> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static GameFeeders Last(Predicate<GameFeeders> match)
|
||||
public static BobberConfig Last(Predicate<BobberConfig> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
@@ -46,18 +46,18 @@ namespace NBF
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<GameFeeders, bool> predicate)
|
||||
public static int Count(Func<BobberConfig, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
|
||||
public static List<GameFeeders> GetList()
|
||||
public static List<BobberConfig> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<GameFeeders> GetList(Predicate<GameFeeders> match)
|
||||
public static List<BobberConfig> GetList(Predicate<BobberConfig> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 99b64c24f2bad454086ac41dd6aa7ffc
|
||||
65
Assets/Scripts/Configs/Gen/Warps/FeederConfigWarp.cs
Normal file
65
Assets/Scripts/Configs/Gen/Warps/FeederConfigWarp.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改**/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public partial class FeederConfig
|
||||
{
|
||||
private static ConfigContext<FeederConfig> _context;
|
||||
|
||||
private static ConfigContext<FeederConfig> Context => _context ??= Configs.Table<FeederConfig>();
|
||||
|
||||
public static FeederConfig Get(int key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static FeederConfig Get(Predicate<FeederConfig> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static FeederConfig Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static FeederConfig Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static FeederConfig Fist(Predicate<FeederConfig> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static FeederConfig Last(Predicate<FeederConfig> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
|
||||
public static int Count()
|
||||
{
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<FeederConfig, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
|
||||
public static List<FeederConfig> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<FeederConfig> GetList(Predicate<FeederConfig> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dc082eda2a5880148843ce9c21ed4eed
|
||||
@@ -5,38 +5,38 @@ using System.Collections.Generic;
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public partial class GameLines
|
||||
public partial class FishAcceptConfig
|
||||
{
|
||||
private static ConfigContext<GameLines> _context;
|
||||
private static ConfigContext<FishAcceptConfig> _context;
|
||||
|
||||
private static ConfigContext<GameLines> Context => _context ??= Configs.Table<GameLines>();
|
||||
private static ConfigContext<FishAcceptConfig> Context => _context ??= Configs.Table<FishAcceptConfig>();
|
||||
|
||||
public static GameLines Get(int key)
|
||||
public static FishAcceptConfig Get(int key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static GameLines Get(Predicate<GameLines> match)
|
||||
public static FishAcceptConfig Get(Predicate<FishAcceptConfig> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static GameLines Fist()
|
||||
public static FishAcceptConfig Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static GameLines Last()
|
||||
public static FishAcceptConfig Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static GameLines Fist(Predicate<GameLines> match)
|
||||
public static FishAcceptConfig Fist(Predicate<FishAcceptConfig> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static GameLines Last(Predicate<GameLines> match)
|
||||
public static FishAcceptConfig Last(Predicate<FishAcceptConfig> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
@@ -46,18 +46,18 @@ namespace NBF
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<GameLines, bool> predicate)
|
||||
public static int Count(Func<FishAcceptConfig, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
|
||||
public static List<GameLines> GetList()
|
||||
public static List<FishAcceptConfig> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<GameLines> GetList(Predicate<GameLines> match)
|
||||
public static List<FishAcceptConfig> GetList(Predicate<FishAcceptConfig> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 23d45122e487d8f439bf063a4df7a4b7
|
||||
@@ -5,38 +5,38 @@ using System.Collections.Generic;
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public partial class GameHooks
|
||||
public partial class FishConfig
|
||||
{
|
||||
private static ConfigContext<GameHooks> _context;
|
||||
private static ConfigContext<FishConfig> _context;
|
||||
|
||||
private static ConfigContext<GameHooks> Context => _context ??= Configs.Table<GameHooks>();
|
||||
private static ConfigContext<FishConfig> Context => _context ??= Configs.Table<FishConfig>();
|
||||
|
||||
public static GameHooks Get(int key)
|
||||
public static FishConfig Get(int key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static GameHooks Get(Predicate<GameHooks> match)
|
||||
public static FishConfig Get(Predicate<FishConfig> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static GameHooks Fist()
|
||||
public static FishConfig Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static GameHooks Last()
|
||||
public static FishConfig Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static GameHooks Fist(Predicate<GameHooks> match)
|
||||
public static FishConfig Fist(Predicate<FishConfig> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static GameHooks Last(Predicate<GameHooks> match)
|
||||
public static FishConfig Last(Predicate<FishConfig> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
@@ -46,18 +46,18 @@ namespace NBF
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<GameHooks, bool> predicate)
|
||||
public static int Count(Func<FishConfig, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
|
||||
public static List<GameHooks> GetList()
|
||||
public static List<FishConfig> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<GameHooks> GetList(Predicate<GameHooks> match)
|
||||
public static List<FishConfig> GetList(Predicate<FishConfig> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
2
Assets/Scripts/Configs/Gen/Warps/FishConfigWarp.cs.meta
Normal file
2
Assets/Scripts/Configs/Gen/Warps/FishConfigWarp.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d60d97e94b1432c4e985a5469fd01409
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4fd681fc90fb5f2409c0fc68207c77d4
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 77a5cad97b10e4447afb56f513908506
|
||||
@@ -1,65 +0,0 @@
|
||||
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改**/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public partial class GameFishAccepts
|
||||
{
|
||||
private static ConfigContext<GameFishAccepts> _context;
|
||||
|
||||
private static ConfigContext<GameFishAccepts> Context => _context ??= Configs.Table<GameFishAccepts>();
|
||||
|
||||
public static GameFishAccepts Get(int key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static GameFishAccepts Get(Predicate<GameFishAccepts> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static GameFishAccepts Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static GameFishAccepts Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static GameFishAccepts Fist(Predicate<GameFishAccepts> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static GameFishAccepts Last(Predicate<GameFishAccepts> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
|
||||
public static int Count()
|
||||
{
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<GameFishAccepts, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
|
||||
public static List<GameFishAccepts> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<GameFishAccepts> GetList(Predicate<GameFishAccepts> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 57149d0eff60b15489ba1edc669fca38
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ed51b5aea87f3364e8aa7eaca4e89348
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cb2e64d338bf02543aad65973e43b011
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0defd614f8bdb5043868fb08e64c94c6
|
||||
@@ -1,65 +0,0 @@
|
||||
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改**/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public partial class GameLeaders
|
||||
{
|
||||
private static ConfigContext<GameLeaders> _context;
|
||||
|
||||
private static ConfigContext<GameLeaders> Context => _context ??= Configs.Table<GameLeaders>();
|
||||
|
||||
public static GameLeaders Get(int key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static GameLeaders Get(Predicate<GameLeaders> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static GameLeaders Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static GameLeaders Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static GameLeaders Fist(Predicate<GameLeaders> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static GameLeaders Last(Predicate<GameLeaders> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
|
||||
public static int Count()
|
||||
{
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<GameLeaders, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
|
||||
public static List<GameLeaders> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<GameLeaders> GetList(Predicate<GameLeaders> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: de88b2f351313f74c8889a63265bc4ec
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 386a66a581fb2894481a8f43d1d086c8
|
||||
@@ -1,65 +0,0 @@
|
||||
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改**/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public partial class GameLures
|
||||
{
|
||||
private static ConfigContext<GameLures> _context;
|
||||
|
||||
private static ConfigContext<GameLures> Context => _context ??= Configs.Table<GameLures>();
|
||||
|
||||
public static GameLures Get(int key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static GameLures Get(Predicate<GameLures> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static GameLures Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static GameLures Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static GameLures Fist(Predicate<GameLures> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static GameLures Last(Predicate<GameLures> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
|
||||
public static int Count()
|
||||
{
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<GameLures, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
|
||||
public static List<GameLures> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<GameLures> GetList(Predicate<GameLures> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8cbbbb9861ce4c849a25d434c578a716
|
||||
@@ -1,65 +0,0 @@
|
||||
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改**/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public partial class GameReels
|
||||
{
|
||||
private static ConfigContext<GameReels> _context;
|
||||
|
||||
private static ConfigContext<GameReels> Context => _context ??= Configs.Table<GameReels>();
|
||||
|
||||
public static GameReels Get(int key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static GameReels Get(Predicate<GameReels> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static GameReels Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static GameReels Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static GameReels Fist(Predicate<GameReels> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static GameReels Last(Predicate<GameReels> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
|
||||
public static int Count()
|
||||
{
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<GameReels, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
|
||||
public static List<GameReels> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<GameReels> GetList(Predicate<GameReels> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e08ef6d5f3b5f0049bc67ced9737c43e
|
||||
@@ -1,65 +0,0 @@
|
||||
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改**/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public partial class GameRings
|
||||
{
|
||||
private static ConfigContext<GameRings> _context;
|
||||
|
||||
private static ConfigContext<GameRings> Context => _context ??= Configs.Table<GameRings>();
|
||||
|
||||
public static GameRings Get(int key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static GameRings Get(Predicate<GameRings> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static GameRings Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static GameRings Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static GameRings Fist(Predicate<GameRings> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static GameRings Last(Predicate<GameRings> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
|
||||
public static int Count()
|
||||
{
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<GameRings, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
|
||||
public static List<GameRings> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<GameRings> GetList(Predicate<GameRings> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 848422be852cc5c498683477a97bf52c
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9eb1fcd4c3c31e645b093a6e7bdf6f1d
|
||||
@@ -1,65 +0,0 @@
|
||||
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改**/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public partial class GameWeights
|
||||
{
|
||||
private static ConfigContext<GameWeights> _context;
|
||||
|
||||
private static ConfigContext<GameWeights> Context => _context ??= Configs.Table<GameWeights>();
|
||||
|
||||
public static GameWeights Get(int key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static GameWeights Get(Predicate<GameWeights> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static GameWeights Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static GameWeights Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static GameWeights Fist(Predicate<GameWeights> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static GameWeights Last(Predicate<GameWeights> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
|
||||
public static int Count()
|
||||
{
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<GameWeights, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
|
||||
public static List<GameWeights> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<GameWeights> GetList(Predicate<GameWeights> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: db1dedf7e1b7a894b8800575e45e0b8b
|
||||
@@ -5,38 +5,38 @@ using System.Collections.Generic;
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public partial class GameFish
|
||||
public partial class HookConfig
|
||||
{
|
||||
private static ConfigContext<GameFish> _context;
|
||||
private static ConfigContext<HookConfig> _context;
|
||||
|
||||
private static ConfigContext<GameFish> Context => _context ??= Configs.Table<GameFish>();
|
||||
private static ConfigContext<HookConfig> Context => _context ??= Configs.Table<HookConfig>();
|
||||
|
||||
public static GameFish Get(int key)
|
||||
public static HookConfig Get(int key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static GameFish Get(Predicate<GameFish> match)
|
||||
public static HookConfig Get(Predicate<HookConfig> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static GameFish Fist()
|
||||
public static HookConfig Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static GameFish Last()
|
||||
public static HookConfig Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static GameFish Fist(Predicate<GameFish> match)
|
||||
public static HookConfig Fist(Predicate<HookConfig> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static GameFish Last(Predicate<GameFish> match)
|
||||
public static HookConfig Last(Predicate<HookConfig> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
@@ -46,18 +46,18 @@ namespace NBF
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<GameFish, bool> predicate)
|
||||
public static int Count(Func<HookConfig, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
|
||||
public static List<GameFish> GetList()
|
||||
public static List<HookConfig> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<GameFish> GetList(Predicate<GameFish> match)
|
||||
public static List<HookConfig> GetList(Predicate<HookConfig> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
2
Assets/Scripts/Configs/Gen/Warps/HookConfigWarp.cs.meta
Normal file
2
Assets/Scripts/Configs/Gen/Warps/HookConfigWarp.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fc38b93ab46f1bd4a83f81f1cd3b3e4c
|
||||
@@ -5,38 +5,38 @@ using System.Collections.Generic;
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public partial class GameRods
|
||||
public partial class LeadersConfig
|
||||
{
|
||||
private static ConfigContext<GameRods> _context;
|
||||
private static ConfigContext<LeadersConfig> _context;
|
||||
|
||||
private static ConfigContext<GameRods> Context => _context ??= Configs.Table<GameRods>();
|
||||
private static ConfigContext<LeadersConfig> Context => _context ??= Configs.Table<LeadersConfig>();
|
||||
|
||||
public static GameRods Get(int key)
|
||||
public static LeadersConfig Get(int key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static GameRods Get(Predicate<GameRods> match)
|
||||
public static LeadersConfig Get(Predicate<LeadersConfig> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static GameRods Fist()
|
||||
public static LeadersConfig Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static GameRods Last()
|
||||
public static LeadersConfig Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static GameRods Fist(Predicate<GameRods> match)
|
||||
public static LeadersConfig Fist(Predicate<LeadersConfig> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static GameRods Last(Predicate<GameRods> match)
|
||||
public static LeadersConfig Last(Predicate<LeadersConfig> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
@@ -46,18 +46,18 @@ namespace NBF
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<GameRods, bool> predicate)
|
||||
public static int Count(Func<LeadersConfig, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
|
||||
public static List<GameRods> GetList()
|
||||
public static List<LeadersConfig> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<GameRods> GetList(Predicate<GameRods> match)
|
||||
public static List<LeadersConfig> GetList(Predicate<LeadersConfig> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7911fb1cf4470014eadb4d9db5db5861
|
||||
65
Assets/Scripts/Configs/Gen/Warps/LineConfigWarp.cs
Normal file
65
Assets/Scripts/Configs/Gen/Warps/LineConfigWarp.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改**/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public partial class LineConfig
|
||||
{
|
||||
private static ConfigContext<LineConfig> _context;
|
||||
|
||||
private static ConfigContext<LineConfig> Context => _context ??= Configs.Table<LineConfig>();
|
||||
|
||||
public static LineConfig Get(int key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static LineConfig Get(Predicate<LineConfig> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static LineConfig Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static LineConfig Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static LineConfig Fist(Predicate<LineConfig> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static LineConfig Last(Predicate<LineConfig> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
|
||||
public static int Count()
|
||||
{
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<LineConfig, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
|
||||
public static List<LineConfig> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<LineConfig> GetList(Predicate<LineConfig> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/Scripts/Configs/Gen/Warps/LineConfigWarp.cs.meta
Normal file
2
Assets/Scripts/Configs/Gen/Warps/LineConfigWarp.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1acb019fe35da324cb5a26e45c54532d
|
||||
65
Assets/Scripts/Configs/Gen/Warps/LureConfigWarp.cs
Normal file
65
Assets/Scripts/Configs/Gen/Warps/LureConfigWarp.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改**/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public partial class LureConfig
|
||||
{
|
||||
private static ConfigContext<LureConfig> _context;
|
||||
|
||||
private static ConfigContext<LureConfig> Context => _context ??= Configs.Table<LureConfig>();
|
||||
|
||||
public static LureConfig Get(int key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static LureConfig Get(Predicate<LureConfig> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static LureConfig Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static LureConfig Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static LureConfig Fist(Predicate<LureConfig> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static LureConfig Last(Predicate<LureConfig> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
|
||||
public static int Count()
|
||||
{
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<LureConfig, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
|
||||
public static List<LureConfig> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<LureConfig> GetList(Predicate<LureConfig> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/Scripts/Configs/Gen/Warps/LureConfigWarp.cs.meta
Normal file
2
Assets/Scripts/Configs/Gen/Warps/LureConfigWarp.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 74aae733a506d0840a1a7cc2623ed5fd
|
||||
65
Assets/Scripts/Configs/Gen/Warps/ReelConfigWarp.cs
Normal file
65
Assets/Scripts/Configs/Gen/Warps/ReelConfigWarp.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改**/
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/Scripts/Configs/Gen/Warps/ReelConfigWarp.cs.meta
Normal file
2
Assets/Scripts/Configs/Gen/Warps/ReelConfigWarp.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6bfa9f163eb97be418e04f1f62c607de
|
||||
65
Assets/Scripts/Configs/Gen/Warps/RingConfigWarp.cs
Normal file
65
Assets/Scripts/Configs/Gen/Warps/RingConfigWarp.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改**/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public partial class RingConfig
|
||||
{
|
||||
private static ConfigContext<RingConfig> _context;
|
||||
|
||||
private static ConfigContext<RingConfig> Context => _context ??= Configs.Table<RingConfig>();
|
||||
|
||||
public static RingConfig Get(int key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static RingConfig Get(Predicate<RingConfig> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static RingConfig Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static RingConfig Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static RingConfig Fist(Predicate<RingConfig> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static RingConfig Last(Predicate<RingConfig> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
|
||||
public static int Count()
|
||||
{
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<RingConfig, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
|
||||
public static List<RingConfig> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<RingConfig> GetList(Predicate<RingConfig> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/Scripts/Configs/Gen/Warps/RingConfigWarp.cs.meta
Normal file
2
Assets/Scripts/Configs/Gen/Warps/RingConfigWarp.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a52a98969f4fae44ba19533cb1ae552e
|
||||
@@ -5,38 +5,38 @@ using System.Collections.Generic;
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public partial class GameBaits
|
||||
public partial class RodConfig
|
||||
{
|
||||
private static ConfigContext<GameBaits> _context;
|
||||
private static ConfigContext<RodConfig> _context;
|
||||
|
||||
private static ConfigContext<GameBaits> Context => _context ??= Configs.Table<GameBaits>();
|
||||
private static ConfigContext<RodConfig> Context => _context ??= Configs.Table<RodConfig>();
|
||||
|
||||
public static GameBaits Get(int key)
|
||||
public static RodConfig Get(int key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static GameBaits Get(Predicate<GameBaits> match)
|
||||
public static RodConfig Get(Predicate<RodConfig> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static GameBaits Fist()
|
||||
public static RodConfig Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static GameBaits Last()
|
||||
public static RodConfig Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static GameBaits Fist(Predicate<GameBaits> match)
|
||||
public static RodConfig Fist(Predicate<RodConfig> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static GameBaits Last(Predicate<GameBaits> match)
|
||||
public static RodConfig Last(Predicate<RodConfig> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
@@ -46,18 +46,18 @@ namespace NBF
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<GameBaits, bool> predicate)
|
||||
public static int Count(Func<RodConfig, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
|
||||
public static List<GameBaits> GetList()
|
||||
public static List<RodConfig> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<GameBaits> GetList(Predicate<GameBaits> match)
|
||||
public static List<RodConfig> GetList(Predicate<RodConfig> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
2
Assets/Scripts/Configs/Gen/Warps/RodConfigWarp.cs.meta
Normal file
2
Assets/Scripts/Configs/Gen/Warps/RodConfigWarp.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 81f057dddf36a734ead19cd98e19a2e0
|
||||
65
Assets/Scripts/Configs/Gen/Warps/UnitConfigWarp.cs
Normal file
65
Assets/Scripts/Configs/Gen/Warps/UnitConfigWarp.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改**/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public partial class UnitConfig
|
||||
{
|
||||
private static ConfigContext<UnitConfig> _context;
|
||||
|
||||
private static ConfigContext<UnitConfig> Context => _context ??= Configs.Table<UnitConfig>();
|
||||
|
||||
public static UnitConfig Get(int key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static UnitConfig Get(Predicate<UnitConfig> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static UnitConfig Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static UnitConfig Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static UnitConfig Fist(Predicate<UnitConfig> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static UnitConfig Last(Predicate<UnitConfig> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
|
||||
public static int Count()
|
||||
{
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<UnitConfig, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
|
||||
public static List<UnitConfig> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<UnitConfig> GetList(Predicate<UnitConfig> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/Scripts/Configs/Gen/Warps/UnitConfigWarp.cs.meta
Normal file
2
Assets/Scripts/Configs/Gen/Warps/UnitConfigWarp.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 69acf2fddccdd7b4fae3ad883cbc50ec
|
||||
65
Assets/Scripts/Configs/Gen/Warps/WeightConfigWarp.cs
Normal file
65
Assets/Scripts/Configs/Gen/Warps/WeightConfigWarp.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改**/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public partial class WeightConfig
|
||||
{
|
||||
private static ConfigContext<WeightConfig> _context;
|
||||
|
||||
private static ConfigContext<WeightConfig> Context => _context ??= Configs.Table<WeightConfig>();
|
||||
|
||||
public static WeightConfig Get(int key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static WeightConfig Get(Predicate<WeightConfig> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static WeightConfig Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static WeightConfig Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static WeightConfig Fist(Predicate<WeightConfig> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static WeightConfig Last(Predicate<WeightConfig> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
|
||||
public static int Count()
|
||||
{
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<WeightConfig, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
|
||||
public static List<WeightConfig> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<WeightConfig> GetList(Predicate<WeightConfig> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 43244884876723947bd6574d57b2349c
|
||||
Reference in New Issue
Block a user