From 2eeab08a8e1d8bb28d7b2a875216466b104ae8fd Mon Sep 17 00:00:00 2001 From: wangyuan Date: Tue, 3 Sep 2019 13:44:20 +0800 Subject: [PATCH] scene msg --- protos/CommonProto.proto | 6 ++++++ protos/SceneFight.proto | 1 + 2 files changed, 7 insertions(+) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 8ee2094..dcf5777 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -454,6 +454,11 @@ option optimize_for = SPEED; optional int32 heroTid = 4; } + message SceneMsg{ + optional int32 time = 1 ;//发生时间 + optional string msg = 2 ;// 场景消息 + } + //地图点散落的矿石信息 message PosMineral{ optional int32 pos = 1;// 坐标点 @@ -488,6 +493,7 @@ option optimize_for = SPEED; repeated ActorEffectBufferInfo actorEffectBufferInfo =4;//场景中所有buffer信息 repeated int32 barrierPoint = 5 ;// 阻挡点 repeated PosMineral posMineral = 6;// 散落的矿石信息 + repeated SceneMsg sceneMsg = 7; // 场景消息 } diff --git a/protos/SceneFight.proto b/protos/SceneFight.proto index 7b9f3ce..0d88d04 100644 --- a/protos/SceneFight.proto +++ b/protos/SceneFight.proto @@ -29,6 +29,7 @@ message BroadMsgIndication{ repeated int32 removeActorId = 4 ;//演员被移除 repeated int32 removePosMineralId=5; // 被删除的地图路径矿物信息 repeated PosMineral PosMineral = 6; //路径矿物信息变更 + repeated SceneMsg sceneMsg = 7; // 场景消息 } message SceneEndIndication{