Examples of TargetSelected


Examples of com.l2client.network.game.ServerPackets.TargetSelected

        break;
      case 0x22:
        pa = new TeleportToLocation();
        break;
      case 0x23:
        pa = new TargetSelected();
        break;
      case 0x24:
        pa = new TargetUnselected();
        break;
      case 0x25:
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.TargetSelected

    // Add the L2PcInstance to the _statusListener of the new target if it's a L2Character
    if(newTarget != null && newTarget instanceof L2Character)
    {
      ((L2Character) newTarget).addStatusListener(this);
      TargetSelected my = new TargetSelected(getObjectId(), newTarget.getObjectId(), getX(), getY(), getZ());
      broadcastPacket(my);
      my = null;
    }

    // Target the new L2Object (add the target to the L2PcInstance _target, _knownObject and L2PcInstance to _KnownObject of the L2Object)
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.TargetSelected

          sendPacket(new StatusUpdate(((Creature) newTarget)).addAttribute(StatusUpdateField.MAX_HP, StatusUpdateField.CUR_HP));
        }
      }

      updateTargetSelectionInfo(newTarget);
      broadcastPacketToOthers(new TargetSelected(getObjectId(), newTarget.getObjectId(), getLoc()));
    }
    super.setTarget(newTarget);
  }
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.TargetSelected

   
    // Add the L2PcInstance to the _statusListener of the new target if it's a L2Character
    if ((newTarget != null) && (newTarget instanceof L2Character))
    {
      ((L2Character) newTarget).addStatusListener(this);
      TargetSelected my = new TargetSelected(getObjectId(), newTarget.getObjectId(), getX(), getY(), getZ());
      broadcastPacket(my);
    }
   
    // Target the new L2Object (add the target to the L2PcInstance _target, _knownObject and L2PcInstance to _KnownObject of the L2Object)
    super.setTarget(newTarget);
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.