diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 737bede..b50ae14 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -224,6 +224,7 @@ option optimize_for = SPEED; repeated Equip soulEquip =4;//魂印(法宝不再掉落,魂印改为4,注意修改) repeated PokemonInfo pokemon =5;//灵兽 repeated MagicSoldier magicSoldier =6;//神兵 + repeated GemNew gemNew = 7;//命格 } message GMCommand{ @@ -1333,4 +1334,16 @@ option optimize_for = SPEED; optional string name = 2; optional int64 endTime = 3; repeated GmSingleGift missions = 4; + } + + // 属性 + message Attribute{ + optional int32 id = 1; + optional int32 value = 2; + } + + // 命格新 + message GemNew{ + optional int32 id = 1; + repeated Attribute attr = 2; } \ No newline at end of file diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 52fad82..e11be5f 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -1628,16 +1628,21 @@ enum MessageType{ ReplayWorldArenaRequest = 9000023; ReplayWorldArenaResponse = 9000024; - IsCrossRequert = 9000025; IsCrossResponse = 9000026; IsCrossIndication = 9000027; - //========================================================== 6000000 起为bt协议========================================================== // gm修改器购买物品 GmBuyGoodRequest = 6000001; + // 命格新 + GemNewDrawRequest = 6000002; + GemNewDrawResponse = 6000003; + GemNewInfoRequest = 6000004; + GemNewInfoResponse = 6000005; + GemNewInfoIndication = 6000006; + } diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 65cd32a..4ecd2bc 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -1367,4 +1367,18 @@ message StoreOneClickPurchaseRequest{ } message StoreOneClickPurchaseResponse{ optional Drop drop = 1; +} + +// 命格 +message GemNewDrawRequest{ + optional int32 libraryId = 1; + optional int32 drawNum = 2; +} + +message GemNewDrawResponse{ + optional Drop drop = 1; +} + +message GemNewInfoResponse{ + repeated GemNew gems = 1; } \ No newline at end of file