Examples of PartyMatchRoom


Examples of com.l2jfrozen.gameserver.model.PartyMatchRoom

    final L2PcInstance _activeChar = getClient().getActiveChar();
   
    if (_activeChar == null)
      return;
   
    PartyMatchRoom _room = PartyMatchRoomList.getInstance().getRoom(_roomid);
    if (_room == null)
      return;
   
    if ((_activeChar.isInParty() && _room.getOwner().isInParty()) && (_activeChar.getParty().getPartyLeaderOID() == _room.getOwner().getParty().getPartyLeaderOID()))
    {
      // If user is in party with Room Owner is not removed from Room
    }
    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.