first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using ClassicAssist.UO.Network.PacketFilter;
|
||||
|
||||
namespace ClassicAssist.UO.Network.Packets
|
||||
{
|
||||
public class ItemListMenu : BasePacket, IMacroCommandParser
|
||||
{
|
||||
public string Parse( byte[] packet, int length, PacketDirection direction )
|
||||
{
|
||||
if ( packet[0] != 0x7C || direction != PacketDirection.Incoming )
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
int gumpId = ( packet[7] << 8 ) | packet[8];
|
||||
return $"WaitForMenu(0x{gumpId:x}, 5000)\r\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user