fix(codegen): Codegens books (#697)

This commit is contained in:
Kamron Batman 2021-08-17 22:38:48 -07:00 • committed by GitHub
parent 488f1044fa
commit f7e7fa424b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
68 changed files with 452 additions and 1109 deletions

View file

@ -1,6 +1,7 @@
namespace Server.Items
{
public class RedBook : BaseBook
[Serializable(0, false)]
public partial class RedBook : BaseBook
{
[Constructible]
public RedBook() : base(0xFF1)
@ -27,23 +28,5 @@ namespace Server.Items
public RedBook(bool writable) : base(0xFF1, writable)
{
}
public RedBook(Serial serial) : base(serial)
{
}
public override void Deserialize(IGenericReader reader)
{
base.Deserialize(reader);
var version = reader.ReadInt();
}
public override void Serialize(IGenericWriter writer)
{
base.Serialize(writer);
writer.Write(0); // version
}
}
}