Package com.l2client.network.game.ClientPackets

Examples of com.l2client.network.game.ClientPackets.ValidatePosition


        log.severe(objId+" positions differ in x/z by more than 1f current:"+pos.position+" target:"+tPos);

        Singleton.get().getPosSystem().initMoveTo(objId, tPos.x, tPos.y, tPos.z, pos.position.x, pos.position.y, pos.position.z);
      }
      if(Singleton.get().getEntityManager().isPlayerComponent(pos)){
        ValidatePosition pack = new ValidatePosition(pos.position, pos.heading);
        _client.sendGamePacket(pack);
      }
    }
    else
      log.severe("No SimplePositioningComonent found with entity id "+objId+" unable to send ValidateLocation");   
View Full Code Here


   * @param com  player positioning component
   */
  public void sendValidatePosition(PositioningComponent com) {
    EntityData e = getCharHandler().getSelectedChar();
    if(e != null){
    ValidatePosition v = new ValidatePosition(com.position, com.heading);
    Singleton.get().getClientFacade().sendGamePacket(v);
    }
  }
View Full Code Here

TOP

Related Classes of com.l2client.network.game.ClientPackets.ValidatePosition

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.