mirror of
https://github.com/Zrips/Jobs.git
synced 2024-12-05 00:43:44 +01:00
118 lines
2.5 KiB
Java
118 lines
2.5 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 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 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 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;
|
||
|
}
|
||
|
}
|