Added Search Tab to Replay Center | https://trello.com/c/13VNghWz/
This commit is contained in:
@@ -8,6 +8,8 @@ import java.net.URLEncoder;
|
||||
@AllArgsConstructor
|
||||
public class SearchQuery {
|
||||
|
||||
public SearchQuery() {} //empty constructor which allows us to define values later
|
||||
|
||||
public Boolean order, singleplayer;
|
||||
public String player, tag, version, server, name, auth;
|
||||
public Integer category, offset;
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
package eu.crushedpixel.replaymod.api.replay.holders;
|
||||
|
||||
public enum MinecraftVersion {
|
||||
|
||||
MC_1_8("Minecraft 1.8", "1.8");
|
||||
|
||||
private String niceName, apiName;
|
||||
|
||||
MinecraftVersion(String niceName, String apiName) {
|
||||
this.niceName = niceName;
|
||||
this.apiName = apiName;
|
||||
}
|
||||
|
||||
public String toNiceName() {
|
||||
return niceName;
|
||||
}
|
||||
|
||||
public String getApiName() {
|
||||
return apiName;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user