From e7f10409cd4876fd11cbc8d270f1199a7b386962 Mon Sep 17 00:00:00 2001 From: Akbar Yahya Date: Wed, 1 Mar 2023 08:26:37 +0800 Subject: [PATCH] fix quest proto (part 7) --- proto/ChildQuest.proto | 7 ++++--- proto/InferencePageInfo.proto | 1 - proto/InfernceWordInfo.proto | 2 -- proto/ParentQuest.proto | 9 ++++----- proto/ParentQuestRandomInfo.proto | 10 ++++------ 5 files changed, 12 insertions(+), 17 deletions(-) diff --git a/proto/ChildQuest.proto b/proto/ChildQuest.proto index 24d5c5bc..0b4364c5 100644 --- a/proto/ChildQuest.proto +++ b/proto/ChildQuest.proto @@ -2,8 +2,9 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; +// Name: DDGEINCPPIK message ChildQuest { - uint32 state = 1; - uint32 questConfigId = 14; + uint32 state = 1; + uint32 quest_config_id = 14; uint32 quest_id = 8; -} +} \ No newline at end of file diff --git a/proto/InferencePageInfo.proto b/proto/InferencePageInfo.proto index b70ddd41..4dce672a 100644 --- a/proto/InferencePageInfo.proto +++ b/proto/InferencePageInfo.proto @@ -9,4 +9,3 @@ message InferencePageInfo { repeated InfernceWordInfo unlock_word_list = 8; uint32 page_id = 5; } - diff --git a/proto/InfernceWordInfo.proto b/proto/InfernceWordInfo.proto index 04c0ad35..a6bda596 100644 --- a/proto/InfernceWordInfo.proto +++ b/proto/InfernceWordInfo.proto @@ -2,7 +2,6 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; - // Name: DPMDACEDALK message InfernceWordInfo { bool DFAGDIBEHOG = 3; @@ -11,4 +10,3 @@ message InfernceWordInfo { uint32 word_id = 10; bool GEHOIBMCJED = 9; } - diff --git a/proto/ParentQuest.proto b/proto/ParentQuest.proto index e7966461..a26ee74b 100644 --- a/proto/ParentQuest.proto +++ b/proto/ParentQuest.proto @@ -2,14 +2,14 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -import "ParentQuestRandomInfo.proto"; -import "InferencePageInfo.proto"; import "ChildQuest.proto"; +import "InferencePageInfo.proto"; +import "ParentQuestRandomInfo.proto"; // Name: NMIGKDMCKHK message ParentQuest { bool is_random = 1; - repeated ParentQuestRandomInfo randomInfo = 13; + repeated ChildQuest child_quest_list = 13; repeated int32 quest_var = 2; repeated InferencePageInfo inference_page_list = 4; uint32 parentQuestState = 5; @@ -18,6 +18,5 @@ message ParentQuest { map time_var_map = 14; bool is_finished = 8; uint32 parent_quest_id = 11; - ChildQuest childQuestList = 3; + ParentQuestRandomInfo random_info = 3; } - diff --git a/proto/ParentQuestRandomInfo.proto b/proto/ParentQuestRandomInfo.proto index cca83e94..75761432 100644 --- a/proto/ParentQuestRandomInfo.proto +++ b/proto/ParentQuestRandomInfo.proto @@ -2,11 +2,9 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; - - - +// Name: JLADMBEDMHP message ParentQuestRandomInfo { - uint32 entranceId = 1; - repeated uint32 factorList = 3; - uint32 templateId = 6; + repeated uint32 factor_list = 9; + uint32 template_id = 4; + uint32 entrance_id = 14; }