Merge pull request #3163 from Ganom/deprecate-methods
This commit is contained in:
@@ -2081,15 +2081,15 @@ public interface Client extends OAuthApi, GameEngine
|
||||
void setSpellSelected(boolean selected);
|
||||
|
||||
/**
|
||||
* Get if an item is selected with "Use"
|
||||
* @return 1 if selected, else 0
|
||||
* @deprecated use {@link #getSelectedWidget()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
int getSelectedItem();
|
||||
|
||||
/**
|
||||
* If an item is selected, this is the item index in the inventory.
|
||||
* @return
|
||||
* @deprecated use {@link #getSelectedSpellChildIndex()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
int getSelectedItemIndex();
|
||||
|
||||
/**
|
||||
@@ -2222,14 +2222,34 @@ public interface Client extends OAuthApi, GameEngine
|
||||
*/
|
||||
void insertMenuItem(String action, String target, int opcode, int identifier, int argument1, int argument2, boolean forceLeftClick);
|
||||
|
||||
/**
|
||||
* @deprecated use {@link #setSelectedSpellItemId(int)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
void setSelectedItemID(int id);
|
||||
|
||||
/**
|
||||
* @deprecated use {@link #getSelectedSpellWidget()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
int getSelectedItemWidget();
|
||||
|
||||
/**
|
||||
* @deprecated use {@link #setSelectedSpellWidget(int)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
void setSelectedItemWidget(int widgetID);
|
||||
|
||||
/**
|
||||
* @deprecated use {@link #getSelectedSpellChildIndex()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
int getSelectedItemSlot();
|
||||
|
||||
/**
|
||||
* @deprecated use {@link #setSelectedSpellChildIndex(int)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
void setSelectedItemSlot(int idx);
|
||||
|
||||
int getSelectedSpellWidget();
|
||||
|
||||
Reference in New Issue
Block a user