public class ShopConfigurationUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static WauzCore |
core
A direct reference to the main class.
|
Constructor and Description |
---|
ShopConfigurationUtils() |
Modifier and Type | Method and Description |
---|---|
protected static java.util.List<java.lang.String> |
getShopNameList()
Finds all shop names by iterating through all shop configs.
|
protected static int |
shopConfigGetInt(java.lang.String shop,
java.lang.String path)
Gets an int from a shop config.
|
protected static java.lang.String |
shopConfigGetString(java.lang.String shop,
java.lang.String path)
Gets a string from a shop config.
|
protected static java.util.List<java.lang.String> |
shopConfigGetStringList(java.lang.String shop,
java.lang.String path)
Gets a string list from a shop config.
|
private static WauzCore core
protected static java.util.List<java.lang.String> getShopNameList()
protected static java.lang.String shopConfigGetString(java.lang.String shop, java.lang.String path)
shop
- The name of the shop config file.path
- The key path of the value to get.protected static java.util.List<java.lang.String> shopConfigGetStringList(java.lang.String shop, java.lang.String path)
shop
- The name of the shop config file.path
- The key path of the value to get.protected static int shopConfigGetInt(java.lang.String shop, java.lang.String path)
shop
- The name of the shop config file.path
- The key path of the value to get.