back_recharge
parent
ab1c913e6f
commit
d7a67013cd
|
|
@ -0,0 +1,55 @@
|
|||
package config;
|
||||
|
||||
import manager.STableManager;
|
||||
import manager.Table;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Table(name ="EquipRefine")
|
||||
public class SEquipRefine implements BaseConfig {
|
||||
|
||||
private int id;
|
||||
|
||||
private int library;
|
||||
|
||||
private int quality;
|
||||
|
||||
private int[] weight;
|
||||
|
||||
private int[] property;
|
||||
|
||||
private int[][] interval;
|
||||
|
||||
|
||||
@Override
|
||||
public void init() throws Exception {
|
||||
|
||||
}
|
||||
|
||||
|
||||
public int getid() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public int getLibrary() {
|
||||
return library;
|
||||
}
|
||||
|
||||
public int getQuality() {
|
||||
return quality;
|
||||
}
|
||||
|
||||
public int[] getWeight() {
|
||||
return weight;
|
||||
}
|
||||
|
||||
public int[] getProperty() {
|
||||
return property;
|
||||
}
|
||||
|
||||
public int[][] getInterval() {
|
||||
return interval;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,67 @@
|
|||
package config;
|
||||
|
||||
import manager.STableManager;
|
||||
import manager.Table;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Table(name ="FaShu")
|
||||
public class SFaShu implements BaseConfig {
|
||||
|
||||
private int id;
|
||||
|
||||
private int itemID;
|
||||
|
||||
private int quantity;
|
||||
|
||||
private int maxLevel;
|
||||
|
||||
private int shenbingStar;
|
||||
|
||||
private int shenBingSkill;
|
||||
|
||||
private int shenBingLevel;
|
||||
|
||||
private int inVersion;
|
||||
|
||||
|
||||
@Override
|
||||
public void init() throws Exception {
|
||||
|
||||
}
|
||||
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public int getItemID() {
|
||||
return itemID;
|
||||
}
|
||||
|
||||
public int getQuantity() {
|
||||
return quantity;
|
||||
}
|
||||
|
||||
public int getMaxLevel() {
|
||||
return maxLevel;
|
||||
}
|
||||
|
||||
public int getShenbingStar() {
|
||||
return shenbingStar;
|
||||
}
|
||||
|
||||
public int getShenBingSkill() {
|
||||
return shenBingSkill;
|
||||
}
|
||||
|
||||
public int getShenBingLevel() {
|
||||
return shenBingLevel;
|
||||
}
|
||||
|
||||
public int getInVersion() {
|
||||
return inVersion;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
package config;
|
||||
|
||||
import manager.STableManager;
|
||||
import manager.Table;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Table(name ="TabulationConfig")
|
||||
public class STabulationConfig implements BaseConfig {
|
||||
|
||||
private int id;
|
||||
|
||||
private int type;
|
||||
|
||||
private int starNumber;
|
||||
|
||||
private int[][] reward;
|
||||
|
||||
public static Map<Integer, STabulationConfig> map;
|
||||
|
||||
@Override
|
||||
public void init() throws Exception {
|
||||
map = STableManager.getConfig(STabulationConfig.class);
|
||||
}
|
||||
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public int getStarNumber() {
|
||||
return starNumber;
|
||||
}
|
||||
|
||||
public int[][] getReward() {
|
||||
return reward;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
package config;
|
||||
|
||||
import manager.STableManager;
|
||||
import manager.Table;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Table(name ="WishConfig")
|
||||
public class SWishConfig implements BaseConfig {
|
||||
|
||||
private int id;
|
||||
|
||||
private int drawCardNumber;
|
||||
|
||||
private int[][] reward;
|
||||
|
||||
private int weight;
|
||||
|
||||
public static Map<Integer, SWishConfig> map;
|
||||
|
||||
@Override
|
||||
public void init() throws Exception {
|
||||
map = STableManager.getConfig(SWishConfig.class);
|
||||
}
|
||||
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public int getDrawCardNumber() {
|
||||
return drawCardNumber;
|
||||
}
|
||||
|
||||
public int[][] getReward() {
|
||||
return reward;
|
||||
}
|
||||
|
||||
public int getWeight() {
|
||||
return weight;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue