fix some proto p1

This commit is contained in:
Yuuki 2024-08-17 14:18:18 +08:00
parent 831626ced9
commit aedd9ef127
17 changed files with 106 additions and 152 deletions

View File

@ -1,23 +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";
// CmdId: 23994 // 4.7.0
// Obf: JMHDCBIFBBI // CmdId: 7730
// Obf: MLKLNEJBIBK
message ClientLockGameTimeNotify { message ClientLockGameTimeNotify {
bool is_lock = 1; bool is_lock = 11;
} }

View File

@ -1,7 +1,8 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "CustomCommonNodeInfo.proto"; import "CustomCommonNodeInfo.proto";
// Obf: POAIMCJGABA // 4.7.0
// Obf: ?
message CustomGadgetTreeInfo { message CustomGadgetTreeInfo {
repeated CustomCommonNodeInfo node_list = 1; repeated CustomCommonNodeInfo node_list = 1;
} }

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: 4320 // 4.7.0
// Obf: PPAHLMFGPPN // CmdId: 26087(3),25063(2?),9589(2)
// Obf: ?
message DelTeamEntityNotify { message DelTeamEntityNotify {
repeated uint32 del_entity_id_list = 7; repeated uint32 del_entity_id_list = 3;
uint32 scene_id = 15; uint32 scene_id = 11;
} }

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: DKFHNAHNGFE // 4.7.0
// Obf: ENGIGHOJALO
enum DungeonEntryBlockReason { enum DungeonEntryBlockReason {
DUNGEON_ENTRY_REASON_NONE = 0; DUNGEON_ENTRY_REASON_NONE = 0;
DUNGEON_ENTRY_REASON_LEVEL = 1; DUNGEON_ENTRY_REASON_LEVEL = 1;

View File

@ -1,8 +1,9 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "DungeonEntryBlockReason.proto"; import "DungeonEntryBlockReason.proto";
// 4.7.0
// HFNABBHGPAC
message DungeonEntryCond { message DungeonEntryCond {
DungeonEntryBlockReason cond_reason = 2; DungeonEntryBlockReason cond_reason = 15;
uint32 param1 = 14; uint32 param1 = 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 28261 // 4.7.0
// Obf: EEGGMAGLFIB // CmdId: 2592
// Obf: HIMNHIANBJD
message GetDungeonEntryExploreConditionReq { message GetDungeonEntryExploreConditionReq {
uint32 dungeon_entry_config_id = 14; uint32 dungeon_entry_config_id = 3;
uint32 scene_id = 6; uint32 scene_id = 1;
uint32 dungeon_entry_scene_point_id = 5; uint32 dungeon_entry_scene_point_id = 8;
} }

View File

@ -1,8 +1,10 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "DungeonEntryCond.proto"; import "DungeonEntryCond.proto";
// 4.7.0
// CmdId: 26570
// OECPJMAIIEA
message GetDungeonEntryExploreConditionRsp { message GetDungeonEntryExploreConditionRsp {
DungeonEntryCond dungeon_entry_cond = 4; DungeonEntryCond dungeon_entry_cond = 3;
int32 retcode = 12; int32 retcode = 2;
} }

View File

@ -1,26 +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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "MaterialDeleteReturnType.proto"; import "MaterialDeleteReturnType.proto";
// CmdId: 6719 // 4.7.0
// Obf: KLNDAJDJPNC // CmdId: 4352
// Obf: FGGPLOEFCJF
message MaterialDeleteReturnNotify { message MaterialDeleteReturnNotify {
MaterialDeleteReturnType type = 12; MaterialDeleteReturnType type = 11;
map<uint32, uint32> JICOKOIADLN = 11; map<uint32, uint32> uk1 = 9;
map<uint32, uint32> AJFNGKJPABI = 3; map<uint32, uint32> uk2 = 13;
} }

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: NHKCGBBJJGE // 4.7.0
// Obf: ILMLPAHHCIA
enum MaterialDeleteReturnType { enum MaterialDeleteReturnType {
MATERIAL_DELETE_RETURN_BAG = 0; MATERIAL_DELETE_RETURN_BAG = 0;
MATERIAL_DELETE_RETURN_SEED = 1; MATERIAL_DELETE_RETURN_SEED = 1;

View File

@ -0,0 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "WidgetCreateLocationInfo.proto";
import "WidgetCameraInfo.proto";
import "WidgetCreatorInfo.proto";
import "WidgetThunderBirdFeatherInfo.proto";
import "WidgetSorushInfo.proto";
// CmdId: 1372
// Obf: EEBHMEMHHFM
message QuickUseWidgetReq {
oneof param {
WidgetCreateLocationInfo location_info = 615;
WidgetCameraInfo camera_info = 564;
WidgetCreatorInfo creator_info = 777;
WidgetThunderBirdFeatherInfo thunder_bird_feather_info = 320;
WidgetSorushInfo sorush_info = 141;
}
bool EEJNPDEBBIK = 806;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "MapLayerInfo.proto";
// 4.7.0
// CmdId: 23591
message SceneDataNotify {
repeated string level_config_name_list = 2;
MapLayerInfo map_layer_info = 8;
repeated uint32 scene_tag_id_list = 14;
}

View File

@ -1,10 +1,8 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 4006
// CmdId: 26945 // Version: 4.7.0
// Version: 4.6.0 // Obfs: ?
// Obfs: EPMDACBNEMP
message SetBattlePassViewedReq { message SetBattlePassViewedReq {
uint32 schedule_id = 5; uint32 schedule_id = 3;
} }

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";
import "MaterialDeleteReturnType.proto"; import "MaterialDeleteReturnType.proto";
// CmdId: 23877 // 4.7.0
// Obf: OFKEEGHALAI // CmdId: 6530
// Obf: PGEIBMACKFM
message TakeMaterialDeleteReturnReq { message TakeMaterialDeleteReturnReq {
MaterialDeleteReturnType type = 6; MaterialDeleteReturnType type = 1;
} }

View File

@ -1,10 +1,9 @@
syntax = "proto3"; 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
//obf: NPLBBAJDIOM //obf: GNPAHMGJEHJ
message WeekendDjinnInfo { message WeekendDjinnInfo {
Vector rot = 13; Vector rot = 2;
Vector pos = 14; Vector pos = 1;
} }

View File

@ -0,0 +1,7 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.7.0
// Obf: OGFGBMPOGDD
message WidgetCameraInfo {
uint32 target_entity_id = 11;
}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// 4.7.0
// Obf: PIDEINKCANN
message WidgetSorushInfo {
uint32 slot = 5;
Vector rot = 1;
Vector pos = 6;
bool MHMHPPJKAHM = 11;
bool JMOJHHHKHEL = 14;
bool EOFNCKAMIKB = 15;
}

View File

@ -0,0 +1,7 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.7.0
// Obf: KNJBADPIGFN
message WidgetThunderBirdFeatherInfo {
repeated uint32 entity_id_list = 8;
}