fix: Codegens tools (#1354)
This commit is contained in:
parent
5c99d0cb38
commit
bf6da39176
61 changed files with 1827 additions and 2266 deletions
|
|
@ -1,34 +1,17 @@
|
|||
using ModernUO.Serialization;
|
||||
using Server.Engines.Craft;
|
||||
|
||||
namespace Server.Items
|
||||
namespace Server.Items;
|
||||
|
||||
[Flippable(0x102E, 0x102F)]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class Nails : BaseTool
|
||||
{
|
||||
[Flippable(0x102E, 0x102F)]
|
||||
public class Nails : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public Nails() : base(0x102E) => Weight = 2.0;
|
||||
[Constructible]
|
||||
public Nails() : base(0x102E) => Weight = 2.0;
|
||||
|
||||
[Constructible]
|
||||
public Nails(int uses) : base(uses, 0x102C) => Weight = 2.0;
|
||||
[Constructible]
|
||||
public Nails(int uses) : base(uses, 0x102C) => Weight = 2.0;
|
||||
|
||||
public Nails(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override CraftSystem CraftSystem => DefCarpentry.CraftSystem;
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
public override CraftSystem CraftSystem => DefCarpentry.CraftSystem;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue