Package net.sf.l2j.gameserver.serverpackets

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

Related Classes of net.sf.l2j.gameserver.serverpackets.TargetSelected

Copyright © 2018 www.massapicom. 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.