2022-04-27 17:42:02 +08:00
|
|
|
package emu.grasscutter.game.drop;
|
|
|
|
|
|
|
|
public class DropData {
|
|
|
|
private int minWeight;
|
|
|
|
private int maxWeight;
|
|
|
|
private int itemId;
|
|
|
|
private int minCount;
|
|
|
|
private int maxCount;
|
|
|
|
private boolean share = false;
|
2022-04-28 20:47:18 +08:00
|
|
|
private boolean give = false;
|
|
|
|
|
|
|
|
public boolean isGive() {
|
|
|
|
return give;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setGive(boolean give) {
|
|
|
|
this.give = give;
|
|
|
|
}
|
2022-04-27 17:42:02 +08:00
|
|
|
|
|
|
|
public int getItemId() {
|
|
|
|
return itemId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setItemId(int itemId) {
|
|
|
|
this.itemId = itemId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getMinCount() {
|
|
|
|
return minCount;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public int getMaxCount() {
|
|
|
|
return maxCount;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public int getMinWeight() {
|
|
|
|
return minWeight;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getMaxWeight() {
|
|
|
|
return maxWeight;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public boolean isShare() {
|
|
|
|
return share;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setIsShare(boolean share) {
|
|
|
|
this.share = share;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|