public class SimpleTrade extends ClientAccessor<ClientContext>
ctx
Constructor and Description |
---|
SimpleTrade(ClientContext ctx)
Creates a new instance with the specified context.
|
Modifier and Type | Method and Description |
---|---|
void |
acceptTrade() |
void |
declineTrade() |
SimpleItem[] |
getOpponentsOffer() |
int |
getTradeScreen() |
java.lang.String |
getTradeState() |
java.lang.String |
getTradingWithName() |
SimpleItem[] |
getYourTradeItems() |
boolean |
partnerAccept() |
boolean |
tradeOpen() |
boolean |
youAccepted() |
public SimpleTrade(ClientContext ctx)
ctx
- the contextpublic boolean tradeOpen()
public int getTradeScreen()
public java.lang.String getTradeState()
public java.lang.String getTradingWithName()
public SimpleItem[] getYourTradeItems()
public SimpleItem[] getOpponentsOffer()
public void acceptTrade()
public void declineTrade()
public boolean partnerAccept()
public boolean youAccepted()