Esempio n. 1
0
        public static void HandleExchangeObjectTransfertAllFromInv(ExchangeObjectTransfertAllFromInvMessage message, WorldClient client)
        {
            AbstractTradeExchange dialog = client.Character.GetDialog <AbstractTradeExchange>();

            foreach (CharacterItemRecord item in client.Character.Inventory.GetItems())
            {
                dialog.MoveItem(item.UId, (int)item.Quantity);
            }
        }
Esempio n. 2
0
        public static void HandleExchangeObjectTransfertAllFromInvMessage(WorldClient client, ExchangeObjectTransfertAllFromInvMessage message)
        {
            var bank = client.Character.Dialog as BankDialog;

            if (bank == null)
            {
                return;
            }

            bank.Customer.MoveItems(true, new int[0], true, false);
        }