更新最新框架

This commit is contained in:
Bob.Song
2025-11-11 17:43:11 +08:00
parent 7b10d4cb31
commit fd3c6ec38d
1048 changed files with 11041 additions and 87002 deletions

View File

@@ -6,12 +6,12 @@ using System.Reflection;
using System.Collections.Generic;
using System.Collections.Concurrent;
using Fantasy.Serialize;
using Fantasy.ConfigTable;
using NBF.ConfigTable;
namespace NBF
{
[ProtoContract]
public sealed partial class BaitConfig : ASerialize, IProto, IConfigTable
public sealed partial class BaitConfig : ASerialize, IConfigTable
{
[ProtoMember(1)]

View File

@@ -6,12 +6,12 @@ using System.Reflection;
using System.Collections.Generic;
using System.Collections.Concurrent;
using Fantasy.Serialize;
using Fantasy.ConfigTable;
using NBF.ConfigTable;
namespace NBF
{
[ProtoContract]
public sealed partial class BasicConfig : ASerialize, IProto, IConfigTable
public sealed partial class BasicConfig : ASerialize, IConfigTable
{
[ProtoMember(1)]

View File

@@ -6,25 +6,20 @@ using System.Reflection;
using System.Collections.Generic;
using System.Collections.Concurrent;
using Fantasy.Serialize;
using Fantasy.ConfigTable;
using NBF.ConfigTable;
namespace NBF
{
[ProtoContract]
public sealed partial class BobberConfig : ASerialize, IProto, IConfigTable
public sealed partial class BobberConfig : ASerialize, IConfigTable
{
[ProtoMember(1)]
public uint Id { get; set; } // Id
[ProtoMember(2)]
public uint Displacement { get; set; } // 位移
[ProtoMember(3)]
public uint NightLight { get; set; } // 是否夜光
[ProtoIgnore]
public uint Key => Id;
[ProtoMember(1)] public uint Id { get; set; } // Id
[ProtoMember(2)] public uint Displacement { get; set; } // 位移
[ProtoMember(3)] public uint NightLight { get; set; } // 是否夜光
[ProtoIgnore] public uint Key => Id;
#region Static
private static ConfigContext<BobberConfig> Context => ConfigTableHelper.Table<BobberConfig>();
public static BobberConfig Get(uint key)
@@ -36,7 +31,7 @@ namespace NBF
{
return Context.Get(match);
}
public static BobberConfig Fist()
{
return Context.Fist();
@@ -56,7 +51,7 @@ namespace NBF
{
return Context.Last(match);
}
public static int Count()
{
return Context.Count();
@@ -76,10 +71,12 @@ namespace NBF
{
return Context.GetList(match);
}
public static void ParseJson(Newtonsoft.Json.Linq.JArray arr)
{
ConfigTableHelper.ParseLine<BobberConfig>(arr);
}
#endregion
}
}

View File

@@ -6,12 +6,12 @@ using System.Reflection;
using System.Collections.Generic;
using System.Collections.Concurrent;
using Fantasy.Serialize;
using Fantasy.ConfigTable;
using NBF.ConfigTable;
namespace NBF
{
[ProtoContract]
public sealed partial class FeederConfig : ASerialize, IProto, IConfigTable
public sealed partial class FeederConfig : ASerialize, IConfigTable
{
[ProtoMember(1)]

View File

@@ -6,12 +6,12 @@ using System.Reflection;
using System.Collections.Generic;
using System.Collections.Concurrent;
using Fantasy.Serialize;
using Fantasy.ConfigTable;
using NBF.ConfigTable;
namespace NBF
{
[ProtoContract]
public sealed partial class FishConfig : ASerialize, IProto, IConfigTable
public sealed partial class FishConfig : ASerialize, IConfigTable
{
[ProtoMember(1)]

View File

@@ -6,12 +6,12 @@ using System.Reflection;
using System.Collections.Generic;
using System.Collections.Concurrent;
using Fantasy.Serialize;
using Fantasy.ConfigTable;
using NBF.ConfigTable;
namespace NBF
{
[ProtoContract]
public sealed partial class HookConfig : ASerialize, IProto, IConfigTable
public sealed partial class HookConfig : ASerialize, IConfigTable
{
[ProtoMember(1)]

View File

@@ -6,12 +6,12 @@ using System.Reflection;
using System.Collections.Generic;
using System.Collections.Concurrent;
using Fantasy.Serialize;
using Fantasy.ConfigTable;
using NBF.ConfigTable;
namespace NBF
{
[ProtoContract]
public sealed partial class InitConfig : ASerialize, IProto, IConfigTable
public sealed partial class InitConfig : ASerialize, IConfigTable
{
[ProtoMember(1)]

View File

@@ -6,12 +6,12 @@ using System.Reflection;
using System.Collections.Generic;
using System.Collections.Concurrent;
using Fantasy.Serialize;
using Fantasy.ConfigTable;
using NBF.ConfigTable;
namespace NBF
{
[ProtoContract]
public sealed partial class ItemConfig : ASerialize, IProto, IConfigTable
public sealed partial class ItemConfig : ASerialize, IConfigTable
{
[ProtoMember(1)]

View File

@@ -6,12 +6,12 @@ using System.Reflection;
using System.Collections.Generic;
using System.Collections.Concurrent;
using Fantasy.Serialize;
using Fantasy.ConfigTable;
using NBF.ConfigTable;
namespace NBF
{
[ProtoContract]
public sealed partial class LineConfig : ASerialize, IProto, IConfigTable
public sealed partial class LineConfig : ASerialize, IConfigTable
{
[ProtoMember(1)]

View File

@@ -6,12 +6,12 @@ using System.Reflection;
using System.Collections.Generic;
using System.Collections.Concurrent;
using Fantasy.Serialize;
using Fantasy.ConfigTable;
using NBF.ConfigTable;
namespace NBF
{
[ProtoContract]
public sealed partial class LureConfig : ASerialize, IProto, IConfigTable
public sealed partial class LureConfig : ASerialize, IConfigTable
{
[ProtoMember(1)]

View File

@@ -6,12 +6,12 @@ using System.Reflection;
using System.Collections.Generic;
using System.Collections.Concurrent;
using Fantasy.Serialize;
using Fantasy.ConfigTable;
using NBF.ConfigTable;
namespace NBF
{
[ProtoContract]
public sealed partial class ReelConfig : ASerialize, IProto, IConfigTable
public sealed partial class ReelConfig : ASerialize, IConfigTable
{
[ProtoMember(1)]

View File

@@ -6,12 +6,12 @@ using System.Reflection;
using System.Collections.Generic;
using System.Collections.Concurrent;
using Fantasy.Serialize;
using Fantasy.ConfigTable;
using NBF.ConfigTable;
namespace NBF
{
[ProtoContract]
public sealed partial class RingConfig : ASerialize, IProto, IConfigTable
public sealed partial class RingConfig : ASerialize, IConfigTable
{
[ProtoMember(1)]

View File

@@ -6,12 +6,12 @@ using System.Reflection;
using System.Collections.Generic;
using System.Collections.Concurrent;
using Fantasy.Serialize;
using Fantasy.ConfigTable;
using NBF.ConfigTable;
namespace NBF
{
[ProtoContract]
public sealed partial class RodConfig : ASerialize, IProto, IConfigTable
public sealed partial class RodConfig : ASerialize, IConfigTable
{
[ProtoMember(1)]

View File

@@ -6,12 +6,12 @@ using System.Reflection;
using System.Collections.Generic;
using System.Collections.Concurrent;
using Fantasy.Serialize;
using Fantasy.ConfigTable;
using NBF.ConfigTable;
namespace NBF
{
[ProtoContract]
public sealed partial class RodRingConfig : ASerialize, IProto, IConfigTable
public sealed partial class RodRingConfig : ASerialize, IConfigTable
{
[ProtoMember(1)]

View File

@@ -6,12 +6,12 @@ using System.Reflection;
using System.Collections.Generic;
using System.Collections.Concurrent;
using Fantasy.Serialize;
using Fantasy.ConfigTable;
using NBF.ConfigTable;
namespace NBF
{
[ProtoContract]
public sealed partial class WeightConfig : ASerialize, IProto, IConfigTable
public sealed partial class WeightConfig : ASerialize, IConfigTable
{
[ProtoMember(1)]