51 lines
994 B
Java
51 lines
994 B
Java
package config;
|
|
|
|
import manager.STableManager;
|
|
import manager.Table;
|
|
|
|
@Table(name ="SpiritAnimalSetting")
|
|
public class SSpiritAnimalSetting implements BaseConfig {
|
|
|
|
private int id;
|
|
|
|
private int[] blockUnlockLevel;
|
|
|
|
private int proPercent;
|
|
|
|
private int returnCost;
|
|
|
|
private int riderModeUnlockLevel;
|
|
|
|
private int changeModeUnlockLevel;
|
|
|
|
public static SSpiritAnimalSetting sSpiritAnimalSetting;
|
|
@Override
|
|
public void init() throws Exception {
|
|
sSpiritAnimalSetting = STableManager.getConfig(SSpiritAnimalSetting.class).get(1);
|
|
}
|
|
|
|
|
|
public int getId() {
|
|
return id;
|
|
}
|
|
|
|
public int[] getBlockUnlockLevel() {
|
|
return blockUnlockLevel;
|
|
}
|
|
|
|
public int getProPercent() {
|
|
return proPercent;
|
|
}
|
|
|
|
public int getReturnCost() {
|
|
return returnCost;
|
|
}
|
|
|
|
public int getRiderModeUnlockLevel() {
|
|
return riderModeUnlockLevel;
|
|
}
|
|
|
|
public int getChangeModeUnlockLevel() {
|
|
return changeModeUnlockLevel;
|
|
}
|
|
} |