2019-09-06 11:04:28 +08:00
|
|
|
package config;
|
|
|
|
|
|
|
|
import manager.STableManager;
|
|
|
|
import manager.Table;
|
|
|
|
|
|
|
|
@Table(name ="GuildSetting")
|
|
|
|
public class SGuildSetting implements BaseConfig {
|
|
|
|
|
|
|
|
private int id;
|
|
|
|
|
|
|
|
private int[][] creatCost;
|
|
|
|
|
|
|
|
private int refreshCd;
|
|
|
|
|
|
|
|
private int[][] stageTime;
|
|
|
|
|
|
|
|
private int destroyTime;
|
|
|
|
|
|
|
|
private String defaultDeclaration;
|
|
|
|
|
|
|
|
private int applyReserve;
|
|
|
|
|
|
|
|
private int applyLimit;
|
|
|
|
|
|
|
|
private int beApplyLimit;
|
|
|
|
|
|
|
|
private int[] totemCost;
|
|
|
|
|
|
|
|
private int[] guildWarOpenTime;
|
|
|
|
|
|
|
|
private int[][] prepareTime;
|
|
|
|
|
|
|
|
private int[][] matchTime;
|
|
|
|
|
|
|
|
private int[][] battleTime;
|
|
|
|
|
|
|
|
private int[][] settleTime;
|
|
|
|
|
|
|
|
private int[] starNum;
|
|
|
|
|
|
|
|
private int defendNum;
|
|
|
|
|
|
|
|
private int attackNum;
|
|
|
|
|
|
|
|
private int[] buildingStar;
|
|
|
|
|
|
|
|
private int[][] buildingBuff;
|
|
|
|
|
|
|
|
private float defendScore;
|
|
|
|
|
|
|
|
private float forceScore;
|
|
|
|
|
|
|
|
private float winScore;
|
|
|
|
|
|
|
|
private float loseScore;
|
|
|
|
|
|
|
|
private float expansionScore;
|
|
|
|
|
|
|
|
private int[] nameSize;
|
|
|
|
|
|
|
|
private int[] totemItem;
|
|
|
|
|
|
|
|
private int recruitCD;
|
|
|
|
|
2019-10-24 00:11:43 +08:00
|
|
|
private String participation;
|
|
|
|
|
2019-11-19 17:58:06 +08:00
|
|
|
private int warTime;
|
|
|
|
|
2019-12-17 22:15:06 +08:00
|
|
|
private int[][] renameCost;
|
|
|
|
|
2019-09-06 11:04:28 +08:00
|
|
|
public static SGuildSetting sGuildSetting;
|
|
|
|
|
2020-01-08 17:58:36 +08:00
|
|
|
private int bossTime;
|
2020-01-07 13:57:23 +08:00
|
|
|
|
2020-01-08 17:58:36 +08:00
|
|
|
private float[][] bossReward;
|
2020-01-07 13:57:23 +08:00
|
|
|
|
2019-09-06 11:04:28 +08:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void init() throws Exception {
|
2019-10-11 16:32:20 +08:00
|
|
|
sGuildSetting = STableManager.getConfig(SGuildSetting.class).get(1);
|
2019-09-06 11:04:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public int getId() {
|
|
|
|
return id;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int[][] getCreatCost() {
|
|
|
|
return creatCost;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getRefreshCd() {
|
|
|
|
return refreshCd;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int[][] getStageTime() {
|
|
|
|
return stageTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getDestroyTime() {
|
|
|
|
return destroyTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getDefaultDeclaration() {
|
|
|
|
return defaultDeclaration;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getApplyReserve() {
|
|
|
|
return applyReserve;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public int getApplyLimit() {
|
|
|
|
return applyLimit;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getBeApplyLimit() {
|
|
|
|
return beApplyLimit;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int[] getTotemCost() {
|
|
|
|
return totemCost;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int[] getGuildWarOpenTime() {
|
|
|
|
return guildWarOpenTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int[][] getPrepareTime() {
|
|
|
|
return prepareTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int[] getStarNum() {
|
|
|
|
return starNum;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getDefendNum() {
|
|
|
|
return defendNum;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getAttackNum() {
|
|
|
|
return attackNum;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int[] getBuildingStar() {
|
|
|
|
return buildingStar;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int[][] getBuildingBuff() {
|
|
|
|
return buildingBuff;
|
|
|
|
}
|
|
|
|
|
|
|
|
public float getDefendScore() {
|
|
|
|
return defendScore;
|
|
|
|
}
|
|
|
|
|
|
|
|
public float getForceScore() {
|
|
|
|
return forceScore;
|
|
|
|
}
|
|
|
|
|
|
|
|
public float getLoseScore() {
|
|
|
|
return loseScore;
|
|
|
|
}
|
|
|
|
|
|
|
|
public float getWinScore() {
|
|
|
|
return winScore;
|
|
|
|
}
|
|
|
|
|
|
|
|
public float getExpansionScore() {
|
|
|
|
return expansionScore;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int[][] getBattleTime() {
|
|
|
|
return battleTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int[][] getMatchTime() {
|
|
|
|
return matchTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int[][] getSettleTime() {
|
|
|
|
return settleTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int[] getNameSize() {
|
|
|
|
return nameSize;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int[] getTotemItem() {
|
|
|
|
return totemItem;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getRecruitCD() {
|
|
|
|
return recruitCD;
|
|
|
|
}
|
2019-10-24 00:11:43 +08:00
|
|
|
|
|
|
|
public String getParticipation() {
|
|
|
|
return participation;
|
|
|
|
}
|
2019-11-19 17:58:06 +08:00
|
|
|
|
|
|
|
public int getWarTime() {
|
|
|
|
return warTime;
|
|
|
|
}
|
2019-12-17 22:15:06 +08:00
|
|
|
|
|
|
|
public int[][] getRenameCost() {
|
|
|
|
return renameCost;
|
|
|
|
}
|
2020-01-08 17:58:36 +08:00
|
|
|
|
|
|
|
public int getBossTime() {
|
|
|
|
return bossTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public float[][] getBossReward() {
|
|
|
|
return bossReward;
|
|
|
|
}
|
2019-09-06 11:04:28 +08:00
|
|
|
}
|