This commit is contained in:
Yuuki 2024-07-04 19:27:43 +08:00
parent 1a50d29a9e
commit 6b01916f61
26 changed files with 143 additions and 218 deletions

View File

@ -3,9 +3,10 @@ option java_package = "emu.grasscutter.net.proto";
import "AbilityControlBlock.proto"; import "AbilityControlBlock.proto";
// 4.6.0 // 4.7.0
// CmdId: 516 // CmdId: 22133
// AGPEHPIBLNC
message AbilityChangeNotify { message AbilityChangeNotify {
AbilityControlBlock ability_control_block = 5; AbilityControlBlock ability_control_block = 9;
uint32 entity_id = 9; uint32 entity_id = 6;
} }

View File

@ -1,10 +1,10 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 4.6.0 // 4.7.0
// Obf: OPOPDLFAGAO // Obf: JOLGLBCFGND
message AiSyncInfo { message AiSyncInfo {
bool has_path_to_target = 3; bool has_path_to_target = 11;
bool is_self_killing = 9; bool is_self_killing = 7;
uint32 entity_id = 12; uint32 entity_id = 4;
} }

View File

@ -1,24 +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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 6944 // 4.7.0
// Obf: FCKHNNLKPOI // CmdId: 22734
// Obf: NLIDKBFBKEB
message ClientAIStateNotify { message ClientAIStateNotify {
uint32 cur_tactic = 5; uint32 cur_tactic = 6;
uint32 entity_id = 13; uint32 entity_id = 15;
} }

View File

