public class MessageTypes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MSG_TYPE_ADMIN
drawextinfo message type: general server message.
|
static int |
MSG_TYPE_APPLY
drawextinfo message type: an object was applied.
|
static int |
MSG_TYPE_ATTACK
drawextinfo message type: attack related message.
|
static int |
MSG_TYPE_ATTRIBUTE
drawextinfo message type: attribute (stats, resistances, etc.) change
message.
|
static int |
MSG_TYPE_BOOK
drawextinfo message type: character did read a book.
|
static int |
MSG_TYPE_BOOK_CLASP_1 |
static int |
MSG_TYPE_BOOK_CLASP_2 |
static int |
MSG_TYPE_BOOK_ELEGANT_1 |
static int |
MSG_TYPE_BOOK_ELEGANT_2 |
static int |
MSG_TYPE_BOOK_QUARTO_1 |
static int |
MSG_TYPE_BOOK_QUARTO_2 |
static int |
MSG_TYPE_BOOK_SPELL_EVOKER |
static int |
MSG_TYPE_BOOK_SPELL_PRAYER |
static int |
MSG_TYPE_BOOK_SPELL_PYRO |
static int |
MSG_TYPE_BOOK_SPELL_SORCERER |
static int |
MSG_TYPE_BOOK_SPELL_SUMMONER |
static int |
MSG_TYPE_CARD
drawextinfo message type: character did read a card.
|
static int |
MSG_TYPE_COMMAND
drawextinfo message type: response to command processing.
|
static int |
MSG_TYPE_COMMUNICATION
drawextinfo message type: communication between players.
|
static int |
MSG_TYPE_COMMUNICATION_CHAT |
static int |
MSG_TYPE_COMMUNICATION_EMOTE |
static int |
MSG_TYPE_COMMUNICATION_ME |
static int |
MSG_TYPE_COMMUNICATION_PARTY |
static int |
MSG_TYPE_COMMUNICATION_RANDOM |
static int |
MSG_TYPE_COMMUNICATION_SAY |
static int |
MSG_TYPE_COMMUNICATION_SHOUT |
static int |
MSG_TYPE_COMMUNICATION_TELL |
static int |
MSG_TYPE_DIALOG
drawextinfo message type: a NPC/magic mouth/altar/etc.
|
static int |
MSG_TYPE_ITEM
drawextinfo message type: item related information.
|
static int |
MSG_TYPE_MISC
drawextinfo message type: message that does not fit in any other
category.
|
static int |
MSG_TYPE_MONUMENT
drawextinfo message type: character did read a monument.
|
static int |
MSG_TYPE_MOTD
drawextinfo message type: motd text.
|
static int |
MSG_TYPE_PAPER
drawextinfo message type: character did read a paper.
|
static int |
MSG_TYPE_QUERY
Internally used drawextinfo message type: a query message has been
received.
|
static int |
MSG_TYPE_SHOP
drawextinfo message type: shop related message.
|
static int |
MSG_TYPE_SIGN
drawextinfo message type: character did read a sign.
|
static int |
MSG_TYPE_SKILL
drawextinfo message type: message related to using skills.
|
static int |
MSG_TYPE_SPELL
drawextinfo message type: spell related information.
|
static int |
MSG_TYPE_VICTIM
drawextinfo message type: something bad is happening to the player.
|
Modifier | Constructor and Description |
---|---|
private |
MessageTypes()
Private constructor to prevent instantiation.
|
Modifier and Type | Method and Description |
---|---|
static int[] |
getAllTypes()
Returns all defined message types.
|
static int |
parseMessageType(java.lang.String str)
Parses a string into a message type.
|
static java.lang.String |
toString(int type)
Returns a string representation of a message type.
|
public static final int MSG_TYPE_ADMIN
public static final int MSG_TYPE_APPLY
public static final int MSG_TYPE_ATTACK
public static final int MSG_TYPE_ATTRIBUTE
public static final int MSG_TYPE_BOOK
public static final int MSG_TYPE_BOOK_CLASP_1
public static final int MSG_TYPE_BOOK_CLASP_2
public static final int MSG_TYPE_BOOK_ELEGANT_1
public static final int MSG_TYPE_BOOK_ELEGANT_2
public static final int MSG_TYPE_BOOK_QUARTO_1
public static final int MSG_TYPE_BOOK_QUARTO_2
public static final int MSG_TYPE_BOOK_SPELL_EVOKER
public static final int MSG_TYPE_BOOK_SPELL_PRAYER
public static final int MSG_TYPE_BOOK_SPELL_PYRO
public static final int MSG_TYPE_BOOK_SPELL_SORCERER
public static final int MSG_TYPE_BOOK_SPELL_SUMMONER
public static final int MSG_TYPE_CARD
public static final int MSG_TYPE_COMMAND
public static final int MSG_TYPE_COMMUNICATION
public static final int MSG_TYPE_COMMUNICATION_CHAT
public static final int MSG_TYPE_COMMUNICATION_EMOTE
public static final int MSG_TYPE_COMMUNICATION_ME
public static final int MSG_TYPE_COMMUNICATION_PARTY
public static final int MSG_TYPE_COMMUNICATION_RANDOM
public static final int MSG_TYPE_COMMUNICATION_SAY
public static final int MSG_TYPE_COMMUNICATION_SHOUT
public static final int MSG_TYPE_COMMUNICATION_TELL
public static final int MSG_TYPE_DIALOG
public static final int MSG_TYPE_ITEM
public static final int MSG_TYPE_MISC
public static final int MSG_TYPE_MONUMENT
public static final int MSG_TYPE_MOTD
public static final int MSG_TYPE_PAPER
public static final int MSG_TYPE_QUERY
public static final int MSG_TYPE_SHOP
public static final int MSG_TYPE_SIGN
public static final int MSG_TYPE_SKILL
public static final int MSG_TYPE_SPELL
public static final int MSG_TYPE_VICTIM
private MessageTypes()
@NotNull public static int[] getAllTypes()
public static int parseMessageType(@NotNull java.lang.String str) throws UnknownMessageTypeException
str
- the string to parseUnknownMessageTypeException
- if the string is unknown@NotNull public static java.lang.String toString(int type)
type
- the message type