public class SimplePlayer extends SimpleActor<simple.bot.internal.IPlayer> implements SimpleInteractable
ctx| Constructor and Description |
|---|
SimplePlayer(ClientContext ctx,
simple.bot.internal.IPlayer reflectedObject,
int index) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getActions()
Returns Actions of the object
|
int |
getCombatLevel() |
int[] |
getEquipment() |
int |
getGender() |
int |
getHeadIcon() |
int |
getHintIcon() |
int |
getId()
Returns id of the object
|
WorldPoint |
getLocation()
Position in world of object
|
java.lang.String |
getName()
The name of said object
|
HeadIcon |
getOverheadIcon() |
int |
getRights() |
int |
getSkullIcon() |
int |
getTeam() |
boolean |
interact(int actionId) |
boolean |
interact(SimplePlayerActions action) |
boolean |
interact(java.lang.String option) |
boolean |
isForcedHidden() |
boolean |
isHidden() |
equals, getAnimation, getCycleStatus, getGraphic, getHealth, getHealthRatio, getHeight, getInteracting, getInteractingIndex, getLocalX, getLocalY, getMaxHealth, getPathX, getPathY, getRemainingPath, getSize, inCombat, isAnimating, isDead, overheadTextgetReflectedObjectgetClass, hashCode, notify, notifyAll, toString, wait, wait, waitdistanceTo, within, withinRangepublic SimplePlayer(ClientContext ctx, simple.bot.internal.IPlayer reflectedObject, int index)
ctx - reflectedObject - public java.lang.String[] getActions()
SimpleActionablegetActions in interface SimpleActionablepublic int getId()
SimpleIdentifiablegetId in interface SimpleIdentifiablepublic java.lang.String getName()
SimpleNamablegetName in interface SimpleNamablepublic WorldPoint getLocation()
SimpleLocatablegetLocation in interface SimpleLocatablepublic int getGender()
public int getCombatLevel()
public int getHeadIcon()
public int getSkullIcon()
public int getHintIcon()
public int getTeam()
public int getRights()
public boolean isHidden()
public boolean isForcedHidden()
public int[] getEquipment()
public HeadIcon getOverheadIcon()
public boolean interact(java.lang.String option)
interact in interface SimpleInteractablepublic boolean interact(SimplePlayerActions action)
public boolean interact(int actionId)