Examples of tradeItems()


Examples of l2p.gameserver.model.base.Transaction.tradeItems()

        }
        boolean trade1Valid = L2TradeList.validateTrade(activeChar, transaction.getExchangeList(activeChar));
        boolean trade2Valid = L2TradeList.validateTrade(requestor, transaction.getExchangeList(requestor));
        if(trade1Valid && trade2Valid)
        {
          transaction.tradeItems();
          requestor.sendPacket(Msg.YOUR_TRADE_IS_SUCCESSFUL, SendTradeDone.Success);
          activeChar.sendPacket(Msg.YOUR_TRADE_IS_SUCCESSFUL, SendTradeDone.Success);
        }
        else
        {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.