From 444f5ce0f9d526ff2f9155edd477e9325324a85b Mon Sep 17 00:00:00 2001 From: Yuuki <6851027-yukiz@users.noreply.gitlab.com> Date: Sun, 18 Aug 2024 10:19:02 +0800 Subject: [PATCH] fix switch team selech --- proto/ChangeTeamNameReq.proto | 9 ++++----- proto/ChangeTeamNameRsp.proto | 11 +++++------ proto/ChooseCurAvatarTeamReq.proto | 8 ++++---- proto/ChooseCurAvatarTeamRsp.proto | 25 +++++-------------------- 4 files changed, 18 insertions(+), 35 deletions(-) diff --git a/proto/ChangeTeamNameReq.proto b/proto/ChangeTeamNameReq.proto index 29643fae..515ee84e 100644 --- a/proto/ChangeTeamNameReq.proto +++ b/proto/ChangeTeamNameReq.proto @@ -1,9 +1,8 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; - -// 4.6.0 -// CmdId: 5863 +// 4.7.0 +// CmdId: 24699 message ChangeTeamNameReq { - int32 team_id = 3; - string team_name = 10; + int32 team_id = 7; + string team_name = 14; } \ No newline at end of file diff --git a/proto/ChangeTeamNameRsp.proto b/proto/ChangeTeamNameRsp.proto index e6e7fbac..d789fbe0 100644 --- a/proto/ChangeTeamNameRsp.proto +++ b/proto/ChangeTeamNameRsp.proto @@ -1,10 +1,9 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; - -// 4.6.0 -// CmdId: 1674 +// 4.7.0 +// CmdId: 27356 message ChangeTeamNameRsp { - int32 team_id = 4; - int32 retcode = 5; - string team_name = 12; + int32 team_id = 11; + int32 retcode = 5; // OK + string team_name = 6; } \ No newline at end of file diff --git a/proto/ChooseCurAvatarTeamReq.proto b/proto/ChooseCurAvatarTeamReq.proto index 291c0754..e9a2fb4f 100644 --- a/proto/ChooseCurAvatarTeamReq.proto +++ b/proto/ChooseCurAvatarTeamReq.proto @@ -1,8 +1,8 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; - -// 4.6.0 -// CmdId: 7877 +// 4.7.0 +// CmdId: 27622 +// ? message ChooseCurAvatarTeamReq { - uint32 team_id = 10; + uint32 team_id = 8; } \ No newline at end of file diff --git a/proto/ChooseCurAvatarTeamRsp.proto b/proto/ChooseCurAvatarTeamRsp.proto index acd69052..6ac7c502 100644 --- a/proto/ChooseCurAvatarTeamRsp.proto +++ b/proto/ChooseCurAvatarTeamRsp.proto @@ -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 . - syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4031 -// Obf: GCKFCHMIFPD +// 4.7.0 +// CmdId: 6895 +// Obf: ? message ChooseCurAvatarTeamRsp { - uint32 cur_team_id = 10; - int32 retcode = 2; + uint32 cur_team_id = 7; + int32 retcode = 12; }