sync proto

This commit is contained in:
Yuuki 2024-05-24 02:57:06 +08:00
parent 443df7bd77
commit e14de14ec2
9 changed files with 56 additions and 105 deletions

View File

@ -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.<br/>
## Credits
- [UnknownAnimeGamePS](https://github.com/XeonSucksLAB/UnknownAnimeGamePS) for 4.5 public<br/>
- [LunaGC](https://github.com/Kei-Luna/LunaGC_Proto_4.6.0) for 4.6 public<br/>

View File

@ -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
}

View File

@ -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 <https://www.gnu.org/licenses/>.
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
}

View File

@ -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 <https://www.gnu.org/licenses/>.
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;
}

View File

@ -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 <https://www.gnu.org/licenses/>.
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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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 <https://www.gnu.org/licenses/>.
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;
}