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

143 lines
2.4 KiB
Java
Raw Normal View History

package config;
import manager.STableManager;
import manager.Table;
import java.util.Map;
/**
*
*/
@Table(name = "TrialConfig")
public class STrialConfig implements BaseConfig {
public static Map<Integer, STrialConfig> sTrialConfigMap;
@Override
public void init() throws Exception {
sTrialConfigMap = STableManager.getConfig(STrialConfig.class);
this.highestTower = sTrialConfigMap.size();
}
/**
*
*/
private int id;
/**
* id
*/
private int mapId;
/**
*
*/
private int isSaveFloor;
2020-06-01 21:03:48 +08:00
private int[][] gameType;
/**
*
*/
private int[] gameCount;
/**
* "#
* 1boss
* 2
* 3
* 4"
*/
private int[][] randomBossType;
/**
* MapPointid
*/
2020-06-12 17:03:59 +08:00
private int bossMapPointId;
/**
*
*/
private int normalEnergy;
private int[][] randomStore;
2020-06-09 05:59:01 +08:00
private int[][] monsterPoint;
/**
*
*/
private static int highestTower;
private int[][] floorReward;
2020-06-01 21:03:48 +08:00
private int[][][] boxReward;
private int[][] boxPosition;
2020-08-28 14:38:20 +08:00
private int[] gameType1;
private int[] gameType2;
private int[] gameType3;
public int getId() {
return id;
}
public int getMapId() {
return mapId;
}
public int getIsSaveFloor() {
return isSaveFloor;
}
public int[][] getGameType() {
return gameType;
}
public int[] getGameCount() {
return gameCount;
}
public int[][] getRandomBossType() {
return randomBossType;
}
public int getNormalEnergy() {
return normalEnergy;
}
2020-06-12 17:03:59 +08:00
public int getBossMapPointId() {
return bossMapPointId;
}
public int[][] getRandomStore() { return randomStore;}
public static int getHighestTower() {
return highestTower;
}
public int[][] getFloorReward() {
return floorReward;
}
2020-06-01 21:03:48 +08:00
public int[][][] getBoxReward() {
return boxReward;
}
public int[][] getBoxPosition() {
return boxPosition;
}
2020-06-09 05:59:01 +08:00
public int[][] getMonsterPoint() {
2020-06-09 05:59:01 +08:00
return monsterPoint;
}
2020-08-28 14:38:20 +08:00
public int[] getGameType1() {
return gameType1;
}
public int[] getGameType2() {
return gameType2;
}
public int[] getGameType3() {
return gameType3;
}
}