mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2025-12-30 04:19:30 +00:00
market placeholders
This commit is contained in:
@@ -34,6 +34,8 @@ public interface MarketManager {
|
||||
*
|
||||
* @return An integer representing the current date.
|
||||
*/
|
||||
int getCachedDate();
|
||||
|
||||
int getDate();
|
||||
|
||||
/**
|
||||
|
||||
@@ -24,6 +24,7 @@ import net.momirealms.customfishing.api.data.user.OnlineUser;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Optional;
|
||||
import java.util.UUID;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
@@ -45,6 +46,8 @@ public interface StorageManager {
|
||||
*/
|
||||
@Nullable OnlineUser getOnlineUser(UUID uuid);
|
||||
|
||||
Collection<OnlineUser> getOnlineUsers();
|
||||
|
||||
/**
|
||||
* Asynchronously retrieves an OfflineUser instance for the specified UUID.
|
||||
* The offline user might be a locked one with no data, use isLockedData() method
|
||||
|
||||
Reference in New Issue
Block a user