back_recharge
wangyuan 2019-10-18 17:33:00 +08:00
parent 425d3bd03a
commit be434caaee
1 changed files with 3 additions and 59 deletions

View File

@ -105,7 +105,7 @@ public class CumulationData {
public Set<Integer> differentHeros = new HashSet<>();
public int buyGenerStoreTimes;
public Map<Integer,Integer> buyStoreTimes;
public int givePresents ; //好友赠礼
@ -115,68 +115,12 @@ public class CumulationData {
public int consumeAction;//无尽消耗行动力
public int takeFriendGifts;//领取好友赠礼次数
public Map<Integer,Integer> especialEquipStar = new HashMap<>();//法宝升到%s星级的数量为
//任务重置
public void reset(){
recruitmentRands=0;
buyGoldTimes =0;
buyStaminaTimes=0;
createEquips=0;
generalStoryTimes=0;
heroStoryTimes=0;
levelStoryTimes=0;
heroLevleTimes=0;
takeAdventurerewardTimes=0;
arenaFightsuccesTimes=0;
finsihDayilyTimes=0;
copyMaxLevel=0;
copyStoryTimes=0;
elementRands =0;
heroStoryPlayTimes=0;
invasionbossPlayTimes=0;
fastAdventurerewardTimes=0;
arenaRank=0;
exploreFight.clear();
storyFightInfo.clear();
heroLevleCountMap.clear();
levlePassMap.clear();
senvenScores = 0;
heroBreakTimes = 0;
takeChapterTimes = 0;
heroUpStarTimes = 0;
takeOnlineRewardTimes = 0;
takeSenvenLoinRewardTimes = 0;
takeDailyBoxTimes = 0;
wearEquipTimes = 0;
synthesisHeroStarTimesMap.clear();
clearArray(sEquipQualityCount);
clearArray(heroQualityCount);
consumerStamina=0;
differentHeros.clear();
heroUpStarTimesMap.clear();
heroInTeamNums=0;
buyGenerStoreTimes=0;
heroUpSomeStarTimesMap.clear();
givePresents=0;
friendNums=0;
monsterAttackTimes = 0;
toBeStronger = 0;
consumeAction = 0;
especialEquipStar.clear();
familyFightCount = 0;
findStar=0;
}
private void clearArray(int[] source){
for(int i =0;i<source.length;i++){
source[i]=0;
}
}
public Result updateData(MissionType missionType, Object...parm) throws Exception {
return DataManagerDistributor.updateData(this, missionType,parm);
}