Enum MessageType
- java.lang.Object
-
- java.lang.Enum<MessageType>
-
- org.dreambot.api.wrappers.widgets.message.MessageType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MessageType>
public enum MessageType extends java.lang.Enum<MessageType>
Created by Nezz on 1/17/2015.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getID()
static MessageType
getType(int id)
static MessageType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MessageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GAME
public static final MessageType GAME
-
MOD_CHAT
public static final MessageType MOD_CHAT
-
PLAYER
public static final MessageType PLAYER
-
PRIVATE_RECV
public static final MessageType PRIVATE_RECV
-
ENGINE
public static final MessageType ENGINE
-
PRIVATE_INFO
public static final MessageType PRIVATE_INFO
-
PRIVATE_SENT
public static final MessageType PRIVATE_SENT
-
MOD_PRIVATE_CHAT
public static final MessageType MOD_PRIVATE_CHAT
-
CHAT_CHANNEL
public static final MessageType CHAT_CHANNEL
-
FRIENDS_NOTIFICATION
public static final MessageType FRIENDS_NOTIFICATION
-
TRADE_SENT
public static final MessageType TRADE_SENT
-
BROADCAST
public static final MessageType BROADCAST
-
FEEDBACK
public static final MessageType FEEDBACK
-
ITEM_EXAMINE
public static final MessageType ITEM_EXAMINE
-
NPC_EXAMINE
public static final MessageType NPC_EXAMINE
-
OBJECT_EXAMINE
public static final MessageType OBJECT_EXAMINE
-
NEW_FRIEND_NOTIFICATION
public static final MessageType NEW_FRIEND_NOTIFICATION
-
NEW_IGNORE_NOTIFICATION
public static final MessageType NEW_IGNORE_NOTIFICATION
-
CLAN_CHAT
public static final MessageType CLAN_CHAT
-
CLAN_MESSAGE
public static final MessageType CLAN_MESSAGE
-
CLAN_GUEST_CHAT
public static final MessageType CLAN_GUEST_CHAT
-
CLAN_GUEST_MESSAGE
public static final MessageType CLAN_GUEST_MESSAGE
-
AUTO
public static final MessageType AUTO
-
MOD_AUTO
public static final MessageType MOD_AUTO
-
TRADE
public static final MessageType TRADE
-
TRADE_COMPLETE
public static final MessageType TRADE_COMPLETE
-
DUEL
public static final MessageType DUEL
-
FRIENDLY_DUEL
public static final MessageType FRIENDLY_DUEL
-
FILTERED
public static final MessageType FILTERED
-
TIMEOUT_MESSAGE
public static final MessageType TIMEOUT_MESSAGE
-
WELCOME
public static final MessageType WELCOME
-
CLAN_CREATION_INVITE
public static final MessageType CLAN_CREATION_INVITE
-
CLAN_WARS_CHALLENGE
public static final MessageType CLAN_WARS_CHALLENGE
-
CLAN_IRON_MAN_FORM_GROUP
public static final MessageType CLAN_IRON_MAN_FORM_GROUP
-
CLAN_IRON_MAN_GROUP_WITH
public static final MessageType CLAN_IRON_MAN_GROUP_WITH
-
DIALOG
public static final MessageType DIALOG
-
MESSAGE_BOX
public static final MessageType MESSAGE_BOX
-
-
Method Detail
-
values
public static MessageType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MessageType c : MessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getType
public static MessageType getType(int id)
-
getID
public int getID()
-
-