public static void HandleExchangeObjectTransfertAllToInv(ExchangeObjectTransfertAllToInvMessage message, WorldClient client) { client.Character.GetDialog <AbstractTradeExchange>().RemoveAllItems(); }
public static void HandleExchangeObjectTransfertAllToInvMessage(WorldClient client, ExchangeObjectTransfertAllToInvMessage message) { var bank = client.Character.Dialog as BankDialog; if (bank == null) { return; } bank.Customer.MoveItems(false, new int[0], true, false); }