fix: Codegens scrolls (#1348)

This commit is contained in:
Kamron Batman 2023-02-24 18:17:29 -08:00 • committed by GitHub
parent 8c4aaeeda6
commit 8e49fb4da4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
213 changed files with 1398 additions and 2879 deletions

View file

@ -1,28 +1,12 @@
namespace Server.Items
using ModernUO.Serialization;
namespace Server.Items;
[SerializationGenerator(0, false)]
public partial class StrangleScroll : SpellScroll
{
public class StrangleScroll : SpellScroll
[Constructible]
public StrangleScroll(int amount = 1) : base(110, 0x226A, amount)
{
[Constructible]
public StrangleScroll(int amount = 1) : base(110, 0x226A, amount)
{
}
public StrangleScroll(Serial serial) : base(serial)
{
}
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();
}
}
}