diff --git a/game.proto b/game.proto index 60d4afa..f6e0e51 100644 --- a/game.proto +++ b/game.proto @@ -33,4 +33,8 @@ message RoleRsp { message UpdateRolePropertyRsp { repeated int32 id = 1; models.Role role = 2; -} \ No newline at end of file +} + +message GoIntoBattleReq { + repeated models.Team team = 1; +} diff --git a/protocode.proto b/protocode.proto index bcf3f8f..fad4cf4 100644 --- a/protocode.proto +++ b/protocode.proto @@ -6,11 +6,13 @@ package protocode; enum ProtoCode { UNKNOWN = 0; - HeartReq = 1; - HeartRsp = 2; - LoginReq = 3; - CreateReq = 4; - RoleRsp = 5; - UpdateRolePropertyRsp = 6; + LoginRsp = 1; + HeartReq = 2; + HeartRsp = 3; + LoginReq = 4; + CreateReq = 5; + RoleRsp = 6; + UpdateRolePropertyRsp = 7; + GoIntoBattleReq = 8; -} \ No newline at end of file +} \ No newline at end of file -- libgit2 0.21.2