Class Trade.Theirs

java.lang.Object
dev.twilite.game.facade.Trade.Theirs
Enclosing class:
Trade

public static class Trade.Theirs extends Object
Accessors for the trade offer panel represented by this side of the API.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    Returns whether this side has accepted on the current trade screen.
    static ItemView
    Returns the item view for this side's trade offer.
    static String
    Returns the standardized name of the other player in the current trade, or an empty string when the name cannot be resolved.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Theirs

      public Theirs()
  • Method Details

    • accepted

      public static boolean accepted()
      Returns whether this side has accepted on the current trade screen.
    • items

      public static ItemView items()
      Returns the item view for this side's trade offer.
    • name

      public static String name()
      Returns the standardized name of the other player in the current trade, or an empty string when the name cannot be resolved.