Package lineage2.gameserver.model

Examples of lineage2.gameserver.model.Party.broadCast()


      CommandChannel channel = player.getParty().getCommandChannel();
      Functions.addItem(player, RING, 1);
      SystemMessage smsg = new SystemMessage(SystemMessage.S1_HAS_OBTAINED_S2);
      smsg.addString(player.getName());
      smsg.addItemName(RING);
      channel.broadCast(smsg);
      BelethManager.setRingAvailable(false);
      deleteMe();
    }
    else
    {
View Full Code Here


          channel.disbandChannel();
          return true;
        }
        Party party = activeChar.getParty();
        channel.removeParty(party);
        party.broadCast(Msg.YOU_HAVE_QUIT_THE_COMMAND_CHANNEL);
        channel.broadCast(new SystemMessage(SystemMessage.S1_PARTY_HAS_LEFT_THE_COMMAND_CHANNEL).addString(activeChar.getName()));
        break;
      case 97:
        if (!activeChar.isInParty() || !activeChar.getParty().isInCommandChannel())
        {
View Full Code Here

      room.setMinLevel(_minLevel);
      room.setMaxLevel(_maxLevel);
      room.setMaxMemberSize(_maxMembers);
      room.setTopic(_roomTitle);
      room.setLootType(_lootDist);
      room.broadCast(room.infoRoomPacket());
    }
  }
}
View Full Code Here

    }
    room.setTopic(_topic);
    room.setMaxMemberSize(_memberSize);
    room.setMinLevel(_minLevel);
    room.setMaxLevel(_maxLevel);
    room.broadCast(room.infoRoomPacket());
    player.sendPacket(SystemMsg.THE_COMMAND_CHANNEL_MATCHING_ROOM_INFORMATION_WAS_EDITED);
  }
}
View Full Code Here

        break;
      case PARTY_ROOM:
        MatchingRoom r = activeChar.getMatchingRoom();
        if ((r != null) && (r.getType() == MatchingRoom.PARTY_MATCHING))
        {
          r.broadCast(cs);
        }
        break;
      case COMMANDCHANNEL_ALL:
        if (!activeChar.isInParty() || !activeChar.getParty().isInCommandChannel())
        {
View Full Code Here

        break;
      case MPCC_ROOM:
        MatchingRoom r2 = activeChar.getMatchingRoom();
        if ((r2 != null) && (r2.getType() == MatchingRoom.CC_MATCHING))
        {
          r2.broadCast(cs);
        }
        break;
      default:
        _log.warn("Character " + activeChar.getName() + " used unknown chat type: " + _type.ordinal() + ".");
    }
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.