From e14de14ec2e2503e569de73a2d5217cde9b52950 Mon Sep 17 00:00:00 2001
From: Yuuki <6851027-yukiz@users.noreply.gitlab.com>
Date: Fri, 24 May 2024 02:57:06 +0800
Subject: [PATCH] sync proto
---
README.md | 4 +--
proto/GetScenePointRsp.proto | 24 ++++++++---------
proto/MapLayerInfo.proto | 26 +++++--------------
proto/PlayerWorldSceneInfo.proto | 30 ++++++----------------
proto/PlayerWorldSceneInfoListNotify.proto | 27 +++++--------------
proto/SceneDataNotify.proto | 3 +++
proto/SceneTransToPointReq.proto | 8 +++---
proto/SceneTransToPointRsp.proto | 10 +++++---
proto/ServerGlobalValueChangeNotify.proto | 29 +++++----------------
9 files changed, 56 insertions(+), 105 deletions(-)
diff --git a/README.md b/README.md
index 8ac1cc7f..28d73809 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-# Anime Game Protos 4.5 (For Grasscutters)
+# Anime Game Protos 4.6 (For Grasscutters)
This repository contains the [ProtoBuf](https://github.com/google/protobuf) `.proto` files for Anime Game API.
## Credits
- - [UnknownAnimeGamePS](https://github.com/XeonSucksLAB/UnknownAnimeGamePS) for 4.5 public
\ No newline at end of file
+ - [LunaGC](https://github.com/Kei-Luna/LunaGC_Proto_4.6.0) for 4.6 public
\ No newline at end of file
diff --git a/proto/GetScenePointRsp.proto b/proto/GetScenePointRsp.proto
index 02100cbe..51dc301f 100644
--- a/proto/GetScenePointRsp.proto
+++ b/proto/GetScenePointRsp.proto
@@ -4,17 +4,17 @@ option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 831
message GetScenePointRsp {
- repeated uint32 unlock_area_list = 15; //random
- repeated uint32 locked_point_list = 11; //random
- repeated uint32 not_interact_dungeon_entry_list = 9; //random
- repeated uint32 hide_point_list = 7; //random
- repeated uint32 unhide_point_list = 999; //random
- repeated uint32 to_be_explore_dungeon_entry_list = 8; //random
- repeated uint32 unlocked_point_list = 12; //random
- repeated uint32 not_explored_dungeon_entry_list = 997; //random
- repeated uint32 group_unlimit_point_list = 998; //random
- bool is_relogin = 1;
- uint32 belong_uid = 3;
+ bool CPNKHEDGHHL = 1;
+ uint32 scene_id = 2;
+ uint32 belong_uid = 3;
int32 retcode = 14;
- uint32 scene_id = 2;
+ repeated uint32 unhide_point_list = 4;//2
+ repeated uint32 AKHAPPFGOGM = 5;//1
+ repeated uint32 HNFMMECDIGB = 6;//1
+ repeated uint32 HJIEJPPDLKO = 7;//1
+ repeated uint32 DKKKDOJPNOK = 9;//1
+ repeated uint32 unlocked_point_list = 10;//1 may be
+ repeated uint32 MDCKMMJDEHG = 12;//2
+ repeated uint32 KIBAPLIMEHA = 13;//2
+ repeated uint32 unlock_area_list = 15;//1
}
diff --git a/proto/MapLayerInfo.proto b/proto/MapLayerInfo.proto
index e3c94066..16444f87 100644
--- a/proto/MapLayerInfo.proto
+++ b/proto/MapLayerInfo.proto
@@ -1,23 +1,9 @@
-// https://github.com/SlushinPS/beach-simulator
-// Copyright (C) 2023 Slushy Team
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU Affero General Public License as
-// published by the Free Software Foundation, either version 3 of the
-// License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU Affero General Public License for more details.
-//
-// You should have received a copy of the GNU Affero General Public License
-// along with this program. If not, see .
-
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
+
+// 4.6.0
message MapLayerInfo {
- repeated uint32 unlocked_map_layer_id_list = 11;
- repeated uint32 unlocked_map_layer_floor_id_list = 15;
- repeated uint32 unlocked_map_layer_group_id_list = 3;
-}
+ repeated uint32 unlocked_map_layer_id_list = 9;//sus
+ repeated uint32 unlocked_map_layer_group_id_list = 12;//sus
+ repeated uint32 unlocked_map_layer_floor_id_list = 13;//sus
+}
\ No newline at end of file
diff --git a/proto/PlayerWorldSceneInfo.proto b/proto/PlayerWorldSceneInfo.proto
index f5c069bb..96877057 100644
--- a/proto/PlayerWorldSceneInfo.proto
+++ b/proto/PlayerWorldSceneInfo.proto
@@ -1,26 +1,12 @@
-// https://github.com/SlushinPS/beach-simulator
-// Copyright (C) 2023 Slushy Team
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU Affero General Public License as
-// published by the Free Software Foundation, either version 3 of the
-// License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU Affero General Public License for more details.
-//
-// You should have received a copy of the GNU Affero General Public License
-// along with this program. If not, see .
-
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
+
import "MapLayerInfo.proto";
-// Obf: FCGGGBEOFIJ
+
+// 4.6.0
message PlayerWorldSceneInfo {
- MapLayerInfo map_layer_info = 1;
- uint32 scene_id = 12;
- bool is_locked = 2;
- repeated uint32 scene_tag_id_list = 7;
-}
+ MapLayerInfo map_layer_info = 4;
+ bool is_locked = 7;
+ repeated uint32 scene_tag_id_list = 9;
+ uint32 scene_id = 13;
+}
\ No newline at end of file
diff --git a/proto/PlayerWorldSceneInfoListNotify.proto b/proto/PlayerWorldSceneInfoListNotify.proto
index 7734c12f..05d25106 100644
--- a/proto/PlayerWorldSceneInfoListNotify.proto
+++ b/proto/PlayerWorldSceneInfoListNotify.proto
@@ -1,24 +1,11 @@
-// https://github.com/SlushinPS/beach-simulator
-// Copyright (C) 2023 Slushy Team
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU Affero General Public License as
-// published by the Free Software Foundation, either version 3 of the
-// License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU Affero General Public License for more details.
-//
-// You should have received a copy of the GNU Affero General Public License
-// along with this program. If not, see .
-
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
+
import "PlayerWorldSceneInfo.proto";
-// CmdId: 7017
-// Obf: GGOIKEGFFAA
+
+// 4.6.0
+// CmdId: 250
message PlayerWorldSceneInfoListNotify {
- repeated PlayerWorldSceneInfo info_list = 15;
-}
+ repeated PlayerWorldSceneInfo info_list = 14;
+ repeated uint32 unlocked_area_id_list = 132;
+}
\ No newline at end of file
diff --git a/proto/SceneDataNotify.proto b/proto/SceneDataNotify.proto
index 267ac7e5..cbe3135d 100644
--- a/proto/SceneDataNotify.proto
+++ b/proto/SceneDataNotify.proto
@@ -1,9 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
+import "MapLayerInfo.proto";
+
// 4.6.0
// CmdId: 25430
message SceneDataNotify {
repeated string level_config_name_list = 2;
repeated uint32 scene_tag_id_list = 5;
+ MapLayerInfo map_layer_info = 11;
}
\ No newline at end of file
diff --git a/proto/SceneTransToPointReq.proto b/proto/SceneTransToPointReq.proto
index 6a8cf24d..118eae69 100644
--- a/proto/SceneTransToPointReq.proto
+++ b/proto/SceneTransToPointReq.proto
@@ -1,7 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
+// 4.6.0
+// CmdId: 20814
message SceneTransToPointReq {
- uint32 point_id = 11;
- uint32 scene_id = 2;
-}
+ uint32 point_id = 1;
+ uint32 scene_id = 12;
+}
\ No newline at end of file
diff --git a/proto/SceneTransToPointRsp.proto b/proto/SceneTransToPointRsp.proto
index a832293f..b1d34b64 100644
--- a/proto/SceneTransToPointRsp.proto
+++ b/proto/SceneTransToPointRsp.proto
@@ -1,8 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
+// 4.6.0
+// CmdId: 29013
message SceneTransToPointRsp {
- uint32 scene_id = 12;
- int32 retcode = 7;
- uint32 point_id = 14;
-}
+ uint32 point_id = 2;
+ uint32 scene_id = 5;
+ int32 retcode = 13;
+}
\ No newline at end of file
diff --git a/proto/ServerGlobalValueChangeNotify.proto b/proto/ServerGlobalValueChangeNotify.proto
index 060898a1..b4fd094d 100644
--- a/proto/ServerGlobalValueChangeNotify.proto
+++ b/proto/ServerGlobalValueChangeNotify.proto
@@ -1,25 +1,10 @@
-// https://github.com/SlushinPS/beach-simulator
-// Copyright (C) 2023 Slushy Team
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU Affero General Public License as
-// published by the Free Software Foundation, either version 3 of the
-// License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU Affero General Public License for more details.
-//
-// You should have received a copy of the GNU Affero General Public License
-// along with this program. If not, see .
-
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
-// CmdId: 28698
-// Obf: GKKPLLOCNMC
+
+// 4.6.0
+// CmdId: 24449
message ServerGlobalValueChangeNotify {
- float value = 6;
- uint32 key_hash = 2;
- uint32 entity_id = 14;
-}
+ uint32 entity_id = 8;
+ uint32 key_hash = 10;
+ float value = 15;
+}
\ No newline at end of file