Persist unlocked blueprints to the database.

This commit is contained in:
ImmuState
2022-06-02 15:06:08 -07:00
committed by Melledy
parent f243c10157
commit e140284d37
3 changed files with 12 additions and 7 deletions

View File

@@ -89,6 +89,7 @@ public class Player {
private Set<Integer> nameCardList;
private Set<Integer> flyCloakList;
private Set<Integer> costumeList;
private Set<Integer> unlockedForgingBlueprints;
private Integer widgetId;
@@ -183,6 +184,7 @@ public class Player {
this.nameCardList = new HashSet<>();
this.flyCloakList = new HashSet<>();
this.costumeList = new HashSet<>();
this.unlockedForgingBlueprints = new HashSet<>();
this.setSceneId(3);
this.setRegionId(1);
@@ -515,6 +517,10 @@ public class Player {
return this.nameCardList;
}
public Set<Integer> getUnlockedForgingBlueprints() {
return unlockedForgingBlueprints;
}
public MpSettingType getMpSetting() {
return MpSettingType.MP_SETTING_TYPE_ENTER_AFTER_APPLY; // TEMP
}