Examples of ExBR_GamePoint


Examples of l2p.gameserver.serverpackets.ExBR_GamePoint

      }
      finally
      {
        DatabaseUtils.closeDatabaseCSR(con, statement, rset);
      }
    player.sendPacket(new ExBR_GamePoint(player.getObjectId(), cash));
    }
    else if(Config.itemmallType == 2)
    {
    //Point system (Adena)
    L2ItemInstance item = player.getInventory().getItemByItemId(Config.itemmallItem);
    int count;
    if(item != null)
    {
      count = (int) item.getCount();
    }
    else
    {
      count = 0;
    }
    player.sendPacket(new ExBR_GamePoint(player.getObjectId(), count));
    }
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.ExBR_GamePoint

    for (ItemInstance item : attachments)
    {
      mail.addAttachment(item);
    }
    mail.save();
    activeChar.sendPacket(new ExBR_GamePoint(activeChar));
    activeChar.sendPacket(new ExBR_PresentBuyProductPacket(ExBR_PresentBuyProductPacket.RESULT_OK));
    activeChar.sendChanges();
    if (target != null)
    {
      target.sendPacket(ExNoticePostArrived.STATIC_TRUE);
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.ExBR_GamePoint

    activeChar.reducePremiumPoints(totalPoints);
    for (ProductItemComponent comp : product.getComponents())
    {
      activeChar.getInventory().addItem(comp.getItemId(), comp.getCount() * _count);
    }
    activeChar.sendPacket(new ExBR_GamePoint(activeChar));
    activeChar.sendPacket(new ExBR_BuyProduct(ExBR_BuyProduct.RESULT_OK));
    activeChar.sendChanges();
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.ExBR_GamePoint

    Player activeChar = getClient().getActiveChar();
    if (activeChar == null)
    {
      return;
    }
    activeChar.sendPacket(new ExBR_GamePoint(activeChar));
  }
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.