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";
// 4.6.0
// CmdId: 516
// 4.7.0
// CmdId: 22133
// AGPEHPIBLNC
message AbilityChangeNotify {
AbilityControlBlock ability_control_block = 5;
uint32 entity_id = 9;
AbilityControlBlock ability_control_block = 9;
uint32 entity_id = 6;
}

View File

@ -1,10 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// Obf: OPOPDLFAGAO
// 4.7.0
// Obf: JOLGLBCFGND
message AiSyncInfo {
bool has_path_to_target = 3;
bool is_self_killing = 9;
uint32 entity_id = 12;
bool has_path_to_target = 11;
bool is_self_killing = 7;
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 6944
// Obf: FCKHNNLKPOI
// 4.7.0
// CmdId: 22734
// Obf: NLIDKBFBKEB
message ClientAIStateNotify {
uint32 cur_tactic = 5;
uint32 entity_id = 13;
uint32 cur_tactic = 6;
uint32 entity_id = 15;
}

View File

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

View File

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

View File

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

View File

@ -3,10 +3,10 @@ option java_package = "emu.grasscutter.net.proto";
import "AiSyncInfo.proto";
// 4.6.0
// Obf: EPKLOEEJJLA
// CmdId: 6518
// 4.7.0
// Obf: GLCLIIAOADG
// CmdId: 24710
message EntityAiSyncNotify {
repeated AiSyncInfo info_list = 12;
repeated uint32 local_avatar_alerted_monster_list = 14;
repeated AiSyncInfo info_list = 13;
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";
option java_package = "emu.grasscutter.net.proto";
import "AnimatorParameterValueInfo.proto";
// Obf: KMKPHPFFDNG
// 4.7.0
// Obf: MKGKIHKGHEI
message EvtAnimatorParameterInfo {
int32 name_id = 4;
AnimatorParameterValueInfo value = 10;
bool is_server_cache = 15;
uint32 entity_id = 11;
int32 name_id = 10;
AnimatorParameterValueInfo value = 4;
bool is_server_cache = 155;
uint32 entity_id = 12;
}

View File

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

View File

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

View File

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

View File

@ -1,8 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 6413
// 4.7.0
// CmdId: 8012
// BHLPGMLLKJK
message ExitTransPointRegionNotify {
uint32 point_id = 2;
uint32 scene_id = 9;
uint32 point_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";
option java_package = "emu.grasscutter.net.proto";
import "MapAreaInfo.proto";
// CmdId: 9654
// Obf: ILDNIMHNDKG
// CmdId: 26944
// Obf: OOAPOAEHAAM
message GetMapAreaRsp {
repeated MapAreaInfo map_area_info_list = 10;
int32 retcode = 7;
repeated MapAreaInfo map_area_info_list = 8;
int32 retcode = 13;
}

View File

@ -2,8 +2,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// 4.7.0
// CmdId: 2178
// PGGDFNLKJPC
message HitTreeNotify {
Vector drop_pos = 1;
Vector tree_pos = 15;
uint32 tree_type = 12;
Vector drop_pos = 9;
Vector tree_pos = 11;
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";
option java_package = "emu.grasscutter.net.proto";
// Obf: NOPIOICPEHD
// 4.7.0
// Obf: HKBPJNKGGCC
message MapAreaInfo {
uint32 map_area_id = 1;
bool is_open = 2;

View File

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

View File

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

View File

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

View File

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

View File

@ -1,10 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 24060
// 4.7.0
// CmdId: 22146
// ?
message SetOpenStateRsp {
uint32 key = 4;
int32 retcode = 7;
uint32 value = 11;
uint32 key = 5;
int32 retcode = 8;
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";
option java_package = "emu.grasscutter.net.proto";
import "PropValue.proto";
// CmdId: 25174
// Obf: FNNAEOMEFBL
// CmdId: 1774
// Obf: ?
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 1391
// Obf: MFEACCDFFAI
// CmdId: 4436 or 20930
// Obf: MMKEOHEEEHC
message SetPlayerPropRsp {
int32 retcode = 8;
}

View File

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

View File

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

View File

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

View File

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