Commit db6c8a44d0cff21a0a312827d6874f2ad7c7f268

Authored by zhangqijia
1 parent ac42ed28

fix: plugin RoleRsp->LoginRsp

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
cmd/gameserver/plugin/plugin.go
@@ -35,7 +35,7 @@ func LoginRpc(msg components.IMessage) (int32, interface{}) { @@ -35,7 +35,7 @@ func LoginRpc(msg components.IMessage) (int32, interface{}) {
35 } 35 }
36 role.SetProperty("Device", req.Device) 36 role.SetProperty("Device", req.Device)
37 37
38 - return 0, &pb.RoleRsp{ 38 + return 0, &pb.LoginRsp{
39 Role: role.Data, 39 Role: role.Data,
40 Hero: role.GetAllHero(), 40 Hero: role.GetAllHero(),
41 Team: role.GetAllTeam(), 41 Team: role.GetAllTeam(),