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,34 +1,17 @@
// 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: NJOHADFBICH
message Achievement {
enum Status {
STATUS_INVALID = 0;
STATUS_UNFINISHED = 1;
STATUS_FINISHED = 2;
STATUS_REWARD_TAKEN = 3;
}
uint32 finish_timestamp = 15;
Status status = 10;
uint32 total_progress = 4;
uint32 cur_progress = 14;
uint32 id = 5;
message Achievement {
enum Status {
STATUS_INVALID = 0;
STATUS_UNFINISHED = 1;
STATUS_FINISHED = 2;
STATUS_REWARD_TAKEN = 3;
}
uint32 id = 1;
Status status = 2;
uint32 cur_progress = 6;
uint32 total_progress = 9;
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";
option java_package = "emu.grasscutter.net.proto";
import "Achievement.proto";
// CmdId: 27422
// Obf: BMJFIOKJEMJ
// 4.6.0
// CmdId: 1655
message AchievementAllDataNotify {
repeated uint32 reward_taken_goal_id_list = 4;
repeated Achievement achievement_list = 9;
repeated uint32 reward_taken_goal_id_list = 8;
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";
option java_package = "emu.grasscutter.net.proto";
import "Achievement.proto";
// CmdId: 4460
// Obf: IDGAPFJMLNJ
// 4.6.0
// CmdId: 6011
message AchievementUpdateNotify {
repeated Achievement achievement_list = 15;
repeated Achievement achievement_list = 14;
}

View File

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

View File

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

View File

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

View File

@ -1,13 +1,16 @@
syntax = "proto3";
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 {
uint32 ui_interact_id = 13;
uint32 gadget_entity_id = 1;
ResinCostType resin_cost_type = 5;
InterOpType op_type = 7;
uint32 gadget_id = 2;
bool is_use_condense_resin = 4;
InterOpType op_type = 3;
uint32 gadget_id = 4;
uint32 gadget_entity_id = 5;
bool is_use_condense_resin = 6;
ResinCostType resin_cost_type = 12;
uint32 LPLOBCLLOMD = 15;
}

View File

@ -1,12 +1,15 @@
syntax = "proto3";
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 {
InteractType interact_type = 6;
int32 retcode = 12;
InterOpType op_type = 7;
uint32 gadget_id = 2;
uint32 gadget_entity_id = 4;
}
int32 retcode = 1;
uint32 gadget_id = 4;
InteractType interact_type = 11;
uint32 gadget_entity_id = 12;
InterOpType op_type = 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";
option java_package = "emu.grasscutter.net.proto";
// Obf: BGICOOCNDKD
// 4.6.0
enum InterOpType {
INTER_OP_TYPE_FINISH = 0;
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";
option java_package = "emu.grasscutter.net.proto";
// Obf: MMHNBMOLJBI
// 4.6.0
enum InteractType {
INTERACT_TYPE_NONE = 0;
INTERACT_TYPE_PICK_ITEM = 1;
@ -35,4 +20,4 @@ enum InteractType {
INTERACT_TYPE_QUEST_GADGET = 14;
INTERACT_TYPE_UI_INTERACT = 15;
INTERACT_TYPE_DESHRET_OBELISK = 16;
}
}

View File

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

View File

@ -1,9 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
message ItemHint {
uint32 item_id = 11;
bool is_new = 2;
uint64 guid = 7;
uint32 count = 10;
}
uint32 count = 3;
uint32 item_id = 4;
uint64 guid = 6;
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";
option java_package = "emu.grasscutter.net.proto";
// Obf: CJJHKGNDKMK
// 4.6.0
enum ResinCostType {
RESIN_COST_TYPE_NONE = 0;
RESIN_COST_TYPE_NORMAL = 1;
@ -24,4 +9,4 @@ enum ResinCostType {
RESIN_COST_TYPE_REUNION_PRIVILEGE = 3;
RESIN_COST_TYPE_OP_ACTIVITY = 4;
RESIN_COST_TYPE_MATERIAL = 5;
}
}

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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 249
// Obf: FILFJFONHAK
// 4.6.0
// CmdId: 2692
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";
option java_package = "emu.grasscutter.net.proto";
import "ItemParam.proto";
// CmdId: 20302
// Obf: LHEEBEDENLA
// 4.6.0
// CmdId: 23787
message TakeAchievementGoalRewardRsp {
repeated uint32 id_list = 14;
int32 retcode = 10;
repeated ItemParam item_list = 6;
repeated ItemParam item_list = 4;
repeated uint32 id_list = 12;
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 20624
// Obf: DPBGALMPEBD
// 4.6.0
// CmdId: 8646
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";
option java_package = "emu.grasscutter.net.proto";
import "ItemParam.proto";
// CmdId: 23696
// Obf: GMEJLKDLEEA
// 4.6.0
// CmdId: 24805
message TakeAchievementRewardRsp {
repeated ItemParam item_list = 14;
repeated uint32 id_list = 13;
int32 retcode = 2;
int32 retcode = 3;
repeated ItemParam item_list = 4;
repeated uint32 id_list = 13;
}