This commit is contained in:
2025-10-21 23:15:42 +08:00
parent bd737870d3
commit c644a1d4db
12 changed files with 379 additions and 301 deletions

View File

@@ -1,289 +1,444 @@
{ {
"WeightConfig": [
{
"Id": 100001,
"Model": "Weights/Weight2_5g",
"Icon": "",
"Type": 0,
"Weight": 3
}
],
"RingConfig": [
{
"Id": 120001,
"Model": "rod_rings/rumoi/rumoi_oxiline_spin",
"Icon": ""
},
{
"Id": 120002,
"Model": "rod_rings/smt/smt_pure_ceramic_bolo",
"Icon": ""
}
],
"LureConfig": [ "LureConfig": [
{ {
"Id": 80001, "Id": 80001,
"Model": "lures/express_fishing/crankbaits_1/775/crankbaits_775",
"Icon": "",
"Hook": [ "Hook": [
700102 700102
], ],
"EfficacyBase": 50, "EfficacyBase": 50
"Length": 0,
"Weight": 250
}, },
{ {
"Id": 80002, "Id": 80002,
"Model": "lures/express_fishing/poppers_1/poppers_590/poppers_590",
"Icon": "",
"Hook": [ "Hook": [
700102 700102
], ],
"EfficacyBase": 50, "EfficacyBase": 50
"Length": 0,
"Weight": 120
}, },
{ {
"Id": 80003, "Id": 80003,
"Model": "lures/express_fishing/softplastic/ef_supergrab_6/softplastic_g_1622",
"Icon": "",
"Hook": [ "Hook": [
0 0
], ],
"EfficacyBase": 50, "EfficacyBase": 50
"Length": 0,
"Weight": 120
}, },
{ {
"Id": 80004, "Id": 80004,
"Model": "lures/express_fishing/softplastic/ef_superminnow_6/softplastic_m_1634",
"Icon": "",
"Hook": [ "Hook": [
0 0
], ],
"EfficacyBase": 50, "EfficacyBase": 50
"Length": 0,
"Weight": 120
} }
], ],
"ItemConfig": [ "ItemConfig": [
{ {
"Id": 20001, "Id": 30001,
"Model": "", "Model": "rods/syberia/tele_10037/tele_10037_t13",
"Icon": "",
"Type": 1, "Type": 1,
"Quality": 1,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20002, "Id": 30002,
"Model": "", "Model": "rods/syberia/bolo_10021/bolo_10021_LB400",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 2,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20003, "Id": 30003,
"Model": "", "Model": "rods/syberia/spin_10034/spin_10034_S60H",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 3,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20004, "Id": 30004,
"Model": "", "Model": "rods/syberia/spin_10034/spin_10034_S60H",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 4,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20005, "Id": 30005,
"Model": "", "Model": "rods/syberia/spin_10034/spin_10034_S60H",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 5,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20006, "Id": 30006,
"Model": "", "Model": "rods/syberia/spin_10034/spin_10034_S60H",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 4,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20007, "Id": 30007,
"Model": "", "Model": "rods/syberia/spin_10034/spin_10034_S60H",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 3,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20008, "Id": 40001,
"Model": "", "Model": "reels/syberia/spin_5002/spin_5002",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 1,
"Brand": 1,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20009, "Id": 40002,
"Model": "", "Model": "reels/syberia/spin_5036/spin_5036",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 2,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20010, "Id": 50001,
"Model": "", "Model": "bobbers/expressfishing/bob_25003/bob_25003",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 1,
"Brand": 1,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20011, "Id": 50002,
"Model": "", "Model": "bobbers/expressfishing/bob_25162_25163/bob_25162",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 2,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20012, "Id": 50003,
"Model": "", "Model": "bobbers/expressfishing/bob_25166_25167/bob_25166",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 3,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20013, "Id": 50004,
"Model": "", "Model": "bobbers/expressfishing/bob_25001/bob_25001",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 4,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20014, "Id": 60001,
"Model": "", "Model": "Lines/UFE Mono/UFE monoClear",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 1,
"Brand": 1,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20015, "Id": 60002,
"Model": "", "Model": "rods/syberia/bolo_10021/bolo_10021_LB400",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 2,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20016, "Id": 70001,
"Model": "", "Model": "baits/worm_01/worm_01",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 1,
"Brand": 1,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20017, "Id": 70002,
"Model": "", "Model": "baits/fly/fly",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 2,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20018, "Id": 70003,
"Model": "", "Model": "baits/black_leech/black_leech",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 2,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20019, "Id": 70004,
"Model": "", "Model": "baits/bread/bread",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 3,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20020, "Id": 80001,
"Model": "", "Model": "lures/express_fishing/crankbaits_1/775/crankbaits_775",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 1,
"Brand": 1,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20021, "Id": 80002,
"Model": "", "Model": "lures/express_fishing/poppers_1/poppers_590/poppers_590",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 2,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
}, },
{ {
"Id": 20022, "Id": 80003,
"Model": "", "Model": "lures/express_fishing/softplastic/ef_supergrab_6/softplastic_g_1622",
"Icon": "",
"Type": 0, "Type": 0,
"Quality": 3,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0, "Max": 0,
"AutoUse": 0 "AutoUse": 0,
"Deal": 0
},
{
"Id": 80004,
"Model": "lures/express_fishing/softplastic/ef_superminnow_6/softplastic_m_1634",
"Type": 0,
"Quality": 4,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0,
"AutoUse": 0,
"Deal": 0
},
{
"Id": 90001,
"Model": "hooks/alliance/c_hook_20789_20794/c_hook_20789",
"Type": 1,
"Quality": 1,
"Brand": 1,
"Weight": 0,
"Length": 0,
"Max": 0,
"AutoUse": 0,
"Deal": 0
},
{
"Id": 90002,
"Model": "hooks/berserk_hooks/triple_20569_20577/triple_20569",
"Type": 1,
"Quality": 2,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0,
"AutoUse": 0,
"Deal": 0
},
{
"Id": 90003,
"Model": "hooks/berserk_hooks/triple_20569_20577/triple_20569",
"Type": 1,
"Quality": 3,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0,
"AutoUse": 0,
"Deal": 0
},
{
"Id": 90004,
"Model": "hooks/berserk_hooks/triple_20569_20577/triple_20569",
"Type": 1,
"Quality": 4,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0,
"AutoUse": 0,
"Deal": 0
},
{
"Id": 90005,
"Model": "hooks/berserk_hooks/triple_20569_20577/triple_20569",
"Type": 1,
"Quality": 5,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0,
"AutoUse": 0,
"Deal": 0
},
{
"Id": 100001,
"Model": "Weights/Weight2_5g",
"Type": 0,
"Quality": 1,
"Brand": 1,
"Weight": 0,
"Length": 0,
"Max": 0,
"AutoUse": 0,
"Deal": 0
},
{
"Id": 110001,
"Model": "Feeders/Feeder 1/FeedTrash 1",
"Type": 0,
"Quality": 1,
"Brand": 1,
"Weight": 0,
"Length": 0,
"Max": 0,
"AutoUse": 0,
"Deal": 0
},
{
"Id": 120001,
"Model": "rod_rings/rumoi/rumoi_oxiline_spin",
"Type": 0,
"Quality": 1,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0,
"AutoUse": 0,
"Deal": 0
},
{
"Id": 120002,
"Model": "rod_rings/smt/smt_pure_ceramic_bolo",
"Type": 0,
"Quality": 1,
"Brand": 0,
"Weight": 0,
"Length": 0,
"Max": 0,
"AutoUse": 0,
"Deal": 0
} }
], ],
"ReelConfig": [ "ReelConfig": [
{ {
"Id": 40001, "Id": 40001,
"Model": "reels/syberia/spin_5002/spin_5002",
"Icon": "",
"Type": 0,
"GearRatio": [ "GearRatio": [
"7" "7"
], ],
"Size": 250,
"Strength": 40 "Strength": 40
}, },
{ {
"Id": 40002, "Id": 40002,
"Model": "reels/syberia/spin_5036/spin_5036",
"Icon": "",
"Type": 0,
"GearRatio": [ "GearRatio": [
"5" "5"
], ],
"Size": 120,
"Strength": 40 "Strength": 40
} }
], ],
"LineConfig": [ "LineConfig": [
{ {
"Id": 60001, "Id": 60001,
"Model": "Lines/UFE Mono/UFE monoClear",
"Icon": "",
"Type": 0,
"Length": 7,
"Strength": 40, "Strength": 40,
"Size": 1 "Size": 1
}, },
{ {
"Id": 60002, "Id": 60002,
"Model": "rods/syberia/bolo_10021/bolo_10021_LB400",
"Icon": "",
"Type": 0,
"Length": 5,
"Strength": 40, "Strength": 40,
"Size": 1 "Size": 1
} }
@@ -291,56 +446,71 @@
"HookConfig": [ "HookConfig": [
{ {
"Id": 90001, "Id": 90001,
"Model": "hooks/alliance/c_hook_20789_20794/c_hook_20789", "Zadzior": 1
"Icon": "",
"Type": 1,
"Zadzior": 1,
"Length": 0,
"Weight": 1
}, },
{ {
"Id": 90002, "Id": 90002,
"Model": "hooks/berserk_hooks/triple_20569_20577/triple_20569", "Zadzior": 1
"Icon": "", },
"Type": 1, {
"Zadzior": 1, "Id": 90003,
"Length": 0, "Zadzior": 1
"Weight": 1 },
{
"Id": 90004,
"Zadzior": 1
},
{
"Id": 90005,
"Zadzior": 1
} }
], ],
"RodConfig": [ "RodConfig": [
{ {
"Id": 30001, "Id": 30001,
"Model": "rods/syberia/tele_10037/tele_10037_t13",
"Icon": "",
"Type": 1,
"Ring": 0, "Ring": 0,
"Length": 7,
"Weight": 250,
"Strength": 40, "Strength": 40,
"MaxRange": 67, "MaxRange": 67,
"ConstructionType": 0 "ConstructionType": 0
}, },
{ {
"Id": 30002, "Id": 30002,
"Model": "rods/syberia/bolo_10021/bolo_10021_LB400",
"Icon": "",
"Type": 0,
"Ring": 1100002, "Ring": 1100002,
"Length": 5,
"Weight": 120,
"Strength": 40, "Strength": 40,
"MaxRange": 30, "MaxRange": 30,
"ConstructionType": 0 "ConstructionType": 0
}, },
{ {
"Id": 30003, "Id": 30003,
"Model": "rods/syberia/spin_10034/spin_10034_S60H",
"Icon": "",
"Type": 0,
"Ring": 1100001, "Ring": 1100001,
"Length": 5, "Strength": 40,
"Weight": 120, "MaxRange": 30,
"ConstructionType": 0
},
{
"Id": 30004,
"Ring": 1100001,
"Strength": 40,
"MaxRange": 30,
"ConstructionType": 0
},
{
"Id": 30005,
"Ring": 1100001,
"Strength": 40,
"MaxRange": 30,
"ConstructionType": 0
},
{
"Id": 30006,
"Ring": 1100001,
"Strength": 40,
"MaxRange": 30,
"ConstructionType": 0
},
{
"Id": 30007,
"Ring": 1100001,
"Strength": 40, "Strength": 40,
"MaxRange": 30, "MaxRange": 30,
"ConstructionType": 0 "ConstructionType": 0
@@ -496,37 +666,21 @@
"BobberConfig": [ "BobberConfig": [
{ {
"Id": 50001, "Id": 50001,
"Model": "bobbers/expressfishing/bob_25003/bob_25003",
"Icon": "",
"Type": 2,
"Weight": 1,
"Displacement": 40, "Displacement": 40,
"NightLight": 0 "NightLight": 0
}, },
{ {
"Id": 50002, "Id": 50002,
"Model": "bobbers/expressfishing/bob_25162_25163/bob_25162",
"Icon": "",
"Type": 0,
"Weight": 1,
"Displacement": 40, "Displacement": 40,
"NightLight": 0 "NightLight": 0
}, },
{ {
"Id": 50003, "Id": 50003,
"Model": "bobbers/expressfishing/bob_25166_25167/bob_25166",
"Icon": "",
"Type": 0,
"Weight": 1,
"Displacement": 40, "Displacement": 40,
"NightLight": 0 "NightLight": 0
}, },
{ {
"Id": 50004, "Id": 50004,
"Model": "bobbers/expressfishing/bob_25001/bob_25001",
"Icon": "",
"Type": 0,
"Weight": 1,
"Displacement": 40, "Displacement": 40,
"NightLight": 0 "NightLight": 0
} }
@@ -534,9 +688,6 @@
"FeederConfig": [ "FeederConfig": [
{ {
"Id": 110001, "Id": 110001,
"Model": "Feeders/Feeder 1/FeedTrash 1",
"Icon": "",
"Type": 0,
"Capacity": 100, "Capacity": 100,
"Weight": 5 "Weight": 5
} }
@@ -544,11 +695,7 @@
"BaitConfig": [ "BaitConfig": [
{ {
"Id": 70001, "Id": 70001,
"Model": "baits/worm_01/worm_01",
"Icon": "",
"EfficacyBase": 15, "EfficacyBase": 15,
"Length": 0,
"Weight": 250,
"Arr": [ "Arr": [
250, 250,
1, 1,
@@ -564,11 +711,7 @@
}, },
{ {
"Id": 70002, "Id": 70002,
"Model": "baits/fly/fly",
"Icon": "",
"EfficacyBase": 15, "EfficacyBase": 15,
"Length": 0,
"Weight": 120,
"Arr": [ "Arr": [
120, 120,
4, 4,
@@ -582,11 +725,7 @@
}, },
{ {
"Id": 70003, "Id": 70003,
"Model": "baits/black_leech/black_leech",
"Icon": "",
"EfficacyBase": 15, "EfficacyBase": 15,
"Length": 0,
"Weight": 120,
"Arr": [ "Arr": [
120 120
], ],
@@ -596,11 +735,7 @@
}, },
{ {
"Id": 70004, "Id": 70004,
"Model": "baits/bread/bread",
"Icon": "",
"EfficacyBase": 15, "EfficacyBase": 15,
"Length": 0,
"Weight": 120,
"Arr": [ "Arr": [
120 120
], ],

View File

@@ -17,18 +17,10 @@ namespace NBF
[ProtoMember(1)] [ProtoMember(1)]
public uint Id { get; set; } // Id public uint Id { get; set; } // Id
[ProtoMember(2)] [ProtoMember(2)]
public string Model { get; set; } // 模型
[ProtoMember(3)]
public string Icon { get; set; } // 图标
[ProtoMember(4)]
public uint EfficacyBase { get; set; } // 吸引力 public uint EfficacyBase { get; set; } // 吸引力
[ProtoMember(5)] [ProtoMember(3)]
public uint Length { get; set; } // 长度(毫米)
[ProtoMember(6)]
public uint Weight { get; set; } // 重量(克)
[ProtoMember(7)]
public uint[] Arr { get; set; } = Array.Empty<uint>(); // 重量(克) public uint[] Arr { get; set; } = Array.Empty<uint>(); // 重量(克)
[ProtoMember(8)] [ProtoMember(4)]
public string[] ArrStr { get; set; } = Array.Empty<string>(); // 重量(克) public string[] ArrStr { get; set; } = Array.Empty<string>(); // 重量(克)
[ProtoIgnore] [ProtoIgnore]
public uint Key => Id; public uint Key => Id;

View File

@@ -17,16 +17,8 @@ namespace NBF
[ProtoMember(1)] [ProtoMember(1)]
public uint Id { get; set; } // Id public uint Id { get; set; } // Id
[ProtoMember(2)] [ProtoMember(2)]
public string Model { get; set; } // 模型
[ProtoMember(3)]
public string Icon { get; set; } // 图标
[ProtoMember(4)]
public uint Type { get; set; } // 类型
[ProtoMember(5)]
public uint Weight { get; set; } // 重量(克)
[ProtoMember(6)]
public uint Displacement { get; set; } // 位移 public uint Displacement { get; set; } // 位移
[ProtoMember(7)] [ProtoMember(3)]
public uint NightLight { get; set; } // 是否夜光 public uint NightLight { get; set; } // 是否夜光
[ProtoIgnore] [ProtoIgnore]
public uint Key => Id; public uint Key => Id;

View File

@@ -17,14 +17,8 @@ namespace NBF
[ProtoMember(1)] [ProtoMember(1)]
public uint Id { get; set; } // Id public uint Id { get; set; } // Id
[ProtoMember(2)] [ProtoMember(2)]
public string Model { get; set; } // 模型
[ProtoMember(3)]
public string Icon { get; set; } // 图标
[ProtoMember(4)]
public uint Type { get; set; } // 类型
[ProtoMember(5)]
public uint Capacity { get; set; } // 能力 public uint Capacity { get; set; } // 能力
[ProtoMember(6)] [ProtoMember(3)]
public uint Weight { get; set; } // 重量(克) public uint Weight { get; set; } // 重量(克)
[ProtoIgnore] [ProtoIgnore]
public uint Key => Id; public uint Key => Id;

View File

@@ -17,17 +17,7 @@ namespace NBF
[ProtoMember(1)] [ProtoMember(1)]
public uint Id { get; set; } // Id public uint Id { get; set; } // Id
[ProtoMember(2)] [ProtoMember(2)]
public string Model { get; set; } // 模型 public uint Zadzior { get; set; } // 长钉
[ProtoMember(3)]
public string Icon { get; set; } // 图标
[ProtoMember(4)]
public uint Type { get; set; } // 类型
[ProtoMember(5)]
public uint Zadzior { get; set; } // 长钉
[ProtoMember(6)]
public uint Length { get; set; } // 长度(毫米)
[ProtoMember(7)]
public uint Weight { get; set; } // 重量(克)
[ProtoIgnore] [ProtoIgnore]
public uint Key => Id; public uint Key => Id;

View File

@@ -19,13 +19,21 @@ namespace NBF
[ProtoMember(2)] [ProtoMember(2)]
public string Model { get; set; } // 模型 public string Model { get; set; } // 模型
[ProtoMember(3)] [ProtoMember(3)]
public string Icon { get; set; } // 图标
[ProtoMember(4)]
public uint Type { get; set; } // 类型 public uint Type { get; set; } // 类型
[ProtoMember(4)]
public uint Quality { get; set; } // 品质
[ProtoMember(5)] [ProtoMember(5)]
public uint Max { get; set; } // 最大堆叠数量 public uint Brand { get; set; } // 品牌
[ProtoMember(6)] [ProtoMember(6)]
public uint AutoUse { get; set; } // 获得自动使用 public uint Weight { get; set; } // 重量(克)
[ProtoMember(7)]
public uint Length { get; set; } // 长度(毫米)
[ProtoMember(8)]
public uint Max { get; set; } // 最大堆叠数量
[ProtoMember(9)]
public uint AutoUse { get; set; } // 获得自动使用
[ProtoMember(10)]
public uint Deal { get; set; } // 交易类型
[ProtoIgnore] [ProtoIgnore]
public uint Key => Id; public uint Key => Id;

View File

@@ -17,16 +17,8 @@ namespace NBF
[ProtoMember(1)] [ProtoMember(1)]
public uint Id { get; set; } // Id public uint Id { get; set; } // Id
[ProtoMember(2)] [ProtoMember(2)]
public string Model { get; set; } // 模型
[ProtoMember(3)]
public string Icon { get; set; } // 图标
[ProtoMember(4)]
public uint Type { get; set; } // 类型
[ProtoMember(5)]
public uint Length { get; set; } // 长度(毫米)
[ProtoMember(6)]
public uint Strength { get; set; } // 强度 public uint Strength { get; set; } // 强度
[ProtoMember(7)] [ProtoMember(3)]
public uint Size { get; set; } // 尺寸 public uint Size { get; set; } // 尺寸
[ProtoIgnore] [ProtoIgnore]
public uint Key => Id; public uint Key => Id;

View File

@@ -17,17 +17,9 @@ namespace NBF
[ProtoMember(1)] [ProtoMember(1)]
public uint Id { get; set; } // Id public uint Id { get; set; } // Id
[ProtoMember(2)] [ProtoMember(2)]
public string Model { get; set; } // 模型
[ProtoMember(3)]
public string Icon { get; set; } // 图标
[ProtoMember(4)]
public uint[] Hook { get; set; } = Array.Empty<uint>(); // 勾 public uint[] Hook { get; set; } = Array.Empty<uint>(); // 勾
[ProtoMember(5)] [ProtoMember(3)]
public uint EfficacyBase { get; set; } // 吸引力 public uint EfficacyBase { get; set; } // 吸引力
[ProtoMember(6)]
public uint Length { get; set; } // 长度(毫米)
[ProtoMember(7)]
public uint Weight { get; set; } // 重量(克)
[ProtoIgnore] [ProtoIgnore]
public uint Key => Id; public uint Key => Id;

View File

@@ -17,16 +17,8 @@ namespace NBF
[ProtoMember(1)] [ProtoMember(1)]
public uint Id { get; set; } // Id public uint Id { get; set; } // Id
[ProtoMember(2)] [ProtoMember(2)]
public string Model { get; set; } // 模型
[ProtoMember(3)]
public string Icon { get; set; } // 图标
[ProtoMember(4)]
public uint Type { get; set; } // 类型
[ProtoMember(5)]
public float[] GearRatio { get; set; } = Array.Empty<float>(); // 组件比 public float[] GearRatio { get; set; } = Array.Empty<float>(); // 组件比
[ProtoMember(6)] [ProtoMember(3)]
public uint Size { get; set; } // 尺寸
[ProtoMember(7)]
public uint Strength { get; set; } // 强度 public uint Strength { get; set; } // 强度
[ProtoIgnore] [ProtoIgnore]
public uint Key => Id; public uint Key => Id;

View File

@@ -17,22 +17,12 @@ namespace NBF
[ProtoMember(1)] [ProtoMember(1)]
public uint Id { get; set; } // Id public uint Id { get; set; } // Id
[ProtoMember(2)] [ProtoMember(2)]
public string Model { get; set; } // 模型
[ProtoMember(3)]
public string Icon { get; set; } // 图标
[ProtoMember(4)]
public uint Type { get; set; } // 类型
[ProtoMember(5)]
public uint Ring { get; set; } // 导线圈 public uint Ring { get; set; } // 导线圈
[ProtoMember(6)] [ProtoMember(3)]
public uint Length { get; set; } // 长度(毫米)
[ProtoMember(7)]
public uint Weight { get; set; } // 重量(克)
[ProtoMember(8)]
public uint Strength { get; set; } // 强度 public uint Strength { get; set; } // 强度
[ProtoMember(9)] [ProtoMember(4)]
public uint MaxRange { get; set; } // 最大范围 public uint MaxRange { get; set; } // 最大范围
[ProtoMember(10)] [ProtoMember(5)]
public uint ConstructionType { get; set; } // 结构类型 public uint ConstructionType { get; set; } // 结构类型
[ProtoIgnore] [ProtoIgnore]
public uint Key => Id; public uint Key => Id;

View File

@@ -8,18 +8,18 @@ using Fantasy.Platform.Net;
// 设置ID生成规则 // 设置ID生成规则
IdFactoryHelper.Initialize(IdFactoryType.World); IdFactoryHelper.Initialize(IdFactoryType.World);
// 获取配置文件 // // 获取配置文件
// 比如通过远程获取这个配置文件,这样可以多组服务器共享一套配置了 // // 比如通过远程获取这个配置文件,这样可以多组服务器共享一套配置了
var machineConfigText = await FileHelper.GetTextByRelativePath("../../../Config/Json/Server/MachineConfigData.Json"); // var machineConfigText = await FileHelper.GetTextByRelativePath("../../../Config/Json/Server/MachineConfigData.Json");
var processConfigText = await FileHelper.GetTextByRelativePath("../../../Config/Json/Server/ProcessConfigData.Json"); // var processConfigText = await FileHelper.GetTextByRelativePath("../../../Config/Json/Server/ProcessConfigData.Json");
var worldConfigText = await FileHelper.GetTextByRelativePath("../../../Config/Json/Server/WorldConfigData.Json"); // var worldConfigText = await FileHelper.GetTextByRelativePath("../../../Config/Json/Server/WorldConfigData.Json");
var sceneConfigText = await FileHelper.GetTextByRelativePath("../../../Config/Json/Server/SceneConfigData.Json"); // var sceneConfigText = await FileHelper.GetTextByRelativePath("../../../Config/Json/Server/SceneConfigData.Json");
// 初始化配置文件 // // 初始化配置文件
// 如果重复初始化方法会覆盖掉上一次的数据,非常适合热重载时使用 // // 如果重复初始化方法会覆盖掉上一次的数据,非常适合热重载时使用
MachineConfigData.Initialize(machineConfigText); // MachineConfigData.Initialize(machineConfigText);
ProcessConfigData.Initialize(processConfigText); // ProcessConfigData.Initialize(processConfigText);
WorldConfigData.Initialize(worldConfigText); // WorldConfigData.Initialize(worldConfigText);
SceneConfigData.Initialize(sceneConfigText); // SceneConfigData.Initialize(sceneConfigText);
//解析配置文件 //解析配置文件
var gameConfigText = await FileHelper.GetTextByRelativePath("../../../Config/Json/configs.Json"); var gameConfigText = await FileHelper.GetTextByRelativePath("../../../Config/Json/configs.Json");

View File

@@ -22,6 +22,7 @@
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ADictionary_00602_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003FLibrary_003FApplication_0020Support_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003F8bc9cdb23bc146bcaaae0bb9e45e5d46d9dc00_003Fdb_003F02b9a6a5_003FDictionary_00602_002Ecs/@EntryIndexedValue">ForceIncluded</s:String> <s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ADictionary_00602_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003FLibrary_003FApplication_0020Support_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003F8bc9cdb23bc146bcaaae0bb9e45e5d46d9dc00_003Fdb_003F02b9a6a5_003FDictionary_00602_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ADictionary_00602_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003FLibrary_003FApplication_0020Support_003FJetBrains_003FRider2024_002E3_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003F77fc0eb92b774686bbae91cb92331703d83600_003Feb_003F3472606c_003FDictionary_00602_002Ecs/@EntryIndexedValue">ForceIncluded</s:String> <s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ADictionary_00602_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003FLibrary_003FApplication_0020Support_003FJetBrains_003FRider2024_002E3_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003F77fc0eb92b774686bbae91cb92331703d83600_003Feb_003F3472606c_003FDictionary_00602_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AEnumerable_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003FLibrary_003FApplication_0020Support_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fe8241d251b32455eb32cf531792be2de95400_003F8d_003F7f127f2d_003FEnumerable_002Ecs/@EntryIndexedValue">ForceIncluded</s:String> <s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AEnumerable_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003FLibrary_003FApplication_0020Support_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fe8241d251b32455eb32cf531792be2de95400_003F8d_003F7f127f2d_003FEnumerable_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AExceptionDispatchInfo_002Ecs_002Fl_003AC_0021_003FUsers_003F60527_003FAppData_003FRoaming_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FSourcesCache_003Fbd1d5c50194fea68ff3559c160230b0ab50f5acf4ce3061bffd6d62958e2182_003FExceptionDispatchInfo_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AExceptionDispatchInfo_002Ecs_002Fl_003AC_0021_003FUsers_003Fbob_003FAppData_003FRoaming_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FSourcesCache_003Fbd1d5c50194fea68ff3559c160230b0ab50f5acf4ce3061bffd6d62958e2182_003FExceptionDispatchInfo_002Ecs/@EntryIndexedValue">ForceIncluded</s:String> <s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AExceptionDispatchInfo_002Ecs_002Fl_003AC_0021_003FUsers_003Fbob_003FAppData_003FRoaming_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FSourcesCache_003Fbd1d5c50194fea68ff3559c160230b0ab50f5acf4ce3061bffd6d62958e2182_003FExceptionDispatchInfo_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AExceptionDispatchInfo_002Ecs_002Fl_003AC_0021_003FUsers_003FFIREBAT_003FAppData_003FRoaming_003FJetBrains_003FRider2025_002E2_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fb241c378a97f4447a2e6baf64e656013e8e910_003Fe2_003F09fd5ce3_003FExceptionDispatchInfo_002Ecs/@EntryIndexedValue">ForceIncluded</s:String> <s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AExceptionDispatchInfo_002Ecs_002Fl_003AC_0021_003FUsers_003FFIREBAT_003FAppData_003FRoaming_003FJetBrains_003FRider2025_002E2_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fb241c378a97f4447a2e6baf64e656013e8e910_003Fe2_003F09fd5ce3_003FExceptionDispatchInfo_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AExceptionDispatchInfo_002Ecs_002Fl_003AC_0021_003FUsers_003FFIREBAT_003FAppData_003FRoaming_003FJetBrains_003FRider2025_002E2_003Fresharper_002Dhost_003FSourcesCache_003Fbd1d5c50194fea68ff3559c160230b0ab50f5acf4ce3061bffd6d62958e2182_003FExceptionDispatchInfo_002Ecs/@EntryIndexedValue">ForceIncluded</s:String> <s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AExceptionDispatchInfo_002Ecs_002Fl_003AC_0021_003FUsers_003FFIREBAT_003FAppData_003FRoaming_003FJetBrains_003FRider2025_002E2_003Fresharper_002Dhost_003FSourcesCache_003Fbd1d5c50194fea68ff3559c160230b0ab50f5acf4ce3061bffd6d62958e2182_003FExceptionDispatchInfo_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>