Package com.epicbot.api.shared.methods
Interface ITradeAPI
-
public interface ITradeAPI
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
acceptTrade()
boolean
declineTrade()
boolean
didOtherPlayerAccept()
ItemWidget
getItem(int... ids)
ItemWidget
getItem(java.lang.String... names)
ItemWidget
getItem(java.util.function.Predicate<Item> filter)
ItemWidget
getItemAt(int index)
java.lang.String
getOtherPlayer()
int
getOurItemCount()
int
getOurItemCount(int... ids)
int
getOurItemCount(java.lang.String... names)
int
getOurItemCount(java.util.function.Predicate<Item> filter)
java.util.List<ItemWidget>
getOurItems()
java.util.List<ItemWidget>
getOurItems(java.util.function.Predicate<Item> filter)
ItemWidget
getOurItemWidget(int index)
int
getTheirItemCount()
int
getTheirItemCount(int... ids)
int
getTheirItemCount(java.lang.String... names)
int
getTheirItemCount(java.util.function.Predicate<Item> filter)
java.util.List<ItemWidget>
getTheirItems()
java.util.List<ItemWidget>
getTheirItems(java.util.function.Predicate<Item> filter)
ItemWidget
getTheirItemWidget(int index)
boolean
isFirstInterfaceOpen()
boolean
isSecondInterfaceOpen()
boolean
isTrading()
boolean
offer(int count, int... ids)
boolean
offer(int count, java.lang.String... names)
boolean
offer(int count, java.util.function.Predicate<Item> filter)
boolean
offerAll(int... ids)
boolean
offerAll(java.lang.String... names)
boolean
offerAll(java.util.function.Predicate<Item> filter)
boolean
ourOfferContains(int... ids)
boolean
ourOfferContains(java.lang.String... names)
boolean
ourOfferContains(java.util.function.Predicate<Item> filter)
boolean
ourOfferContainsAll(int... ids)
boolean
ourOfferContainsAll(java.lang.String... names)
boolean
remove(int count, int... ids)
boolean
remove(int count, java.lang.String... names)
boolean
remove(int count, java.util.function.Predicate<Item> filter)
boolean
removeAll(int... ids)
boolean
removeAll(java.lang.String... names)
boolean
removeAll(java.util.function.Predicate<Item> filter)
boolean
theirOfferContains(int... ids)
boolean
theirOfferContains(java.lang.String... names)
boolean
theirOfferContains(java.util.function.Predicate<Item> filter)
boolean
theirOfferContainsAll(int... ids)
boolean
theirOfferContainsAll(java.lang.String... names)
-
-
-
Method Detail
-
isTrading
boolean isTrading()
-
isFirstInterfaceOpen
boolean isFirstInterfaceOpen()
-
isSecondInterfaceOpen
boolean isSecondInterfaceOpen()
-
acceptTrade
boolean acceptTrade()
-
declineTrade
boolean declineTrade()
-
getOtherPlayer
java.lang.String getOtherPlayer()
-
didOtherPlayerAccept
boolean didOtherPlayerAccept()
-
getOurItems
java.util.List<ItemWidget> getOurItems()
-
getTheirItems
java.util.List<ItemWidget> getTheirItems()
-
getOurItems
java.util.List<ItemWidget> getOurItems(java.util.function.Predicate<Item> filter)
-
getTheirItems
java.util.List<ItemWidget> getTheirItems(java.util.function.Predicate<Item> filter)
-
getOurItemWidget
ItemWidget getOurItemWidget(int index)
-
getTheirItemWidget
ItemWidget getTheirItemWidget(int index)
-
getItem
ItemWidget getItem(int... ids)
-
getItem
ItemWidget getItem(java.lang.String... names)
-
getItem
ItemWidget getItem(java.util.function.Predicate<Item> filter)
-
getItemAt
ItemWidget getItemAt(int index)
-
getOurItemCount
int getOurItemCount()
-
getOurItemCount
int getOurItemCount(int... ids)
-
getOurItemCount
int getOurItemCount(java.lang.String... names)
-
getOurItemCount
int getOurItemCount(java.util.function.Predicate<Item> filter)
-
getTheirItemCount
int getTheirItemCount()
-
getTheirItemCount
int getTheirItemCount(int... ids)
-
getTheirItemCount
int getTheirItemCount(java.lang.String... names)
-
getTheirItemCount
int getTheirItemCount(java.util.function.Predicate<Item> filter)
-
ourOfferContains
boolean ourOfferContains(int... ids)
-
ourOfferContains
boolean ourOfferContains(java.lang.String... names)
-
ourOfferContains
boolean ourOfferContains(java.util.function.Predicate<Item> filter)
-
theirOfferContains
boolean theirOfferContains(int... ids)
-
theirOfferContains
boolean theirOfferContains(java.lang.String... names)
-
theirOfferContains
boolean theirOfferContains(java.util.function.Predicate<Item> filter)
-
ourOfferContainsAll
boolean ourOfferContainsAll(int... ids)
-
ourOfferContainsAll
boolean ourOfferContainsAll(java.lang.String... names)
-
theirOfferContainsAll
boolean theirOfferContainsAll(int... ids)
-
theirOfferContainsAll
boolean theirOfferContainsAll(java.lang.String... names)
-
offer
boolean offer(int count, int... ids)
-
offer
boolean offer(int count, java.lang.String... names)
-
offer
boolean offer(int count, java.util.function.Predicate<Item> filter)
-
offerAll
boolean offerAll(int... ids)
-
offerAll
boolean offerAll(java.lang.String... names)
-
offerAll
boolean offerAll(java.util.function.Predicate<Item> filter)
-
remove
boolean remove(int count, int... ids)
-
remove
boolean remove(int count, java.lang.String... names)
-
remove
boolean remove(int count, java.util.function.Predicate<Item> filter)
-
removeAll
boolean removeAll(int... ids)
-
removeAll
boolean removeAll(java.lang.String... names)
-
removeAll
boolean removeAll(java.util.function.Predicate<Item> filter)
-
-