diff --git a/game.proto b/game.proto index a3bc3d0..7f97837 100644 --- a/game.proto +++ b/game.proto @@ -36,10 +36,13 @@ message ChangeTeamReq { //ResponseCmd HeroEquipReferReq message HeroEquipReferReq { - repeated string equipIds = 1; //[id, id2] + message EquipInfo { + string equipId = 1; + int32 pos = 2; + } + repeated EquipInfo equipIds = 1; string hero_id = 2; bool refer = 3; //true 穿戴, false 脱下 - bool left = 4; // 是否左手 只对戒指有效 } message RoleRsp { @@ -60,6 +63,10 @@ message RoleUpdateItemsRsp { string items = 1; } +message RoleUpdateChangeRsp { + +} + //ResponseCmd RoleClearItemsReq message RoleClearItemsReq { repeated string items = 1; diff --git a/models.proto b/models.proto index c5e0311..1f6b8dd 100644 --- a/models.proto +++ b/models.proto @@ -28,7 +28,7 @@ message Equipment { int32 enhance_level = 4; string hero_id = 5; int32 quality = 6; - bool left = 7; // 是否左手 只对戒指有效 + int32 pos = 7; } message Prop { diff --git a/protocode.proto b/protocode.proto index e0ad4b2..3d632d6 100644 --- a/protocode.proto +++ b/protocode.proto @@ -17,11 +17,12 @@ enum ProtoCode RoleRsp = 9; RoleUpdatePropertyRsp = 10; RoleUpdateItemsRsp = 11; - RoleClearItemsReq = 12; - RoleStartBattleReq = 13; - RoleEndBattleReq = 14; - RoleEndBattleRsp = 15; - EquipmentDelReq = 16; - EquipmentAddRsp = 17; + RoleUpdateChangeRsp = 12; + RoleClearItemsReq = 13; + RoleStartBattleReq = 14; + RoleEndBattleReq = 15; + RoleEndBattleRsp = 16; + EquipmentDelReq = 17; + EquipmentAddRsp = 18; } \ No newline at end of file -- libgit2 0.21.2