Package dev.twilite.game.facade
Class Trade.Theirs
java.lang.Object
dev.twilite.game.facade.Trade.Theirs
- Enclosing class:
Trade
Accessors for the trade offer panel represented by this side of the API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanaccepted()Returns whether this side has accepted on the current trade screen.static ItemViewitems()Returns the item view for this side's trade offer.static Stringname()Returns the standardized name of the other player in the current trade, or an empty string when the name cannot be resolved.
-
Constructor Details
-
Theirs
public Theirs()
-
-
Method Details
-
accepted
public static boolean accepted()Returns whether this side has accepted on the current trade screen. -
items
Returns the item view for this side's trade offer. -
name
Returns the standardized name of the other player in the current trade, or an empty string when the name cannot be resolved.
-