修改为luban
This commit is contained in:
@@ -24,5 +24,47 @@
|
||||
<None Update="configs.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="cfg\tbbait.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="cfg\tbbasicconfig.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="cfg\tbbobber.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="cfg\tbfeeder.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="cfg\tbfish.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="cfg\tbgoods.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="cfg\tbhook.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="cfg\tbinititemconfig.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="cfg\tbitem.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="cfg\tbline.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="cfg\tblure.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="cfg\tbreel.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="cfg\tbrod.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="cfg\tbshop.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
using System;
|
||||
using Fantasy;
|
||||
using NBF;
|
||||
using NBF.ConfigTable;
|
||||
|
||||
try
|
||||
@@ -20,7 +21,8 @@ try
|
||||
// 通过访问 AssemblyMarker 强制加载程序集并调用 ModuleInitializer
|
||||
// 注意:Native AOT 不存在延迟加载问题,所有程序集在编译时打包
|
||||
AssemblyHelper.Initialize();
|
||||
ConfigTableHelper.Initialize();
|
||||
// ConfigTableHelper.Initialize();
|
||||
Configs.Initialize();
|
||||
// 配置 NLog 日志基础设施
|
||||
var logger = new Fantasy.NLog("Server");
|
||||
// 使用 NLog 日志系统启动 Fantasy.Net 框架
|
||||
|
||||
39
Main/cfg/tbbait.json
Normal file
39
Main/cfg/tbbait.json
Normal file
@@ -0,0 +1,39 @@
|
||||
[
|
||||
{
|
||||
"id": 70001,
|
||||
"efficacy_base": 15,
|
||||
"arr": [
|
||||
250,
|
||||
1,
|
||||
2,
|
||||
3
|
||||
],
|
||||
"strength": 0
|
||||
},
|
||||
{
|
||||
"id": 70002,
|
||||
"efficacy_base": 15,
|
||||
"arr": [
|
||||
120,
|
||||
4,
|
||||
3
|
||||
],
|
||||
"strength": 0
|
||||
},
|
||||
{
|
||||
"id": 70003,
|
||||
"efficacy_base": 15,
|
||||
"arr": [
|
||||
120
|
||||
],
|
||||
"strength": 0
|
||||
},
|
||||
{
|
||||
"id": 70004,
|
||||
"efficacy_base": 15,
|
||||
"arr": [
|
||||
120
|
||||
],
|
||||
"strength": 0
|
||||
}
|
||||
]
|
||||
16
Main/cfg/tbbasicconfig.json
Normal file
16
Main/cfg/tbbasicconfig.json
Normal file
@@ -0,0 +1,16 @@
|
||||
[
|
||||
{
|
||||
"x1": 1101001101,
|
||||
"x2": 150,
|
||||
"x3": 500,
|
||||
"x4": 50,
|
||||
"x5": 10,
|
||||
"x6": 4,
|
||||
"x7": [
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
]
|
||||
}
|
||||
]
|
||||
30
Main/cfg/tbbobber.json
Normal file
30
Main/cfg/tbbobber.json
Normal file
@@ -0,0 +1,30 @@
|
||||
[
|
||||
{
|
||||
"id": 50001,
|
||||
"displacement": 40,
|
||||
"night_light": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 50002,
|
||||
"displacement": 40,
|
||||
"night_light": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 50003,
|
||||
"displacement": 40,
|
||||
"night_light": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 50004,
|
||||
"displacement": 40,
|
||||
"night_light": [
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
7
Main/cfg/tbfeeder.json
Normal file
7
Main/cfg/tbfeeder.json
Normal file
@@ -0,0 +1,7 @@
|
||||
[
|
||||
{
|
||||
"id": 110001,
|
||||
"capacity": 100,
|
||||
"weight": 5
|
||||
}
|
||||
]
|
||||
30
Main/cfg/tbfish.json
Normal file
30
Main/cfg/tbfish.json
Normal file
@@ -0,0 +1,30 @@
|
||||
[
|
||||
{
|
||||
"id": 210001,
|
||||
"name": "鲤鱼",
|
||||
"min_weight": 1,
|
||||
"max_weight": 34,
|
||||
"accept": 2100001
|
||||
},
|
||||
{
|
||||
"id": 210002,
|
||||
"name": "金鲫",
|
||||
"min_weight": 1,
|
||||
"max_weight": 34,
|
||||
"accept": 2100001
|
||||
},
|
||||
{
|
||||
"id": 210003,
|
||||
"name": "银鲫",
|
||||
"min_weight": 1,
|
||||
"max_weight": 34,
|
||||
"accept": 2100001
|
||||
},
|
||||
{
|
||||
"id": 210004,
|
||||
"name": "拟鲤",
|
||||
"min_weight": 1,
|
||||
"max_weight": 34,
|
||||
"accept": 2100001
|
||||
}
|
||||
]
|
||||
1290
Main/cfg/tbgoods.json
Normal file
1290
Main/cfg/tbgoods.json
Normal file
File diff suppressed because it is too large
Load Diff
22
Main/cfg/tbhook.json
Normal file
22
Main/cfg/tbhook.json
Normal file
@@ -0,0 +1,22 @@
|
||||
[
|
||||
{
|
||||
"id": 90001,
|
||||
"ding": 1
|
||||
},
|
||||
{
|
||||
"id": 90002,
|
||||
"ding": 1
|
||||
},
|
||||
{
|
||||
"id": 90003,
|
||||
"ding": 1
|
||||
},
|
||||
{
|
||||
"id": 90004,
|
||||
"ding": 1
|
||||
},
|
||||
{
|
||||
"id": 90005,
|
||||
"ding": 1
|
||||
}
|
||||
]
|
||||
386
Main/cfg/tbinititemconfig.json
Normal file
386
Main/cfg/tbinititemconfig.json
Normal file
@@ -0,0 +1,386 @@
|
||||
[
|
||||
{
|
||||
"id": 10001,
|
||||
"count": 100
|
||||
},
|
||||
{
|
||||
"id": 10002,
|
||||
"count": 200
|
||||
},
|
||||
{
|
||||
"id": 10003,
|
||||
"count": 0
|
||||
},
|
||||
{
|
||||
"id": 30001,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 30002,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 30003,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 30004,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 30005,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 30006,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 30007,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 30008,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 30009,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 30010,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 30011,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 40001,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 40002,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 40003,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 40004,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 40005,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 40006,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 40007,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 40008,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 40009,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 40010,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 50001,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 50002,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 50003,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 50004,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 50005,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 50006,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 50007,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 50008,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 50009,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 50010,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 50011,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 50012,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 50013,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 50014,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 60001,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 60002,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 60003,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 60004,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 60005,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 60006,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 60007,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 60008,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 60009,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 60010,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 70001,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 70002,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 70003,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 70004,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 80001,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 80002,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 80003,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 80004,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 80005,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 80006,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 80007,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 80008,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 80009,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 80010,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 80011,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 80012,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 80013,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90001,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90002,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90003,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90004,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90005,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90006,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90007,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90008,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90009,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90010,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90011,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90012,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90013,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90014,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90015,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90016,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90017,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90018,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90019,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 90020,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 100001,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 100002,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 100003,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 100004,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 100005,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 100006,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 100007,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 100008,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 100009,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 100010,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 110001,
|
||||
"count": 1
|
||||
}
|
||||
]
|
||||
1118
Main/cfg/tbitem.json
Normal file
1118
Main/cfg/tbitem.json
Normal file
File diff suppressed because it is too large
Load Diff
12
Main/cfg/tbline.json
Normal file
12
Main/cfg/tbline.json
Normal file
@@ -0,0 +1,12 @@
|
||||
[
|
||||
{
|
||||
"id": 60001,
|
||||
"strength": 40,
|
||||
"size": 1
|
||||
},
|
||||
{
|
||||
"id": 60002,
|
||||
"strength": 40,
|
||||
"size": 1
|
||||
}
|
||||
]
|
||||
34
Main/cfg/tblure.json
Normal file
34
Main/cfg/tblure.json
Normal file
@@ -0,0 +1,34 @@
|
||||
[
|
||||
{
|
||||
"id": 80001,
|
||||
"hook": [
|
||||
700102
|
||||
],
|
||||
"hook_num": 1,
|
||||
"efficacy_base": 50
|
||||
},
|
||||
{
|
||||
"id": 80002,
|
||||
"hook": [
|
||||
700102
|
||||
],
|
||||
"hook_num": 1,
|
||||
"efficacy_base": 50
|
||||
},
|
||||
{
|
||||
"id": 80003,
|
||||
"hook": [
|
||||
0
|
||||
],
|
||||
"hook_num": 1,
|
||||
"efficacy_base": 50
|
||||
},
|
||||
{
|
||||
"id": 80004,
|
||||
"hook": [
|
||||
0
|
||||
],
|
||||
"hook_num": 1,
|
||||
"efficacy_base": 50
|
||||
}
|
||||
]
|
||||
66
Main/cfg/tbreel.json
Normal file
66
Main/cfg/tbreel.json
Normal file
@@ -0,0 +1,66 @@
|
||||
[
|
||||
{
|
||||
"id": 40001,
|
||||
"reel_type": 1,
|
||||
"gear_ratio": [
|
||||
7
|
||||
],
|
||||
"strength": 40
|
||||
},
|
||||
{
|
||||
"id": 40002,
|
||||
"reel_type": 1,
|
||||
"gear_ratio": [
|
||||
5
|
||||
],
|
||||
"strength": 40
|
||||
},
|
||||
{
|
||||
"id": 40003,
|
||||
"reel_type": 2,
|
||||
"gear_ratio": [],
|
||||
"strength": 0
|
||||
},
|
||||
{
|
||||
"id": 40004,
|
||||
"reel_type": 2,
|
||||
"gear_ratio": [],
|
||||
"strength": 0
|
||||
},
|
||||
{
|
||||
"id": 40005,
|
||||
"reel_type": 3,
|
||||
"gear_ratio": [],
|
||||
"strength": 0
|
||||
},
|
||||
{
|
||||
"id": 40006,
|
||||
"reel_type": 3,
|
||||
"gear_ratio": [],
|
||||
"strength": 0
|
||||
},
|
||||
{
|
||||
"id": 40007,
|
||||
"reel_type": 1,
|
||||
"gear_ratio": [],
|
||||
"strength": 0
|
||||
},
|
||||
{
|
||||
"id": 40008,
|
||||
"reel_type": 1,
|
||||
"gear_ratio": [],
|
||||
"strength": 0
|
||||
},
|
||||
{
|
||||
"id": 40009,
|
||||
"reel_type": 3,
|
||||
"gear_ratio": [],
|
||||
"strength": 0
|
||||
},
|
||||
{
|
||||
"id": 40010,
|
||||
"reel_type": 3,
|
||||
"gear_ratio": [],
|
||||
"strength": 0
|
||||
}
|
||||
]
|
||||
90
Main/cfg/tbrod.json
Normal file
90
Main/cfg/tbrod.json
Normal file
@@ -0,0 +1,90 @@
|
||||
[
|
||||
{
|
||||
"id": 30001,
|
||||
"rod_type": 1,
|
||||
"ring": 0,
|
||||
"strength": 40,
|
||||
"max_range": 67,
|
||||
"construction_type": 0
|
||||
},
|
||||
{
|
||||
"id": 30002,
|
||||
"rod_type": 3,
|
||||
"ring": 2,
|
||||
"strength": 40,
|
||||
"max_range": 30,
|
||||
"construction_type": 0
|
||||
},
|
||||
{
|
||||
"id": 30003,
|
||||
"rod_type": 2,
|
||||
"ring": 1,
|
||||
"strength": 40,
|
||||
"max_range": 30,
|
||||
"construction_type": 0
|
||||
},
|
||||
{
|
||||
"id": 30004,
|
||||
"rod_type": 1,
|
||||
"ring": 1,
|
||||
"strength": 40,
|
||||
"max_range": 30,
|
||||
"construction_type": 0
|
||||
},
|
||||
{
|
||||
"id": 30005,
|
||||
"rod_type": 2,
|
||||
"ring": 1,
|
||||
"strength": 40,
|
||||
"max_range": 30,
|
||||
"construction_type": 0
|
||||
},
|
||||
{
|
||||
"id": 30006,
|
||||
"rod_type": 2,
|
||||
"ring": 1,
|
||||
"strength": 40,
|
||||
"max_range": 30,
|
||||
"construction_type": 0
|
||||
},
|
||||
{
|
||||
"id": 30007,
|
||||
"rod_type": 2,
|
||||
"ring": 1,
|
||||
"strength": 40,
|
||||
"max_range": 30,
|
||||
"construction_type": 0
|
||||
},
|
||||
{
|
||||
"id": 30008,
|
||||
"rod_type": 2,
|
||||
"ring": 1,
|
||||
"strength": 40,
|
||||
"max_range": 30,
|
||||
"construction_type": 0
|
||||
},
|
||||
{
|
||||
"id": 30009,
|
||||
"rod_type": 2,
|
||||
"ring": 1,
|
||||
"strength": 40,
|
||||
"max_range": 30,
|
||||
"construction_type": 0
|
||||
},
|
||||
{
|
||||
"id": 30010,
|
||||
"rod_type": 2,
|
||||
"ring": 1,
|
||||
"strength": 40,
|
||||
"max_range": 30,
|
||||
"construction_type": 0
|
||||
},
|
||||
{
|
||||
"id": 30011,
|
||||
"rod_type": 2,
|
||||
"ring": 1,
|
||||
"strength": 40,
|
||||
"max_range": 30,
|
||||
"construction_type": 0
|
||||
}
|
||||
]
|
||||
1290
Main/cfg/tbshop.json
Normal file
1290
Main/cfg/tbshop.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user