fix: Codegens rares and solen items (#1371)

This commit is contained in:
Kamron Batman 2023-03-11 19:25:48 -08:00 • committed by GitHub
parent 3514651c3c
commit 6fcd606947
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
228 changed files with 2921 additions and 4460 deletions

View file

@ -1,30 +1,14 @@
namespace Server.Items
using ModernUO.Serialization;
namespace Server.Items;
[SerializationGenerator(0, false)]
public partial class ToolKit : Item
{
public class ToolKit : Item
[Constructible]
public ToolKit() : base(Utility.Random(2) + 0x1EBA)
{
[Constructible]
public ToolKit() : base(Utility.Random(2) + 0x1EBA)
{
Movable = true;
Stackable = false;
}
public ToolKit(Serial serial) : base(serial)
{
}
public override void Serialize(IGenericWriter writer)
{
base.Serialize(writer);
writer.Write(0);
}
public override void Deserialize(IGenericReader reader)
{
base.Deserialize(reader);
var version = reader.ReadInt();
}
Movable = true;
Stackable = false;
}
}