Class ClearTransaction
java.lang.Object
com.hypixel.hytale.server.core.inventory.transaction.ClearTransaction
- All Implemented Interfaces:
Transaction
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromParent(ItemContainer parent, short start, ItemContainer container) getItems()booleantoParent(ItemContainer parent, short start, ItemContainer container) toString()booleanwasSlotModified(short slot)
-
Field Details
-
EMPTY
-
succeeded
private final boolean succeeded -
start
private final short start -
items
-
-
Constructor Details
-
ClearTransaction
-
-
Method Details
-
succeeded
public boolean succeeded()- Specified by:
succeededin interfaceTransaction
-
wasSlotModified
public boolean wasSlotModified(short slot) - Specified by:
wasSlotModifiedin interfaceTransaction
-
getItems
-
toParent
@Nonnull public ClearTransaction toParent(ItemContainer parent, short start, ItemContainer container) - Specified by:
toParentin interfaceTransaction
-
fromParent
@Nullable public ClearTransaction fromParent(ItemContainer parent, short start, @Nonnull ItemContainer container) - Specified by:
fromParentin interfaceTransaction
-
toString
-