Package net.sf.l2j.gameserver.model.actor.instance

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.broadcastUserInfo()


        }

        if (_count <= 0)
        {
            player.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_NONE);
      player.broadcastUserInfo();
            return;
        }

        // Check maximum number of allowed slots for pvt shops
        if (_count > player.GetPrivateSellStoreLimit())
View Full Code Here


    player.sitDown();
    if (_packageSale)
      player.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_PACKAGE_SELL);
    else
      player.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_SELL);
    player.broadcastUserInfo();
    player.broadcastPacket(new PrivateStoreMsgSell(player));
  }

  @Override
  public String getType()
View Full Code Here

        activeChar.checkSSMatch(null, unequiped[i]);

        iu.addModifiedItem(unequiped[i]);
      }
      activeChar.sendPacket(iu);
      activeChar.broadcastUserInfo();

      ItemList il = new ItemList(activeChar, true);
      activeChar.sendPacket(il);
    }
View Full Code Here

    sm.addString(activeChar.getName());
    target.sendPacket(sm);
    sm =null;

        activeChar.sendPacket(new UserInfo(activeChar));
    target.broadcastUserInfo();
  }

  /* (non-Javadoc)
   * @see net.sf.l2j.gameserver.clientpackets.ClientBasePacket#getType()
   */
 
View Full Code Here

        activeChar.checkSSMatch(null, unequiped[i]);

        iu.addModifiedItem(unequiped[i]);
      }
      activeChar.sendPacket(iu);
      activeChar.broadcastUserInfo();
    }

    if (L2PetDataTable.isPetItem(itemId))
    {
      java.sql.Connection con = null;
View Full Code Here

    StatusUpdate su = new StatusUpdate(player.getObjectId());
    su.addAttribute(StatusUpdate.CUR_LOAD, player.getCurrentLoad());
    player.sendPacket(su);

        // Send a Server->Client packet UserInfo to this L2PcInstance and CharInfo to all L2PcInstance in its _KnownPlayers
    player.broadcastUserInfo();


    // All weared items should be removed in ALLOW_WEAR_DELAY sec.
    if (_removeWearItemsTask == null)
            _removeWearItemsTask = ThreadPoolManager.getInstance().scheduleGeneral(new RemoveWearItemsTask(), Config.WEAR_DELAY*1000);
 
View Full Code Here

        }

        if (_count <= 0)
        {
            player.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_NONE);
      player.broadcastUserInfo();
            return;
        }

        // Check maximum number of allowed slots for pvt shops
        if (_count > player.GetPrivateBuyStoreLimit())
View Full Code Here

            return;
        }

        player.sitDown();
        player.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_BUY);
    player.broadcastUserInfo();
        player.broadcastPacket(new PrivateStoreMsgBuy(player));
    }

    @Override
  public String getType()
View Full Code Here

                    }
                    else
                    {

            player.addCubic(_npcId, getLevel());
            player.broadcastUserInfo();
                    }
        }
        return;
      }
      int mastery = activeChar.getSkillLevel(L2Skill.SKILL_CUBIC_MASTERY);
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.