注释 SArenaRobotConfig 类中 玉虚论道 相关代码

back_recharge
jiahuiwen 2021-09-26 22:22:49 +08:00
parent 8bc3f13117
commit 77e0ed5e38
1 changed files with 74 additions and 74 deletions

View File

@ -21,15 +21,15 @@ public class SArenaRobotConfig implements BaseConfig {
private int[] roleId; private int[] roleId;
private int[] roleId2; // private int[] roleId2;
//
private int[] roleId3; // private int[] roleId3;
private List<Integer> heroList; private List<Integer> heroList;
private List<Integer> heroList2; // private List<Integer> heroList2;
//
private List<Integer> heroList3; // private List<Integer> heroList3;
private int roleLv; private int roleLv;
@ -41,7 +41,7 @@ public class SArenaRobotConfig implements BaseConfig {
private int totalForce; private int totalForce;
private int yxldTotalForce; // private int yxldTotalForce;
private int breakId; private int breakId;
@ -51,15 +51,15 @@ public class SArenaRobotConfig implements BaseConfig {
private Map<Integer, CommonProto.Hero> heroMapList; private Map<Integer, CommonProto.Hero> heroMapList;
private Map<Integer, CommonProto.Hero> heroMapList2; // private Map<Integer, CommonProto.Hero> heroMapList2;
private Map<Integer, CommonProto.Hero> heroMapList3; // private Map<Integer, CommonProto.Hero> heroMapList3;
private static Map<Integer, List<SArenaRobotConfig>> sArenaRobotConfigByPoolMap; private static Map<Integer, List<SArenaRobotConfig>> sArenaRobotConfigByPoolMap;
private static Map<Integer, SArenaRobotConfig> sArenaRobotConfigMap; private static Map<Integer, SArenaRobotConfig> sArenaRobotConfigMap;
private int msScroe; // private int msScroe;
//
@Override @Override
@ -77,20 +77,20 @@ public class SArenaRobotConfig implements BaseConfig {
heroListTmp.add(heroId); heroListTmp.add(heroId);
} }
//玉虚论道第二个队伍 //玉虚论道第二个队伍
int[] roleId2 = sArenaRobotConfig.getRoleId2(); // int[] roleId2 = sArenaRobotConfig.getRoleId2();
List<Integer> heroListTmp2 = new ArrayList<>(roleId.length); // List<Integer> heroListTmp2 = new ArrayList<>(roleId.length);
for(int heroId : roleId2){ // for(int heroId : roleId2){
heroListTmp2.add(heroId); // heroListTmp2.add(heroId);
} // }
//第三个队伍 //第三个队伍
int[] roleId3 = sArenaRobotConfig.getRoleId2(); // int[] roleId3 = sArenaRobotConfig.getRoleId2();
List<Integer> heroListTmp3 = new ArrayList<>(roleId.length); // List<Integer> heroListTmp3 = new ArrayList<>(roleId.length);
for(int heroId : roleId3){ // for(int heroId : roleId3){
heroListTmp3.add(heroId); // heroListTmp3.add(heroId);
} // }
sArenaRobotConfig.setHeroList(heroListTmp); sArenaRobotConfig.setHeroList(heroListTmp);
sArenaRobotConfig.setHeroList2(heroListTmp2); // sArenaRobotConfig.setHeroList2(heroListTmp2);
sArenaRobotConfig.setHeroList3(heroListTmp3); // sArenaRobotConfig.setHeroList3(heroListTmp3);
result.get(poolId).add(sArenaRobotConfig); result.get(poolId).add(sArenaRobotConfig);
} }
sArenaRobotConfigByPoolMap = result; sArenaRobotConfigByPoolMap = result;
@ -126,13 +126,13 @@ public class SArenaRobotConfig implements BaseConfig {
return roleId; return roleId;
} }
public int[] getRoleId2() { // public int[] getRoleId2() {
return roleId2; // return roleId2;
} // }
//
public int[] getRoleId3() { // public int[] getRoleId3() {
return roleId3; // return roleId3;
} // }
public int getRoleLv() { public int getRoleLv() {
return roleLv; return roleLv;
@ -177,48 +177,48 @@ public class SArenaRobotConfig implements BaseConfig {
public void setHeroMapList(Map<Integer, CommonProto.Hero> heroMapList) { public void setHeroMapList(Map<Integer, CommonProto.Hero> heroMapList) {
this.heroMapList = heroMapList; this.heroMapList = heroMapList;
} }
//
public Map<Integer, CommonProto.Hero> getHeroMapList2() { // public Map<Integer, CommonProto.Hero> getHeroMapList2() {
return heroMapList2; // return heroMapList2;
} // }
//
public void setHeroMapList2(Map<Integer, CommonProto.Hero> heroMapList2) { // public void setHeroMapList2(Map<Integer, CommonProto.Hero> heroMapList2) {
this.heroMapList2 = heroMapList2; // this.heroMapList2 = heroMapList2;
} // }
//
public Map<Integer, CommonProto.Hero> getHeroMapList3() { // public Map<Integer, CommonProto.Hero> getHeroMapList3() {
return heroMapList3; // return heroMapList3;
} // }
//
public void setHeroMapList3(Map<Integer, CommonProto.Hero> heroMapList3) { // public void setHeroMapList3(Map<Integer, CommonProto.Hero> heroMapList3) {
this.heroMapList3 = heroMapList3; // this.heroMapList3 = heroMapList3;
} // }
//
public List<Integer> getHeroList2() { // public List<Integer> getHeroList2() {
return heroList2; // return heroList2;
} // }
//
public void setHeroList2(List<Integer> heroList2) { // public void setHeroList2(List<Integer> heroList2) {
this.heroList2 = heroList2; // this.heroList2 = heroList2;
} // }
//
public List<Integer> getHeroList3() { // public List<Integer> getHeroList3() {
return heroList3; // return heroList3;
} // }
//
public void setHeroList3(List<Integer> heroList3) { // public void setHeroList3(List<Integer> heroList3) {
this.heroList3 = heroList3; // this.heroList3 = heroList3;
} // }
//
public int getMsScroe() { // public int getMsScroe() {
return msScroe; // return msScroe;
} // }
//
public int getYxldTotalForce() { // public int getYxldTotalForce() {
return yxldTotalForce; // return yxldTotalForce;
} // }
//
public void setYxldTotalForce(int yxldTotalForce) { // public void setYxldTotalForce(int yxldTotalForce) {
this.yxldTotalForce = yxldTotalForce; // this.yxldTotalForce = yxldTotalForce;
} // }
} }