表格相关逻辑修改和组件定义

This commit is contained in:
2025-08-25 00:10:04 +08:00
parent 5ca8118694
commit e41fd7dd2d
136 changed files with 962 additions and 981 deletions

View File

@@ -12,380 +12,3 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 3d8691ef03f74aedb6cfd67e53cf664f, type: 3} m_Script: {fileID: 11500000, guid: 3d8691ef03f74aedb6cfd67e53cf664f, type: 3}
m_Name: ConfigAssets m_Name: ConfigAssets
m_EditorClassIdentifier: m_EditorClassIdentifier:
GameBaitsArr:
- name: NAME_50001
id: 500001
modelPath: baits/worm_01/worm_01
group: 0
type: 0
acceptFish:
weightFishAccept: {x: 0, y: 3}
weight: 2.5
lenght: 0
amount: 1
Level: 1
- name: NAME_50001
id: 500002
modelPath: baits/fly/fly
group: 0
type: 0
acceptFish:
weightFishAccept: {x: 0, y: 3}
weight: 2.5
lenght: 0
amount: 1
Level: 1
- name: NAME_50001
id: 500003
modelPath: baits/black_leech/black_leech
group: 0
type: 0
acceptFish:
weightFishAccept: {x: 0, y: 3}
weight: 2.5
lenght: 0
amount: 1
Level: 1
- name: NAME_50001
id: 500004
modelPath: baits/bread/bread
group: 0
type: 0
acceptFish:
weightFishAccept: {x: 0, y: 3}
weight: 2.5
lenght: 0
amount: 1
Level: 1
GameFeedersArr:
- name: NAME_90001
id: 900001
modelPath: Feeders/Feeder 1/FeedTrash 1
group: 0
type: 0
weight: 5
capacity: 100
Level: 1
amount: 1
GameFishAcceptsArr:
- name:
id: 2100001
bait: 500189
min: 0.3
max: 26
- name:
id: 2100001
bait: 500135
min: 0.3
max: 25
GameFishArr:
- name: NAME_900001
id: 210001
speciesName: 10
isEnabled: 1
type: 0
maxWeight: 34
speciesCoins: 4
rankingPoint: 1
modelPath:
- Burbot_B
imagePath: []
modelTrophyPath: []
weightLenghtValues: []
weightLengthCurve:
serializedVersion: 2
m_Curve: []
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
acceptFishBaits: []
acceptFishLures: []
- name: NAME_900002
id: 210002
speciesName: 11
isEnabled: 1
type: 0
maxWeight: 40
speciesCoins: 4
rankingPoint: 1
modelPath:
- CarpCommon_B
imagePath: []
modelTrophyPath: []
weightLenghtValues: []
weightLengthCurve:
serializedVersion: 2
m_Curve: []
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
acceptFishBaits: []
acceptFishLures: []
- name: NAME_900003
id: 210003
speciesName: 14
isEnabled: 1
type: 0
maxWeight: 45
speciesCoins: 4
rankingPoint: 1
modelPath:
- CarpGrass_B
imagePath: []
modelTrophyPath: []
weightLenghtValues: []
weightLengthCurve:
serializedVersion: 2
m_Curve: []
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
acceptFishBaits: []
acceptFishLures: []
- name: NAME_900004
id: 210004
speciesName: 16
isEnabled: 1
type: 0
maxWeight: 3
speciesCoins: 4
rankingPoint: 1
modelPath:
- CarpCrucian_B
imagePath: []
modelTrophyPath: []
weightLenghtValues: []
weightLengthCurve:
serializedVersion: 2
m_Curve: []
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
acceptFishBaits: []
acceptFishLures: []
GameFloatsArr:
- name: NAME_30001
id: 300001
modelPath: bobbers/expressfishing/bob_25003/bob_25003
group: 0
type: 2
weight: 0.5
displacement: 3
isNightLight: 0
Level: 1
amount: 1
- name: NAME_30002
id: 300002
modelPath: bobbers/expressfishing/bob_25162_25163/bob_25162
group: 0
type: 0
weight: 0.8
displacement: 3
isNightLight: 0
Level: 1
amount: 1
- name: NAME_30003
id: 300003
modelPath: bobbers/expressfishing/bob_25166_25167/bob_25166
group: 0
type: 0
weight: 0.8
displacement: 3
isNightLight: 0
Level: 1
amount: 1
- name: NAME_30003
id: 300004
modelPath: bobbers/expressfishing/bob_25001/bob_25001
group: 0
type: 0
weight: 0.8
displacement: 3
isNightLight: 0
Level: 1
amount: 1
GameHooksArr:
- name: HOOK_NAME_70001
id: 700001
modelPath: hooks/alliance/c_hook_20789_20794/c_hook_20789
group: 0
color: Nickel
type: 1
zadzior: 1
size: 1
amount: 1
Level: 1
- name: HOOK_NAME_71001
id: 700102
modelPath: hooks/berserk_hooks/triple_20569_20577/triple_20569
group: 0
color: Nickel
type: 1
zadzior: 1
size: 1
amount: 1
Level: 1
GameLeadersArr:
- name: "UFA\xA9 Leader 0.14/3kg"
id: 0
modelPath: Leaders/Leader 2/
group: 0
type: 0
strength: 2.5
size: 0.15
Level: 1
amount: 1
- name: "UFA\xA9 Leader 0.18/4kg"
id: 1
modelPath: Leaders/Leader 3/
group: 0
type: 2
strength: 5
size: 0.18
Level: 4
amount: 1
- name: "UFA\xA9 Leader 0.2/10kg"
id: 2
modelPath: Leaders/Leader 1/
group: 0
type: 0
strength: 8
size: 0.2
Level: 7
amount: 1
GameLinesArr:
- name: NAME_40001
id: 400001
modelPath: Lines/UFE Mono/UFE monoClear
group: 0
type: 0
length: 75
strength: 1.51
size: 0.12
Level: 1
- name: NAME_40002
id: 400002
modelPath: Lines/UFE Mono/UFE monoClear
group: 0
type: 0
length: 75
strength: 2.51
size: 0.16
Level: 1
GameLuresArr:
- name: NAME_60001
id: 600001
modelPath: lures/express_fishing/crankbaits_1/775/crankbaits_775
group: 0
type: 0
acceptFish:
weightFishAccept: {x: 0, y: 3}
weight: 5.3
lenght: 80
amount: 0
Level: 1
hook: c6ae0a00
- name: NAME_60001
id: 600002
modelPath: lures/express_fishing/poppers_1/poppers_590/poppers_590
group: 0
type: 0
acceptFish:
weightFishAccept: {x: 0, y: 3}
weight: 5.3
lenght: 80
amount: 0
Level: 1
hook: c6ae0a00
- name: NAME_60001
id: 600003
modelPath: lures/express_fishing/softplastic/ef_supergrab_6/softplastic_g_1622
group: 0
type: 0
acceptFish:
weightFishAccept: {x: 0, y: 3}
weight: 5.3
lenght: 80
amount: 0
Level: 1
hook:
- name: NAME_60001
id: 600004
modelPath: lures/express_fishing/softplastic/ef_superminnow_6/softplastic_m_1634
group: 0
type: 0
acceptFish:
weightFishAccept: {x: 0, y: 3}
weight: 5.3
lenght: 80
amount: 0
Level: 1
hook:
GameReelsArr:
- name: NAME_20001
id: 200001
modelPath: reels/syberia/spin_5002/spin_5002
group: 0
type: 0
strength: 3
gearRatio: {x: 6.2, y: 1}
size: 2000
Level: 1
- name: NAME_20002
id: 200002
modelPath: reels/syberia/spin_5036/spin_5036
group: 0
type: 0
strength: 4.5
gearRatio: {x: 6.2, y: 1}
size: 2000
Level: 1
GameRingsArr:
- name: NAME_110001
id: 1100001
modelPath: rod_rings/rumoi/rumoi_oxiline_spin
group: 0
- name: NAME_110002
id: 1100002
modelPath: rod_rings/smt/smt_pure_ceramic_bolo
group: 0
GameRodsArr:
- name: NAME_10001
id: 100001
modelPath: rods/syberia/tele_10037/tele_10037_t13
group: 0
type: 1
length: 3,7
weight: 250
strength: 40.82
maxRange: 67
ring: 0
- name: NAME_10002
id: 100002
modelPath: rods/syberia/bolo_10021/bolo_10021_LB400
group: 0
type: 0
length: 2,5
weight: 120
strength: 1.59
maxRange: 30
ring: 1100002
- name: NAME_10003
id: 100003
modelPath: rods/syberia/spin_10034/spin_10034_S60H
group: 0
type: 0
length: 2,5
weight: 120
strength: 1.59
maxRange: 30
ring: 1100001
GameWeightsArr:
- name: NAME_80001
id: 800001
modelPath: Weights/Weight2_5g
group: 0
type: 0
weight: 3
Level: 1
amount: 1

