Package com.epicbot.api.shared.methods
Interface ITradeAPI
public interface ITradeAPI
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleangetItem(int... ids) getItemAt(int index) intintgetOurItemCount(int... ids) intgetOurItemCount(String... names) intgetOurItemCount(Predicate<Item> filter) getOurItems(Predicate<Item> filter) getOurItemWidget(int index) intintgetTheirItemCount(int... ids) intgetTheirItemCount(String... names) intgetTheirItemCount(Predicate<Item> filter) getTheirItems(Predicate<Item> filter) getTheirItemWidget(int index) booleanbooleanbooleanbooleanoffer(int count, int... ids) booleanbooleanbooleanofferAll(int... ids) booleanbooleanbooleanourOfferContains(int... ids) booleanourOfferContains(String... names) booleanourOfferContains(Predicate<Item> filter) booleanourOfferContainsAll(int... ids) booleanourOfferContainsAll(String... names) booleanremove(int count, int... ids) booleanbooleanbooleanremoveAll(int... ids) booleanbooleanbooleantheirOfferContains(int... ids) booleantheirOfferContains(String... names) booleantheirOfferContains(Predicate<Item> filter) booleantheirOfferContainsAll(int... ids) booleantheirOfferContainsAll(String... names)
-
Method Details
-
isTrading
boolean isTrading() -
isFirstInterfaceOpen
boolean isFirstInterfaceOpen() -
isSecondInterfaceOpen
boolean isSecondInterfaceOpen() -
acceptTrade
boolean acceptTrade() -
declineTrade
boolean declineTrade() -
getOtherPlayer
String getOtherPlayer() -
didOtherPlayerAccept
boolean didOtherPlayerAccept() -
getOurItems
List<ItemWidget> getOurItems() -
getTheirItems
List<ItemWidget> getTheirItems() -
getOurItems
-
getTheirItems
-
getOurItemWidget
-
getTheirItemWidget
-
getItem
-
getItem
-
getItem
-
getItemAt
-
getOurItemCount
int getOurItemCount() -
getOurItemCount
int getOurItemCount(int... ids) -
getOurItemCount
-
getOurItemCount
-
getTheirItemCount
int getTheirItemCount() -
getTheirItemCount
int getTheirItemCount(int... ids) -
getTheirItemCount
-
getTheirItemCount
-
ourOfferContains
boolean ourOfferContains(int... ids) -
ourOfferContains
-
ourOfferContains
-
theirOfferContains
boolean theirOfferContains(int... ids) -
theirOfferContains
-
theirOfferContains
-
ourOfferContainsAll
boolean ourOfferContainsAll(int... ids) -
ourOfferContainsAll
-
theirOfferContainsAll
boolean theirOfferContainsAll(int... ids) -
theirOfferContainsAll
-
offer
boolean offer(int count, int... ids) -
offer
-
offer
-
offerAll
boolean offerAll(int... ids) -
offerAll
-
offerAll
-
remove
boolean remove(int count, int... ids) -
remove
-
remove
-
removeAll
boolean removeAll(int... ids) -
removeAll
-
removeAll
-