fix: Updates disguises and codegens tinkering items (#1353)

This commit is contained in:
Kamron Batman 2023-02-25 12:01:06 -08:00 • committed by GitHub
parent f2fdc0321c
commit d14e864c85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
56 changed files with 1012 additions and 1454 deletions

View file

@ -1,28 +1,11 @@
namespace Server.Items
using ModernUO.Serialization;
namespace Server.Items;
// It isn't flippable
[SerializationGenerator(0)]
public partial class Globe : Item
{
public class Globe : Item
{
[Constructible]
public Globe() : base(0x1047) // It isn't flippable
=>
Weight = 3.0;
public Globe(Serial serial) : base(serial)
{
}
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();
}
}
[Constructible]
public Globe() : base(0x1047) => Weight = 3.0;
}