From 324ba6054c300deffde5fbb3a2f55c890d306635 Mon Sep 17 00:00:00 2001 From: jiahuiwen <1024696487@qq.com> Date: Sat, 2 Mar 2019 18:33:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/MapInfoProto.proto | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/protos/MapInfoProto.proto b/protos/MapInfoProto.proto index 694369f..f6a7d66 100644 --- a/protos/MapInfoProto.proto +++ b/protos/MapInfoProto.proto @@ -3,6 +3,12 @@ package com.ljsd.jieling.protocols; option optimize_for = SPEED; import "CommonProto.proto"; + + message HeroInfo { + optional string heroId = 1; + optional int32 heroHp = 2; + } + // 进入地图 message MapEnterRequest{ // 需要进入的地图id @@ -19,11 +25,6 @@ import "CommonProto.proto"; repeated HeroInfo heroInfos = 3; } - message HeroInfo { - optional string heroId = 1; - optional int32 heroHp = 2; - } - // 更新事件 message EventUpdateRequest{ // eventPointConfig id