68 lines
1.2 KiB
Java
68 lines
1.2 KiB
Java
package config;
|
|
|
|
import manager.STableManager;
|
|
import manager.Table;
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
@Table(name ="MazeTreasureSetting")
|
|
public class SMazeTreasureSetting implements BaseConfig {
|
|
|
|
private int refreshType;
|
|
|
|
private int needItem;
|
|
|
|
private int refreshNum;
|
|
|
|
private int[] takeOrder;
|
|
|
|
private int[] refreshItem;
|
|
|
|
private int[][] cost;
|
|
|
|
private int[][] refreshHighTypeNum;
|
|
|
|
private int[][] dailyPrivilege;
|
|
|
|
public static Map<Integer,SMazeTreasureSetting> sMazeTreasureSettingMap;
|
|
|
|
|
|
@Override
|
|
public void init() throws Exception {
|
|
sMazeTreasureSettingMap = STableManager.getConfig(SMazeTreasureSetting.class);
|
|
}
|
|
|
|
|
|
public int getRefreshType() {
|
|
return refreshType;
|
|
}
|
|
|
|
public int getNeedItem() {
|
|
return needItem;
|
|
}
|
|
|
|
public int getRefreshNum() {
|
|
return refreshNum;
|
|
}
|
|
|
|
public int[] getRefreshItem() {
|
|
return refreshItem;
|
|
}
|
|
|
|
public int[][] getCost() {
|
|
return cost;
|
|
}
|
|
|
|
public int[][] getRefreshHighTypeNum() {
|
|
return refreshHighTypeNum;
|
|
}
|
|
|
|
public int[][] getDailyPrivilege() {
|
|
return dailyPrivilege;
|
|
}
|
|
|
|
public int[] getTakeOrder() {
|
|
return takeOrder;
|
|
}
|
|
} |