Package com.epicbot.api.shared.event
Enum Class ChatMessageEvent.ChatMessageType
java.lang.Object
java.lang.Enum<ChatMessageEvent.ChatMessageType>
com.epicbot.api.shared.event.ChatMessageEvent.ChatMessageType
- All Implemented Interfaces:
Serializable,Comparable<ChatMessageEvent.ChatMessageType>,Constable
- Enclosing class:
ChatMessageEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn autotyper message from a player.A game broadcast.Challenge offer for the clan tabA message received when someone sends a friends chat challenge offer.A message received when somebody sends a duel offer.A chat message in a clan chat.Clan creation invitation.A chat message in the guest clan chat.A system message in the guest clan chat.A system message in a clan chat.A game message.Chat type for npc and player dialogDid you know?-esA message that the game engine sends.Adding player to friend list.A message received in friends chat.A message received with information about the current friends chat.A normal game message.Adding player to ignore list.Examine item description.A message received when a friend logs in or out.Chat type for dialog with a graphic/objectAn autotyper message from a mod.A message in the public chat from a moderatorA private message received from a moderator.Examine NPC description.Chat type for some npcs overhead textExamine object description.A message that is relating to the player.A private message from another player.A private message sent to another player.A message in the public chat.An abuse report submitted.A message that was filtered.A message that times out after 10 seconds.A message received when completing a trade or a duelA trade request being sent.A message received when somebody sends a trade offer.An unknown message type.The "Welcome to RuneScape" message -
Method Summary
Modifier and TypeMethodDescriptionintgetType()of(int type) Utility method that maps the type value to its respectiveChatMessageEvent.ChatMessageTypevalue.Returns the enum constant of this class with the specified name.static ChatMessageEvent.ChatMessageType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GAMEMESSAGE
A normal game message. -
MODCHAT
A message in the public chat from a moderator -
PUBLICCHAT
A message in the public chat. -
PRIVATECHAT
A private message from another player. -
ENGINE
A message that the game engine sends. -
LOGINLOGOUTNOTIFICATION
A message received when a friend logs in or out. -
PRIVATECHATOUT
A private message sent to another player. -
MODPRIVATECHAT
A private message received from a moderator. -
FRIENDSCHAT
A message received in friends chat. -
FRIENDSCHATNOTIFICATION
A message received with information about the current friends chat. -
TRADE_SENT
A trade request being sent. -
BROADCAST
A game broadcast. -
SNAPSHOTFEEDBACK
An abuse report submitted. -
ITEM_EXAMINE
Examine item description. -
NPC_EXAMINE
Examine NPC description. -
OBJECT_EXAMINE
Examine object description. -
FRIENDNOTIFICATION
Adding player to friend list. -
IGNORENOTIFICATION
Adding player to ignore list. -
CLAN_CHAT
A chat message in a clan chat. -
CLAN_MESSAGE
A system message in a clan chat. -
CLAN_GUEST_CHAT
A chat message in the guest clan chat. -
CLAN_GUEST_MESSAGE
A system message in the guest clan chat. -
AUTOTYPER
An autotyper message from a player. -
MODAUTOTYPER
An autotyper message from a mod. -
CONSOLE
A game message. (ie. when a setting is changed) -
TRADEREQ
A message received when somebody sends a trade offer. -
TRADE
A message received when completing a trade or a duel -
CHALREQ_TRADE
A message received when somebody sends a duel offer. -
CHALREQ_FRIENDSCHAT
A message received when someone sends a friends chat challenge offer. -
SPAM
A message that was filtered. -
PLAYERRELATED
A message that is relating to the player. -
TENSECTIMEOUT
A message that times out after 10 seconds. -
WELCOME
The "Welcome to RuneScape" message -
CLAN_CREATION_INVITATION
Clan creation invitation. -
CHALREQ_CLANCHAT
Challenge offer for the clan tab -
CLAN_GIM_FORM_GROUP
-
CLAN_GIM_GROUP_WITH
-
CLAN_GIM_CHAT
-
CLAN_GIM_MESSAGE
-
DIALOG
Chat type for npc and player dialog -
MESBOX
Chat type for dialog with a graphic/object -
NPC_SAY
Chat type for some npcs overhead text -
DIDYOUKNOW
Did you know?-es -
UNKNOWN
An unknown message type.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getType
public int getType() -
of
Utility method that maps the type value to its respectiveChatMessageEvent.ChatMessageTypevalue.- Parameters:
type- the raw type- Returns:
- appropriate message type, or
UNKNOWN
-