Commit 003912502b9da983fa9c33b1890f9830b625e21a
1 parent
43bf509f
feat: 增加上阵下阵协议,增加 IAgent接口,
删除一些无用日志 逻辑接口参数增加IAgent接口 增加IAgent接口的目的是为了在逻辑函数中可以获得和设置role数据
Showing
2 changed files
with
14 additions
and
8 deletions
Show diff stats
game.proto
protocode.proto
... | ... | @@ -6,11 +6,13 @@ package protocode; |
6 | 6 | enum ProtoCode |
7 | 7 | { |
8 | 8 | UNKNOWN = 0; |
9 | - HeartReq = 1; | |
10 | - HeartRsp = 2; | |
11 | - LoginReq = 3; | |
12 | - CreateReq = 4; | |
13 | - RoleRsp = 5; | |
14 | - UpdateRolePropertyRsp = 6; | |
9 | + LoginRsp = 1; | |
10 | + HeartReq = 2; | |
11 | + HeartRsp = 3; | |
12 | + LoginReq = 4; | |
13 | + CreateReq = 5; | |
14 | + RoleRsp = 6; | |
15 | + UpdateRolePropertyRsp = 7; | |
16 | + GoIntoBattleReq = 8; | |
15 | 17 | |
16 | -} | |
17 | 18 | \ No newline at end of file |
19 | +} | |
18 | 20 | \ No newline at end of file | ... | ... |