Added Search Tab to Replay Center | https://trello.com/c/13VNghWz/

This commit is contained in:
CrushedPixel
2015-07-05 01:43:59 +02:00
parent c7bb053566
commit 5883dbc9be
5 changed files with 203 additions and 4 deletions

View File

@@ -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;

View File

@@ -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;
}
}