Implement give item & Implement configurable handbook endpoints

This commit is contained in:
KingRainbow44
2023-04-10 22:04:47 -04:00
parent eff01b6cea
commit 1661c42def
3 changed files with 194 additions and 120 deletions

View File

@@ -4,6 +4,7 @@ import lombok.Builder;
import lombok.Getter;
/** HTTP request object for handbook controls. */
@SuppressWarnings("FieldMayBeFinal")
public interface HandbookBody {
@Builder
class Response {
@@ -20,4 +21,12 @@ public interface HandbookBody {
private int constellations = 6; // Range between 0 - 6.
private int talentLevels = 10; // Range between 1 - 15.
}
@Getter
class GiveItem {
private String player; // Parse into online player ID.
private String item; // Parse into item ID.
private int amount = 1; // Range between 1 - Long.MAX_VALUE.
}
}