Files
abysmal-isle/Scripts/SubSystem/TownHouses/Items/RentalContractCopy.cs
Unstable Kitsune b918192e4e Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
2023-11-28 23:20:26 -05:00

48 lines
782 B
C#

#region References
using Server;
#endregion
namespace Knives.TownHouses
{
public class RentalContractCopy : Item
{
private readonly RentalContract c_Contract;
public RentalContractCopy(RentalContract contract)
{
Name = "rental contract copy";
ItemID = 0x14F0;
c_Contract = contract;
}
public override void OnDoubleClick(Mobile m)
{
if (c_Contract == null || c_Contract.Deleted)
{
Delete();
return;
}
c_Contract.OnDoubleClick(m);
}
public RentalContractCopy(Serial serial)
: base(serial)
{ }
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write(0);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
reader.ReadInt();
}
}
}