Class Pickable
java.lang.Object
org.rspeer.game.adapter.Adapter<jag.oldscape.RSPickable>
org.rspeer.game.adapter.scene.Entity<jag.oldscape.RSPickable>
org.rspeer.game.adapter.scene.Pickable
- All Implemented Interfaces:
Actionable, Identifiable, Interactable, Nameable, SceneNode
-
Nested Class Summary
Nested classes/interfaces inherited from interface Actionable
Actionable.Query<Q>Nested classes/interfaces inherited from interface Identifiable
Identifiable.Query<Q>Nested classes/interfaces inherited from interface Nameable
Nameable.Query<Q>Nested classes/interfaces inherited from interface SceneNode
SceneNode.Query<Q> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCoord()intintintgetId()intgetName()intOwnership table: ``` | Id | Ownership Type | |----|:--------------:| | 0 | None | | 1 | Self Player | | 2 | Other Player | | 3 | Group Ironman | ``` Note that if the player and the drop source are both regular accounts, both will share the same group ironman id of -1 so the server is bugged to send 3 in this instance.String[]intintbooleanMethods inherited from class Entity
getHeight, getModelPosition, getTypecode, getTypecodeMethods inherited from class Adapter
getProvider, validateMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Actionable
containsAction, containsAction, getSubMenuActionsMethods inherited from interface Interactable
actionOf, interact, interact, interactMethods inherited from interface SceneNode
distance, distance, distance, distance, getArea, getCoordArea, getCoordArea, getCoordView, getEntityPositionHeight, getEntityPositionWidth, getFloorLevel, getSceneContext, getWorldEntity, getWorldEntity, getX, getY, isInFieldOfViewOf, isInFieldOfViewOf
-
Constructor Details
-
Pickable
public Pickable(jag.oldscape.RSPickable provider, Coord position, jag.oldscape.RSWorldMatrix matrix) -
Pickable
public Pickable(jag.oldscape.RSPickable provider, int x, int y, int floorLevel, jag.oldscape.RSWorldMatrix matrix)
-
-
Method Details
-
getMatrixId
public int getMatrixId()- Specified by:
getMatrixIdin interfaceSceneNode
-
getPosition
- Specified by:
getPositionin interfaceSceneNode
-
getCoord
-
getCoordFine
- Specified by:
getCoordFinein interfaceSceneNode
-
actionOf
- Specified by:
actionOfin interfaceInteractable
-
getRawActions
- Specified by:
getRawActionsin interfaceActionable
-
getActions
- Specified by:
getActionsin interfaceActionable
-
getDefinition
-
getRevealTick
public int getRevealTick() -
getDespawnTick
public int getDespawnTick() -
getOwnerType
public int getOwnerType()Ownership table: ``` | Id | Ownership Type | |----|:--------------:| | 0 | None | | 1 | Self Player | | 2 | Other Player | | 3 | Group Ironman | ``` Note that if the player and the drop source are both regular accounts, both will share the same group ironman id of -1 so the server is bugged to send 3 in this instance.- Returns:
- Owner type
-
isNeverRevealed
public boolean isNeverRevealed() -
getId
public int getId()- Specified by:
getIdin interfaceIdentifiable
-
getStackSize
public int getStackSize() -
getName
-
getEntityIndex
public int getEntityIndex()- Specified by:
getEntityIndexin classEntity<jag.oldscape.RSPickable>
-