- [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 TanBook : BaseBook
|
|
{
|
|
[Constructible]
|
|
public TanBook() : base(0xFF0)
|
|
{
|
|
}
|
|
|
|
[Constructible]
|
|
public TanBook(int pageCount, bool writable) : base(0xFF0, pageCount, writable)
|
|
{
|
|
}
|
|
|
|
[Constructible]
|
|
public TanBook(string title, string author, int pageCount, bool writable) : base(
|
|
0xFF0,
|
|
title,
|
|
author,
|
|
pageCount,
|
|
writable
|
|
)
|
|
{
|
|
}
|
|
|
|
// Intended for defined books only
|
|
public TanBook(bool writable) : base(0xFF0, writable)
|
|
{
|
|
}
|
|
}
|
|
}
|