fix: Codegens ML Quest items (#1522)

This commit is contained in:
Kamron Batman 2023-09-30 00:46:07 -07:00 • committed by GitHub
parent 145c93ccf7
commit 27cd214d58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
127 changed files with 1498 additions and 2362 deletions

View file

@ -1,36 +1,20 @@
namespace Server.Items
using ModernUO.Serialization;
namespace Server.Items;
[SerializationGenerator(0, false)]
public partial class NotarizedApplication : Item
{
public class NotarizedApplication : Item
[Constructible]
public NotarizedApplication() : base(0x14EF) => LootType = LootType.Blessed;
public override int LabelNumber => 1073135; // Notarized Application
public override bool Nontransferable => true;
public override void AddNameProperties(IPropertyList list)
{
[Constructible]
public NotarizedApplication() : base(0x14EF) => LootType = LootType.Blessed;
public NotarizedApplication(Serial serial) : base(serial)
{
}
public override int LabelNumber => 1073135; // Notarized Application
public override bool Nontransferable => true;
public override void AddNameProperties(IPropertyList list)
{
base.AddNameProperties(list);
AddQuestItemProperty(list);
}
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();
}
base.AddNameProperties(list);
AddQuestItemProperty(list);
}
}