Overwrite

Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
Unstable Kitsune
2023-11-28 23:20:26 -05:00
parent 3cd54811de
commit b918192e4e
11608 changed files with 2644205 additions and 47 deletions

View File

@@ -0,0 +1,72 @@
using System;
namespace Server.Engines.Reports
{
public class ChartItem : PersistableObject
{
#region Type Identification
public static readonly PersistableType ThisTypeID = new PersistableType("ci", new ConstructCallback(Construct));
private static PersistableObject Construct()
{
return new ChartItem();
}
public override PersistableType TypeID
{
get
{
return ThisTypeID;
}
}
#endregion
private string m_Name;
private int m_Value;
public string Name
{
get
{
return this.m_Name;
}
set
{
this.m_Name = value;
}
}
public int Value
{
get
{
return this.m_Value;
}
set
{
this.m_Value = value;
}
}
private ChartItem()
{
}
public ChartItem(string name, int value)
{
this.m_Name = name;
this.m_Value = value;
}
public override void SerializeAttributes(PersistenceWriter op)
{
op.SetString("n", this.m_Name);
op.SetInt32("v", this.m_Value);
}
public override void DeserializeAttributes(PersistenceReader ip)
{
this.m_Name = Utility.Intern(ip.GetString("n"));
this.m_Value = ip.GetInt32("v");
}
}
}