@ -1,7 +1,8 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 4.7.0
// CmdId: 7189 // CmdId: 20259
// LAMOGOEBPPF
message EnterTransPointRegionNotify { message EnterTransPointRegionNotify {
uint32 point_id = 11; uint32 point_id = 11;
uint32 scene_id = 15; uint32 scene_id = 15;

View File

@ -1,9 +1,10 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 4.6.0 // 4.7.0
// CmdId: 28567 // CmdId: 6675
// OJNKEODJCJG
message EnterWorldAreaReq { message EnterWorldAreaReq {
uint32 area_id = 4; uint32 area_id = 7;
uint32 area_type = 13; uint32 area_type = 6;
} }

View File

@ -1,10 +1,11 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 4.6.0 // 4.7.0
// CmdId: 26630 // CmdId: 8436
// FMPOBCLPIGO
message EnterWorldAreaRsp { message EnterWorldAreaRsp {
uint32 area_type = 10; uint32 area_type = 12;
uint32 area_id = 13; uint32 area_id = 3;
int32 retcode = 14; int32 retcode = 5;
} }

View File

@ -3,10 +3,10 @@ option java_package = "emu.grasscutter.net.proto";
import "AiSyncInfo.proto"; import "AiSyncInfo.proto";
// 4.6.0 // 4.7.0
// Obf: EPKLOEEJJLA // Obf: GLCLIIAOADG
// CmdId: 6518 // CmdId: 24710
message EntityAiSyncNotify { message EntityAiSyncNotify {
repeated AiSyncInfo info_list = 12; repeated AiSyncInfo info_list = 13;
repeated uint32 local_avatar_alerted_monster_list = 14; repeated uint32 local_avatar_alerted_monster_list = 16;
} }

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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "AnimatorParameterValueInfo.proto"; import "AnimatorParameterValueInfo.proto";
// Obf: KMKPHPFFDNG
// 4.7.0
// Obf: MKGKIHKGHEI
message EvtAnimatorParameterInfo { message EvtAnimatorParameterInfo {
int32 name_id = 4; int32 name_id = 10;
AnimatorParameterValueInfo value = 10; AnimatorParameterValueInfo value = 4;
bool is_server_cache = 15; bool is_server_cache = 155;
uint32 entity_id = 11; uint32 entity_id = 12;
} }

View File

@ -6,31 +6,30 @@ import "Vector.proto";
import "ForwardType.proto"; import "ForwardType.proto";
import "AbilityString.proto"; import "AbilityString.proto";
// CmdId: 24638 // CmdId: 25223
// Version: 4.6.0 // Version: 4.7.0
// Obfs: ???
message EvtCreateGadgetNotify { message EvtCreateGadgetNotify {
uint32 config_id = 1; Vector init_euler_angles = 1;
uint32 HOFCLFELEMK = 2; bool is_async_load = 2; // JAENJMGNGNC sus
bool is_async_load = 3; // LGOLECDFPNK sus uint32 config_id = 3;
uint32 entity_id = 4; uint32 camp_type = 4;
bool BANJELHCLDK = 5; uint32 target_entity_id = 5;
uint32 room_id = 6; uint32 FGPFOMCEKME = 6;
uint32 camp_type = 7; uint32 entity_id = 7;
Vector InitEulerAngles = 8; Vector init_pos = 8;
uint64 guid = 9; bool LAJKLOJMPNG = 9;
uint32 camp_id = 10; uint32 camp_id = 10;
uint32 target_entity_id = 11; uint64 guid = 11;
ForwardType forward_type = 12; uint32 prop_owner_entity_id = 12;
Vector InitPos = 13; uint32 room_id = 13;
uint32 owner_entity_id = 14; ForwardType forward_type = 14;
uint32 prop_owner_entity_id = 15; uint32 owner_entity_id = 15;
AbilityString ability_name = 440; AbilityString ability_name = 240;
uint32 KDPGILHNFNM = 554; uint32 init_pose_id = 378;
repeated uint32 target_lock_point_index_list = 588; bool MMHLCBHJLAJ = 680;
repeated uint32 target_entity_id_list = 1298; uint32 born_slot_index = 930;
int32 local_id = 1381; repeated uint32 target_entity_id_list = 1105;
bool PDGGCPDDAOL = 1542; repeated uint32 target_lock_point_index_list = 1115;
uint32 init_pose_id = 1860; int32 local_id = 1444;
bool is_peer_id_from_player = 1956; bool is_peer_id_from_player = 1463;
} }

View File

@ -4,10 +4,10 @@ option java_package = "emu.grasscutter.net.proto";
import "ForwardType.proto"; import "ForwardType.proto";
// CmdId: 21713 // CmdId: 1452
// Version: 4.6.0 // Version: 4.7.0
// Obfs: ??? // Obfs: BLLGPFKGJIO
message EvtDestroyGadgetNotify { message EvtDestroyGadgetNotify {
uint32 entity_id = 2; uint32 entity_id = 3;
ForwardType forward_type = 3; ForwardType forward_type = 11;
} }

View File

@ -3,11 +3,12 @@ option java_package = "emu.grasscutter.net.proto";
import "EntityRendererChangedInfo.proto"; import "EntityRendererChangedInfo.proto";
import "ForwardType.proto"; import "ForwardType.proto";
// 4.7.0
// CmdId: 5936 // CmdId: 28488
// CNPJNNLOPCL
message EvtEntityRenderersChangedNotify { message EvtEntityRenderersChangedNotify {
bool is_server_cache = 2; bool is_server_cache = 5;
uint32 entity_id = 5; uint32 entity_id = 7;
EntityRendererChangedInfo renderer_changed_info = 6; EntityRendererChangedInfo renderer_changed_info = 4;
ForwardType forward_type = 7; ForwardType forward_type = 15;
} }

View File

@ -1,8 +1,9 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 4.7.0
// CmdId: 6413 // CmdId: 8012
// BHLPGMLLKJK
message ExitTransPointRegionNotify { message ExitTransPointRegionNotify {
uint32 point_id = 2; uint32 point_id = 9;
uint32 scene_id = 9; uint32 scene_id = 6;
} }

View File

@ -1,25 +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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "MapAreaInfo.proto"; import "MapAreaInfo.proto";
// CmdId: 9654 // CmdId: 26944
// Obf: ILDNIMHNDKG // Obf: OOAPOAEHAAM
message GetMapAreaRsp { message GetMapAreaRsp {
repeated MapAreaInfo map_area_info_list = 10; repeated MapAreaInfo map_area_info_list = 8;
int32 retcode = 7; int32 retcode = 13;
} }

View File

@ -2,8 +2,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "Vector.proto"; import "Vector.proto";
// 4.7.0
// CmdId: 2178
// PGGDFNLKJPC
message HitTreeNotify { message HitTreeNotify {
Vector drop_pos = 1; Vector drop_pos = 9;
Vector tree_pos = 15; Vector tree_pos = 11;
uint32 tree_type = 12; uint32 tree_type = 4;
} }

View File

@ -1,22 +1,7 @@
// 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// Obf: NOPIOICPEHD // 4.7.0
// Obf: HKBPJNKGGCC
message MapAreaInfo { message MapAreaInfo {
uint32 map_area_id = 1; uint32 map_area_id = 1;
bool is_open = 2; bool is_open = 2;

View File

@ -2,10 +2,13 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "ObstacleInfo.proto"; import "ObstacleInfo.proto";
// 4.7.0
// CmdId: 2375
// GPPPFELACIN
message ObstacleModifyNotify { message ObstacleModifyNotify {
repeated int32 HPDLPMEOMKB = 10; repeated int32 DGJANCNNNCP = 3; // ?
repeated int32 EGMEMAIOALB = 15; repeated int32 MAAACDMLALJ = 4; // ?
repeated int32 remove_obstacle_ids = 6; repeated int32 remove_obstacle_ids = 7;
repeated ObstacleInfo add_obstacles = 5; repeated ObstacleInfo add_obstacles = 9;
uint32 scene_id = 7; uint32 scene_id = 13;
} }

View File

@ -2,10 +2,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 22934 // CmdId: 26087 or 1330 (lock)
// Version: 4.6.0 // Version: 4.7.0
// Obfs: EMEHBONIFJF // Obfs: EIPEACPKJEN
message SceneAreaUnlockNotify { message SceneAreaUnlockNotify {
uint32 scene_id = 7; uint32 scene_id = 3;
repeated uint32 area_list = 9; repeated uint32 area_list = 7;
} }

View File

@ -4,9 +4,9 @@ option java_package = "emu.grasscutter.net.proto";
// 4.7.0 // 4.7.0
message ScenePointUnlockNotify { message ScenePointUnlockNotify {
repeated uint32 DGFPDBCEBHH = 1; repeated uint32 hide_point_list = 1;
repeated uint32 point_list = 5; repeated uint32 point_list = 5;
repeated uint32 unhide_point_list = 9; repeated uint32 unhide_point_list = 9;
repeated uint32 NEAHFHGMEKK = 11; repeated uint32 locked_point_list = 11;
uint32 scene_id = 15; uint32 scene_id = 15;
} }

View File

@ -1,9 +1,10 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 4.6.0 // 4.7.0
// CmdId: 28401 // CmdId: 9009
// ?
message SetOpenStateReq { message SetOpenStateReq {
uint32 value = 4; uint32 value = 12;
uint32 key = 7; uint32 key = 2;
} }

View File

@ -1,10 +1,11 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 4.6.0 // 4.7.0
// CmdId: 24060 // CmdId: 22146
// ?
message SetOpenStateRsp { message SetOpenStateRsp {
uint32 key = 4; uint32 key = 5;
int32 retcode = 7; int32 retcode = 8;
uint32 value = 11; uint32 value = 12;
} }

View File

@ -1,24 +1,8 @@
// 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "PropValue.proto"; import "PropValue.proto";
// CmdId: 25174 // CmdId: 1774
// Obf: FNNAEOMEFBL // Obf: ?
message SetPlayerPropReq { message SetPlayerPropReq {
repeated PropValue prop_list = 9; repeated PropValue prop_list = 3;
} }

View File

@ -1,23 +1,7 @@
// 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 1391 // CmdId: 4436 or 20930
// Obf: MFEACCDFFAI // Obf: MMKEOHEEEHC
message SetPlayerPropRsp { message SetPlayerPropRsp {
int32 retcode = 8; int32 retcode = 8;
} }

View File

@ -4,8 +4,10 @@ import "WidgetSlotTag.proto";
import "WidgetSlotOp.proto"; import "WidgetSlotOp.proto";
// 4.7.0 // 4.7.0
// CmdId: 25160
// BLFCJICOGKP
message SetWidgetSlotReq { message SetWidgetSlotReq {
repeated WidgetSlotTag tag_list = 6; repeated WidgetSlotTag tag_list = 5;
uint32 material_id = 7; uint32 material_id = 9;
WidgetSlotOp op = 14; WidgetSlotOp op = 14;
} }

View File

@ -4,9 +4,11 @@ import "WidgetSlotTag.proto";
import "WidgetSlotOp.proto"; import "WidgetSlotOp.proto";
// 4.7.0 // 4.7.0
// CmdId: 29426
// FMJHOCGMDJF
message SetWidgetSlotRsp { message SetWidgetSlotRsp {
repeated WidgetSlotTag tag_list = 8; repeated WidgetSlotTag tag_list = 2;
uint32 material_id = 3; uint32 material_id = 3;
int32 retcode = 13; int32 retcode = 1;
WidgetSlotOp op = 5; WidgetSlotOp op = 8;
} }

View File

@ -2,10 +2,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 27857 // CmdId: 24297
// Version: 4.6.0 // Version: 4.7.0
// Obfs: EMIFGECBKAI // Obfs: OKHBFJMPOOB
message UnlockTransPointReq { message UnlockTransPointReq {
uint32 point_id = 2; uint32 point_id = 4;
uint32 scene_id = 3; uint32 scene_id = 3;
} }

View File

@ -2,9 +2,9 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 23504 // CmdId: 9504x or 26749 (lock?)
// Version: 4.6.0 // Version: 4.7.0
// Obfs: LJJNGFAEJOG // Obfs: IFHGPKKDJMN
message UnlockTransPointRsp { message UnlockTransPointRsp {
int32 retcode = 1; int32 retcode = 8;
} }