View File

@@ -1,3 +1,3 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: cdd407e78a9044de9d73e25de68285ba guid: 0eceaba126fb407583191d01e32bb735
timeCreated: 1742999805 timeCreated: 1756050728

View File

@@ -10,106 +10,113 @@ namespace NBF
{ {
public partial class ConfigAssets public partial class ConfigAssets
{ {
public List<GameBaits> GameBaitsArr; public List<BaitConfig> BaitConfigArr;
public List<GameFeeders> GameFeedersArr; public List<BobberConfig> BobberConfigArr;
public List<GameFishAccepts> GameFishAcceptsArr; public List<FeederConfig> FeederConfigArr;
public List<GameFish> GameFishArr; public List<FishAcceptConfig> FishAcceptConfigArr;
public List<GameFloats> GameFloatsArr; public List<FishConfig> FishConfigArr;
public List<GameHooks> GameHooksArr; public List<HookConfig> HookConfigArr;
public List<GameLeaders> GameLeadersArr; public List<LeadersConfig> LeadersConfigArr;
public List<GameLines> GameLinesArr; public List<LineConfig> LineConfigArr;
public List<GameLures> GameLuresArr; public List<LureConfig> LureConfigArr;
public List<GameReels> GameReelsArr; public List<ReelConfig> ReelConfigArr;
public List<GameRings> GameRingsArr; public List<RingConfig> RingConfigArr;
public List<GameRods> GameRodsArr; public List<RodConfig> RodConfigArr;
public List<GameWeights> GameWeightsArr; public List<UnitConfig> UnitConfigArr;
public List<WeightConfig> WeightConfigArr;
public void Parse(JToken[] arr, Type type) public void Parse(JToken[] arr, Type type)
{ {
var tableNameAttribute = type.GetCustomAttribute<TableNameAttribute>(); var tableNameAttribute = type.GetCustomAttribute<TableNameAttribute>();
if (tableNameAttribute == null) return; if (tableNameAttribute == null) return;
if (type == typeof(GameBaits)) if (type == typeof(BaitConfig))
{ {
GameBaitsArr = ParseLine<GameBaits>(arr, tableNameAttribute); BaitConfigArr = ParseLine<BaitConfig>(arr, tableNameAttribute);
} }
if (type == typeof(GameFeeders)) if (type == typeof(BobberConfig))
{ {
GameFeedersArr = ParseLine<GameFeeders>(arr, tableNameAttribute); BobberConfigArr = ParseLine<BobberConfig>(arr, tableNameAttribute);
} }
if (type == typeof(GameFishAccepts)) if (type == typeof(FeederConfig))
{ {
GameFishAcceptsArr = ParseLine<GameFishAccepts>(arr, tableNameAttribute); FeederConfigArr = ParseLine<FeederConfig>(arr, tableNameAttribute);
} }
if (type == typeof(GameFish)) if (type == typeof(FishAcceptConfig))
{ {
GameFishArr = ParseLine<GameFish>(arr, tableNameAttribute); FishAcceptConfigArr = ParseLine<FishAcceptConfig>(arr, tableNameAttribute);
} }
if (type == typeof(GameFloats)) if (type == typeof(FishConfig))
{ {
GameFloatsArr = ParseLine<GameFloats>(arr, tableNameAttribute); FishConfigArr = ParseLine<FishConfig>(arr, tableNameAttribute);
} }
if (type == typeof(GameHooks)) if (type == typeof(HookConfig))
{ {
GameHooksArr = ParseLine<GameHooks>(arr, tableNameAttribute); HookConfigArr = ParseLine<HookConfig>(arr, tableNameAttribute);
} }
if (type == typeof(GameLeaders)) if (type == typeof(LeadersConfig))
{ {
GameLeadersArr = ParseLine<GameLeaders>(arr, tableNameAttribute); LeadersConfigArr = ParseLine<LeadersConfig>(arr, tableNameAttribute);
} }
if (type == typeof(GameLines)) if (type == typeof(LineConfig))
{ {
GameLinesArr = ParseLine<GameLines>(arr, tableNameAttribute); LineConfigArr = ParseLine<LineConfig>(arr, tableNameAttribute);
} }
if (type == typeof(GameLures)) if (type == typeof(LureConfig))
{ {
GameLuresArr = ParseLine<GameLures>(arr, tableNameAttribute); LureConfigArr = ParseLine<LureConfig>(arr, tableNameAttribute);
} }
if (type == typeof(GameReels)) if (type == typeof(ReelConfig))
{ {
GameReelsArr = ParseLine<GameReels>(arr, tableNameAttribute); ReelConfigArr = ParseLine<ReelConfig>(arr, tableNameAttribute);
} }
if (type == typeof(GameRings)) if (type == typeof(RingConfig))
{ {
GameRingsArr = ParseLine<GameRings>(arr, tableNameAttribute); RingConfigArr = ParseLine<RingConfig>(arr, tableNameAttribute);
} }
if (type == typeof(GameRods)) if (type == typeof(RodConfig))
{ {
GameRodsArr = ParseLine<GameRods>(arr, tableNameAttribute); RodConfigArr = ParseLine<RodConfig>(arr, tableNameAttribute);
} }
if (type == typeof(GameWeights)) if (type == typeof(UnitConfig))
{ {
GameWeightsArr = ParseLine<GameWeights>(arr, tableNameAttribute); UnitConfigArr = ParseLine<UnitConfig>(arr, tableNameAttribute);
}
if (type == typeof(WeightConfig))
{
WeightConfigArr = ParseLine<WeightConfig>(arr, tableNameAttribute);
} }
} }
public void AssociationContexts() public void AssociationContexts()
{ {
new ConfigContext<GameBaits>().Association(GameBaitsArr); new ConfigContext<BaitConfig>().Association(BaitConfigArr);
new ConfigContext<GameFeeders>().Association(GameFeedersArr); new ConfigContext<BobberConfig>().Association(BobberConfigArr);
new ConfigContext<GameFishAccepts>().Association(GameFishAcceptsArr); new ConfigContext<FeederConfig>().Association(FeederConfigArr);
new ConfigContext<GameFish>().Association(GameFishArr); new ConfigContext<FishAcceptConfig>().Association(FishAcceptConfigArr);
new ConfigContext<GameFloats>().Association(GameFloatsArr); new ConfigContext<FishConfig>().Association(FishConfigArr);
new ConfigContext<GameHooks>().Association(GameHooksArr); new ConfigContext<HookConfig>().Association(HookConfigArr);
new ConfigContext<GameLeaders>().Association(GameLeadersArr); new ConfigContext<LeadersConfig>().Association(LeadersConfigArr);
new ConfigContext<GameLines>().Association(GameLinesArr); new ConfigContext<LineConfig>().Association(LineConfigArr);
new ConfigContext<GameLures>().Association(GameLuresArr); new ConfigContext<LureConfig>().Association(LureConfigArr);
new ConfigContext<GameReels>().Association(GameReelsArr); new ConfigContext<ReelConfig>().Association(ReelConfigArr);
new ConfigContext<GameRings>().Association(GameRingsArr); new ConfigContext<RingConfig>().Association(RingConfigArr);
new ConfigContext<GameRods>().Association(GameRodsArr); new ConfigContext<RodConfig>().Association(RodConfigArr);
new ConfigContext<GameWeights>().Association(GameWeightsArr); new ConfigContext<UnitConfig>().Association(UnitConfigArr);
new ConfigContext<WeightConfig>().Association(WeightConfigArr);
} }
} }
} }

