From 7254e72af6f642556129bc7dd12f5e6910a85ccb Mon Sep 17 00:00:00 2001 From: gaojie Date: Tue, 14 May 2019 17:14:13 +0800 Subject: [PATCH] fix --- protos/CommonProto.proto | 11 ++++++----- protos/PlayerInfoProto.proto | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 41d2b39..c2de4ad 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -277,6 +277,12 @@ option optimize_for = SPEED; repeated ArenaEnemy arenaEnemys = 5; //对手信息 } + message StoreItem{ + optional int32 id = 1; // StoreConfig id + optional int32 buyNum = 2; //购买次数 + } + + message StoreInfo{ optional int32 id = 1; optional int64 lastRefreshTime =2; //上次刷新时间 @@ -286,11 +292,6 @@ option optimize_for = SPEED; repeated StoreItem storeItem = 6; //商店物品 } - message StoreItem{ - optional int32 id = 1; // StoreConfig id - optional int32 buyNum = 2; //购买次数 - } - message ArenaRecordInfo{ optional string id=1;//唯一标识 optional ArenaPersonInfo attackInfo =2 ;// 进攻者信息 diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 6395e6f..94369b6 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -167,7 +167,7 @@ import "CommonProto.proto"; } message GetStoreInfosResponse{ - repeated StoreInfo StoreInfo = 1; //商店信息 + repeated StoreInfo storeInfo = 1; //商店信息 } message BuyStoreItemRequest{ @@ -185,5 +185,5 @@ import "CommonProto.proto"; optional int32 storeId = 2; //商店id } message StoreGoodsRefreshResponse{ - optional StoreInfo StoreInfo = 1; //商店信息 + optional StoreInfo storeInfo = 1; //商店信息 }