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