fix achievement proto (#507)

* fix achievement proto

TakeAchievementRewardReq tells client the achievements achieved or not and it's progress.

* add import
This commit is contained in:
ShigemoriHakura
2022-05-05 01:06:33 +08:00
committed by GitHub
parent 823040be56
commit 022dcf60ad
4 changed files with 66 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message AchievementInfo {
enum AchievementInfoStatus {
ACHIEVEMENT_INVALID = 0;
ACHIEVEMENT_UNFINISHED = 1;
ACHIEVEMENT_FINISHED = 2;
ACHIEVEMENT_POINT_TAKEN = 3;
}
uint32 id = 1;
AchievementInfoStatus status = 2;
uint32 current = 3;
uint32 goal = 4;
uint32 achievedate = 5;
}