From 36269c24a8321b899bfd3b6f02f249958692b727 Mon Sep 17 00:00:00 2001 From: zhangshanxue Date: Mon, 5 Aug 2019 18:33:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=BE=E5=88=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 4 ++++ protos/MessageTypeProto.proto | 3 +++ protos/PlayerInfoProto.proto | 10 ++++++++++ 3 files changed, 17 insertions(+) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 65149f0..ca9fcae 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -523,3 +523,7 @@ option optimize_for = SPEED; optional int32 score = 2; optional int32 rank =3; } + message SignInInfo{ + optional int32 dayIndex = 1; + optional int32 state = 2; + } diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index ad0917f..6dca16b 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -472,6 +472,9 @@ enum MessageType{ STORE_UPDATE_INDICATION = 11826 ;// 商店更新信息 + SIGN_IN_REQUEST = 11827; //签到 + SIGN_IN_RESPONSE =11828; + // T 11900 TRIGGER_EVENT_REQUEST = 11900; // diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 536b0b5..9168b3d 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -53,6 +53,7 @@ import "CommonProto.proto"; repeated GoodsTypeDuration goodsTypeDuration = 14; // 已购买商品结束时间 optional int32 treasureScore = 15; // 孙龙的宝藏分数 optional int32 hadBuyTreasure = 16; // 是否购买孙龙的宝藏 + repeated SignInInfo SignInInfo =17;//签到 } @@ -439,4 +440,13 @@ import "CommonProto.proto"; optional int32 myRank =3 ;// 我的排名 } + message SignInRequest{ + optional int32 dayIndex = 1; + } + + message SignInResponse{ + optional Drop drop =1 ; + } + +