fix: Codegens ML Quest items (#1522)
This commit is contained in:
parent
145c93ccf7
commit
27cd214d58
127 changed files with 1498 additions and 2362 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue