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

38
Server/HuePicker.cs Normal file
View File

@@ -0,0 +1,38 @@
#region References
using Server.Network;
#endregion
namespace Server.HuePickers
{
public class HuePicker
{
private static int m_NextSerial = 1;
private readonly int m_Serial;
private readonly int m_ItemID;
public int Serial { get { return m_Serial; } }
public int ItemID { get { return m_ItemID; } }
public HuePicker(int itemID)
{
do
{
m_Serial = m_NextSerial++;
}
while (m_Serial == 0);
m_ItemID = itemID;
}
public virtual void OnResponse(int hue)
{ }
public void SendTo(NetState state)
{
state.Send(new DisplayHuePicker(this));
state.AddHuePicker(this);
}
}
}