加入公会任务
parent
ff3cd9a3dc
commit
84efb610d8
|
@ -101,6 +101,7 @@ public class GuildLogic {
|
|||
PlayerInfoCache cache = RedisUtil.getInstence().getMapEntry(RedisKey.PLAYER_INFO_CACHE, "", String.valueOf(uid), PlayerInfoCache.class);
|
||||
cache.setGuildPosition(GlobalsDef.CHAIRMAN);
|
||||
RedisUtil.getInstence().putMapEntry(RedisKey.PLAYER_INFO_CACHE,"",String.valueOf(uid),cache);
|
||||
user.getUserMissionManager().onGameEvent(user,GameEvent.JOIN_FAMILY);
|
||||
Family.FamilyCreateResponse build = Family.FamilyCreateResponse.newBuilder()
|
||||
.setFamilyBaseInfo(CBean2Proto.getFamilyBaseInfo(guildInfo))
|
||||
.setFamilyUserInfo(CBean2Proto.getFamilyUserInfo(user,GlobalsDef.CHAIRMAN))
|
||||
|
|
|
@ -632,6 +632,9 @@ public class MissionLoigc {
|
|||
case TAKE_FRIEND_GIFT:
|
||||
count = cumulationData.takeFriendGifts;
|
||||
break;
|
||||
case JOIN_FAMILY:
|
||||
count = cumulationData.joinFamilyCount;
|
||||
break;
|
||||
default:
|
||||
count = 0;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue