fix: Updates serialization to use v2.0 (#998)
- [X] Deletes serialization annotations - [X] Updates to ModernUO.Serialization.Annotations nuget - [X] Updates serializer to v2.0 - [X] Changes all `Serializable()` to `SerializationGenerator()` - [X] Updates to schema generator v2.0
This commit is contained in:
parent
5d972caa9c
commit
54d728a322
740 changed files with 2552 additions and 1743 deletions
|
|
@ -1,10 +1,11 @@
|
|||
using System;
|
||||
using ModernUO.Serialization;
|
||||
using Server.Network;
|
||||
using Server.Spells;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public abstract partial class BaseMagicFish : Item
|
||||
{
|
||||
public BaseMagicFish(int hue) : base(0xDD6) => Hue = hue;
|
||||
|
|
@ -42,7 +43,7 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class PrizedFish : BaseMagicFish
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -56,7 +57,7 @@ namespace Server.Items
|
|||
public override int LabelNumber => 1041073; // prized fish
|
||||
}
|
||||
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class WondrousFish : BaseMagicFish
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -70,7 +71,7 @@ namespace Server.Items
|
|||
public override int LabelNumber => 1041074; // wondrous fish
|
||||
}
|
||||
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class TrulyRareFish : BaseMagicFish
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -84,7 +85,7 @@ namespace Server.Items
|
|||
public override int LabelNumber => 1041075; // truly rare fish
|
||||
}
|
||||
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class PeculiarFish : BaseMagicFish
|
||||
{
|
||||
[Constructible]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue