fix switch team selech

This commit is contained in:
Yuuki 2024-08-18 10:19:02 +08:00
parent aedd9ef127
commit 444f5ce0f9
4 changed files with 18 additions and 35 deletions

View File

@ -1,9 +1,8 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 4.7.0
// 4.6.0 // CmdId: 24699
// CmdId: 5863
message ChangeTeamNameReq { message ChangeTeamNameReq {
int32 team_id = 3; int32 team_id = 7;
string team_name = 10; string team_name = 14;
} }

View File

@ -1,10 +1,9 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 4.7.0
// 4.6.0 // CmdId: 27356
// CmdId: 1674
message ChangeTeamNameRsp { message ChangeTeamNameRsp {
int32 team_id = 4; int32 team_id = 11;
int32 retcode = 5; int32 retcode = 5; // OK
string team_name = 12; string team_name = 6;
} }

View File

@ -1,8 +1,8 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 4.7.0
// 4.6.0 // CmdId: 27622
// CmdId: 7877 // ?
message ChooseCurAvatarTeamReq { message ChooseCurAvatarTeamReq {
uint32 team_id = 10; uint32 team_id = 8;
} }

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: 4031 // 4.7.0
// Obf: GCKFCHMIFPD // CmdId: 6895
// Obf: ?
message ChooseCurAvatarTeamRsp { message ChooseCurAvatarTeamRsp {
uint32 cur_team_id = 10; uint32 cur_team_id = 7;
int32 retcode = 2; int32 retcode = 12;
} }