13
0

Reducing Data Size

Dieser Commit ist enthalten in:
Chaoscaot 2021-09-25 11:50:04 +02:00
Ursprung aa0ad30f40
Commit ad675b831c

Datei anzeigen

@ -4,31 +4,13 @@ public class Arenaserver extends Subserver {
private final String mode;
private final String map;
private final int eventFightID;
private final boolean ranked;
private final boolean allowMerge;
public Arenaserver(String serverName, String mode, String map, int eventFightID, boolean ranked, int port, String... command) {
super(Servertype.ARENA, serverName, port, command);
this.mode = mode;
this.map = map;
this.eventFightID = eventFightID;
this.ranked = ranked;
}
public Arenaserver(String serverName, String mode, String map, int eventFightID, boolean ranked, int port, Runnable shutdownCallback, String... command) {
super(Servertype.ARENA, serverName, port, shutdownCallback, command);
this.mode = mode;
this.map = map;
this.eventFightID = eventFightID;
this.ranked = ranked;
}
public Arenaserver(String serverName, String mode, String map, int eventFightID, boolean ranked, int port, ProcessBuilder processBuilder, Runnable shutdownCallback) {
public Arenaserver(String serverName, String mode, String map, boolean allowMerge, int port, ProcessBuilder processBuilder, Runnable shutdownCallback) {
super(Servertype.ARENA, serverName, port, processBuilder, shutdownCallback);
this.mode = mode;
this.map = map;
this.eventFightID = eventFightID;
this.ranked = ranked;
this.allowMerge = allowMerge;
}
public String getMode() {
@ -39,11 +21,7 @@ public class Arenaserver extends Subserver {
return map;
}
public int getEventFightID() {
return eventFightID;
}
public boolean isRanked() {
return ranked;
public boolean isAllowMerge() {
return allowMerge;
}
}