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