View File

@@ -1,3 +1,2 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: bd9bbc8f86e64a928533f493e39813ed guid: bd9bbc8f86e64a928533f493e39813ed
timeCreated: 1742999819

View File

@@ -1,3 +1,3 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: fd8931b9ac4c462b9e85fa625e300cee guid: 98e70a75b52b4728aec1e5b7f506695c
timeCreated: 1743000570 timeCreated: 1756050753

View File

@@ -5,38 +5,38 @@ using System.Collections.Generic;
namespace NBF namespace NBF
{ {
[Serializable] [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); return Context.Get(key);
} }
public static GameFloats Get(Predicate<GameFloats> match) public static BaitConfig Get(Predicate<BaitConfig> match)
{ {
return Context.Get(match); return Context.Get(match);
} }
public static GameFloats Fist() public static BaitConfig Fist()
{ {
return Context.Fist(); return Context.Fist();
} }
public static GameFloats Last() public static BaitConfig Last()
{ {
return Context.Last(); return Context.Last();
} }
public static GameFloats Fist(Predicate<GameFloats> match) public static BaitConfig Fist(Predicate<BaitConfig> match)
{ {
return Context.Fist(match); return Context.Fist(match);
} }
public static GameFloats Last(Predicate<GameFloats> match) public static BaitConfig Last(Predicate<BaitConfig> match)
{ {
return Context.Last(match); return Context.Last(match);
} }
@@ -46,18 +46,18 @@ namespace NBF
return Context.Count(); return Context.Count();
} }
public static int Count(Func<GameFloats, bool> predicate) public static int Count(Func<BaitConfig, bool> predicate)
{ {
return Context.Count(predicate); return Context.Count(predicate);
} }
public static List<GameFloats> GetList() public static List<BaitConfig> GetList()
{ {
return Context.GetList(); return Context.GetList();
} }
public static List<GameFloats> GetList(Predicate<GameFloats> match) public static List<BaitConfig> GetList(Predicate<BaitConfig> match)
{ {
return Context.GetList(match); return Context.GetList(match);
} }

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 5c6bdb0bae4da2a4da6aacaf58a1abc0

