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,6 +1,8 @@
|
|||
using ModernUO.Serialization;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public abstract partial class BaseShoes : BaseClothing
|
||||
{
|
||||
public BaseShoes(int itemID, int hue = 0) : base(itemID, Layer.Shoes, hue)
|
||||
|
|
@ -20,7 +22,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
[Flippable(0x2307, 0x2308)]
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class FurBoots : BaseShoes
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -28,7 +30,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
[Flippable(0x170b, 0x170c)]
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class Boots : BaseShoes
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -38,7 +40,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
[Flippable]
|
||||
[Serializable(2, false)]
|
||||
[SerializationGenerator(2, false)]
|
||||
public partial class ThighBoots : BaseShoes, IArcaneEquip
|
||||
{
|
||||
private int _maxArcaneCharges;
|
||||
|
|
@ -140,7 +142,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
[Flippable(0x170f, 0x1710)]
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class Shoes : BaseShoes
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -150,7 +152,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
[Flippable(0x170d, 0x170e)]
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class Sandals : BaseShoes
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -162,7 +164,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
[Flippable(0x2797, 0x27E2)]
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class NinjaTabi : BaseShoes
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -170,7 +172,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
[Flippable(0x2796, 0x27E1)]
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class SamuraiTabi : BaseShoes
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -178,7 +180,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
[Flippable(0x2796, 0x27E1)]
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class Waraji : BaseShoes
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -186,7 +188,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
[Flippable(0x2FC4, 0x317A)]
|
||||
[Serializable(0)]
|
||||
[SerializationGenerator(0)]
|
||||
public partial class ElvenBoots : BaseShoes
|
||||
{
|
||||
[Constructible]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue