mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-30 06:23:31 +01:00
146 lines
3.1 KiB
Java
146 lines
3.1 KiB
Java
package com.gamingmesh.jobs.container;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.HashMap;
|
|
import java.util.List;
|
|
|
|
public class ShopItem {
|
|
|
|
private String NodeName = null;
|
|
|
|
private double price = 0D;
|
|
|
|
private int slot = -1;
|
|
private int page = -1;
|
|
|
|
private int IconId = 1;
|
|
private int IconData = 0;
|
|
private int IconAmount = 1;
|
|
private String IconName = null;
|
|
private List<String> IconLore = new ArrayList<String>();
|
|
|
|
private boolean HideWithoutPerm = false;
|
|
private int RequiredTotalLevels = -1;
|
|
|
|
private List<String> RequiredPerm = new ArrayList<String>();
|
|
private HashMap<String, Integer> RequiredJobs = new HashMap<String, Integer>();
|
|
|
|
private List<String> Commands = new ArrayList<String>();
|
|
|
|
private List<JobItems> items = new ArrayList<JobItems>();
|
|
|
|
public ShopItem(String NodeName, double price, int IconId) {
|
|
this.NodeName = NodeName;
|
|
this.price = price;
|
|
this.IconId = IconId;
|
|
}
|
|
|
|
public void setPage(Integer page) {
|
|
this.page = page;
|
|
}
|
|
|
|
public int getPage() {
|
|
return this.page;
|
|
}
|
|
|
|
public void setSlot(Integer slot) {
|
|
this.slot = slot;
|
|
}
|
|
|
|
public int getSlot() {
|
|
return this.slot;
|
|
}
|
|
|
|
public void setitems(List<JobItems> items) {
|
|
this.items = items;
|
|
}
|
|
|
|
public List<JobItems> getitems() {
|
|
return this.items;
|
|
}
|
|
|
|
public void setCommands(List<String> Commands) {
|
|
this.Commands = Commands;
|
|
}
|
|
|
|
public List<String> getCommands() {
|
|
return this.Commands;
|
|
}
|
|
|
|
public void setRequiredJobs(HashMap<String, Integer> RequiredJobs) {
|
|
this.RequiredJobs = RequiredJobs;
|
|
}
|
|
|
|
public HashMap<String, Integer> getRequiredJobs() {
|
|
return this.RequiredJobs;
|
|
}
|
|
|
|
public void setRequiredPerm(List<String> RequiredPerm) {
|
|
this.RequiredPerm = RequiredPerm;
|
|
}
|
|
|
|
public List<String> getRequiredPerm() {
|
|
return this.RequiredPerm;
|
|
}
|
|
|
|
public void setHideWithoutPerm(boolean HideWithoutPerm) {
|
|
this.HideWithoutPerm = HideWithoutPerm;
|
|
}
|
|
|
|
public boolean isHideWithoutPerm() {
|
|
return this.HideWithoutPerm;
|
|
}
|
|
|
|
public void setIconLore(List<String> IconLore) {
|
|
this.IconLore = IconLore;
|
|
}
|
|
|
|
public List<String> getIconLore() {
|
|
return this.IconLore;
|
|
}
|
|
|
|
public String getNodeName() {
|
|
return this.NodeName;
|
|
}
|
|
|
|
public int getIconId() {
|
|
return this.IconId;
|
|
}
|
|
|
|
public int getIconData() {
|
|
return this.IconData;
|
|
}
|
|
|
|
public void setIconData(int IconData) {
|
|
this.IconData = IconData;
|
|
}
|
|
|
|
public double getPrice() {
|
|
return this.price;
|
|
}
|
|
|
|
public void setIconAmount(int IconAmount) {
|
|
this.IconAmount = IconAmount;
|
|
}
|
|
|
|
public int getIconAmount() {
|
|
return this.IconAmount;
|
|
}
|
|
|
|
public void setIconName(String IconName) {
|
|
this.IconName = IconName;
|
|
}
|
|
|
|
public String getIconName() {
|
|
return this.IconName;
|
|
}
|
|
|
|
public int getRequiredTotalLevels() {
|
|
return RequiredTotalLevels;
|
|
}
|
|
|
|
public void setRequiredTotalLevels(int requiredTotalLevels) {
|
|
RequiredTotalLevels = requiredTotalLevels;
|
|
}
|
|
}
|