示例#1
0
        public void HandleAddItem(WorldClient client, MyShopAddItemPacket packet)
        {
            var ok = _shopManager.TryAddItem(packet.Bag, packet.Slot, packet.ShopSlot, packet.Price);

            if (ok)
            {
                _packetFactory.SendMyShopAddItem(client, packet.Bag, packet.Slot, packet.ShopSlot, packet.Price);
            }
        }