Commit c9c5e84cc702b2f2defa023fd65100176d5c60fd

Authored by zhangqijia
1 parent 23591d91

update heart

Showing 2 changed files with 8 additions and 3 deletions   Show diff stats
game.proto
... ... @@ -9,6 +9,10 @@ message HeartReq {
9 9 int64 code = 1;
10 10 }
11 11  
  12 +message HeartRsp {
  13 + int64 code = 1;
  14 +}
  15 +
12 16 //ResponseCmd RoleRsp
13 17 message LoginReq {
14 18 string token = 1;
... ...
protocode.proto
... ... @@ -7,8 +7,9 @@ enum ProtoCode
7 7 {
8 8 UNKNOWN = 0;
9 9 HeartReq = 1;
10   - LoginReq = 2;
11   - CreateReq = 3;
12   - RoleRsp = 4;
  10 + HeartRsp = 2;
  11 + LoginReq = 3;
  12 + CreateReq = 4;
  13 + RoleRsp = 5;
13 14  
14 15 }
15 16 \ No newline at end of file
... ...