2015-11-18 08:49:57 +01:00
|
|
|
package com.boydti.fawe;
|
|
|
|
|
|
|
|
import com.boydti.fawe.object.EditSessionWrapper;
|
|
|
|
import com.boydti.fawe.object.FaweCommand;
|
|
|
|
import com.boydti.fawe.object.FawePlayer;
|
|
|
|
import com.boydti.fawe.regions.FaweMaskManager;
|
|
|
|
import com.boydti.fawe.util.FaweQueue;
|
|
|
|
import com.boydti.fawe.util.TaskManager;
|
|
|
|
import com.sk89q.worldedit.EditSession;
|
2016-04-02 18:50:50 +02:00
|
|
|
import java.io.File;
|
|
|
|
import java.util.Collection;
|
|
|
|
import java.util.Set;
|
2015-11-18 08:49:57 +01:00
|
|
|
|
|
|
|
public interface IFawe {
|
|
|
|
public void debug(final String s);
|
2016-03-31 11:23:10 +02:00
|
|
|
|
2015-11-18 08:49:57 +01:00
|
|
|
public File getDirectory();
|
2016-03-31 11:23:10 +02:00
|
|
|
|
2015-11-18 08:49:57 +01:00
|
|
|
public void setupCommand(final String label, final FaweCommand cmd);
|
2016-03-31 11:23:10 +02:00
|
|
|
|
2015-11-18 08:49:57 +01:00
|
|
|
public FawePlayer wrap(final Object obj);
|
2016-03-31 11:23:10 +02:00
|
|
|
|
2015-11-18 08:49:57 +01:00
|
|
|
public void setupWEListener();
|
2016-03-31 11:23:10 +02:00
|
|
|
|
2015-11-18 08:49:57 +01:00
|
|
|
public void setupVault();
|
|
|
|
|
|
|
|
public TaskManager getTaskManager();
|
2016-03-31 11:23:10 +02:00
|
|
|
|
2015-11-18 08:49:57 +01:00
|
|
|
public int[] getVersion();
|
2016-03-31 11:23:10 +02:00
|
|
|
|
2016-04-03 20:03:35 +02:00
|
|
|
public FaweQueue getNewQueue(String world);
|
2016-03-31 11:23:10 +02:00
|
|
|
|
2015-11-18 08:49:57 +01:00
|
|
|
public EditSessionWrapper getEditSessionWrapper(final EditSession session);
|
2016-03-31 11:23:10 +02:00
|
|
|
|
2015-11-18 08:49:57 +01:00
|
|
|
public Collection<FaweMaskManager> getMaskManagers();
|
2016-04-02 07:58:42 +02:00
|
|
|
|
|
|
|
public void startMetrics();
|
2016-04-02 18:50:50 +02:00
|
|
|
|
|
|
|
public Set<FawePlayer> getPlayers();
|
2015-11-18 08:49:57 +01:00
|
|
|
}
|