diff --git a/protocol/userProxy.proto b/protocol/userProxy.proto index 45d4a8d067b0df4b548600b80682f6cdf7bbe65b..149e111f80023a6d7c8b6dc0ab855d1dc6581dbd 100644 --- a/protocol/userProxy.proto +++ b/protocol/userProxy.proto @@ -393,4 +393,12 @@ message SheepGameResult { message CpInvite { User user = 1; string msg = 2; +} + +/* id == 150 cp升级 */ +message CpUpgrade { + User user1 = 1; + User user2 = 2; + uint32 cp_level = 3; + string content = 4; } \ No newline at end of file diff --git a/rpc/user_center_coder.go b/rpc/user_center_coder.go index daf859d1970ddc58f9f6f71fe5d9c1d2f4070378..7971594bab4e1d6c4940663c96f4ff35f0e88b09 100644 --- a/rpc/user_center_coder.go +++ b/rpc/user_center_coder.go @@ -64,6 +64,7 @@ const ( MsgTypeSheepGameMatchSuccess = 147 // 羊羊匹配成功 MsgTypeSheepGameResult = 148 // 羊羊游戏结果 MsgTypeCpInvite = 149 // cp邀请 + MsgTypeCpUpgrade = 150 // cp升级 ) const (