November 21, 20169 yr Looking to find out how to tell the difference between these 4 GE slot statuses tried widgets but cannot find the correct one, any help is appreciated
November 21, 20169 yr Looking to find out how to tell the difference between these 4 GE slot statuses tried widgets but cannot find the correct one, any help is appreciated You can get the status for a specific box like so: GrandExchange.Status status = getGrandExchange().getStatus(GrandExchange.Box.BOX_1); Where the Box value is from BOX_1 to BOX_8: And the status' returned are: INITIALIZING_SALE FINISHED_SALE CANCELLING_BUY INITIALIZING_BUY COMPLETING_SALE PENDING_BUY FINISHED_BUY CANCELLING_SALE PENDING_SALE COMPLETING_BUY EMPTY
November 21, 20169 yr Author You can get the status for a specific box like so: GrandExchange.Status status = getGrandExchange().getStatus(GrandExchange.Box.BOX_1); Where the Box value is from BOX_1 to BOX_8: And the status' returned are: INITIALIZING_SALE FINISHED_SALE CANCELLING_BUY INITIALIZING_BUY COMPLETING_SALE PENDING_BUY FINISHED_BUY CANCELLING_SALE PENDING_SALE COMPLETING_BUY EMPTY how would an if statement such as if pending_sale look like
November 21, 20169 yr how would an if statement such as if pending_sale look like if (getGrandExchange().getStatus(GrandExchange.Box.BOX_1) == GrandExchange.Status.PENDING_SALE) { }
November 21, 20169 yr Author if (getGrandExchange().getStatus(GrandExchange.Box.BOX_1) == GrandExchange.Status.PENDING_SALE) { } thank you
Create an account or sign in to comment