broken don't use it, wait for better update

This commit is contained in:
Yuuki 2023-05-23 14:47:30 +08:00
parent 221b889852
commit 0ab4d7a4b7
12 changed files with 287 additions and 126 deletions

View File

@ -1,17 +1,29 @@
// 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";
import "Status.proto"; import "Status.proto";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// Name: PBPLDMMEGBO
message Achievement { message Achievement {
// Name: OPFLKOJMOIG > Status uint32 id = 3;
Status status = 10;
uint32 total_progress = 4; uint32 total_progress = 14;
uint32 finish_timestamp = 9; uint32 finish_timestamp = 15;
Status status = 2; uint32 cur_progress = 5;
uint32 id = 10;
uint32 cur_progress = 3;
} }

View File

@ -1,24 +1,37 @@
// 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";
// Name: JOFBOBHLMJA
message ChatInfo { message ChatInfo {
// Name: BEDECNHGCGK
message SystemHint { message SystemHint {
uint32 type = 12; uint32 type = 13;
} }
uint32 to_uid = 4; uint32 time = 7;
uint32 time = 15; uint32 to_uid = 6;
uint32 sequence = 2; bool is_read = 4;
uint32 uid = 11; uint32 uid = 5;
bool is_read = 12; uint32 sequence = 12;
oneof content { oneof content {
string text = 1362; string text = 408;
uint32 icon = 451; uint32 icon = 1308;
SystemHint system_hint = 772; SystemHint system_hint = 166;
} }
} }

View File

@ -1,15 +1,29 @@
// 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: 1589 // CmdId: 1502
// Name: PCNKFCOOMOH
message DoGachaReq { message DoGachaReq {
uint32 gachaRandom = 5; uint32 gachaType = 15;
uint32 gachaType = 6; uint32 gachaRandom = 9;
string gachaTag = 1; string gacha_tag = 14;
uint32 gachaScheduleId = 12; uint32 gachaTimes = 12;
uint32 gachaTimes = 2; uint32 gachaScheduleId = 1;
} }

View File

@ -1,16 +1,30 @@
// 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 "GachaTransferItem.proto";
import "ItemParam.proto"; import "ItemParam.proto";
import "GachaTransferItem.proto";
// Name: IPHELIAGHGJ
message GachaItem { message GachaItem {
ItemParam gacha_item = 13; bool is_flash_card = 15;
repeated GachaTransferItem transfer_items = 3; ItemParam gacha_item = 4;
repeated ItemParam token_item_list = 9; bool is_gacha_item_new = 3;
bool is_gacha_item_new = 1; // DKPCGKMJNMC repeated ItemParam token_item_list = 8;
bool is_flash_card = 11; // HBJJJDGGBCN repeated GachaTransferItem transfer_items = 14;
} }

View File

