Implement daily shop reward

This commit is contained in:
Melledy
2025-11-07 20:57:16 -08:00
parent 8d772b3365
commit 5e8b2cb9cf
3 changed files with 59 additions and 0 deletions

View File

@@ -485,6 +485,7 @@ public class Player implements GameDatabaseObject {
public PlayerInfo toProto() {
PlayerInfo proto = PlayerInfo.newInstance()
.setServerTs(Nebula.getCurrentTime())
.setDailyShopRewardStatus(this.getQuestManager().hasDailyReward())
.setAchievements(new byte[64]);
var acc = proto.getMutableAcc()