Package com.l2jfrozen.gameserver.model.actor.instance

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.broadcastUserInfo()


          if (player.getCubics().size() > mastery) continue;
          if (player == activeChar)
            player.addCubic(_npcId, _cubicSkillLevel, getPower(), _activationtime, _activationchance, _summonTotalLifeTime, false);
          else // given by other player
            player.addCubic(_npcId, _cubicSkillLevel, getPower(), _activationtime, _activationchance, _summonTotalLifeTime, true);
          player.broadcastUserInfo();
        }
        return;
      }
     
      int mastery = activeChar.getSkillLevel(SKILL_CUBIC_MASTERY);
View Full Code Here


           
            if(Config.OFFLINE_SET_NAME_COLOR)
            {
              player._originalNameColorOffline=player.getAppearance().getNameColor();
              player.getAppearance().setNameColor(Config.OFFLINE_NAME_COLOR);
              player.broadcastUserInfo();
            }
           
            if (player.getOfflineStartTime() == 0)
              player.setOfflineStartTime(System.currentTimeMillis());
           
View Full Code Here

      L2PcInstance exLeader = old_leader.getPlayerInstance();
      exLeader.setClan(this);
      exLeader.setPledgeClass(exLeader.getClan().getClanMember(exLeader.getObjectId()).calculatePledgeClass(exLeader));
      exLeader.setClanPrivileges(L2Clan.CP_NOTHING);
     
      exLeader.broadcastUserInfo();

      CrownManager.getInstance().checkCrowns(exLeader);
     
    }
   
View Full Code Here

      L2PcInstance newLeader = member.getPlayerInstance();
      newLeader.setClan(this);
      newLeader.setPledgeClass(member.calculatePledgeClass(newLeader));
      newLeader.setClanPrivileges(L2Clan.CP_ALL);
     
      newLeader.broadcastUserInfo();

    }
   
    broadcastClanStatus();
   
View Full Code Here

      }

      player.setClan(null);
      player.setClanJoinExpiryTime(clanJoinExpiryTime);
      player.setPledgeClass(exMember.calculatePledgeClass(player));
      player.broadcastUserInfo();
      // disable clan tab
      player.sendPacket(new PledgeShowMemberListDeleteAll());

      player = null;
    }
View Full Code Here

     
    if (activeChar.isTeleporting())
      activeChar.onTeleported();

    if (!activeChar.inObserverMode())
      activeChar.broadcastUserInfo();
  }

  @Override
  public String getType()
  {
View Full Code Here

    }
    else
    {
      _room.deleteMember(_activeChar);
      _activeChar.setPartyRoom(0);
      _activeChar.broadcastUserInfo();
     
      _activeChar.sendPacket(new ExClosePartyRoom());
      _activeChar.sendPacket(new SystemMessage(SystemMessageId.PARTY_ROOM_EXITED));
    }
  }
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.