@ -1,11 +1,25 @@
// 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";
// Name: JIDKKFKPDIH
message Investigation { message Investigation {
// Name: PMHIABIOPBE
enum State { enum State {
INVALID = 0; INVALID = 0;
IN_PROGRESS = 1; IN_PROGRESS = 1;
@ -13,9 +27,8 @@ message Investigation {
REWARD_TAKEN = 3; REWARD_TAKEN = 3;
} }
uint32 total_progress = 11; uint32 progress = 4;
State state = 8; uint32 id = 10;
uint32 id = 3; State state = 13;
uint32 progress = 15; uint32 total_progress = 8;
} }

View File

@ -1,13 +1,27 @@
// 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 "MapMarkPoint.proto";
// CmdId: 3483 import "MapMarkPoint.proto";
// Name: DDECFGAEPFL // CmdId: 3389
message MarkMapReq { message MarkMapReq {
// Name: NABGOBNLACJ > Operation
enum Operation { enum Operation {
OPERATION_ADD = 0; OPERATION_ADD = 0;
OPERATION_MOD = 1; OPERATION_MOD = 1;
@ -15,8 +29,7 @@ message MarkMapReq {
OPERATION_GET = 3; OPERATION_GET = 3;
} }
MapMarkPoint old = 15; MapMarkPoint old = 5;
MapMarkPoint mark = 11; MapMarkPoint mark = 6;
Operation op = 7; Operation op = 1;
} }

View File

@ -1,11 +1,26 @@
// 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 "MotionState.proto";
import "Vector.proto";
// Name: NLAAPIDMOCD import "Vector.proto";
import "MotionState.proto";
message MotionInfo { message MotionInfo {
Vector pos = 1; Vector pos = 1;
Vector rot = 2; Vector rot = 2;
@ -17,4 +32,3 @@ message MotionInfo {
uint32 scene_time = 8; uint32 scene_time = 8;
uint64 interval_velocity = 9; uint64 interval_velocity = 9;
} }

View File

@ -1,12 +1,26 @@
// 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: 1849 // CmdId: 1821
// Name: MHEHKPFJIPH
message PlayerApplyEnterMpResultNotify { message PlayerApplyEnterMpResultNotify {
// Name: BEHGHPPNIBJ
enum Reason { enum Reason {
REASON_PLAYER_JUDGE = 0; REASON_PLAYER_JUDGE = 0;
REASON_SCENE_CANNOT_ENTER = 1; REASON_SCENE_CANNOT_ENTER = 1;
@ -24,9 +38,8 @@ message PlayerApplyEnterMpResultNotify {
REASON_MAX_PLAYER = 13; REASON_MAX_PLAYER = 13;
} }
string target_nickname = 8; string target_nickname = 3;
bool is_agreed = 2; Reason reason = 14;
uint32 target_uid = 14; bool is_agreed = 11;
Reason reason = 6; uint32 target_uid = 8;
} }

View File

@ -1,14 +1,28 @@
// 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: 150 // CmdId: 126
// Name: IMAKIKFJHOM
message PlayerCookReq { message PlayerCookReq {
uint32 assist_avatar = 8;
uint32 cook_count = 13; uint32 cook_count = 13;
uint32 assist_avatar = 1; uint32 recipe_id = 6;
uint32 qte_quality = 6; uint32 qte_quality = 4;
uint32 recipe_id = 7;
} }

View File

@ -1,15 +1,29 @@
// 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: 5040 // CmdId: 5025
// Name: GJDPKMJKHAF
message PrivateChatReq { message PrivateChatReq {
uint32 target_uid = 13; uint32 target_uid = 2;
oneof content { oneof content {
string text = 10; string icon = 4;
uint32 icon = 8; uint32 text = 5;
} }
} }

View File

@ -1,22 +1,35 @@
// 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 "ServerBuff.proto";
// CmdId: 334 import "ServerBuff.proto";
// Name: DPDLNPHNOME // CmdId: 323
message ServerBuffChangeNotify { message ServerBuffChangeNotify {
// Name: JEMLILGEABH
enum ServerBuffChangeType { enum ServerBuffChangeType {
SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF = 0; SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF = 0;
SERVER_BUFF_CHANGE_TYPE_DEL_SERVER_BUFF = 1; SERVER_BUFF_CHANGE_TYPE_DEL_SERVER_BUFF = 1;
} }
repeated uint64 avatar_guid_list = 6; repeated ServerBuff server_buff_list = 5;
repeated uint64 avatar_guid_list = 12;
bool is_creature_buff = 7; bool is_creature_buff = 7;
repeated ServerBuff server_buff_list = 9; ServerBuffChangeType server_buff_change_type = 3;
ServerBuffChangeType server_buff_change_type = 15; repeated uint32 entity_id_list = 9;
repeated uint32 entity_id_list = 13;
} }

View File

@ -1,17 +1,31 @@
// 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 "PlayerDieType.proto";
// CmdId: 279 import "PlayerDieType.proto";
// Name: GKOJHPIPBHO // CmdId: 214
message WorldPlayerDieNotify { message WorldPlayerDieNotify {
PlayerDieType die_type = 15; PlayerDieType die_type = 14;
uint32 murderer_entity_id = 10; uint32 murderer_entity_id = 9;
oneof entity { oneof entity {
uint32 monster_id = 2; uint32 monster_id = 2;
uint32 gadget_id = 7; uint32 gadget_id = 8;
} }
} }