Package com.epicbot.api.shared.entity
Interface Player
-
- All Superinterfaces:
Actionable
,Actor
,Animable
,Clickable
,GameEntity
,Identifiable
,Interactable
,Locatable
,LocatableEntity
,Modeled
,Nameable
,Renderable
,Rotatable
,Validatable
public interface Player extends Actor
An non-player character in the game.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description int[]
getAppearanceIds()
Gets the appearance ids of this player.java.lang.String
getCleanName()
Gets the clean name of this player.int
getCombatLevel()
Gets the combat level of this player.int
getNPCTransformationId()
Gets the id of this player when in npc-based form.default HeadIcon
getOverheadIconType()
int
getPrayerIcon()
Gets the prayer icon above this players head.int
getSkullIcon()
Gets the skull icon above this players head.default SkullIcon
getSkullIconType()
int
getTeam()
Gets the team id of this player.int
getTotalLevel()
Gets the total level of this player.boolean
isFemale()
Gets whether or not this player is a female character.default boolean
isMale()
Gets whether or not this player is a male character.-
Methods inherited from interface com.epicbot.api.shared.entity.details.Actionable
getActions, hasAction, hasActionMatch
-
Methods inherited from interface com.epicbot.api.shared.entity.Actor
getDestination, getHealthPercent, getHeight, getHitsplatCycles, getHitsplatTypes, getHitsplatValues, getInteracting, getMessage, getPathSize, getPathX, getPathY, getServerLocation, getSpecialHitsplatValues, getWalkingDirection, isAttacking, isDead, isInCombat, isInteractingWithMe, isMoving
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Animable
getAnimation, getIdleAnimation, isAnimating
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Clickable
click, click, hover
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Identifiable
getId
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Interactable
interact, interact, interact, interact, interact, interactMatch
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Locatable
canReach, canReach, canReach, derive, derive, distanceTo, distanceTo, getArea, getArea, getLocation, getMapPoint, getPlane, getSceneOffset, getX, getY, isOnMap, randomize, randomize, randomize
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Modeled
getModel, getModelHeight, getModelId
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Renderable
contains, draw, getCentralPoint, getRandomPoint, getRealCentralPoint, isVisible
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Rotatable
getDirection, getRotation, isFacing, isFacingMe
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Validatable
isValid
-
-
-
-
Method Detail
-
getCleanName
java.lang.String getCleanName()
Gets the clean name of this player.- Returns:
- String
-
isFemale
boolean isFemale()
Gets whether or not this player is a female character.- Returns:
- true if female, otherwise false
-
isMale
default boolean isMale()
Gets whether or not this player is a male character.- Returns:
- true if male, otherwise false
-
getAppearanceIds
int[] getAppearanceIds()
Gets the appearance ids of this player.- Returns:
- int[]
-
getNPCTransformationId
int getNPCTransformationId()
Gets the id of this player when in npc-based form. For example when transforming to a monkey on Ape Atoll.- Returns:
- the npc id
-
getCombatLevel
int getCombatLevel()
Gets the combat level of this player.- Returns:
- int
-
getTotalLevel
int getTotalLevel()
Gets the total level of this player.- Returns:
- int
-
getTeam
int getTeam()
Gets the team id of this player.- Returns:
- int
-
getPrayerIcon
int getPrayerIcon()
Gets the prayer icon above this players head.- Returns:
- int
-
getOverheadIconType
default HeadIcon getOverheadIconType()
-
getSkullIcon
int getSkullIcon()
Gets the skull icon above this players head.- Returns:
- int
-
getSkullIconType
default SkullIcon getSkullIconType()
-
-