Maybe fix proto TrialAvatar

This commit is contained in:
Akbar Yahya 2023-04-11 20:25:01 +08:00
parent e254c71f47
commit 52c669369e
3 changed files with 24 additions and 5 deletions

View File

@ -6,8 +6,8 @@ option java_package = "emu.grasscutter.net.proto";
// Name: HKIDINMGFBN
message TrialAvatarActivityRewardDetailInfo {
uint32 reward_id = 8;
bool AOLLLBPODHH = 7;
bool ODMFBOGNBNK = 5;
bool passed_dungeon = 7; // AOLLLBPODHH
bool received_reward = 5; // ODMFBOGNBNK
uint32 trial_avatar_index_id = 1;
}

View File

@ -5,7 +5,26 @@ option java_package = "emu.grasscutter.net.proto";
// Name: NMHLLNINEFA
message TrialAvatarGrantRecord {
uint32 CJJJCOPJEDA = 1;
uint32 NHBDGGGMKDE = 2;
enum GrantReason {
GRANT_REASON_INVALID = 0;
GRANT_REASON_BY_QUEST = 1;
GRANT_REASON_BY_TRIAL_AVATAR_ACTIVITY = 2;
GRANT_REASON_BY_DUNGEON_ELEMENT_CHALLENGE = 3;
GRANT_REASON_BY_MIST_TRIAL_ACTIVITY = 4;
GRANT_REASON_BY_SUMO_ACTIVITY = 5;
GRANT_REASON_BY_POTION_ACTIVITY = 6;
GRANT_REASON_BY_CRYSTAL_LINK_ACTIVITY = 7;
GRANT_REASON_BY_IRODORI_MASTER = 8;
GRANT_REASON_BY_GM = 9;
GRANT_REASON_BY_INSTABLE_SPRAY_ACTIVITY = 10;
GRANT_REASON_BY_MUQADAS_POTION_ACTIVITY = 11;
GRANT_REASON_BY_VINTAGE_HUNTING = 12;
GRANT_REASON_BY_CHAR_AMUSEMENT = 13;
FJBKKFJNBHD_HMLDNDBKNFL = 14;
FJBKKFJNBHD_PJDEJIHFCPP = 15;
}
uint32 grant_reason = 1;
uint32 from_parent_quest_id = 2;
}

View File

@ -8,7 +8,7 @@ import "TrialAvatarGrantRecord.proto";
// Name: NDCPPFJKBFD
message TrialAvatarInfo {
uint32 trial_avatar_id = 1;
repeated Item item_list = 2;
repeated Item trial_equip_list = 2;
TrialAvatarGrantRecord grant_record = 3;
}