lvxinran 2019-11-02 05:43:21 +08:00
commit 91acb26eed
1 changed files with 8 additions and 0 deletions

View File

@ -466,6 +466,14 @@ public class PlayerLogic {
teamInfo.addTeam(CBean2Proto.getSimpleTeamInfoByHero(hero));
}
}
int guildId = user.getPlayerInfoManager().getGuildId();
if(guildId!=0){
if(GuilidManager.guildInfoMap.containsKey(guildId)){
String name = GuilidManager.guildInfoMap.get(guildId).getName();
oneInfo.setGuildName(name);
}
}
oneInfo.setTeam(teamInfo);
PlayerInfoProto.GetPlayerOneTeamInfoResponse.Builder playerTeamInfo = PlayerInfoProto.GetPlayerOneTeamInfoResponse.newBuilder().setTeamInfo(oneInfo);