public static enum FlagValueCalculator.Result extends java.lang.Enum<FlagValueCalculator.Result>
FlagValueCalculator.getMembership(RegionAssociable).| Enum Constant and Description |
|---|
FAIL
Indicates that the player is not a member of all overlapping
regions.
|
NO_REGIONS
Indicates that there are no regions or the only regions are
ones with
Flags.PASSTHROUGH enabled. |
SUCCESS
Indicates that the player is a member of all overlapping
regions.
|
| Modifier and Type | Method and Description |
|---|---|
static FlagValueCalculator.Result |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FlagValueCalculator.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlagValueCalculator.Result NO_REGIONS
Flags.PASSTHROUGH enabled.public static final FlagValueCalculator.Result FAIL
public static final FlagValueCalculator.Result SUCCESS
public static FlagValueCalculator.Result[] values()
for (FlagValueCalculator.Result c : FlagValueCalculator.Result.values()) System.out.println(c);
public static FlagValueCalculator.Result valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null