更新最新框架
This commit is contained in:
@@ -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)]
|
||||
|
||||
@@ -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)]
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -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)]
|
||||
|
||||
@@ -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)]
|
||||
|
||||
@@ -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)]
|
||||
|
||||
@@ -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)]
|
||||
|
||||
@@ -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)]
|
||||
|
||||
@@ -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)]
|
||||
|
||||
@@ -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)]
|
||||
|
||||
@@ -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)]
|
||||
|
||||
@@ -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)]
|
||||
|
||||
@@ -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)]
|
||||
|
||||
@@ -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)]
|
||||
|
||||
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user