diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 85d02e0..d53d367 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -275,6 +275,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; //上次刷新时间 @@ -284,11 +290,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 a4c2a7a..b58a99a 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -168,8 +168,7 @@ import "CommonProto.proto"; } message GetStoreInfosResponse{ - repeated StoreInfo StoreInfo = 1; //商店信息 - + repeated StoreInfo storeInfo = 1; //商店信息 } message BuyStoreItemRequest{ @@ -188,7 +187,7 @@ import "CommonProto.proto"; } message StoreGoodsRefreshResponse{ - optional StoreInfo StoreInfo = 1; //商店信息 + optional StoreInfo storeInfo = 1; //商店信息 }