Enum ChatMessageType

    • Enum Constant Detail

      • GAMEMESSAGE

        public static final ChatMessageType GAMEMESSAGE
        A normal game message.
      • MODCHAT

        public static final ChatMessageType MODCHAT
        A message in the public chat from a moderator
      • PUBLICCHAT

        public static final ChatMessageType PUBLICCHAT
        A message in the public chat.
      • PRIVATECHAT

        public static final ChatMessageType PRIVATECHAT
        A private message from another player.
      • ENGINE

        public static final ChatMessageType ENGINE
        A message that the game engine sends.
      • LOGINLOGOUTNOTIFICATION

        public static final ChatMessageType LOGINLOGOUTNOTIFICATION
        A message received when a friend logs in or out.
      • PRIVATECHATOUT

        public static final ChatMessageType PRIVATECHATOUT
        A private message sent to another player.
      • MODPRIVATECHAT

        public static final ChatMessageType MODPRIVATECHAT
        A private message received from a moderator.
      • FRIENDSCHAT

        public static final ChatMessageType FRIENDSCHAT
        A message received in friends chat.
      • FRIENDSCHATNOTIFICATION

        public static final ChatMessageType FRIENDSCHATNOTIFICATION
        A message received with information about the current friends chat.
      • TRADE_SENT

        public static final ChatMessageType TRADE_SENT
        A trade request being sent.
      • BROADCAST

        public static final ChatMessageType BROADCAST
        A game broadcast.
      • SNAPSHOTFEEDBACK

        public static final ChatMessageType SNAPSHOTFEEDBACK
        An abuse report submitted.
      • ITEM_EXAMINE

        public static final ChatMessageType ITEM_EXAMINE
        Examine item description.
      • NPC_EXAMINE

        public static final ChatMessageType NPC_EXAMINE
        Examine NPC description.
      • OBJECT_EXAMINE

        public static final ChatMessageType OBJECT_EXAMINE
        Examine object description.
      • FRIENDNOTIFICATION

        public static final ChatMessageType FRIENDNOTIFICATION
        Adding player to friend list.
      • IGNORENOTIFICATION

        public static final ChatMessageType IGNORENOTIFICATION
        Adding player to ignore list.
      • CLAN_CHAT

        public static final ChatMessageType CLAN_CHAT
        A chat message in a clan chat.
      • CLAN_MESSAGE

        public static final ChatMessageType CLAN_MESSAGE
        A system message in a clan chat.
      • CLAN_GUEST_CHAT

        public static final ChatMessageType CLAN_GUEST_CHAT
        A chat message in the guest clan chat.
      • CLAN_GUEST_MESSAGE

        public static final ChatMessageType CLAN_GUEST_MESSAGE
        A system message in the guest clan chat.
      • AUTOTYPER

        public static final ChatMessageType AUTOTYPER
        An autotyper message from a player.
      • MODAUTOTYPER

        public static final ChatMessageType MODAUTOTYPER
        An autotyper message from a mod.
      • CONSOLE

        public static final ChatMessageType CONSOLE
        A game message. (ie. when a setting is changed)
      • TRADEREQ

        public static final ChatMessageType TRADEREQ
        A message received when somebody sends a trade offer.
      • TRADE

        public static final ChatMessageType TRADE
        A message received when completing a trade or a duel
      • CHALREQ_TRADE

        public static final ChatMessageType CHALREQ_TRADE
        A message received when somebody sends a duel offer.
      • CHALREQ_FRIENDSCHAT

        public static final ChatMessageType CHALREQ_FRIENDSCHAT
        A message received when someone sends a friends chat challenge offer.
      • SPAM

        public static final ChatMessageType SPAM
        A message that was filtered.
      • PLAYERRELATED

        public static final ChatMessageType PLAYERRELATED
        A message that is relating to the player.
      • TENSECTIMEOUT

        public static final ChatMessageType TENSECTIMEOUT
        A message that times out after 10 seconds.
      • WELCOME

        public static final ChatMessageType WELCOME
        The "Welcome to RuneScape" message
      • CLAN_CREATION_INVITATION

        public static final ChatMessageType CLAN_CREATION_INVITATION
        Clan creation invitation.
      • CHALREQ_CLANCHAT

        public static final ChatMessageType CHALREQ_CLANCHAT
        Challenge offer for the clan tab
      • CLAN_GIM_FORM_GROUP

        public static final ChatMessageType CLAN_GIM_FORM_GROUP
      • CLAN_GIM_GROUP_WITH

        public static final ChatMessageType CLAN_GIM_GROUP_WITH
      • DIALOG

        public static final ChatMessageType DIALOG
        Chat type for npc and player dialog
      • MESBOX

        public static final ChatMessageType MESBOX
        Chat type for dialog with a graphic/object
      • UNKNOWN

        public static final ChatMessageType UNKNOWN
        An unknown message type.
    • Method Detail

      • values

        public static ChatMessageType[] 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 (ChatMessageType c : ChatMessageType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ChatMessageType valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • of

        public static ChatMessageType of​(int type)
        Utility method that maps the type value to its respective ChatMessageType value.
        Parameters:
        type - the raw type
        Returns:
        appropriate message type, or UNKNOWN
      • getType

        public int getType()