tes coop mode p1

This commit is contained in:
Yuuki
2024-07-03 08:46:31 +08:00
parent 3aefcd70b7
commit beb971f6ff
16 changed files with 10598 additions and 25897 deletions

View File

@@ -1,22 +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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 27587
// Obf: IGNGJNHHJBM
// CmdId: 22525 (4.7.0)
// Obf: DBNCNMAKDMK
message GetOnlinePlayerListReq {
}

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";
option java_package = "emu.grasscutter.net.proto";
import "OnlinePlayerInfo.proto";
// CmdId: 1234
// Obf: AANMJBACMJM
// CmdId: 6813 (4.7.0)
// Obf: LFIPLDDDOMC
message GetOnlinePlayerListRsp {
uint32 param = 10;
repeated OnlinePlayerInfo player_info_list = 13;
int32 retcode = 7;
uint32 param = 5;
repeated OnlinePlayerInfo player_info_list = 7;
int32 retcode = 12;
}

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 "OnlinePlayerInfo.proto";
// CmdId: 26047
// Obf: HKFIJOMFLOA
// CmdId: 5247 ? (4.7.0)
// Obf: BDPJPLOMCHE
message PlayerApplyEnterHomeNotify {
OnlinePlayerInfo src_player_info = 2;
uint32 src_app_id = 12;
uint32 src_app_id = 10;
}

View File

@@ -1,26 +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 "OnlinePlayerInfo.proto";
// CmdId: 5296
// Obf: DKNEOIPGLJP
// CmdId: 7182 ? (4.7.0)
// Obf: HKDJLHPMDFP
message PlayerApplyEnterMpNotify {
uint32 src_app_id = 5;
uint32 src_thread_index = 8;
uint32 src_app_id = 15;
uint32 src_thread_index = 9;
OnlinePlayerInfo src_player_info = 14;
}

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: 9629
// Obf: HLANGOHBOGO
// CmdId: 20663 (4.7.0)
// Obf: BOLBDHPCEHO
message PlayerApplyEnterMpReq {
uint32 target_uid = 4;
uint32 target_uid = 5;
}

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";
// CmdId: 3467
// Obf: EIIOBJEBLEH
message PlayerApplyEnterMpResultNotify {
// Obf: DLBJOMOJCKD
// CmdId: 27203 (4.7.0)
// Obf: BPINAIKKBEL
message PlayerApplyEnterMpResultNotify {
enum Reason {
REASON_PLAYER_JUDGE = 0;
REASON_SCENE_CANNOT_ENTER = 1;
@@ -37,8 +21,8 @@ message PlayerApplyEnterMpResultNotify {
REASON_MAX_PLAYER = 13;
}
Reason reason = 10;
string target_nickname = 14;
uint32 target_uid = 3;
bool is_agreed = 2;
Reason reason = 6;
string target_nickname = 8;
uint32 target_uid = 1;
bool is_agreed = 4;
}

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";
// CmdId: 24849
// Obf: DCHAHENHFKC
// CmdId: 26285 (4.7.0)
// Obf: HHNBHGACADH
message PlayerApplyEnterMpResultReq {
uint32 apply_uid = 11;
bool is_agreed = 12;
uint32 apply_uid = 15;
bool is_agreed = 1;
}

View File

@@ -1,26 +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";
// CmdId: 6395
// Obf: JGFCKHJPDFA
// CmdId: 4853 (4.7.0)
// Obf: IDCJGOPNCKJ
message PlayerApplyEnterMpResultRsp {
uint32 apply_uid = 3;
int32 retcode = 12;
uint32 param = 11;
bool is_agreed = 7;
uint32 apply_uid = 4; // PCJIFEJGIGB
int32 retcode = 1;
uint32 param = 7;
bool is_agreed = 10;
}

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";
// CmdId: 20994
// Obf: IGEKDAHIAFB
// CmdId: 20430 (4.7.0)
// Obf: PLMHIBJGCEE
message PlayerApplyEnterMpRsp {
uint32 param = 10;
int32 retcode = 8;
uint32 target_uid = 11;
uint32 param = 1;
int32 retcode = 2;
uint32 target_uid = 9;
}

View File

@@ -4,10 +4,11 @@ option java_package = "emu.grasscutter.net.proto";
import "DungeonEnterPosInfo.proto";
// 4.6.0
// CmdId: 2254
// 4.7.0
// CmdId: 21509
// AFNMCKAGOLH
message PlayerEnterDungeonReq {
uint32 dungeon_id = 1;
uint32 dungeon_id = 2;
uint32 point_id = 11;
DungeonEnterPosInfo enter_pos_info = 12;
DungeonEnterPosInfo enter_pos_info = 9;
}

View File

@@ -2,9 +2,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 9001
// 4.7.0
// CmdId: 4653
// GLKCKLJODKO
message PlayerQuitDungeonReq {
uint32 point_id = 13;
bool is_quit_immediately = 14;
uint32 point_id = 12;
bool is_quit_immediately = 7;
}

View File

@@ -2,8 +2,9 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 6852
// 4.7.0
// CmdId: 611
// AOPOGBADJHN
message TowerAllDataReq {
bool is_interact = 9;
}