Examples of BonusRequest


Examples of lineage2.gameserver.network.loginservercon.gspackets.BonusRequest

    double bonus = Config.SERVICES_RATE_BONUS_VALUE[i];
    int bonusExpire = (int) (System.currentTimeMillis() / 1000L) + (Config.SERVICES_RATE_BONUS_DAYS[i] * 24 * 60 * 60);
    switch (Config.SERVICES_RATE_TYPE)
    {
      case Bonus.BONUS_GLOBAL_ON_LOGINSERVER:
        LoginServerCommunication.getInstance().sendPacket(new BonusRequest(player.getAccountName(), bonus, bonusExpire));
        break;
      case Bonus.BONUS_GLOBAL_ON_GAMESERVER:
        AccountBonusDAO.getInstance().insert(player.getAccountName(), bonus, bonusExpire);
        break;
    }
View Full Code Here

Examples of lineage2.loginserver.gameservercon.gspackets.BonusRequest

          break;
        case 0x08:
          packet = new ChangePassword();
          break;
        case 0x10:
          packet = new BonusRequest();
          break;
        case 0x11:
          packet = new ChangeAccessLevel();
          break;
        case 0x15:
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.