mirror of
https://github.com/ServUO/ServUO
synced 2026-08-11 20:23:04 -04:00
67 lines
No EOL
1.6 KiB
C#
67 lines
No EOL
1.6 KiB
C#
namespace Server.Items
|
|
{
|
|
public class GargishLongTableEastAddon : BaseAddon
|
|
{
|
|
public override BaseAddonDeed Deed => new GargishLongTableEastDeed();
|
|
|
|
#region Mondain's Legacy
|
|
public override bool RetainDeedHue => true;
|
|
#endregion
|
|
|
|
[Constructable]
|
|
public GargishLongTableEastAddon()
|
|
{
|
|
AddComponent(new AddonComponent(0x4032), 0, 1, 0);
|
|
AddComponent(new AddonComponent(0x4031), 0, 0, 0);
|
|
}
|
|
|
|
public GargishLongTableEastAddon(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override void Serialize(GenericWriter writer)
|
|
{
|
|
base.Serialize(writer);
|
|
|
|
writer.WriteEncodedInt(0); // version
|
|
}
|
|
|
|
public override void Deserialize(GenericReader reader)
|
|
{
|
|
base.Deserialize(reader);
|
|
|
|
int version = reader.ReadEncodedInt();
|
|
}
|
|
}
|
|
|
|
public class GargishLongTableEastDeed : BaseAddonDeed
|
|
{
|
|
public override BaseAddon Addon => new GargishLongTableEastAddon();
|
|
public override int LabelNumber => 1111782;// long table
|
|
|
|
[Constructable]
|
|
public GargishLongTableEastDeed()
|
|
{
|
|
}
|
|
|
|
public GargishLongTableEastDeed(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override void Serialize(GenericWriter writer)
|
|
{
|
|
base.Serialize(writer);
|
|
|
|
writer.WriteEncodedInt(0); // version
|
|
}
|
|
|
|
public override void Deserialize(GenericReader reader)
|
|
{
|
|
base.Deserialize(reader);
|
|
|
|
int version = reader.ReadEncodedInt();
|
|
}
|
|
}
|
|
} |