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