From 896884bd462f0305655bfddf199592ed824d931e Mon Sep 17 00:00:00 2001 From: Yuuki <6851027-yukiz@users.noreply.gitlab.com> Date: Thu, 24 Aug 2023 06:25:36 +0800 Subject: [PATCH] Update proto MapLayerInfo --- proto/{NHFPBBLCHKH.proto => MapLayerInfo.proto} | 6 +++--- proto/PlayerEnterSceneNotify.proto | 4 ++-- proto/PlayerWorldSceneInfo.proto | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) rename proto/{NHFPBBLCHKH.proto => MapLayerInfo.proto} (87%) diff --git a/proto/NHFPBBLCHKH.proto b/proto/MapLayerInfo.proto similarity index 87% rename from proto/NHFPBBLCHKH.proto rename to proto/MapLayerInfo.proto index 1ca1e9f3..678f0ae6 100644 --- a/proto/NHFPBBLCHKH.proto +++ b/proto/MapLayerInfo.proto @@ -16,8 +16,8 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -message NHFPBBLCHKH { - repeated uint32 PAIGHFEEELO = 11; +message MapLayerInfo { + repeated uint32 unlocked_map_layer_id_list = 11; repeated uint32 DIDEMJFOGLD = 15; - repeated uint32 JBNJGMIGFFJ = 3; + repeated uint32 unlocked_map_layer_group_id_list = 3; } diff --git a/proto/PlayerEnterSceneNotify.proto b/proto/PlayerEnterSceneNotify.proto index e0995c43..01f524e2 100644 --- a/proto/PlayerEnterSceneNotify.proto +++ b/proto/PlayerEnterSceneNotify.proto @@ -16,14 +16,14 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -import "NHFPBBLCHKH.proto"; +import "MapLayerInfo.proto"; import "Vector.proto"; import "EnterType.proto"; // CmdId: 2783 // Obf: PBJBDNIOMBF message PlayerEnterSceneNotify { string scene_transaction = 1319; - NHFPBBLCHKH DCGPONECHMM = 897; + MapLayerInfo map_layer_info = 897; bool is_skip_ui = 3; uint32 prev_scene_id = 9; bool is_first_login_enter_scene = 164; diff --git a/proto/PlayerWorldSceneInfo.proto b/proto/PlayerWorldSceneInfo.proto index 9c8b15d5..f5c069bb 100644 --- a/proto/PlayerWorldSceneInfo.proto +++ b/proto/PlayerWorldSceneInfo.proto @@ -16,10 +16,10 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -import "NHFPBBLCHKH.proto"; +import "MapLayerInfo.proto"; // Obf: FCGGGBEOFIJ message PlayerWorldSceneInfo { - NHFPBBLCHKH DCGPONECHMM = 1; + MapLayerInfo map_layer_info = 1; uint32 scene_id = 12; bool is_locked = 2; repeated uint32 scene_tag_id_list = 7;