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 ModernUO.Serialization;
|
||||
using Server.Mobiles;
|
||||
using Server.Multis;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items;
|
||||
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class BarkeepContract : Item
|
||||
{
|
||||
[Constructible]
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
using ModernUO.Serialization;
|
||||
using Server.Targeting;
|
||||
|
||||
namespace Server.Items;
|
||||
|
|
@ -51,7 +52,7 @@ public class ClothingBlessTarget : Target // Create our targeting class (which w
|
|||
}
|
||||
}
|
||||
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class ClothingBlessDeed : Item // Create the item class which is derived from the base item class
|
||||
{
|
||||
[Constructible]
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
using ModernUO.Serialization;
|
||||
using Server.Targeting;
|
||||
|
||||
namespace Server.Items;
|
||||
|
|
@ -8,7 +9,7 @@ public interface ICommodity /* added IsDeedable prop so expansion-based deedable
|
|||
bool IsDeedable { get; }
|
||||
}
|
||||
|
||||
[Serializable(1, false)]
|
||||
[SerializationGenerator(1, false)]
|
||||
public partial class CommodityDeed : Item
|
||||
{
|
||||
[SerializableField(0, setter: "private")]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using ModernUO.Serialization;
|
||||
using Server.Engines.Craft;
|
||||
using Server.Mobiles;
|
||||
using Server.Targeting;
|
||||
|
|
@ -6,7 +7,7 @@ using Server.Targeting;
|
|||
namespace Server.Items;
|
||||
|
||||
[TypeAlias("Server.Items.DragonBarding")]
|
||||
[Serializable(2, false)]
|
||||
[SerializationGenerator(2, false)]
|
||||
public partial class DragonBardingDeed : Item, ICraftable
|
||||
{
|
||||
[InvalidateProperties]
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
using ModernUO.Serialization;
|
||||
using Server.Gumps;
|
||||
using Server.Mobiles;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items;
|
||||
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class HairRestylingDeed : Item
|
||||
{
|
||||
[Constructible]
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
using ModernUO.Serialization;
|
||||
using Server.Gumps;
|
||||
using Server.Multis;
|
||||
using Server.Network;
|
||||
|
|
@ -5,7 +6,7 @@ using Server.Targeting;
|
|||
|
||||
namespace Server.Items;
|
||||
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class HolidayTreeDeed : Item
|
||||
{
|
||||
[Constructible]
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
using ModernUO.Serialization;
|
||||
using Server.Gumps;
|
||||
using Server.Misc;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items;
|
||||
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class NameChangeDeed : Item
|
||||
{
|
||||
[Constructible]
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
using ModernUO.Serialization;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Targeting;
|
||||
|
||||
namespace Server.Items;
|
||||
|
||||
[Serializable(0, false)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class NewPlayerTicket : Item
|
||||
{
|
||||
[SerializableField(0)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue