Package net.swofty.item.updater
Class PlayerItemUpdater.QueuedUpdateManager
java.lang.Object
net.swofty.item.updater.PlayerItemUpdater.QueuedUpdateManager
- Enclosing class:
- PlayerItemUpdater
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clearQueue
(SkyBlockPlayer player, PlayerItemOrigin origin) ArrayList<net.swofty.item.updater.PlayerItemUpdater.QueuedUpdateManager.UpdatePair>
getQueuedUpdates
(SkyBlockPlayer player, PlayerItemOrigin origin) void
queueUpdate
(SkyBlockPlayer player, PlayerItemOrigin origin, BiFunction<SkyBlockPlayer, SkyBlockItem, SkyBlockItem> updateFunction, CompletableFuture<SkyBlockItem> future)
-
Constructor Details
-
QueuedUpdateManager
public QueuedUpdateManager()
-
-
Method Details
-
queueUpdate
public void queueUpdate(SkyBlockPlayer player, PlayerItemOrigin origin, BiFunction<SkyBlockPlayer, SkyBlockItem, SkyBlockItem> updateFunction, CompletableFuture<SkyBlockItem> future) -
getQueuedUpdates
public ArrayList<net.swofty.item.updater.PlayerItemUpdater.QueuedUpdateManager.UpdatePair> getQueuedUpdates(SkyBlockPlayer player, PlayerItemOrigin origin) -
clearQueue
-