- [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
34 lines
751 B
C#
34 lines
751 B
C#
using ModernUO.Serialization;
|
|
|
|
namespace Server.Items
|
|
{
|
|
[SerializationGenerator(0, false)]
|
|
public partial class BlueBook : BaseBook
|
|
{
|
|
[Constructible]
|
|
public BlueBook() : base(0xFF2, 40)
|
|
{
|
|
}
|
|
|
|
[Constructible]
|
|
public BlueBook(int pageCount, bool writable) : base(0xFF2, pageCount, writable)
|
|
{
|
|
}
|
|
|
|
[Constructible]
|
|
public BlueBook(string title, string author, int pageCount, bool writable) : base(
|
|
0xFF2,
|
|
title,
|
|
author,
|
|
pageCount,
|
|
writable
|
|
)
|
|
{
|
|
}
|
|
|
|
// Intended for defined books only
|
|
public BlueBook(bool writable) : base(0xFF2, writable)
|
|
{
|
|
}
|
|
}
|
|
}
|