View File

@@ -5,38 +5,38 @@ using System.Collections.Generic;
namespace NBF namespace NBF
{ {
[Serializable] [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); return Context.Get(key);
} }
public static GameFeeders Get(Predicate<GameFeeders> match) public static BobberConfig Get(Predicate<BobberConfig> match)
{ {
return Context.Get(match); return Context.Get(match);
} }
public static GameFeeders Fist() public static BobberConfig Fist()
{ {
return Context.Fist(); return Context.Fist();
} }
public static GameFeeders Last() public static BobberConfig Last()
{ {
return Context.Last(); return Context.Last();
} }
public static GameFeeders Fist(Predicate<GameFeeders> match) public static BobberConfig Fist(Predicate<BobberConfig> match)
{ {
return Context.Fist(match); return Context.Fist(match);
} }
public static GameFeeders Last(Predicate<GameFeeders> match) public static BobberConfig Last(Predicate<BobberConfig> match)
{ {
return Context.Last(match); return Context.Last(match);
} }
@@ -46,18 +46,18 @@ namespace NBF
return Context.Count(); return Context.Count();
} }
public static int Count(Func<GameFeeders, bool> predicate) public static int Count(Func<BobberConfig, bool> predicate)
{ {
return Context.Count(predicate); return Context.Count(predicate);
} }
public static List<GameFeeders> GetList() public static List<BobberConfig> GetList()
{ {
return Context.GetList(); return Context.GetList();
} }
public static List<GameFeeders> GetList(Predicate<GameFeeders> match) public static List<BobberConfig> GetList(Predicate<BobberConfig> match)
{ {
return Context.GetList(match); return Context.GetList(match);
} }

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 99b64c24f2bad454086ac41dd6aa7ffc

