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,7 +1,8 @@
namespace Server.Items
{
[Serializable(0, false)]
[Flippable(0x1B09, 0x1B10)]
public class BonePile : Item, IScissorable
public partial class BonePile : Item, IScissorable
{
[Constructible]
public BonePile() : base(0x1B09 + Utility.Random(8))
@ -10,10 +11,6 @@ namespace Server.Items
Weight = 10.0;
}
public BonePile(Serial serial) : base(serial)
{
}
public bool Scissor(Mobile from, Scissors scissors)
{
if (Deleted || !from.CanSee(this))
@ -25,19 +22,5 @@ namespace Server.Items
return true;
}
public override void Serialize(IGenericWriter writer)
{
base.Serialize(writer);
writer.Write(0); // version
}
public override void Deserialize(IGenericReader reader)
{
base.Deserialize(reader);
var version = reader.ReadInt();
}
}
}