2021-07-01 20:16:25 +00:00
|
|
|
package com.fastasyncworldedit.core;
|
2018-08-12 14:03:07 +00:00
|
|
|
|
2021-07-23 15:48:51 +00:00
|
|
|
import com.fastasyncworldedit.core.queue.implementation.preloader.Preloader;
|
|
|
|
import com.fastasyncworldedit.core.queue.implementation.QueueHandler;
|
2021-07-01 20:16:25 +00:00
|
|
|
import com.fastasyncworldedit.core.regions.FaweMaskManager;
|
|
|
|
import com.fastasyncworldedit.core.util.TaskManager;
|
|
|
|
import com.fastasyncworldedit.core.util.image.ImageViewer;
|
2019-09-14 03:05:16 +00:00
|
|
|
import com.sk89q.worldedit.entity.Player;
|
2020-07-14 02:50:59 +00:00
|
|
|
|
2018-08-12 14:03:07 +00:00
|
|
|
import java.io.File;
|
|
|
|
import java.util.Collection;
|
|
|
|
import java.util.UUID;
|
|
|
|
|
|
|
|
public interface IFawe {
|
2019-07-23 02:22:32 +00:00
|
|
|
|
2019-03-28 19:02:37 +00:00
|
|
|
File getDirectory();
|
2018-08-12 14:03:07 +00:00
|
|
|
|
2019-03-28 19:02:37 +00:00
|
|
|
TaskManager getTaskManager();
|
2018-08-12 14:03:07 +00:00
|
|
|
|
2019-03-28 19:02:37 +00:00
|
|
|
Collection<FaweMaskManager> getMaskManagers();
|
2018-08-12 14:03:07 +00:00
|
|
|
|
2019-09-14 03:05:16 +00:00
|
|
|
default ImageViewer getImageViewer(Player player) {
|
2019-07-23 02:22:32 +00:00
|
|
|
return null;
|
|
|
|
}
|
2018-08-12 14:03:07 +00:00
|
|
|
|
2020-02-18 23:06:08 +00:00
|
|
|
String getPlatform();
|
|
|
|
|
2019-03-28 19:02:37 +00:00
|
|
|
UUID getUUID(String name);
|
2018-08-12 14:03:07 +00:00
|
|
|
|
2019-03-28 19:02:37 +00:00
|
|
|
String getName(UUID uuid);
|
2018-08-12 14:03:07 +00:00
|
|
|
|
2019-03-28 19:02:37 +00:00
|
|
|
default String getDebugInfo() {
|
2018-08-12 14:03:07 +00:00
|
|
|
return "";
|
|
|
|
}
|
|
|
|
|
2019-04-30 16:19:10 +00:00
|
|
|
QueueHandler getQueueHandler();
|
|
|
|
|
2019-10-26 13:21:49 +00:00
|
|
|
Preloader getPreloader();
|
|
|
|
|
2020-07-01 11:41:20 +00:00
|
|
|
default boolean isChunksStretched() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2021-01-11 19:29:16 +00:00
|
|
|
FAWEPlatformAdapterImpl getPlatformAdapter();
|
|
|
|
|
2018-08-12 14:03:07 +00:00
|
|
|
}
|