View 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);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: dc082eda2a5880148843ce9c21ed4eed

View File

@@ -5,38 +5,38 @@ using System.Collections.Generic;
namespace NBF namespace NBF
{ {
[Serializable] [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); return Context.Get(key);
} }
public static GameLines Get(Predicate<GameLines> match) public static FishAcceptConfig Get(Predicate<FishAcceptConfig> match)
{ {
return Context.Get(match); return Context.Get(match);
} }
public static GameLines Fist() public static FishAcceptConfig Fist()
{ {
return Context.Fist(); return Context.Fist();
} }
public static GameLines Last() public static FishAcceptConfig Last()
{ {
return Context.Last(); return Context.Last();
} }
public static GameLines Fist(Predicate<GameLines> match) public static FishAcceptConfig Fist(Predicate<FishAcceptConfig> match)
{ {
return Context.Fist(match); return Context.Fist(match);
} }
public static GameLines Last(Predicate<GameLines> match) public static FishAcceptConfig Last(Predicate<FishAcceptConfig> match)
{ {
return Context.Last(match); return Context.Last(match);
} }
@@ -46,18 +46,18 @@ namespace NBF
return Context.Count(); return Context.Count();
} }
public static int Count(Func<GameLines, bool> predicate) public static int Count(Func<FishAcceptConfig, bool> predicate)
{ {
return Context.Count(predicate); return Context.Count(predicate);
} }
public static List<GameLines> GetList() public static List<FishAcceptConfig> GetList()
{ {
return Context.GetList(); return Context.GetList();
} }
public static List<GameLines> GetList(Predicate<GameLines> match) public static List<FishAcceptConfig> GetList(Predicate<FishAcceptConfig> match)
{ {
return Context.GetList(match); return Context.GetList(match);
} }

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 23d45122e487d8f439bf063a4df7a4b7

View File

@@ -5,38 +5,38 @@ using System.Collections.Generic;
namespace NBF namespace NBF
{ {
[Serializable] [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); return Context.Get(key);
} }
public static GameHooks Get(Predicate<GameHooks> match) public static FishConfig Get(Predicate<FishConfig> match)
{ {
return Context.Get(match); return Context.Get(match);
} }
public static GameHooks Fist() public static FishConfig Fist()
{ {
return Context.Fist(); return Context.Fist();
} }
public static GameHooks Last() public static FishConfig Last()
{ {
return Context.Last(); return Context.Last();
} }
public static GameHooks Fist(Predicate<GameHooks> match) public static FishConfig Fist(Predicate<FishConfig> match)
{ {
return Context.Fist(match); return Context.Fist(match);
} }
public static GameHooks Last(Predicate<GameHooks> match) public static FishConfig Last(Predicate<FishConfig> match)
{ {
return Context.Last(match); return Context.Last(match);
} }
@@ -46,18 +46,18 @@ namespace NBF
return Context.Count(); return Context.Count();
} }
public static int Count(Func<GameHooks, bool> predicate) public static int Count(Func<FishConfig, bool> predicate)
{ {
return Context.Count(predicate); return Context.Count(predicate);
} }
public static List<GameHooks> GetList() public static List<FishConfig> GetList()
{ {
return Context.GetList(); return Context.GetList();
} }
public static List<GameHooks> GetList(Predicate<GameHooks> match) public static List<FishConfig> GetList(Predicate<FishConfig> match)
{ {
return Context.GetList(match); return Context.GetList(match);
} }

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: d60d97e94b1432c4e985a5469fd01409

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 4fd681fc90fb5f2409c0fc68207c77d4

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 77a5cad97b10e4447afb56f513908506

View File

@@ -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);
}
}
}

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 57149d0eff60b15489ba1edc669fca38

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: ed51b5aea87f3364e8aa7eaca4e89348

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: cb2e64d338bf02543aad65973e43b011

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 0defd614f8bdb5043868fb08e64c94c6

View File

@@ -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);
}
}
}

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: de88b2f351313f74c8889a63265bc4ec

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 386a66a581fb2894481a8f43d1d086c8

View File

@@ -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);
}
}
}

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 8cbbbb9861ce4c849a25d434c578a716

View File

@@ -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);
}
}
}

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: e08ef6d5f3b5f0049bc67ced9737c43e

View File

@@ -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);
}
}
}

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 848422be852cc5c498683477a97bf52c

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 9eb1fcd4c3c31e645b093a6e7bdf6f1d

View File

@@ -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);
}
}
}

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: db1dedf7e1b7a894b8800575e45e0b8b

View File

