public void AddItemToShop(byte sourceWindow, UInt16 sourceSlot, UInt32 destinationSlot, UInt64 price) { CShopAddItemPacket packet = new CShopAddItemPacket(); packet.SourceInventory = sourceWindow; packet.SourceSlot = sourceSlot; packet.DestinationSlot = destinationSlot; packet.Price = price; virtualClient.SendPacket(packet); }
public void Sell(byte srcWindow, UInt16 srcSlot, UInt32 dstSlot, UInt64 price) { CShopAddItemPacket packet = new CShopAddItemPacket() { DestinationSlot = dstSlot, Price = price, SourceInventory = srcWindow, SourceSlot = srcSlot }; virtualClient.SendPacket(packet); }