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