Commit d9a4f5a801c3aabcd3859644f1554e9a3f91fb7d
Merge branch 'master' of 120.26.43.151:zhangqijia/Pro2dProtoBuffers
# Conflicts: # account.proto
Showing
2 changed files
with
11 additions
and
8 deletions
Show diff stats
game.proto
@@ -5,6 +5,9 @@ package game; | @@ -5,6 +5,9 @@ package game; | ||
5 | //import "google/protobuf/empty.proto"; | 5 | //import "google/protobuf/empty.proto"; |
6 | import "models.proto"; | 6 | import "models.proto"; |
7 | 7 | ||
8 | +// rpc = req + rsp 请求/返回 | ||
9 | +// rpc = rar + rar 自回包 | ||
10 | + | ||
8 | message HeartReq { | 11 | message HeartReq { |
9 | int64 code = 1; | 12 | int64 code = 1; |
10 | } | 13 | } |
protocode.proto
@@ -8,14 +8,14 @@ enum ProtoCode | @@ -8,14 +8,14 @@ enum ProtoCode | ||
8 | UNKNOWN = 0; | 8 | UNKNOWN = 0; |
9 | HeartRpc = 1; | 9 | HeartRpc = 1; |
10 | LoginRpc = 2; | 10 | LoginRpc = 2; |
11 | - CreateRpc = 3; | ||
12 | - ChangeTeamRpc = 4; | ||
13 | - HeroEquipReferRpc = 5; | ||
14 | - RoleClearItemsRpc = 6; | ||
15 | - RoleStartBattleRpc = 7; | ||
16 | - RoleEndBattleRpc = 8; | ||
17 | - EquipmentDelRpc = 9; | ||
18 | - HeroUpLevelRpc = 10; | 11 | + RoleStartBattleRpc = 3; |
12 | + RoleEndBattleRpc = 4; | ||
13 | + HeroUpLevelRpc = 5; | ||
14 | + CreateRpc = 6; | ||
15 | + ChangeTeamRpc = 7; | ||
16 | + HeroEquipReferRpc = 8; | ||
17 | + RoleClearItemsRpc = 9; | ||
18 | + EquipmentDelRpc = 10; | ||
19 | DisConnectNty = 11; | 19 | DisConnectNty = 11; |
20 | RoleUpdatePropertyNty = 12; | 20 | RoleUpdatePropertyNty = 12; |
21 | RoleUpdateItemsNty = 13; | 21 | RoleUpdateItemsNty = 13; |