HyCodeYourTale
classpublicPriority 3

ListTransaction

com.hypixel.hytale.server.core.inventory.transaction.ListTransaction

implements Transaction

8

Methods

8

Public Methods

2

Fields

2

Constructors

Constructors

private
ListTransaction(boolean succeeded)
public
ListTransaction(boolean succeeded, List<T> list)

Methods

Public Methods (8)

public
ListTransaction<T> fromParent(ItemContainer parent, short start, ItemContainer container)
@Nullable
publicstatic
<T extends Transaction> ListTransaction<T> getEmptyTransaction(boolean succeeded)
public
List<T> getList()
@Nonnull
public
int size()
public
boolean succeeded()
@Override
public
ListTransaction<T> toParent(ItemContainer parent, short start, ItemContainer container)
@Nonnull
public
String toString()
@Nonnull@Override
public
boolean wasSlotModified(short slot)
@Override

Fields

Private/Package Fields (2)

privateList<T> list
privateboolean succeeded

Related Classes