From ebe74028fb418875ea69752b4b2b8c713fca8e39 Mon Sep 17 00:00:00 2001 From: wangyuan Date: Fri, 18 Jan 2019 16:00:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=BD=E5=8D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/HeroInfoProto.proto | 9 +++++++++ protos/MessageTypeProto.proto | 2 ++ 2 files changed, 11 insertions(+) diff --git a/protos/HeroInfoProto.proto b/protos/HeroInfoProto.proto index 40b0e94..74b92f3 100644 --- a/protos/HeroInfoProto.proto +++ b/protos/HeroInfoProto.proto @@ -22,3 +22,12 @@ import "CommonProto.proto"; message DrawHeroResponse{ repeated Hero heroList = 1; } + + message HeroRandRequest{ + optional int32 type =1; //抽卡类型 + } + + message HeroRandResponse{ + repeated Hero heroList = 1; + repeated Item itemList = 2; + } diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index bbc4407..7c05c48 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -38,6 +38,8 @@ enum MessageType{ GET_HEROINFO_REQUEST = 10608; // GET_HEROINFO_RESPONSE = 10609; // H 10700 + HERO_RAND_REQQUEST = 10701; + HERO_RAND_RESPONSE = 10702; // I 10800 // J 10900 // K 11000