Add mappings for isTradeable to ItemComposition
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -104,6 +104,13 @@ public interface ItemComposition
|
||||
*/
|
||||
boolean isStackable();
|
||||
|
||||
/**
|
||||
* Returns whether or not the item can be traded to other players.
|
||||
*
|
||||
* @return true if tradeable, false otherwise
|
||||
*/
|
||||
boolean isTradeable();
|
||||
|
||||
/**
|
||||
* Gets an array of possible right-click menu actions the item
|
||||
* has in a player inventory.
|
||||
|
||||
@@ -66,6 +66,10 @@ public interface RSItemComposition extends ItemComposition
|
||||
@Override
|
||||
boolean isMembers();
|
||||
|
||||
@Import("isTradable")
|
||||
@Override
|
||||
boolean isTradeable();
|
||||
|
||||
/**
|
||||
* You probably want {@link #isStackable}
|
||||
* <p>
|
||||
|
||||
Reference in New Issue
Block a user