miduo_server/tablemanager/src/main/java/config/SHeroLevlConfig.java

70 lines
1.3 KiB
Java

package config;
import manager.STableManager;
import manager.Table;
import java.util.Map;
@Table(name = "HeroLevelConfig")
public class SHeroLevlConfig implements BaseConfig{
public static Map<Integer, SHeroLevlConfig> sHeroLevlConfigMap;
private int id;
private int level;
private int[][] characterLevelPara;
private float speedLevelPara;
private int[][] consume;
private int[][] sumConsume;
private int[][] rankupReturn;
@Override
public void init() throws Exception {
sHeroLevlConfigMap = STableManager.getConfig(SHeroLevlConfig.class);
}
public static Map<Integer, SHeroLevlConfig> getsCHero() {
return sHeroLevlConfigMap;
}
public int getId() {
return id;
}
public int getLevel() {
return level;
}
public static Map<Integer, SHeroLevlConfig> getsHeroLevlConfigMap() {
return sHeroLevlConfigMap;
}
public int[][] getCharacterLevelPara() {
return characterLevelPara;
}
public int[][] getConsume() {
return consume;
}
public int[][] getSumConsume() {
return sumConsume;
}
public float getSpeedLevelPara() {
return speedLevelPara;
}
public int[][] getRankupReturn() {
return rankupReturn;
}
}