From 0c74a4cd4b80f02a8dea29a34d43b01ef3651f81 Mon Sep 17 00:00:00 2001 From: zhangshanxue Date: Wed, 21 Oct 2020 18:26:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A4=BE=E7=A8=B7=E5=A4=A7=E5=85=B8=E5=8D=8F?= =?UTF-8?q?=E8=AE=AE=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/ActivityProto.proto | 16 ++++++++++++++++ protos/MessageTypeProto.proto | 7 +++++++ 2 files changed, 23 insertions(+) create mode 100644 protos/ActivityProto.proto diff --git a/protos/ActivityProto.proto b/protos/ActivityProto.proto new file mode 100644 index 0000000..8de7a54 --- /dev/null +++ b/protos/ActivityProto.proto @@ -0,0 +1,16 @@ +package com.ljsd.jieling.protocols; + +option optimize_for = SPEED; + +import "CommonProto.proto"; + + + //社稷大典贡献道具 + message CommitShejiActivityItemRequest{ + optional int32 num = 1; //道具id + optional int32 itemTime = 2; //道具数量 + } + + message GetShejiAwardResponse{ + optional Drop drop = 2; + } diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 76321c4..255db1f 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -1066,6 +1066,13 @@ enum MessageType{ DoHeroChangeRequest = 303605; DoHeroChangeResponse = 303606; + //303651 - 30370 社稷大典 + + CommitShejiActivityItemRequest = 303653;//社稷大典贡献道具 + CommitShejiActivityItemResponse =303654; + + GetShejiAwardRequest = 303655;//社稷大典抢夺 + GetShejiAwardResponse = 303656; }