This commit is contained in:
Yuuki 2024-05-26 18:51:42 +08:00
parent e14de14ec2
commit b7cd856c6a
24 changed files with 33379 additions and 11124 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

31457
deobf.proto Normal file

File diff suppressed because it is too large Load Diff

1811
nameTranslation.txt Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,23 +1,6 @@
// 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: NJOHADFBICH
message Achievement { message Achievement {
enum Status { enum Status {
STATUS_INVALID = 0; STATUS_INVALID = 0;
@ -26,9 +9,9 @@ message Achievement {
STATUS_REWARD_TAKEN = 3; STATUS_REWARD_TAKEN = 3;
} }
uint32 finish_timestamp = 15; uint32 id = 1;
Status status = 10; Status status = 2;
uint32 total_progress = 4; uint32 cur_progress = 6;
uint32 cur_progress = 14; uint32 total_progress = 9;
uint32 id = 5; uint32 finish_timestamp = 13;
} }

View File

@ -1,25 +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 "Achievement.proto"; import "Achievement.proto";
// CmdId: 27422
// Obf: BMJFIOKJEMJ // 4.6.0
// CmdId: 1655
message AchievementAllDataNotify { message AchievementAllDataNotify {
repeated uint32 reward_taken_goal_id_list = 4; repeated uint32 reward_taken_goal_id_list = 8;
repeated Achievement achievement_list = 9; repeated Achievement achievement_list = 11;
} }

View File

@ -1,24 +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";
import "Achievement.proto"; import "Achievement.proto";
// CmdId: 4460
// Obf: IDGAPFJMLNJ // 4.6.0
// CmdId: 6011
message AchievementUpdateNotify { message AchievementUpdateNotify {
repeated Achievement achievement_list = 15; repeated Achievement achievement_list = 14;
} }

View File

@ -1,7 +1,10 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "SceneEntityInfo.proto"; import "SceneEntityInfo.proto";
// 4.6.0
// CmdId: 5930
message AvatarChangeCostumeNotify { message AvatarChangeCostumeNotify {
SceneEntityInfo entity_info = 14; SceneEntityInfo entity_info = 1;
} }

View File

@ -1,7 +1,9 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 27094
message AvatarChangeCostumeReq { message AvatarChangeCostumeReq {
uint64 avatar_guid = 6; uint64 avatar_guid = 2;
uint32 costume_id = 10; uint32 costume_id = 6;
} }

View File

@ -1,8 +1,10 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 657
message AvatarChangeCostumeRsp { message AvatarChangeCostumeRsp {
uint64 avatar_guid = 5; uint32 costume_id = 1;
int32 retcode = 8; int32 retcode = 13;
uint32 costume_id = 3; uint64 avatar_guid = 15;
} }

View File

@ -1,13 +1,16 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "ResinCostType.proto";
import "InterOpType.proto";
import "InterOpType.proto";
import "ResinCostType.proto";
// 4.6.0
// CmdId: 9529
message GadgetInteractReq { message GadgetInteractReq {
uint32 ui_interact_id = 13; InterOpType op_type = 3;
uint32 gadget_entity_id = 1; uint32 gadget_id = 4;
ResinCostType resin_cost_type = 5; uint32 gadget_entity_id = 5;
InterOpType op_type = 7; bool is_use_condense_resin = 6;
uint32 gadget_id = 2; ResinCostType resin_cost_type = 12;
bool is_use_condense_resin = 4; uint32 LPLOBCLLOMD = 15;
} }

View File

@ -1,12 +1,15 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "InterOpType.proto";
import "InteractType.proto";
import "InteractType.proto";
import "InterOpType.proto";
// 4.6.0
// CmdId: 20933
message GadgetInteractRsp { message GadgetInteractRsp {
InteractType interact_type = 6; int32 retcode = 1;
int32 retcode = 12; uint32 gadget_id = 4;
InterOpType op_type = 7; InteractType interact_type = 11;
uint32 gadget_id = 2; uint32 gadget_entity_id = 12;
uint32 gadget_entity_id = 4; InterOpType op_type = 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: BGICOOCNDKD
// 4.6.0
enum InterOpType { enum InterOpType {
INTER_OP_TYPE_FINISH = 0; INTER_OP_TYPE_FINISH = 0;
INTER_OP_TYPE_START = 1; INTER_OP_TYPE_START = 1;

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: MMHNBMOLJBI
// 4.6.0
enum InteractType { enum InteractType {
INTERACT_TYPE_NONE = 0; INTERACT_TYPE_NONE = 0;
INTERACT_TYPE_PICK_ITEM = 1; INTERACT_TYPE_PICK_ITEM = 1;

View File

@ -1,15 +1,18 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "ItemHint.proto"; import "ItemHint.proto";
import "Vector.proto"; import "Vector.proto";
// 4.6.0
// CmdId: 7983
message ItemAddHintNotify { message ItemAddHintNotify {
Vector position = 4; uint32 quest_id = 2;
repeated ItemHint item_list = 9; bool LANOGHMNMGK = 6;
repeated ItemHint overflow_transformed_item_list = 6; bool NGMABKAOMOA = 7;
uint32 quest_id = 5; repeated ItemHint overflow_transformed_item_list = 8;
bool PFNLIOENALO = 1; Vector position = 9;
bool ABOOBGNEPOC = 3; uint32 reason = 12;
bool FPLAKFLGHPL = 12; repeated ItemHint item_list = 14;
uint32 reason = 8; bool FBGIFDMHBNO = 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
message ItemHint { message ItemHint {
uint32 item_id = 11; uint32 count = 3;
bool is_new = 2; uint32 item_id = 4;
uint64 guid = 7; uint64 guid = 6;
uint32 count = 10; bool is_new = 14;
} }

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: CJJHKGNDKMK
// 4.6.0
enum ResinCostType { enum ResinCostType {
RESIN_COST_TYPE_NONE = 0; RESIN_COST_TYPE_NONE = 0;
RESIN_COST_TYPE_NORMAL = 1; RESIN_COST_TYPE_NORMAL = 1;

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: 249
// Obf: FILFJFONHAK // 4.6.0
// CmdId: 2692
message TakeAchievementGoalRewardReq { message TakeAchievementGoalRewardReq {
repeated uint32 id_list = 8; repeated uint32 id_list = 12;
} }

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 "ItemParam.proto"; import "ItemParam.proto";
// CmdId: 20302
// Obf: LHEEBEDENLA // 4.6.0
// CmdId: 23787
message TakeAchievementGoalRewardRsp { message TakeAchievementGoalRewardRsp {
repeated uint32 id_list = 14; repeated ItemParam item_list = 4;
int32 retcode = 10; repeated uint32 id_list = 12;
repeated ItemParam item_list = 6; int32 retcode = 13;
} }

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: 20624
// Obf: DPBGALMPEBD // 4.6.0
// CmdId: 8646
message TakeAchievementRewardReq { message TakeAchievementRewardReq {
repeated uint32 id_list = 15; repeated uint32 id_list = 9;
} }

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 "ItemParam.proto"; import "ItemParam.proto";
// CmdId: 23696
// Obf: GMEJLKDLEEA // 4.6.0
// CmdId: 24805
message TakeAchievementRewardRsp { message TakeAchievementRewardRsp {
repeated ItemParam item_list = 14; int32 retcode = 3;
repeated ItemParam item_list = 4;
repeated uint32 id_list = 13; repeated uint32 id_list = 13;
int32 retcode = 2;
} }