增加相关协议
This commit is contained in:
@@ -48,4 +48,27 @@ message Game2C_GetRoleInfoResponse // ICustomRouteResponse
|
||||
{
|
||||
string Name;
|
||||
string RoleId;
|
||||
}
|
||||
|
||||
///请求邮件列表
|
||||
message C2Game_GetMailsRequest // ICustomRouteRequest,Game2C_GetMailsResponse,GameRoute
|
||||
{
|
||||
|
||||
}
|
||||
///获取邮件列表响应
|
||||
message Game2C_GetMailsResponse // ICustomRouteResponse
|
||||
{
|
||||
repeated MailInfo Mail = 1;
|
||||
}
|
||||
|
||||
///新邮件推送
|
||||
message Game2C_HaveMail // ICustomRouteMessage,GameRoute
|
||||
{
|
||||
MailInfo Mail = 1;
|
||||
}
|
||||
|
||||
message Game2C_MailState // ICustomRouteMessage,GameRoute
|
||||
{
|
||||
int32 MailState = 1;
|
||||
int64 MailId = 2;
|
||||
}
|
||||
@@ -50,6 +50,7 @@ message VipInfo
|
||||
int64 ExpirationTime = 2; //到期时间
|
||||
}
|
||||
|
||||
|
||||
///奖励信息
|
||||
message AwardInfo
|
||||
{
|
||||
@@ -65,7 +66,7 @@ message ItemInfo
|
||||
int32 Count = 3; //数量
|
||||
int64 ExpirationTime = 4; //失效时间
|
||||
int64 GetTime = 5; //获得时间
|
||||
int64 Abrasion = 6; //耐久度
|
||||
int32 Abrasion = 6; //耐久度
|
||||
}
|
||||
|
||||
///fish信息
|
||||
|
||||
@@ -3,11 +3,12 @@ package Fantasy.Network.Message;
|
||||
|
||||
message MailInfo
|
||||
{
|
||||
int64 Id = 1; //邮件id
|
||||
string Title = 2; //标题
|
||||
string Content = 3; //内容
|
||||
int64 SendTime = 4; //发送时间
|
||||
int32 Type = 5; //邮件类型
|
||||
repeated AwardInfo Items = 6; //附件列表
|
||||
bool IsRead = 7; //是否已读
|
||||
int64 Id = 1; //邮件id
|
||||
string Title = 2; //标题
|
||||
string Content = 3; //内容
|
||||
int64 CreateTime = 4; //发送时间
|
||||
int64 ExpireTime = 4; //发送时间
|
||||
int32 MailType = 5; //邮件类型
|
||||
int32 MailState = 6; //邮件状态
|
||||
repeated AwardInfo Items = 7; //附件列表
|
||||
}
|
||||
Reference in New Issue
Block a user