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,8 +1,9 @@
|
|||
using ModernUO.Serialization;
|
||||
using Server.Targeting;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public abstract partial class BaseClothMaterial : Item, IDyable
|
||||
{
|
||||
public BaseClothMaterial(int itemID, int amount = 1) : base(itemID)
|
||||
|
|
@ -91,7 +92,7 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class DarkYarn : BaseClothMaterial
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -100,7 +101,7 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class LightYarn : BaseClothMaterial
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -109,7 +110,7 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class LightYarnUnraveled : BaseClothMaterial
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -118,7 +119,7 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class SpoolOfThread : BaseClothMaterial
|
||||
{
|
||||
[Constructible]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue