Package l2p.gameserver.model.base

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


      }
      if(_response == 1)
      {
        // first party accepted the trade
        // notify clients that "OK" button has been pressed.
        transaction.confirm(activeChar);
        requestor.sendPacket(new SystemMessage(SystemMessage.C1_HAS_CONFIRMED_THE_TRADE).addString(activeChar.getName()), Msg.TradePressOtherOk);
        if(!transaction.isConfirmed(activeChar) || !transaction.isConfirmed(requestor)) // Check for dual confirmation
        {
          activeChar.sendActionFailed();
          return;
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.