45 lines
961 B
C#
45 lines
961 B
C#
using System;
|
|
|
|
namespace Server.Items
|
|
{
|
|
[Flipable(0x46AE, 0x46AF)]
|
|
public class KrampusPunishinList : Item
|
|
{
|
|
private string _Name;
|
|
|
|
[Constructable]
|
|
public KrampusPunishinList(string name)
|
|
: base(0x46AE)
|
|
{
|
|
_Name = name;
|
|
Hue = 0x21;
|
|
}
|
|
|
|
public override void AddNameProperty(ObjectPropertyList list)
|
|
{
|
|
list.Add(1158834, _Name);
|
|
}
|
|
|
|
public KrampusPunishinList(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override void Serialize(GenericWriter writer)
|
|
{
|
|
base.Serialize(writer);
|
|
writer.Write((int)0); // version
|
|
|
|
writer.Write(_Name);
|
|
}
|
|
|
|
public override void Deserialize(GenericReader reader)
|
|
{
|
|
base.Deserialize(reader);
|
|
int version = reader.ReadInt();
|
|
|
|
_Name = reader.ReadString();
|
|
}
|
|
}
|
|
}
|