Enum 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 Detail

      • PRIVATE_RECV

        public static final MessageType PRIVATE_RECV
      • 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
      • 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_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
      • TRADE_COMPLETE

        public static final MessageType TRADE_COMPLETE
      • FRIENDLY_DUEL

        public static final MessageType FRIENDLY_DUEL
      • TIMEOUT_MESSAGE

        public static final MessageType TIMEOUT_MESSAGE
      • 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
    • 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 name
        java.lang.NullPointerException - if the argument is null
      • getType

        public static MessageType getType​(int id)
      • getID

        public int getID()