From 4af0fa24675037e38b6d89b620dd9b21c4ecb5d4 Mon Sep 17 00:00:00 2001 From: gaojie Date: Thu, 25 Apr 2019 18:16:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=B7=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/MessageTypeProto.proto | 3 +++ protos/PlayerInfoProto.proto | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index b013dbe..d6e875e 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -142,6 +142,9 @@ enum MessageType{ RANDOMNAME_REQUEST = 11702; // 随机名字 RANDOMNAME_RESPONSE = 11703; + + RENAME_REQUEST = 11704; // 修改名字 + RENAME_RESPONSE = 11705; // S 11800 SUCCESS_RESPONSE = 11800; // 通用成功回复 diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index aa22705..69742ca 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -134,3 +134,9 @@ import "CommonProto.proto"; message RandomNameResponse{ optional string randomName =1; } + + message ReNameRequest{ + optional int32 type = 1 ; // 1:玩家起名 2: 阵容起名 + optional string name = 2; + optional int32 teamPosId = 3; // 队伍id + }