70 lines
1.1 KiB
Java
70 lines
1.1 KiB
Java
package config;
|
|
|
|
import manager.STableManager;
|
|
import manager.Table;
|
|
|
|
import java.util.Map;
|
|
|
|
@Table(name ="TreasureTaskConfig")
|
|
public class STreasureTaskConfig implements BaseConfig {
|
|
|
|
private int id;
|
|
|
|
private int activityId;
|
|
|
|
private int taskType;
|
|
|
|
private int[][] taskValue;
|
|
|
|
private int points;
|
|
|
|
private int times;
|
|
|
|
private int dayNum;
|
|
|
|
private int[][] reward;
|
|
|
|
public static Map<Integer, STreasureTaskConfig> sTreasureTaskConfigMap;
|
|
|
|
|
|
@Override
|
|
public void init() throws Exception {
|
|
Map<Integer, STreasureTaskConfig> config = STableManager.getConfig(STreasureTaskConfig.class);
|
|
sTreasureTaskConfigMap = config;
|
|
|
|
|
|
}
|
|
|
|
|
|
public int getId() {
|
|
return id;
|
|
}
|
|
|
|
public int getActivityId() {
|
|
return activityId;
|
|
}
|
|
|
|
public int getTaskType() {
|
|
return taskType;
|
|
}
|
|
|
|
public int[][] getTaskValue() {
|
|
return taskValue;
|
|
}
|
|
|
|
public int getPoints() {
|
|
return points;
|
|
}
|
|
|
|
public int getTimes() {
|
|
return times;
|
|
}
|
|
|
|
public int getDayNum() {
|
|
return dayNum;
|
|
}
|
|
|
|
public int[][] getRewward() {
|
|
return reward;
|
|
}
|
|
} |