Update world types for seasonal deadman
This commit is contained in:
@@ -26,10 +26,12 @@ package net.runelite.api;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.EnumSet;
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
/**
|
||||
* An enumeration of possible world types.
|
||||
*/
|
||||
@AllArgsConstructor
|
||||
public enum WorldType
|
||||
{
|
||||
/**
|
||||
@@ -57,29 +59,24 @@ public enum WorldType
|
||||
*/
|
||||
LAST_MAN_STANDING(1 << 14),
|
||||
/**
|
||||
* Tournament world type.
|
||||
* Beta worlds without profiles that are saved.
|
||||
*/
|
||||
TOURNAMENT(1 << 25),
|
||||
NOSAVE_MODE(1 << 25),
|
||||
/**
|
||||
* Deadman Tournament world type.
|
||||
* Tournament world type
|
||||
*/
|
||||
DEADMAN_TOURNAMENT(1 << 26),
|
||||
TOURNAMENT_WORLD(1 << 26),
|
||||
/**
|
||||
* Deadman world type.
|
||||
*/
|
||||
DEADMAN(1 << 29),
|
||||
/**
|
||||
* League world type
|
||||
* Seasonal world type for leagues and seasonal deadman.
|
||||
*/
|
||||
LEAGUE(1 << 30);
|
||||
SEASONAL(1 << 30);
|
||||
|
||||
private final int mask;
|
||||
|
||||
WorldType(int mask)
|
||||
{
|
||||
this.mask = mask;
|
||||
}
|
||||
|
||||
private static final EnumSet<WorldType> PVP_WORLD_TYPES = EnumSet.of(
|
||||
DEADMAN, // dmmt worlds are also flaged as DEADMAN
|
||||
PVP
|
||||
|
||||
Reference in New Issue
Block a user