@@ -5,38 +5,38 @@ using System.Collections.Generic;
namespace NBF namespace NBF
{ {
[Serializable] [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); return Context.Get(key);
} }
public static GameFish Get(Predicate<GameFish> match) public static HookConfig Get(Predicate<HookConfig> match)
{ {
return Context.Get(match); return Context.Get(match);
} }
public static GameFish Fist() public static HookConfig Fist()
{ {
return Context.Fist(); return Context.Fist();
} }
public static GameFish Last() public static HookConfig Last()
{ {
return Context.Last(); return Context.Last();
} }
public static GameFish Fist(Predicate<GameFish> match) public static HookConfig Fist(Predicate<HookConfig> match)
{ {
return Context.Fist(match); return Context.Fist(match);
} }
public static GameFish Last(Predicate<GameFish> match) public static HookConfig Last(Predicate<HookConfig> match)
{ {
return Context.Last(match); return Context.Last(match);
} }
@@ -46,18 +46,18 @@ namespace NBF
return Context.Count(); return Context.Count();
} }
public static int Count(Func<GameFish, bool> predicate) public static int Count(Func<HookConfig, bool> predicate)
{ {
return Context.Count(predicate); return Context.Count(predicate);
} }
public static List<GameFish> GetList() public static List<HookConfig> GetList()
{ {
return Context.GetList(); return Context.GetList();
} }
public static List<GameFish> GetList(Predicate<GameFish> match) public static List<HookConfig> GetList(Predicate<HookConfig> match)
{ {
return Context.GetList(match); return Context.GetList(match);
} }

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: fc38b93ab46f1bd4a83f81f1cd3b3e4c

View File

@@ -5,38 +5,38 @@ using System.Collections.Generic;
namespace NBF namespace NBF
{ {
[Serializable] [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); return Context.Get(key);
} }
public static GameRods Get(Predicate<GameRods> match) public static LeadersConfig Get(Predicate<LeadersConfig> match)
{ {
return Context.Get(match); return Context.Get(match);
} }
public static GameRods Fist() public static LeadersConfig Fist()
{ {
return Context.Fist(); return Context.Fist();
} }
public static GameRods Last() public static LeadersConfig Last()
{ {
return Context.Last(); return Context.Last();
} }
public static GameRods Fist(Predicate<GameRods> match) public static LeadersConfig Fist(Predicate<LeadersConfig> match)
{ {
return Context.Fist(match); return Context.Fist(match);
} }
public static GameRods Last(Predicate<GameRods> match) public static LeadersConfig Last(Predicate<LeadersConfig> match)
{ {
return Context.Last(match); return Context.Last(match);
} }
@@ -46,18 +46,18 @@ namespace NBF
return Context.Count(); return Context.Count();
} }
public static int Count(Func<GameRods, bool> predicate) public static int Count(Func<LeadersConfig, bool> predicate)
{ {
return Context.Count(predicate); return Context.Count(predicate);
} }
public static List<GameRods> GetList() public static List<LeadersConfig> GetList()
{ {
return Context.GetList(); return Context.GetList();
} }
public static List<GameRods> GetList(Predicate<GameRods> match) public static List<LeadersConfig> GetList(Predicate<LeadersConfig> match)
{ {
return Context.GetList(match); return Context.GetList(match);
} }

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 7911fb1cf4470014eadb4d9db5db5861

View 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);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 1acb019fe35da324cb5a26e45c54532d

View 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);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 74aae733a506d0840a1a7cc2623ed5fd

View 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);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 6bfa9f163eb97be418e04f1f62c607de

View 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);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: a52a98969f4fae44ba19533cb1ae552e

View File

@@ -5,38 +5,38 @@ using System.Collections.Generic;
namespace NBF namespace NBF
{ {
[Serializable] [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); return Context.Get(key);
} }
public static GameBaits Get(Predicate<GameBaits> match) public static RodConfig Get(Predicate<RodConfig> match)
{ {
return Context.Get(match); return Context.Get(match);
} }
public static GameBaits Fist() public static RodConfig Fist()
{ {
return Context.Fist(); return Context.Fist();
} }
public static GameBaits Last() public static RodConfig Last()
{ {
return Context.Last(); return Context.Last();
} }
public static GameBaits Fist(Predicate<GameBaits> match) public static RodConfig Fist(Predicate<RodConfig> match)
{ {
return Context.Fist(match); return Context.Fist(match);
} }
public static GameBaits Last(Predicate<GameBaits> match) public static RodConfig Last(Predicate<RodConfig> match)
{ {
return Context.Last(match); return Context.Last(match);
} }
@@ -46,18 +46,18 @@ namespace NBF
return Context.Count(); return Context.Count();
} }
public static int Count(Func<GameBaits, bool> predicate) public static int Count(Func<RodConfig, bool> predicate)
{ {
return Context.Count(predicate); return Context.Count(predicate);
} }
public static List<GameBaits> GetList() public static List<RodConfig> GetList()
{ {
return Context.GetList(); return Context.GetList();
} }
public static List<GameBaits> GetList(Predicate<GameBaits> match) public static List<RodConfig> GetList(Predicate<RodConfig> match)
{ {
return Context.GetList(match); return Context.GetList(match);
} }

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 81f057dddf36a734ead19cd98e19a2e0

View 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);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 69acf2fddccdd7b4fae3ad883cbc50ec

View 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);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 43244884876723947bd6574d57b2349c

View File

