Examples of store()


Examples of jnode.report.ConnectionStatData.store()

                    }
                }
                current.bytesReceived += evt.getBytesReceived();
                current.bytesSended += evt.getBytesSended();

                data.store(evt.getAddress(), current);
            }
        }
    }

    @Override
View Full Code Here

Examples of l2p.gameserver.model.L2Alliance.store()

    L2Alliance alliance = null;
    if(getAllyByName(allyName) == null)
    {
      L2Clan leader = player.getClan();
      alliance = new L2Alliance(IdFactory.getInstance().getNextId(), allyName, leader);
      alliance.store();
      _alliances.put(alliance.getAllyId(), alliance);
      player.getClan().setAllyId(alliance.getAllyId());
      for(L2Player temp : player.getClan().getOnlineMembers(0))
      {
        temp.broadcastUserInfo(true);
View Full Code Here

Examples of l2p.gameserver.model.L2Clan.store()

    L2Clan clan = null;
    if(getClanByName(clanName) == null)
    {
      L2ClanMember leader = new L2ClanMember(player);
      clan = new L2Clan(IdFactory.getInstance().getNextId(), clanName, leader);
      clan.store();
      player.setClan(clan);
      player.setPowerGrade(6);
      leader.setPlayerInstance(player);
      _clans.put(clan.getClanId(), clan);
    }
View Full Code Here

Examples of l2p.gameserver.model.L2Player.store()

        player.setTransformation(0);
        player.setTransformationName(null);
        player.removeSkill(SkillTable.getInstance().getInfo(cw.getSkillId(), player.getSkillLevel(cw.getSkillId())), false);
        // Remove
        player.getInventory().unEquipItemInBodySlot(L2Item.SLOT_LR_HAND, null);
        player.store(false);
        // Destroy
        if(player.getInventory().destroyItemByItemId(cw.getItemId(), 1, false) == null)
        {
          _log.info("CursedWeaponsManager[395]: Error! Cursed weapon not found!!!");
        }
View Full Code Here

Examples of l2p.gameserver.model.instances.L2PetInstance.store()

          {
            pet.setCurrentHp(pet.getMaxHp(), false);
            pet.setCurrentMp(pet.getMaxMp());
            pet.setExp(pet.getExpForThisLevel());
            pet.setCurrentFed(pet.getMaxFed());
            pet.store();
          }
          catch (NullPointerException e)
          {
            _log.warning("PetSummon: failed set stats for summon " + npcId + ".");
            return;
View Full Code Here

Examples of lineage2.gameserver.model.Player.store()

        activeChar.getInventory().addItem(10280, totalCertificates);
        _log.info("EnterWorld: Player - " + activeChar.getName() + " - Has received " + totalCertificates + " by previous skill certificate deletion." );
        for(SubClass sc : activeChar.getSubClassList().values())
        {
          sc.setCertification(0);
          activeChar.store(true);
        }
      }
    }
    activeChar.sendPacket(new ExAcquirableSkillListByClass(activeChar));
    activeChar.setPartySearchStatus(true);
View Full Code Here

Examples of lineage2.gameserver.model.instances.PetInstance.store()

    {
      pet.setCurrentHp(pet.getMaxHp(), false);
      pet.setCurrentMp(pet.getMaxMp());
      pet.setCurrentFed(pet.getMaxFed());
      pet.updateControlItem();
      pet.store();
    }
    pet.getInventory().restore();
    activeChar.getSummonList().addSummon(pet);
    pet.setHeading(activeChar.getHeading());
    pet.setReflection(activeChar.getReflection());
View Full Code Here

Examples of lineage2.gameserver.model.pledge.Alliance.store()

    Alliance alliance = null;
    if (getAllyByName(allyName) == null)
    {
      Clan leader = player.getClan();
      alliance = new Alliance(IdFactory.getInstance().getNextId(), allyName, leader);
      alliance.store();
      _alliances.put(alliance.getAllyId(), alliance);
      player.getClan().setAllyId(alliance.getAllyId());
      for (Player temp : player.getClan().getOnlineMembers(0))
      {
        temp.broadcastCharInfo();
View Full Code Here

Examples of lineage2.gameserver.model.pledge.Clan.store()

      leader.setLeaderOf(Clan.SUBUNIT_MAIN_CLAN);
      Clan clan = new Clan(IdFactory.getInstance().getNextId());
      SubUnit unit = new SubUnit(clan, Clan.SUBUNIT_MAIN_CLAN, leader, clanName);
      unit.addUnitMember(leader);
      clan.addSubUnit(unit, false);
      clan.store();
      player.setPledgeType(Clan.SUBUNIT_MAIN_CLAN);
      player.setClan(clan);
      player.setPowerGrade(6);
      leader.setPlayerInstance(player, false);
      _clans.put(clan.getClanId(), clan);
View Full Code Here

Examples of models.Attachment.store()

            return forbidden();
        }

        // Attach the file to the user who upload it.
        Attachment attach = new Attachment();
        boolean isCreated = attach.store(file, filePart.getFilename(), uploader.asResource());

        // The request has been fulfilled and resulted in a new resource being
        // created. The newly created resource can be referenced by the URI(s)
        // returned in the entity of the response, with the most specific URI
        // for the resource given by a Location header field.
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.