Commit 9b79a3d3 authored by hujiebin's avatar hujiebin

cp升级

parent 62e9f234
...@@ -393,4 +393,12 @@ message SheepGameResult { ...@@ -393,4 +393,12 @@ message SheepGameResult {
message CpInvite { message CpInvite {
User user = 1; User user = 1;
string msg = 2; 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
...@@ -64,6 +64,7 @@ const ( ...@@ -64,6 +64,7 @@ const (
MsgTypeSheepGameMatchSuccess = 147 // 羊羊匹配成功 MsgTypeSheepGameMatchSuccess = 147 // 羊羊匹配成功
MsgTypeSheepGameResult = 148 // 羊羊游戏结果 MsgTypeSheepGameResult = 148 // 羊羊游戏结果
MsgTypeCpInvite = 149 // cp邀请 MsgTypeCpInvite = 149 // cp邀请
MsgTypeCpUpgrade = 150 // cp升级
) )
const ( const (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment