public class BarterItemStack
Class BarterItemStack. Provides barteritemstack functionality for the Hytale server.
java.lang.Object > BarterItemStack
Field Summary
itemId
protected
String
itemId
Field itemId.
quantity
protected
int
quantity
Field quantity.
Method Detail
BarterItemStack
public
public
BarterItemStack
(final String itemId, final int quantity)
Method BarterItemStack.
- Parameters:
final StringitemIdfinal intquantity
getItemId
public
String
getItemId
()
Method getItemId.
getQuantity
public
int
getQuantity
()
Method getQuantity.
toString
public
String
toString
()
Method toString.
KeyedCodec
public
new
KeyedCodec
("Quantity", Codec.INTEGER)
Method KeyedCodec.
- Parameters:
"Quantity""Quantity"Codec.INTEGERCodec.INTEGER