feat: set friend enter home option (#1860)

This commit is contained in:
hamusuke
2022-10-16 00:58:45 +09:00
committed by GitHub
parent a4747abfc9
commit 610a364b9a
9 changed files with 1207 additions and 3 deletions

View File

@@ -38,6 +38,7 @@ public class GameHome {
List<FurnitureMakeSlotItem> furnitureMakeSlotItemList;
ConcurrentHashMap<Integer, HomeSceneItem> sceneMap;
Set<Integer> unlockedHomeBgmList;
int enterHomeOption;
public void save() {
DatabaseHelper.saveHome(this);

View File

@@ -939,7 +939,8 @@ public class Player {
.setIsShowAvatar(this.isShowAvatars())
.addAllShowAvatarInfoList(socialShowAvatarInfoList)
.addAllShowNameCardIdList(this.getShowNameCardInfoList())
.setFinishAchievementNum(0);
.setFinishAchievementNum(0)
.setFriendEnterHomeOptionValue(this.getHome() == null ? 0 : this.getHome().getEnterHomeOption());
return social;
}