Package org.rspeer.game.adapter.scene
Class Pickable
- All Implemented Interfaces:
Actionable
,Identifiable
,Interactable
,Nameable
,SceneNode
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Actionable
Actionable.Query<Q extends Actionable.Query<Q>>
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Identifiable
Identifiable.Query<Q extends Identifiable.Query<Q>>
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Nameable
Nameable.Query<Q extends Nameable.Query<Q>>
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.SceneNode
SceneNode.Query<Q extends SceneNode.Query<Q>>
-
Constructor Summary
ConstructorDescriptionPickable
(RSPickable provider, int x, int y, int floorLevel) Pickable
(RSPickable provider, Position position) -
Method Summary
Modifier and TypeMethodDescriptionint
int
getId()
getName()
int
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.String[]
int
int
boolean
Methods inherited from class org.rspeer.game.adapter.Adapter
getProvider, validate
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.rspeer.game.adapter.type.Actionable
containsAction, containsAction
Methods inherited from interface org.rspeer.game.adapter.type.Interactable
actionOf, interact, interact, interact, interact, interact
Methods inherited from interface org.rspeer.game.adapter.type.SceneNode
distance, distance, distance, distance, getArea, getEntityPositionHeight, getEntityPositionWidth, getFloorLevel, getX, getY, isInFieldOfViewOf, isInFieldOfViewOf
-
Constructor Details
-
Pickable
-
Pickable
-
-
Method Details
-
getPosition
- Specified by:
getPosition
in interfaceSceneNode
- Specified by:
getPosition
in classEntity<RSPickable>
-
actionOf
- Specified by:
actionOf
in interfaceInteractable
-
getRawActions
- Specified by:
getRawActions
in interfaceActionable
-
getActions
- Specified by:
getActions
in 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:
getId
in interfaceIdentifiable
-
getStackSize
public int getStackSize() -
getName
-