|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MOB.Attrib>
com.planet_ink.coffee_mud.MOBS.interfaces.MOB.Attrib
public static enum MOB.Attrib
Enum for the MOB Attributes, which will also return whether the attribute is intuitively reversed (so Setting turns it off instead of on) and a longer description string. It also pre-calculates the bitmap value for storage.
MOB.setAttribute(Attrib, boolean)
,
MOB.getAttributesBitmap()
Method Summary | |
---|---|
int |
getBitCode()
Returns the bitmap mask of this attribute |
java.lang.String |
getName()
The more official description code name of this attribute. |
boolean |
isAutoReversed()
Returns true if the attribute is intuitively reversed, meaning that setting it turns it off, while clearing it turns it on. |
static MOB.Attrib |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MOB.Attrib[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MOB.Attrib AUTOGOLD
public static final MOB.Attrib AUTOLOOT
public static final MOB.Attrib AUTOEXITS
public static final MOB.Attrib AUTOASSIST
public static final MOB.Attrib ANSI
public static final MOB.Attrib SYSOPMSGS
public static final MOB.Attrib AUTOMELEE
public static final MOB.Attrib PLAYERKILL
public static final MOB.Attrib BRIEF
public static final MOB.Attrib NOFOLLOW
public static final MOB.Attrib AUTOWEATHER
public static final MOB.Attrib AUTODRAW
public static final MOB.Attrib AUTOGUARD
public static final MOB.Attrib SOUND
public static final MOB.Attrib AUTOIMPROVE
public static final MOB.Attrib NOTEACH
public static final MOB.Attrib AUTONOTIFY
public static final MOB.Attrib AUTOFORWARD
public static final MOB.Attrib DAILYMESSAGE
public static final MOB.Attrib QUIET
public static final MOB.Attrib MXP
public static final MOB.Attrib COMPRESS
public static final MOB.Attrib AUTORUN
public static final MOB.Attrib AUTOMAP
public static final MOB.Attrib NOBATTLESPAM
public static final MOB.Attrib TELNET_GA
Method Detail |
---|
public static MOB.Attrib[] values()
for (MOB.Attrib c : MOB.Attrib.values()) System.out.println(c);
public static MOB.Attrib 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 name
java.lang.NullPointerException
- if the argument is nullpublic int getBitCode()
public boolean isAutoReversed()
public java.lang.String getName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |