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 TranslatedGargoyleJournal : BlueBook
[Serializable(0)]
public partial class TranslatedGargoyleJournal : BlueBook
{
public static readonly BookContent Content = new(
"Translated Journal",
@ -113,10 +114,6 @@ namespace Server.Items
{
}
public TranslatedGargoyleJournal(Serial serial) : base(serial)
{
}
public override BookContent DefaultContent => Content;
public override void AddNameProperty(ObjectPropertyList list)
@ -128,19 +125,5 @@ namespace Server.Items
{
LabelTo(from, "Translated Gargoyle Journal");
}
public override void Serialize(IGenericWriter writer)
{
base.Serialize(writer);
writer.WriteEncodedInt(0); // version
}
public override void Deserialize(IGenericReader reader)
{
base.Deserialize(reader);
var version = reader.ReadEncodedInt();
}
}
}