HyCodeYourTale
classpublicPriority 3

BarterPage

com.hypixel.hytale.builtin.adventure.shop.barter.BarterPage

extends InteractiveCustomUIPage

4

Methods

4

Public Methods

1

Fields

1

Constructors

Constants

BuilderCodec<BarterPage.BarterEventData>CODEC= BuilderCodec.builder( BarterPage.BarterEventData.class, BarterPage.BarterEventData::n...
StringQUANTITY= "Quantity"
StringSHIFT_HELD= "ShiftHeld"
StringTRADE_INDEX= "TradeIndex"

Constructors

public
BarterPage(PlayerRef playerRef, String shopId)

Methods

Public Methods (4)

public
int getQuantity()
public
int getTradeIndex()
public
void handleDataEvent(Ref<EntityStore> ref, Store<EntityStore> store, BarterPage.BarterEventData data)
public
boolean isShiftHeld()

Fields

Private/Package Fields (1)

privateBarterShopAsset shopAsset

Related Classes