forked from Cookies_Github_mirror/AquaDX
[ongeki] Add experimental Bright Memory support
This commit is contained in:
@@ -61,6 +61,8 @@ public class UpsertUserAll implements Serializable {
|
||||
|
||||
private List<UserChapter> userChapterList;
|
||||
|
||||
private List<UserMemoryChapter> userMemoryChapterList;
|
||||
|
||||
private List<UserItem> userItemList;
|
||||
|
||||
private List<UserMusicItem> userMusicItemList;
|
||||
@@ -110,6 +112,9 @@ public class UpsertUserAll implements Serializable {
|
||||
@JsonProperty("isNewChapterList")
|
||||
private String isNewChapterList;
|
||||
|
||||
@JsonProperty("isNewMemoryChapterList")
|
||||
private String isNewMemoryChapterList;
|
||||
|
||||
@JsonProperty("isNewItemList")
|
||||
private String isNewItemList;
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ public class GetUserPreviewResp {
|
||||
private int headphone = 0;
|
||||
private int banStatus = 0;
|
||||
@JsonProperty("isWarningConfirmed")
|
||||
private boolean isWarningConfirmed = true;
|
||||
private boolean isWarningConfirmed = false;
|
||||
private int lastEmoneyBrand = 0;
|
||||
private int lastEmoneyCredit = 0;
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@ import lombok.NoArgsConstructor;
|
||||
@NoArgsConstructor
|
||||
public class GameSetting {
|
||||
private String dataVersion;
|
||||
private String onlineDataVersion;
|
||||
@JsonProperty("isMaintenance")
|
||||
private boolean isMaintenance;
|
||||
private int requestInterval;
|
||||
|
||||
@@ -66,6 +66,9 @@ public class UserData implements Serializable {
|
||||
|
||||
private int overDamageBattlePoint;
|
||||
|
||||
@JsonProperty("isDialogWatchedSuggestMemory")
|
||||
private boolean isDialogWatchedSuggestMemory;
|
||||
|
||||
private int nameplateId;
|
||||
|
||||
private int trophyId;
|
||||
@@ -74,6 +77,8 @@ public class UserData implements Serializable {
|
||||
|
||||
private int characterId;
|
||||
|
||||
private int characterVoiceNo;
|
||||
|
||||
private int tabSetting;
|
||||
|
||||
private int tabSortSetting;
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
package icu.samnyan.aqua.sega.ongeki.model.userdata;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author samnyan (privateamusement@protonmail.com)
|
||||
*/
|
||||
@Entity(name = "OngekiUserMemoryChapter")
|
||||
@Table(name = "ongeki_user_memory_chapter")
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class UserMemoryChapter implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@JsonIgnore
|
||||
private long id;
|
||||
|
||||
@JsonIgnore
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "user_id")
|
||||
private UserData user;
|
||||
|
||||
private int chapterId;
|
||||
|
||||
private int jewelCount;
|
||||
|
||||
private int lastPlayMusicCategory;
|
||||
|
||||
private int lastPlayMusicId;
|
||||
|
||||
private int lastPlayMusicLevel;
|
||||
|
||||
@JsonProperty("isDialogWatched")
|
||||
private boolean isDialogWatched;
|
||||
|
||||
@JsonProperty("isStoryWatched")
|
||||
private boolean isStoryWatched;
|
||||
|
||||
@JsonProperty("isBossWatched")
|
||||
private boolean isBossWatched;
|
||||
|
||||
@JsonProperty("isClear")
|
||||
private boolean isClear;
|
||||
|
||||
private int gaugeId;
|
||||
|
||||
private int gauseNum;
|
||||
|
||||
public UserMemoryChapter(UserData userData) {
|
||||
this.user = userData;
|
||||
}
|
||||
}
|
||||
@@ -42,7 +42,7 @@ public class UserOption implements Serializable {
|
||||
|
||||
private int abort;
|
||||
|
||||
public int stealthField;
|
||||
private int stealthField;
|
||||
|
||||
private int tapSound;
|
||||
|
||||
@@ -72,7 +72,7 @@ public class UserOption implements Serializable {
|
||||
|
||||
private int colorLaneBright;
|
||||
|
||||
public int colorWallBright;
|
||||
private int colorWallBright;
|
||||
|
||||
private int colorLane;
|
||||
|
||||
|
||||
@@ -105,6 +105,8 @@ public class UserPlaylog implements Serializable {
|
||||
|
||||
private int battleScoreRank;
|
||||
|
||||
private int platinumScore;
|
||||
|
||||
private int maxCombo;
|
||||
|
||||
private int judgeMiss;
|
||||
|
||||
Reference in New Issue
Block a user