public void WriteSmallInfo(Packet packet)
{
packet.WriteUShort(this.ItemID);
switch (SlotType)
{
case ItemSlot.Helm:
case ItemSlot.Armor:
case ItemSlot.Pants:
case ItemSlot.Boots:
case ItemSlot.Weapon2:
case ItemSlot.Weapon:
packet.WriteByte(Upgrades);
packet.Fill(6, 0);
packet.WriteUShort(ushort.MaxValue); //unk
packet.WriteUInt(GetExpiringTime());
packet.WriteUShort(ushort.MaxValue);
break;
default:
packet.WriteUInt(GetExpiringTime());
packet.WriteInt(0); //unk
break;
}
}