[maimai2] Add Festival support

This commit is contained in:
Dom Eori
2023-03-17 15:19:04 +09:00
parent 40f93ec466
commit 6c6d3c2671
15 changed files with 477 additions and 7 deletions

View File

@@ -16,4 +16,5 @@ public class UserLoginResp {
public int loginCount = 1;
public int consecutiveLoginCount = 0;
public int loginId = 1; // What is this?
public String Bearer = "AQUATOKEN";
}

View File

@@ -0,0 +1,17 @@
package icu.samnyan.aqua.sega.maimai2.model.response.data;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author samnyan (privateamusement@protonmail.com)
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRecommendRateMusic {
private int musicId;
private int level;
private int averageAchievement;
}

View File

@@ -25,7 +25,7 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@JsonPropertyOrder({"selectMusicId", "selectDifficultyId", "categoryIndex", "musicIndex",
"extraFlag", "selectScoreType", "extendContentBit", "isPhotoAgree", "isGotoCodeRead",
"selectResultDetails", "sortCategorySetting", "sortMusicSetting", "selectedCardList", "encountMapNpcList"})
"selectResultDetails", "sortCategorySetting", "sortMusicSetting", "playStatusSetting", "selectedCardList", "encountMapNpcList"})
public class UserExtend implements Serializable {
@Id
@@ -52,6 +52,7 @@ public class UserExtend implements Serializable {
private boolean selectResultDetails;
private int sortCategorySetting; //enum SortTabID
private int sortMusicSetting; //enum SortMusicID
private int playStatusSetting; //enum PlaystatusTabID
@Convert(converter = IntegerListConverter.class)
private List<Integer> selectedCardList;

View File

@@ -38,6 +38,7 @@ public class UserMusicDetail implements Serializable {
private int syncStatus;
private int deluxscoreMax;
private int scoreRank;
private int extNum1;
public UserMusicDetail(UserDetail user) {
this.user = user;

View File

@@ -62,6 +62,7 @@ public class UserOption implements Serializable {
private int ansVolume;
private int tapHoldVolume;
private int criticalSe;
private int tapSe;
private int breakSe;
private int breakVolume;
private int exSe;