From 3e16c355bcd1a4ac19cda5898072fa0bf9b31a70 Mon Sep 17 00:00:00 2001 From: gaojie Date: Thu, 24 Jan 2019 17:20:45 +0800 Subject: [PATCH] =?UTF-8?q?=20=20=E8=AF=BB=E5=8F=96=E9=82=AE=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 2 +- protos/MessageTypeProto.proto | 6 ++++++ protos/PlayerInfoProto.proto | 10 ++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index b606826..81ca619 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -97,5 +97,5 @@ option optimize_for = SPEED; } message GMCommand{ - optional string command =1 ; // 指令字符串 uid#type#prarm1#param2 + optional string command =1 ; // 指令字符串 type#prarm1#param2 } diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 9a724e0..aaf861b 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -61,6 +61,12 @@ enum MessageType{ MAP_UDPATE_EVENT_REQUEST = 11204; // 更新事件 MAP_UDPATE_EVENT_RESPONSE = 11205; + + MAIL_READ_REQUEST = 11206; //读取邮件 + MAIL_READ_RESPONSE = 11207; + + MAIL_TAKE_MAIL_ITEM_REQUEST = 11208; //领取附件 + MAIL_TAKE_MAIL_ITEM_RESPONESE = 11209; // N 11300 // O 11400 // P 11500 diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 9489ac7..7cf8013 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -43,4 +43,14 @@ import "CommonProto.proto"; message GetAllMailInfoResponse{ repeated Mail mialList = 1; + } + + message MailReadRequest{ + optional string mailId = 1; + } + message TakeMailRequest{ + repeated string mailIds = 1; + } + message TakeMailResponse{ + optional Drop drop = 1; } \ No newline at end of file