mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-07 01:27:28 +08:00
[maimai2] Add experimental Universe Plus support
This commit is contained in:
@@ -38,6 +38,7 @@ public class GetUserDataHandler implements BaseHandler {
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
resultMap.put("userId", userId);
|
||||
resultMap.put("userData", userData);
|
||||
resultMap.put("banState", userData.getBanState());
|
||||
|
||||
String json = mapper.write(resultMap);
|
||||
logger.info("Response: " + json);
|
||||
|
||||
@@ -69,6 +69,7 @@ public class GetUserPreviewHandler implements BaseHandler {
|
||||
resp.setDispRate(option.getDispRate());
|
||||
}
|
||||
resp.setInherit(false);
|
||||
resp.setBanState(user.getBanState());
|
||||
|
||||
json = mapper.write(resp);
|
||||
} else {
|
||||
|
||||
@@ -36,4 +36,5 @@ public class GetUserPreviewResp {
|
||||
private int headPhoneVolume;
|
||||
@JsonProperty("isInherit")
|
||||
private boolean isInherit;
|
||||
private int banState;
|
||||
}
|
||||
|
||||
@@ -89,6 +89,8 @@ public class UserDetail implements Serializable {
|
||||
private String compatibleCmVersion;
|
||||
private String dailyBonusDate;
|
||||
private String dailyCourseBonusDate;
|
||||
private String lastPairLoginDate;
|
||||
private String lastTrialPlayDate;
|
||||
private int playVsCount;
|
||||
private int playSyncCount;
|
||||
private int winCount;
|
||||
@@ -114,5 +116,6 @@ public class UserDetail implements Serializable {
|
||||
private long totalReMasterAchievement;
|
||||
private long playerOldRating;
|
||||
private long playerNewRating;
|
||||
private int banState;
|
||||
private long dateTime;
|
||||
}
|
||||
|
||||
@@ -249,6 +249,8 @@ public class UserPlaylog implements Serializable {
|
||||
@JsonProperty("isNewFree")
|
||||
private boolean isNewFree;
|
||||
|
||||
private int trialPlayAchievement;
|
||||
|
||||
private int extNum1;
|
||||
|
||||
private int extNum2;
|
||||
|
||||
Reference in New Issue
Block a user