mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-16 00:44:46 +01:00
Update classes to match protos
This commit is contained in:
@@ -367,7 +367,7 @@ public class BattlePassManager extends BasePlayerDataManager {
|
||||
.setEndTime(2059483200)
|
||||
.setIsViewed(this.isViewed())
|
||||
.setUnlockStatus(this.isPaid() ? BattlePassUnlockStatus.BATTLE_PASS_UNLOCK_STATUS_PAID : BattlePassUnlockStatus.BATTLE_PASS_UNLOCK_STATUS_FREE)
|
||||
.setJPFMGBEBBBJ(2) // Not bought on Playstation.
|
||||
.setUnk2700ODHAAHEPFAG(2) // Not bought on Playstation.
|
||||
.setCurCyclePoints(this.getCyclePoints())
|
||||
.setCurCycle(BattlePassCycle.newBuilder()
|
||||
.setBeginTime(0)
|
||||
|
||||
@@ -346,7 +346,7 @@ public class GameMainQuest {
|
||||
public void save() {
|
||||
DatabaseHelper.saveQuest(this);
|
||||
}
|
||||
|
||||
|
||||
public void delete() {
|
||||
DatabaseHelper.deleteQuest(this);
|
||||
}
|
||||
@@ -356,7 +356,6 @@ public class GameMainQuest {
|
||||
.setParentQuestId(getParentQuestId())
|
||||
.setIsFinished(isFinished());
|
||||
|
||||
|
||||
proto.setParentQuestState(getState().getValue())
|
||||
.setCutsceneEncryptionKey(QuestManager.getQuestKey(parentQuestId));
|
||||
for (GameQuest quest : this.getChildQuests().values()) {
|
||||
|
||||
Reference in New Issue
Block a user