Examples of PartyRoom


Examples of l2p.gameserver.model.PartyRoom

    if(targetChar.getPartyRoom() > 0)
    {
      activeChar.sendPacket(new SystemMessage(SystemMessage.S1_IS_A_MEMBER_OF_ANOTHER_PARTY_AND_CANNOT_BE_INVITED).addString(targetChar.getName()));
      return;
    }
    PartyRoom room = PartyRoomManager.getInstance().getRooms().get(activeChar.getPartyRoom());
    if(room == null)
    {
      activeChar.sendActionFailed();
      return;
    }
    if(room.getMembersSize() >= room.getMaxMembers())
    {
      activeChar.sendPacket(Msg.PARTY_IS_FULL);
      return;
    }
    if(!PartyRoomManager.getInstance().isLeader(activeChar))
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.