mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-06-27 15:15:26 +02:00
62 lines
1.4 KiB
Java
62 lines
1.4 KiB
Java
package bskyblock.addin.challenges.database.object;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
import us.tastybento.bskyblock.database.objects.DataObject;
|
|
|
|
public class LevelsDO extends DataObject {
|
|
|
|
/**
|
|
* A friendly name for the level. If blank, level name is used.
|
|
*/
|
|
private String friendlyName = "";
|
|
/**
|
|
* Commands to run when this level is completed
|
|
*/
|
|
private List<String> rewardCommands = new ArrayList<>();
|
|
/**
|
|
* Level name
|
|
*/
|
|
private String uniqueId = "";
|
|
/**
|
|
* The number of undone challenges that can be left on this level before unlocking next level
|
|
*/
|
|
private int waiveramount = 1;
|
|
|
|
public String getFriendlyName() {
|
|
return friendlyName;
|
|
}
|
|
|
|
public List<String> getRewardCommands() {
|
|
return rewardCommands;
|
|
}
|
|
|
|
@Override
|
|
public String getUniqueId() {
|
|
return uniqueId;
|
|
}
|
|
|
|
public int getWaiveramount() {
|
|
return waiveramount;
|
|
}
|
|
|
|
public void setFriendlyName(String friendlyName) {
|
|
this.friendlyName = friendlyName;
|
|
}
|
|
|
|
public void setRewardCommands(List<String> rewardCommands) {
|
|
this.rewardCommands = rewardCommands;
|
|
}
|
|
|
|
@Override
|
|
public void setUniqueId(String uniqueId) {
|
|
this.uniqueId = uniqueId;
|
|
}
|
|
|
|
public void setWaiveramount(int waiveramount) {
|
|
this.waiveramount = waiveramount;
|
|
}
|
|
|
|
}
|