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 System;
|
||||
using ModernUO.Serialization;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
[Flippable(0x1070, 0x1074)]
|
||||
public partial class TrainingDummy : AddonComponent
|
||||
{
|
||||
|
|
@ -131,7 +132,7 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class TrainingDummyEastAddon : BaseAddon
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -143,7 +144,7 @@ namespace Server.Items
|
|||
public override BaseAddonDeed Deed => new TrainingDummyEastDeed();
|
||||
}
|
||||
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class TrainingDummyEastDeed : BaseAddonDeed
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -155,7 +156,7 @@ namespace Server.Items
|
|||
public override int LabelNumber => 1044335; // training dummy (east)
|
||||
}
|
||||
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class TrainingDummySouthAddon : BaseAddon
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -167,7 +168,7 @@ namespace Server.Items
|
|||
public override BaseAddonDeed Deed => new TrainingDummySouthDeed();
|
||||
}
|
||||
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class TrainingDummySouthDeed : BaseAddonDeed
|
||||
{
|
||||
[Constructible]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue