diff --git a/proto/Gameapi.proto b/proto/Gameapi.proto index dec0d3d1..7f1c88bf 100644 --- a/proto/Gameapi.proto +++ b/proto/Gameapi.proto @@ -119,7 +119,7 @@ enum TIME_LINE_TYPE { LOG_TYPE_CHARGE_RECEIVED = 19; // 充值接受 LOG_TYPE_WISH = 20; // 心愿单 LOG_TYPE_FRIEND_BECOME_NPC = 21; // NPC成为好友 - + LOG_TYPE_PLAYROOM_UPVOTE = 22; // playroom点赞 } @@ -512,9 +512,14 @@ message ResSetEnergyMul{ string Msg = 2; } +enum LANG_TYPE { + LANG_CN = 0; // 中文 + LANG_EN = 1; // 英文 +} + // 设置能量倍数 message ReqLang{ - int32 Lang = 1; // 语言 1 英文 2 中文 + LANG_TYPE Lang = 1; // 语言 1 英文 0 中文 } message ResLang{ @@ -527,7 +532,7 @@ message BaseInfo { bool IsFirstBuy = 2; // 是否已第一次购买体力商店 int32 EnergyBuy = 3; // 今日体力商店购买次数 int32 EnergyAD = 4; // 今日看广告获取体力次数 - int32 Lang = 5; // 语言 1 英文 2 中文 + LANG_TYPE Lang = 5; // 语言 1 英文 2 中文 } message ReqUserInfo{} @@ -1447,6 +1452,8 @@ message MailInfo{ int32 Status = 5; // 0 未读 1 已读 2 已领取 3 已删除 repeated ItemInfo Items = 6; // 奖励 int32 Type = 7; //邮件类型 1普通邮件 2节日邮件 3 礼包邮件 + string TitleEn = 8; // 英文标题 + string ContentEn = 9; // 英文内容 } message MailNotify { MailInfo Info = 1; @@ -1894,6 +1901,16 @@ message ResPlayroom{ map DressSet = 17; // 服装装饰 位置 =》 服装id repeated int32 PetAir = 18; // 宠物背包 int32 PetAirSet = 19; // 宠物背包设置 + int32 Upvote = 20; // 点赞次数 +} + +message ReqPlayroomUpvote{ + int64 Id = 1; // 对手id +} +message ResPlayroomUpvote{ + RES_CODE Code = 1; + string Msg = 2; + int64 Id = 3; // 对手id } message PlayroomDress{ @@ -1979,6 +1996,7 @@ message ResPlayroomInfo{ int32 Chip = 11; // 碎片 string PetName = 12; // 宠物名 map Emoji = 13; // 表情 + bool Upvote = 14; // 是否点赞 } // 请求翻牌