@@ -5,7 +5,7 @@ using UnityEngine;
namespace NBF namespace NBF
{ {
[TableName("gameBaits")] [TableName("gameBaits")]
public partial class GameBaits : ConfigGearBase public partial class BaitConfig : ConfigGearBase
{ {
public enum Type public enum Type
{ {
@@ -35,9 +35,9 @@ namespace NBF
public virtual bool CheckIsFishAccept(FishSpecies fishSpecies, float fishWeight = 0f) public virtual bool CheckIsFishAccept(FishSpecies fishSpecies, float fishWeight = 0f)
{ {
var fish = GameFish.Get(t => t.speciesName == fishSpecies); var fish = FishConfig.Get(t => t.speciesName == fishSpecies);
if (fish == null) return false; if (fish == null) return false;
if (fish.type == GameFish.Type.Predator && type == Type.Spinning) if (fish.type == FishConfig.Type.Predator && type == Type.Spinning)
{ {
Vector2 vector = weightFishAccept; Vector2 vector = weightFishAccept;
Debug.Log("Startowa wartosc przynety:" + vector.ToString()); Debug.Log("Startowa wartosc przynety:" + vector.ToString());
@@ -116,7 +116,7 @@ namespace NBF
return true; return true;
} }
} }
else if (fish.type == GameFish.Type.WhiteFish && type == Type.Natural) else if (fish.type == FishConfig.Type.WhiteFish && type == Type.Natural)
{ {
if (acceptFish.Contains(fishSpecies)) if (acceptFish.Contains(fishSpecies))
{ {
@@ -124,7 +124,7 @@ namespace NBF
return true; return true;
} }
} }
else if (fish.type == GameFish.Type.Predator && type == Type.Natural && else if (fish.type == FishConfig.Type.Predator && type == Type.Natural &&
acceptFish.Contains(fishSpecies)) acceptFish.Contains(fishSpecies))
{ {
Debug.Log("Fish accept bait predator weight:" + fishWeight); Debug.Log("Fish accept bait predator weight:" + fishWeight);

View File

@@ -4,7 +4,7 @@ using UnityEngine;
namespace NBF namespace NBF
{ {
[TableName("gameFloats")] [TableName("gameFloats")]
public partial class GameFloats : ConfigGearBase public partial class BobberConfig : ConfigGearBase
{ {
public enum Type public enum Type
{ {

View File

@@ -4,7 +4,7 @@ using UnityEngine;
namespace NBF namespace NBF
{ {
[TableName("gameFeeders")] [TableName("gameFeeders")]
public partial class GameFeeders : ConfigGearBase public partial class FeederConfig : ConfigGearBase
{ {
public enum Type public enum Type
{ {

View File

@@ -1,7 +1,7 @@
namespace NBF namespace NBF
{ {
[TableName("gameFishAccepts")] [TableName("gameFishAccepts")]
public partial class GameFishAccepts : ConfigBase public partial class FishAcceptConfig : ConfigBase
{ {
public int bait; public int bait;

View File

@@ -18,9 +18,9 @@ namespace NBF
} }
[TableName("gameFish")] [TableName("gameFish")]
public partial class GameFish : ConfigBase public partial class FishConfig : ConfigBase
{ {
public static GameFish Get(FishSpecies fishSpecies) public static FishConfig Get(FishSpecies fishSpecies)
{ {
return Get(t => t.speciesName == fishSpecies); return Get(t => t.speciesName == fishSpecies);
} }

View File

@@ -4,7 +4,7 @@ using UnityEngine;
namespace NBF namespace NBF
{ {
[TableName("gameHooks")] [TableName("gameHooks")]
public partial class GameHooks : ConfigGearBase public partial class HookConfig : ConfigGearBase
{ {
public enum Type public enum Type
{ {

View File

@@ -4,7 +4,7 @@ using UnityEngine;
namespace NBF namespace NBF
{ {
[TableName("gameLeaders")] [TableName("gameLeaders")]
public partial class GameLeaders : ConfigGearBase public partial class LeadersConfig : ConfigGearBase
{ {
public enum Type public enum Type
{ {
@@ -15,13 +15,5 @@ namespace NBF
} }
public Type type; public Type type;
public float strength = 1f;
public float size = 0.12f;
public int Level = 1;
public int amount = 1;
} }
} }

View File

@@ -4,7 +4,7 @@ using UnityEngine;
namespace NBF namespace NBF
{ {
[TableName("gameLines")] [TableName("gameLines")]
public partial class GameLines : ConfigGearBase public partial class LineConfig : ConfigGearBase
{ {
protected override string ModelRoot => "GameItemsPrefabs/"; protected override string ModelRoot => "GameItemsPrefabs/";

View File

@@ -3,7 +3,7 @@
namespace NBF namespace NBF
{ {
[TableName("gameLures")] [TableName("gameLures")]
public partial class GameLures : ConfigGearBase public partial class LureConfig : ConfigGearBase
{ {
public enum Type public enum Type
{ {
@@ -37,7 +37,7 @@ namespace NBF
public bool CheckIsFishAccept(FishSpecies fishSpecies, float fishWeight = 0) public bool CheckIsFishAccept(FishSpecies fishSpecies, float fishWeight = 0)
{ {
if (GameFish.Get(fishSpecies).type == GameFish.Type.Predator) if (FishConfig.Get(fishSpecies).type == FishConfig.Type.Predator)
{ {
Vector2 vector = weightFishAccept; Vector2 vector = weightFishAccept;
Debug.Log("诱饵的初始值:" + vector.ToString()); Debug.Log("诱饵的初始值:" + vector.ToString());

View File

@@ -4,7 +4,7 @@ using UnityEngine;
namespace NBF namespace NBF
{ {
[TableName("gameReels")] [TableName("gameReels")]
public partial class GameReels : ConfigGearBase public partial class ReelConfig : ConfigGearBase
{ {
// protected override string ModelRoot => "GameItemsPrefabs/"; // protected override string ModelRoot => "GameItemsPrefabs/";

View File

@@ -1,7 +1,7 @@
namespace NBF namespace NBF
{ {
[TableName("gameRings")] [TableName("gameRings")]
public partial class GameRings : ConfigGearBase public partial class RingConfig : ConfigGearBase
{ {
} }
} }

View File

@@ -4,7 +4,7 @@ using UnityEngine;
namespace NBF namespace NBF
{ {
[TableName("gameRods")] [TableName("gameRods")]
public partial class GameRods : ConfigGearBase public partial class RodConfig : ConfigGearBase
{ {
public enum Type public enum Type

View File

@@ -1,5 +1,11 @@
namespace NBF.Fishing2 namespace NBF
{ {
[TableName("gameUnit")]
public partial class UnitConfig : ConfigBase
{
public UnitType Type;
}
public enum UnitType : byte public enum UnitType : byte
{ {
/// <summary> /// <summary>

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 956ed7b067744c369fcff9a8baef77ee
timeCreated: 1756049614

View File

@@ -4,7 +4,7 @@ using UnityEngine;
namespace NBF namespace NBF
{ {
[TableName("gameWeights")] [TableName("gameWeights")]
public partial class GameWeights : ConfigGearBase public partial class WeightConfig : ConfigGearBase
{ {
protected override string ModelRoot => "GameItemsPrefabs/"; protected override string ModelRoot => "GameItemsPrefabs/";

View File

@@ -1,3 +1,3 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 81e60ce9e4a944739d285ad0c562a4a0 guid: fe99d0fb1bfc4912a205bb00911c1132
timeCreated: 1755914112 timeCreated: 1756047069

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 5432d229611d4f8e8fa72a637035bb40
timeCreated: 1756044768

View File

@@ -1,3 +0,0 @@
fileFormatVersion: 2
guid: 1258cbf54dfc4d1c906fd83dfa5943be
timeCreated: 1755921708

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 6ce24e5f59f2424faadee3d97e357365
timeCreated: 1756049282

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using NBC.Entitas;
namespace NBF.Fishing2
{
public class Map : Entity
{
/// <summary>
/// 好友房地图
/// </summary>
public bool IsRoomMap;
/// <summary>
/// 地图中的单位
/// </summary>
public Dictionary<long, Unit> Units = new Dictionary<long, Unit>();
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 2acb8a2309ee4443a812939b0e02c18f
timeCreated: 1756049289

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 629d828f3fc74ce78482025124c31f85
timeCreated: 1756047176

View File

@@ -0,0 +1,9 @@
using NBC.Entitas;
namespace NBF.Fishing2
{
public class GearBaitComponent : Entity
{
public int ConfigId;
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: ee9d5fa0951c490fafb108bfb3e1d496
timeCreated: 1756047193

View File

@@ -0,0 +1,9 @@
using NBC.Entitas;
namespace NBF.Fishing2
{
public class GearBobberComponent : Entity
{
public int ConfigId;
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 3f772262a6ee45ebaa276d716c191ddd
timeCreated: 1756047151

View File

@@ -0,0 +1,9 @@
using NBC.Entitas;
namespace NBF.Fishing2
{
public class GearHookComponent : Entity
{
public int ConfigId;
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 601122a982d048789ee9131376c72158
timeCreated: 1756047164

View File

@@ -0,0 +1,9 @@
using NBC.Entitas;
namespace NBF.Fishing2
{
public class GearLineComponent : Entity
{
public int ConfigId;
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 3e1209cd4f4242c2af9fbfbbb7480f6b
timeCreated: 1756047232

View File

@@ -0,0 +1,9 @@
using NBC.Entitas;
namespace NBF.Fishing2
{
public class GearLureComponent : Entity
{
public int ConfigId;
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 5537f49777ef40f0adeb36bb7687356d
timeCreated: 1756047207

View File

@@ -0,0 +1,9 @@
using NBC.Entitas;
namespace NBF.Fishing2
{
public class GearReelComponent : Entity
{
public int ConfigId;
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 60c6ee2c8c084dd29267b0653a1a239d
timeCreated: 1756047139

Some files were not shown because too many files have changed in this diff Show More