first commit

This commit is contained in:
Beyhan Oğur
2026-09-03 04:45:36 +03:00
commit d5f52cc3d3
1038 changed files with 169579 additions and 0 deletions
@@ -0,0 +1,27 @@
using ClassicAssist.Shared;
using ClassicAssist.UO.Data;
using ClassicAssist.UO.Objects;
namespace ClassicAssist.UO.Network.Packets
{
public class DragItem : BasePacket
{
public DragItem( int serial, int amount, bool checkAmount = false )
{
if ( checkAmount && amount == -1 )
{
Item item = Engine.Items.GetItem( serial );
if ( item != null )
{
amount = item.Count;
}
}
_writer = new PacketWriter( 7 );
_writer.Write( (byte) 0x07 );
_writer.Write( serial );
_writer.Write( (short) amount );
}
}
}