Class MessageType

java.lang.Object
com.realtime.crossfire.jxclient.protocol.MessageType

public class MessageType extends Object
Encapsulates the message type numbers for drawextinfo messages.
  • Field Details

    • MSG_TYPE_BOOK

      public static final int MSG_TYPE_BOOK
      drawextinfo message type: character did read a book.
      See Also:
    • MSG_TYPE_CARD

      public static final int MSG_TYPE_CARD
      drawextinfo message type: character did read a card.
      See Also:
    • MSG_TYPE_PAPER

      public static final int MSG_TYPE_PAPER
      drawextinfo message type: character did read a paper.
      See Also:
    • MSG_TYPE_SIGN

      public static final int MSG_TYPE_SIGN
      drawextinfo message type: character did read a sign.
      See Also:
    • MSG_TYPE_MONUMENT

      public static final int MSG_TYPE_MONUMENT
      drawextinfo message type: character did read a monument.
      See Also:
    • MSG_TYPE_DIALOG

      public static final int MSG_TYPE_DIALOG
      drawextinfo message type: a NPC/magic mouth/altar/etc. talks.
      See Also:
    • MSG_TYPE_MOTD

      public static final int MSG_TYPE_MOTD
      drawextinfo message type: motd text.
      See Also:
    • MSG_TYPE_ADMIN

      public static final int MSG_TYPE_ADMIN
      drawextinfo message type: general server message.
      See Also:
    • MSG_TYPE_SHOP

      public static final int MSG_TYPE_SHOP
      drawextinfo message type: shop related message.
      See Also:
    • MSG_TYPE_COMMAND

      public static final int MSG_TYPE_COMMAND
      drawextinfo message type: response to command processing.
      See Also:
    • MSG_TYPE_ATTRIBUTE

      public static final int MSG_TYPE_ATTRIBUTE
      drawextinfo message type: attribute (stats, resistances, etc.) change message.
      See Also:
    • MSG_TYPE_SKILL

      public static final int MSG_TYPE_SKILL
      drawextinfo message type: message related to using skills.
      See Also:
    • MSG_TYPE_APPLY

      public static final int MSG_TYPE_APPLY
      drawextinfo message type: an object was applied.
      See Also:
    • MSG_TYPE_ATTACK

      public static final int MSG_TYPE_ATTACK
      drawextinfo message type: attack related message.
      See Also:
    • MSG_TYPE_COMMUNICATION

      public static final int MSG_TYPE_COMMUNICATION
      drawextinfo message type: communication between players.
      See Also:
    • MSG_TYPE_SPELL

      public static final int MSG_TYPE_SPELL
      drawextinfo message type: spell related information.
      See Also:
    • MSG_TYPE_ITEM

      public static final int MSG_TYPE_ITEM
      drawextinfo message type: item related information.
      See Also:
    • MSG_TYPE_MISC

      public static final int MSG_TYPE_MISC
      drawextinfo message type: message that does not fit in any other category.
      See Also:
    • MSG_TYPE_VICTIM

      public static final int MSG_TYPE_VICTIM
      drawextinfo message type: something bad is happening to the player.
      See Also:
    • MSG_TYPE_JXCLIENT

      public static final int MSG_TYPE_JXCLIENT
      Internally used drawextinfo message type: a message has been generated by the client.
      See Also:
    • MSG_TYPE_CLIENT

      public static final int MSG_TYPE_CLIENT
      drawextinfo message type: client originated messages.
      See Also:
    • MSG_SUBTYPE_NONE

      public static final int MSG_SUBTYPE_NONE
      See Also:
    • MSG_SUBTYPE_BOOK_CLASP_1

      public static final int MSG_SUBTYPE_BOOK_CLASP_1
      See Also:
    • MSG_SUBTYPE_BOOK_CLASP_2

      public static final int MSG_SUBTYPE_BOOK_CLASP_2
      See Also:
    • MSG_SUBTYPE_BOOK_ELEGANT_1

      public static final int MSG_SUBTYPE_BOOK_ELEGANT_1
      See Also:
    • MSG_SUBTYPE_BOOK_ELEGANT_2

      public static final int MSG_SUBTYPE_BOOK_ELEGANT_2
      See Also:
    • MSG_SUBTYPE_BOOK_QUARTO_1

      public static final int MSG_SUBTYPE_BOOK_QUARTO_1
      See Also:
    • MSG_SUBTYPE_BOOK_QUARTO_2

      public static final int MSG_SUBTYPE_BOOK_QUARTO_2
      See Also:
    • MSG_SUBTYPE_BOOK_SPELL_EVOKER

      public static final int MSG_SUBTYPE_BOOK_SPELL_EVOKER
      See Also:
    • MSG_SUBTYPE_BOOK_SPELL_PRAYER

      public static final int MSG_SUBTYPE_BOOK_SPELL_PRAYER
      See Also:
    • MSG_SUBTYPE_BOOK_SPELL_PYRO

      public static final int MSG_SUBTYPE_BOOK_SPELL_PYRO
      See Also:
    • MSG_SUBTYPE_BOOK_SPELL_SORCERER

      public static final int MSG_SUBTYPE_BOOK_SPELL_SORCERER
      See Also:
    • MSG_SUBTYPE_BOOK_SPELL_SUMMONER

      public static final int MSG_SUBTYPE_BOOK_SPELL_SUMMONER
      See Also:
    • MSG_SUBTYPE_CARD_SIMPLE_1

      public static final int MSG_SUBTYPE_CARD_SIMPLE_1
      See Also:
    • MSG_SUBTYPE_CARD_SIMPLE_2

      public static final int MSG_SUBTYPE_CARD_SIMPLE_2
      See Also:
    • MSG_SUBTYPE_CARD_SIMPLE_3

      public static final int MSG_SUBTYPE_CARD_SIMPLE_3
      See Also:
    • MSG_SUBTYPE_CARD_ELEGANT_1

      public static final int MSG_SUBTYPE_CARD_ELEGANT_1
      See Also:
    • MSG_SUBTYPE_CARD_ELEGANT_2

      public static final int MSG_SUBTYPE_CARD_ELEGANT_2
      See Also:
    • MSG_SUBTYPE_CARD_ELEGANT_3

      public static final int MSG_SUBTYPE_CARD_ELEGANT_3
      See Also:
    • MSG_SUBTYPE_CARD_STRANGE_1

      public static final int MSG_SUBTYPE_CARD_STRANGE_1
      See Also:
    • MSG_SUBTYPE_CARD_STRANGE_2

      public static final int MSG_SUBTYPE_CARD_STRANGE_2
      See Also:
    • MSG_SUBTYPE_CARD_STRANGE_3

      public static final int MSG_SUBTYPE_CARD_STRANGE_3
      See Also:
    • MSG_SUBTYPE_CARD_MONEY_1

      public static final int MSG_SUBTYPE_CARD_MONEY_1
      See Also:
    • MSG_SUBTYPE_CARD_MONEY_2

      public static final int MSG_SUBTYPE_CARD_MONEY_2
      See Also:
    • MSG_SUBTYPE_CARD_MONEY_3

      public static final int MSG_SUBTYPE_CARD_MONEY_3
      See Also:
    • MSG_SUBTYPE_PAPER_NOTE_1

      public static final int MSG_SUBTYPE_PAPER_NOTE_1
      See Also:
    • MSG_SUBTYPE_PAPER_NOTE_2

      public static final int MSG_SUBTYPE_PAPER_NOTE_2
      See Also:
    • MSG_SUBTYPE_PAPER_NOTE_3

      public static final int MSG_SUBTYPE_PAPER_NOTE_3
      See Also:
    • MSG_SUBTYPE_PAPER_LETTER_OLD_1

      public static final int MSG_SUBTYPE_PAPER_LETTER_OLD_1
      See Also:
    • MSG_SUBTYPE_PAPER_LETTER_OLD_2

      public static final int MSG_SUBTYPE_PAPER_LETTER_OLD_2
      See Also:
    • MSG_SUBTYPE_PAPER_LETTER_NEW_1

      public static final int MSG_SUBTYPE_PAPER_LETTER_NEW_1
      See Also:
    • MSG_SUBTYPE_PAPER_LETTER_NEW_2

      public static final int MSG_SUBTYPE_PAPER_LETTER_NEW_2
      See Also:
    • MSG_SUBTYPE_PAPER_ENVELOPE_1

      public static final int MSG_SUBTYPE_PAPER_ENVELOPE_1
      See Also:
    • MSG_SUBTYPE_PAPER_ENVELOPE_2

      public static final int MSG_SUBTYPE_PAPER_ENVELOPE_2
      See Also:
    • MSG_SUBTYPE_PAPER_SCROLL_OLD_1

      public static final int MSG_SUBTYPE_PAPER_SCROLL_OLD_1
      See Also:
    • MSG_SUBTYPE_PAPER_SCROLL_OLD_2

      public static final int MSG_SUBTYPE_PAPER_SCROLL_OLD_2
      See Also:
    • MSG_SUBTYPE_PAPER_SCROLL_NEW_1

      public static final int MSG_SUBTYPE_PAPER_SCROLL_NEW_1
      See Also:
    • MSG_SUBTYPE_PAPER_SCROLL_NEW_2

      public static final int MSG_SUBTYPE_PAPER_SCROLL_NEW_2
      See Also:
    • MSG_SUBTYPE_PAPER_SCROLL_MAGIC

      public static final int MSG_SUBTYPE_PAPER_SCROLL_MAGIC
      See Also:
    • MSG_SUBTYPE_SIGN_BASIC

      public static final int MSG_SUBTYPE_SIGN_BASIC
      See Also:
    • MSG_SUBTYPE_SIGN_DIR_LEFT

      public static final int MSG_SUBTYPE_SIGN_DIR_LEFT
      See Also:
    • MSG_SUBTYPE_SIGN_DIR_RIGHT

      public static final int MSG_SUBTYPE_SIGN_DIR_RIGHT
      See Also:
    • MSG_SUBTYPE_SIGN_DIR_BOTH

      public static final int MSG_SUBTYPE_SIGN_DIR_BOTH
      See Also:
    • MSG_SUBTYPE_SIGN_MAGIC_MOUTH

      public static final int MSG_SUBTYPE_SIGN_MAGIC_MOUTH
      See Also:
    • MSG_SUBTYPE_MONUMENT_STONE_1

      public static final int MSG_SUBTYPE_MONUMENT_STONE_1
      See Also:
    • MSG_SUBTYPE_MONUMENT_STONE_2

      public static final int MSG_SUBTYPE_MONUMENT_STONE_2
      See Also:
    • MSG_SUBTYPE_MONUMENT_STONE_3

      public static final int MSG_SUBTYPE_MONUMENT_STONE_3
      See Also:
    • MSG_SUBTYPE_MONUMENT_STATUE_1

      public static final int MSG_SUBTYPE_MONUMENT_STATUE_1
      See Also:
    • MSG_SUBTYPE_MONUMENT_STATUE_2

      public static final int MSG_SUBTYPE_MONUMENT_STATUE_2
      See Also:
    • MSG_SUBTYPE_MONUMENT_STATUE_3

      public static final int MSG_SUBTYPE_MONUMENT_STATUE_3
      See Also:
    • MSG_SUBTYPE_MONUMENT_GRAVESTONE_1

      public static final int MSG_SUBTYPE_MONUMENT_GRAVESTONE_1
      See Also:
    • MSG_SUBTYPE_MONUMENT_GRAVESTONE_2

      public static final int MSG_SUBTYPE_MONUMENT_GRAVESTONE_2
      See Also:
    • MSG_SUBTYPE_MONUMENT_GRAVESTONE_3

      public static final int MSG_SUBTYPE_MONUMENT_GRAVESTONE_3
      See Also:
    • MSG_SUBTYPE_MONUMENT_WALL_1

      public static final int MSG_SUBTYPE_MONUMENT_WALL_1
      See Also:
    • MSG_SUBTYPE_MONUMENT_WALL_2

      public static final int MSG_SUBTYPE_MONUMENT_WALL_2
      See Also:
    • MSG_SUBTYPE_MONUMENT_WALL_3

      public static final int MSG_SUBTYPE_MONUMENT_WALL_3
      See Also:
    • MSG_SUBTYPE_DIALOG_NPC

      public static final int MSG_SUBTYPE_DIALOG_NPC
      See Also:
    • MSG_SUBTYPE_DIALOG_ALTAR

      public static final int MSG_SUBTYPE_DIALOG_ALTAR
      See Also:
    • MSG_SUBTYPE_DIALOG_MAGIC_EAR

      public static final int MSG_SUBTYPE_DIALOG_MAGIC_EAR
      See Also:
    • MSG_SUBTYPE_ADMIN_RULES

      public static final int MSG_SUBTYPE_ADMIN_RULES
      See Also:
    • MSG_SUBTYPE_ADMIN_NEWS

      public static final int MSG_SUBTYPE_ADMIN_NEWS
      See Also:
    • MSG_SUBTYPE_ADMIN_PLAYER

      public static final int MSG_SUBTYPE_ADMIN_PLAYER
      See Also:
    • MSG_SUBTYPE_ADMIN_DM

      public static final int MSG_SUBTYPE_ADMIN_DM
      See Also:
    • MSG_SUBTYPE_ADMIN_HISCORE

      public static final int MSG_SUBTYPE_ADMIN_HISCORE
      See Also:
    • MSG_SUBTYPE_ADMIN_LOADSAVE

      public static final int MSG_SUBTYPE_ADMIN_LOADSAVE
      See Also:
    • MSG_SUBTYPE_ADMIN_LOGIN

      public static final int MSG_SUBTYPE_ADMIN_LOGIN
      See Also:
    • MSG_SUBTYPE_ADMIN_VERSION

      public static final int MSG_SUBTYPE_ADMIN_VERSION
      See Also:
    • MSG_SUBTYPE_ADMIN_ERROR

      public static final int MSG_SUBTYPE_ADMIN_ERROR
      See Also:
    • MSG_SUBTYPE_SHOP_LISTING

      public static final int MSG_SUBTYPE_SHOP_LISTING
      See Also:
    • MSG_SUBTYPE_SHOP_PAYMENT

      public static final int MSG_SUBTYPE_SHOP_PAYMENT
      See Also:
    • MSG_SUBTYPE_SHOP_SELL

      public static final int MSG_SUBTYPE_SHOP_SELL
      See Also:
    • MSG_SUBTYPE_SHOP_MISC

      public static final int MSG_SUBTYPE_SHOP_MISC
      See Also:
    • MSG_SUBTYPE_COMMAND_WHO

      public static final int MSG_SUBTYPE_COMMAND_WHO
      See Also:
    • MSG_SUBTYPE_COMMAND_MAPS

      public static final int MSG_SUBTYPE_COMMAND_MAPS
      See Also:
    • MSG_SUBTYPE_COMMAND_BODY

      public static final int MSG_SUBTYPE_COMMAND_BODY
      See Also:
    • MSG_SUBTYPE_COMMAND_MALLOC

      public static final int MSG_SUBTYPE_COMMAND_MALLOC
      See Also:
    • MSG_SUBTYPE_COMMAND_WEATHER

      public static final int MSG_SUBTYPE_COMMAND_WEATHER
      See Also:
    • MSG_SUBTYPE_COMMAND_STATISTICS

      public static final int MSG_SUBTYPE_COMMAND_STATISTICS
      See Also:
    • MSG_SUBTYPE_COMMAND_CONFIG

      public static final int MSG_SUBTYPE_COMMAND_CONFIG
      See Also:
    • MSG_SUBTYPE_COMMAND_INFO

      public static final int MSG_SUBTYPE_COMMAND_INFO
      See Also:
    • MSG_SUBTYPE_COMMAND_QUESTS

      public static final int MSG_SUBTYPE_COMMAND_QUESTS
      See Also:
    • MSG_SUBTYPE_COMMAND_DEBUG

      public static final int MSG_SUBTYPE_COMMAND_DEBUG
      See Also:
    • MSG_SUBTYPE_COMMAND_ERROR

      public static final int MSG_SUBTYPE_COMMAND_ERROR
      See Also:
    • MSG_SUBTYPE_COMMAND_SUCCESS

      public static final int MSG_SUBTYPE_COMMAND_SUCCESS
      See Also:
    • MSG_SUBTYPE_COMMAND_FAILURE

      public static final int MSG_SUBTYPE_COMMAND_FAILURE
      See Also:
    • MSG_SUBTYPE_COMMAND_EXAMINE

      public static final int MSG_SUBTYPE_COMMAND_EXAMINE
      See Also:
    • MSG_SUBTYPE_COMMAND_INVENTORY

      public static final int MSG_SUBTYPE_COMMAND_INVENTORY
      See Also:
    • MSG_SUBTYPE_COMMAND_HELP

      public static final int MSG_SUBTYPE_COMMAND_HELP
      See Also:
    • MSG_SUBTYPE_COMMAND_DM

      public static final int MSG_SUBTYPE_COMMAND_DM
      See Also:
    • MSG_SUBTYPE_COMMAND_NEWPLAYER

      public static final int MSG_SUBTYPE_COMMAND_NEWPLAYER
      See Also:
    • MSG_SUBTYPE_ATTRIBUTE_ATTACKTYPE_GAIN

      public static final int MSG_SUBTYPE_ATTRIBUTE_ATTACKTYPE_GAIN
      See Also:
    • MSG_SUBTYPE_ATTRIBUTE_ATTACKTYPE_LOSS

      public static final int MSG_SUBTYPE_ATTRIBUTE_ATTACKTYPE_LOSS
      See Also:
    • MSG_SUBTYPE_ATTRIBUTE_PROTECTION_GAIN

      public static final int MSG_SUBTYPE_ATTRIBUTE_PROTECTION_GAIN
      See Also:
    • MSG_SUBTYPE_ATTRIBUTE_PROTECTION_LOSS

      public static final int MSG_SUBTYPE_ATTRIBUTE_PROTECTION_LOSS
      See Also:
    • MSG_SUBTYPE_ATTRIBUTE_MOVE

      public static final int MSG_SUBTYPE_ATTRIBUTE_MOVE
      See Also:
    • MSG_SUBTYPE_ATTRIBUTE_RACE

      public static final int MSG_SUBTYPE_ATTRIBUTE_RACE
      See Also:
    • MSG_SUBTYPE_ATTRIBUTE_BAD_EFFECT_START

      public static final int MSG_SUBTYPE_ATTRIBUTE_BAD_EFFECT_START
      See Also:
    • MSG_SUBTYPE_ATTRIBUTE_BAD_EFFECT_END

      public static final int MSG_SUBTYPE_ATTRIBUTE_BAD_EFFECT_END
      See Also:
    • MSG_SUBTYPE_ATTRIBUTE_STAT_GAIN

      public static final int MSG_SUBTYPE_ATTRIBUTE_STAT_GAIN
      See Also:
    • MSG_SUBTYPE_ATTRIBUTE_STAT_LOSS

      public static final int MSG_SUBTYPE_ATTRIBUTE_STAT_LOSS
      See Also:
    • MSG_SUBTYPE_ATTRIBUTE_LEVEL_GAIN

      public static final int MSG_SUBTYPE_ATTRIBUTE_LEVEL_GAIN
      See Also:
    • MSG_SUBTYPE_ATTRIBUTE_LEVEL_LOSS

      public static final int MSG_SUBTYPE_ATTRIBUTE_LEVEL_LOSS
      See Also:
    • MSG_SUBTYPE_ATTRIBUTE_GOOD_EFFECT_START

      public static final int MSG_SUBTYPE_ATTRIBUTE_GOOD_EFFECT_START
      See Also:
    • MSG_SUBTYPE_ATTRIBUTE_GOOD_EFFECT_END

      public static final int MSG_SUBTYPE_ATTRIBUTE_GOOD_EFFECT_END
      See Also:
    • MSG_SUBTYPE_ATTRIBUTE_GOD

      public static final int MSG_SUBTYPE_ATTRIBUTE_GOD
      See Also:
    • MSG_SUBTYPE_SKILL_MISSING

      public static final int MSG_SUBTYPE_SKILL_MISSING
      See Also:
    • MSG_SUBTYPE_SKILL_ERROR

      public static final int MSG_SUBTYPE_SKILL_ERROR
      See Also:
    • MSG_SUBTYPE_SKILL_SUCCESS

      public static final int MSG_SUBTYPE_SKILL_SUCCESS
      See Also:
    • MSG_SUBTYPE_SKILL_FAILURE

      public static final int MSG_SUBTYPE_SKILL_FAILURE
      See Also:
    • MSG_SUBTYPE_SKILL_PRAY

      public static final int MSG_SUBTYPE_SKILL_PRAY
      See Also:
    • MSG_SUBTYPE_SKILL_LIST

      public static final int MSG_SUBTYPE_SKILL_LIST
      See Also:
    • MSG_SUBTYPE_APPLY_ERROR

      public static final int MSG_SUBTYPE_APPLY_ERROR
      See Also:
    • MSG_SUBTYPE_APPLY_UNAPPLY

      public static final int MSG_SUBTYPE_APPLY_UNAPPLY
      See Also:
    • MSG_SUBTYPE_APPLY_SUCCESS

      public static final int MSG_SUBTYPE_APPLY_SUCCESS
      See Also:
    • MSG_SUBTYPE_APPLY_FAILURE

      public static final int MSG_SUBTYPE_APPLY_FAILURE
      See Also:
    • MSG_SUBTYPE_APPLY_CURSED

      public static final int MSG_SUBTYPE_APPLY_CURSED
      See Also:
    • MSG_SUBTYPE_APPLY_TRAP

      public static final int MSG_SUBTYPE_APPLY_TRAP
      See Also:
    • MSG_SUBTYPE_APPLY_BADBODY

      public static final int MSG_SUBTYPE_APPLY_BADBODY
      See Also:
    • MSG_SUBTYPE_APPLY_PROHIBITION

      public static final int MSG_SUBTYPE_APPLY_PROHIBITION
      See Also:
    • MSG_SUBTYPE_APPLY_BUILD

      public static final int MSG_SUBTYPE_APPLY_BUILD
      See Also:
    • MSG_SUBTYPE_ATTACK_DID_HIT

      public static final int MSG_SUBTYPE_ATTACK_DID_HIT
      See Also:
    • MSG_SUBTYPE_ATTACK_PET_HIT

      public static final int MSG_SUBTYPE_ATTACK_PET_HIT
      See Also:
    • MSG_SUBTYPE_ATTACK_FUMBLE

      public static final int MSG_SUBTYPE_ATTACK_FUMBLE
      See Also:
    • MSG_SUBTYPE_ATTACK_DID_KILL

      public static final int MSG_SUBTYPE_ATTACK_DID_KILL
      See Also:
    • MSG_SUBTYPE_ATTACK_PET_DIED

      public static final int MSG_SUBTYPE_ATTACK_PET_DIED
      See Also:
    • MSG_SUBTYPE_ATTACK_NOKEY

      public static final int MSG_SUBTYPE_ATTACK_NOKEY
      See Also:
    • MSG_SUBTYPE_ATTACK_NOATTACK

      public static final int MSG_SUBTYPE_ATTACK_NOATTACK
      See Also:
    • MSG_SUBTYPE_ATTACK_PUSHED

      public static final int MSG_SUBTYPE_ATTACK_PUSHED
      See Also:
    • MSG_SUBTYPE_ATTACK_MISS

      public static final int MSG_SUBTYPE_ATTACK_MISS
      See Also:
    • MSG_SUBTYPE_COMMUNICATION_RANDOM

      public static final int MSG_SUBTYPE_COMMUNICATION_RANDOM
      See Also:
    • MSG_SUBTYPE_COMMUNICATION_SAY

      public static final int MSG_SUBTYPE_COMMUNICATION_SAY
      See Also:
    • MSG_SUBTYPE_COMMUNICATION_ME

      public static final int MSG_SUBTYPE_COMMUNICATION_ME
      See Also:
    • MSG_SUBTYPE_COMMUNICATION_TELL

      public static final int MSG_SUBTYPE_COMMUNICATION_TELL
      See Also:
    • MSG_SUBTYPE_COMMUNICATION_EMOTE

      public static final int MSG_SUBTYPE_COMMUNICATION_EMOTE
      See Also:
    • MSG_SUBTYPE_COMMUNICATION_PARTY

      public static final int MSG_SUBTYPE_COMMUNICATION_PARTY
      See Also:
    • MSG_SUBTYPE_COMMUNICATION_SHOUT

      public static final int MSG_SUBTYPE_COMMUNICATION_SHOUT
      See Also:
    • MSG_SUBTYPE_COMMUNICATION_CHAT

      public static final int MSG_SUBTYPE_COMMUNICATION_CHAT
      See Also:
    • MSG_SUBTYPE_SPELL_HEAL

      public static final int MSG_SUBTYPE_SPELL_HEAL
      See Also:
    • MSG_SUBTYPE_SPELL_PET

      public static final int MSG_SUBTYPE_SPELL_PET
      See Also:
    • MSG_SUBTYPE_SPELL_FAILURE

      public static final int MSG_SUBTYPE_SPELL_FAILURE
      See Also:
    • MSG_SUBTYPE_SPELL_END

      public static final int MSG_SUBTYPE_SPELL_END
      See Also:
    • MSG_SUBTYPE_SPELL_SUCCESS

      public static final int MSG_SUBTYPE_SPELL_SUCCESS
      See Also:
    • MSG_SUBTYPE_SPELL_ERROR

      public static final int MSG_SUBTYPE_SPELL_ERROR
      See Also:
    • MSG_SUBTYPE_SPELL_PERCEIVE_SELF

      public static final int MSG_SUBTYPE_SPELL_PERCEIVE_SELF
      See Also:
    • MSG_SUBTYPE_SPELL_TARGET

      public static final int MSG_SUBTYPE_SPELL_TARGET
      See Also:
    • MSG_SUBTYPE_SPELL_INFO

      public static final int MSG_SUBTYPE_SPELL_INFO
      See Also:
    • MSG_SUBTYPE_ITEM_REMOVE

      public static final int MSG_SUBTYPE_ITEM_REMOVE
      See Also:
    • MSG_SUBTYPE_ITEM_ADD

      public static final int MSG_SUBTYPE_ITEM_ADD
      See Also:
    • MSG_SUBTYPE_ITEM_CHANGE

      public static final int MSG_SUBTYPE_ITEM_CHANGE
      See Also:
    • MSG_SUBTYPE_ITEM_INFO

      public static final int MSG_SUBTYPE_ITEM_INFO
      See Also:
    • MSG_SUBTYPE_VICTIM_SWAMP

      public static final int MSG_SUBTYPE_VICTIM_SWAMP
      See Also:
    • MSG_SUBTYPE_VICTIM_WAS_HIT

      public static final int MSG_SUBTYPE_VICTIM_WAS_HIT
      See Also:
    • MSG_SUBTYPE_VICTIM_STEAL

      public static final int MSG_SUBTYPE_VICTIM_STEAL
      See Also:
    • MSG_SUBTYPE_VICTIM_SPELL

      public static final int MSG_SUBTYPE_VICTIM_SPELL
      See Also:
    • MSG_SUBTYPE_VICTIM_DIED

      public static final int MSG_SUBTYPE_VICTIM_DIED
      See Also:
    • MSG_SUBTYPE_VICTIM_WAS_PUSHED

      public static final int MSG_SUBTYPE_VICTIM_WAS_PUSHED
      See Also:
    • MSG_SUBTYPE_CLIENT_CONFIG

      public static final int MSG_SUBTYPE_CLIENT_CONFIG
      See Also:
    • MSG_SUBTYPE_CLIENT_SERVER

      public static final int MSG_SUBTYPE_CLIENT_SERVER
      See Also:
    • MSG_SUBTYPE_CLIENT_COMMAND

      public static final int MSG_SUBTYPE_CLIENT_COMMAND
      See Also:
    • MSG_SUBTYPE_CLIENT_QUERY

      public static final int MSG_SUBTYPE_CLIENT_QUERY
      See Also:
    • MSG_SUBTYPE_CLIENT_DEBUG

      public static final int MSG_SUBTYPE_CLIENT_DEBUG
      See Also:
    • MSG_SUBTYPE_CLIENT_NOTICE

      public static final int MSG_SUBTYPE_CLIENT_NOTICE
      See Also:
    • MSG_SUBTYPE_CLIENT_METASERVER

      public static final int MSG_SUBTYPE_CLIENT_METASERVER
      See Also:
    • MSG_SUBTYPE_CLIENT_SCRIPT

      public static final int MSG_SUBTYPE_CLIENT_SCRIPT
      See Also:
    • MSG_SUBTYPE_CLIENT_ERROR

      public static final int MSG_SUBTYPE_CLIENT_ERROR
      See Also:
    • MSG_SUBTYPE_JXCLIENT_QUERY

      public static final int MSG_SUBTYPE_JXCLIENT_QUERY
      A query message has been received.
      See Also:
    • MSG_SUBTYPE_JXCLIENT_COMMAND

      public static final int MSG_SUBTYPE_JXCLIENT_COMMAND
      A command that has been sent to the server.
      See Also:
    • MSG_SUBTYPE_JXCLIENT_COMBOBOX

      public static final int MSG_SUBTYPE_JXCLIENT_COMBOBOX
      A text was generated by selecting an entry in a combobox.
      See Also:
  • Method Details

    • getAllTypes

      public static int @NotNull [] getAllTypes(boolean includeJXClientType)
      Returns all defined message types.
      Parameters:
      includeJXClientType - whether to include the client-only "JXClient" type
      Returns:
      all defined message types
    • parseMessageType

      public static int parseMessageType(@NotNull @NotNull String str) throws UnknownMessageTypeException
      Parses a string into a message type.
      Parameters:
      str - the string to parse
      Returns:
      the message type
      Throws:
      UnknownMessageTypeException - if the string is unknown
    • parseMessageSubtype

      public static int parseMessageSubtype(@NotNull @NotNull String str) throws UnknownMessageTypeException
      Parses a string into a message subtype.
      Parameters:
      str - the string to parse
      Returns:
      the message type (lower 16 bits) and subtype (upper 16 bits)
      Throws:
      UnknownMessageTypeException - if the string is unknown
    • toString

      @NotNull public static @NotNull String toString(int type, int subtype)
      Returns a string representation of a message type.
      Parameters:
      type - the message type
      subtype - the message subtype
      Returns:
      the string representation