好感度兼容老数据脚本
parent
6724ea31cf
commit
3eab389f36
|
|
@ -80,8 +80,8 @@ public class GetPlayerInfoHandler extends BaseHandler{
|
|||
List<CommonProto.NewPlayerGuidePoint> list = new ArrayList<>();
|
||||
Map<Integer, SPrivilegeTypeConfig> privilegeTypeConfigMap = SPrivilegeTypeConfig.getsPrivilegeTypeConfigMap();
|
||||
for(Map.Entry<Integer, SPrivilegeTypeConfig> entry:privilegeTypeConfigMap.entrySet()){
|
||||
//如果是<4 系统内置特权
|
||||
if(entry.getValue().getUnlockType()<4&&!vipInfo.containsKey(entry.getKey())){
|
||||
//如果是<4 系统内置特权 (6是新增的好感度特权收益加成 2021.9.26)
|
||||
if(entry.getValue().getUnlockType()<4||entry.getValue().getUnlockType()==6&&!vipInfo.containsKey(entry.getKey())){
|
||||
playerInfoManager.addVipInfo(entry.getKey());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -121,7 +121,6 @@ public class UserManager {
|
|||
playerManager.setSendDays(1);
|
||||
playerManager.updateVipInfo(GlobalsDef.LEVEL_UNLOCK_PRIVILEGE,1);
|
||||
playerManager.updateVipInfo(GlobalsDef.VIP_UNLOCK_PRIVILEGE,0);
|
||||
playerManager.updateVipInfo(GlobalsDef.LIKABLE_UNLOCK,0);
|
||||
playerManager.setNewRechargeInfo(new NewRechargeInfo());
|
||||
playerManager.setPhoneBindInfo(new PhoneBindInfo(""));
|
||||
playerManager.setChannel(channel);
|
||||
|
|
|
|||
Loading…
Reference in New Issue