public class WauzInstance extends WauzBaseInstance
Modifier and Type | Field and Description |
---|---|
private java.util.List<WauzInstanceCitizen> |
citizens
The list of citizen npcs to spawn in the instance.
|
private static java.util.Map<java.lang.String,WauzInstance> |
instanceMap
A map of instances, indexed by name.
|
private java.lang.String |
instanceWorldTemplateName
The name of the world template of the instance.
|
private java.util.List<MobSpawn> |
mobs
The list of mythic mobs to spawn in the instance.
|
Constructor and Description |
---|
WauzInstance(java.lang.String instanceName)
Constructs an instance template, based on the instance file in the /WauzCore/InstanceData folder.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
getAllInstanceNames()
Gets the list of all instance names.
|
java.util.List<WauzInstanceCitizen> |
getCitizens() |
static WauzInstance |
getInstance(java.lang.String instanceName) |
java.lang.String |
getInstanceWorldTemplateName() |
java.util.List<MobSpawn> |
getMobs() |
static void |
init()
Initializes all instances from the configs and fills the internal instance map.
|
getDisplaySubtitle, getDisplayTitle, getInstanceName, getKeyIds, getMaxDeaths, getMaxPlayers, getMobArena, getSoundtrackName, getSpawnCoords, getType, setDisplaySubtitle, setDisplayTitle, setInstanceName, setKeyIds, setMaxDeaths, setMaxPlayers, setMobArena, setSoundtrackName, setSpawnCoords, setType
private static java.util.Map<java.lang.String,WauzInstance> instanceMap
private java.lang.String instanceWorldTemplateName
private java.util.List<MobSpawn> mobs
private java.util.List<WauzInstanceCitizen> citizens
public WauzInstance(java.lang.String instanceName)
instanceName
- The name of the instance.public static void init()
RankConfigurator.getAllRankKeys()
public static WauzInstance getInstance(java.lang.String instanceName)
instanceName
- An instance name.public static java.util.List<java.lang.String> getAllInstanceNames()
public java.lang.String getInstanceWorldTemplateName()
public java.util.List<MobSpawn> getMobs()
public java.util.List<WauzInstanceCitizen> getCitizens()