Examples of RSPlayerComposite


Examples of org.rsbot.client.RSPlayerComposite

    }
    return -1;
  }

  public int[] getEquipment() {
    final RSPlayerComposite comp = p.get().getComposite();
    if (comp != null) {
      final int[] equip = comp.getEquipment();
      for (int i = 0; i < equip.length; i++) {
        equip[i] = equip[i] - EQUIPMENT_CONSTANT;
        if (equip[i] < 0 || equip[i] > 1000000000) {
          equip[i] = -1;
        }
View Full Code Here

Examples of org.rsbot.client.RSPlayerComposite

  public int getCombatLevel() {
    return p.get().getLevel();
  }

  public int getNPCID() {
    final RSPlayerComposite comp = p.get().getComposite();
    if (comp != null) {
      return comp.getNPCID();
    }
    return -1;
  }
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.