Enum Chatbox.Message.Type
- java.lang.Object
-
- java.lang.Enum<Chatbox.Message.Type>
-
- com.runemate.game.api.hybrid.local.hud.interfaces.Chatbox.Message.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Chatbox.Message.Type>
- Enclosing class:
- Chatbox.Message
public static enum Chatbox.Message.Type extends java.lang.Enum<Chatbox.Message.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSISTANCE
AUTOTYPER
CLAN_CHAT
CLAN_GUEST_CHAT
DUEL
EXAMINE_GAME_OBJECT
EXAMINE_ITEM
EXAMINE_NPC
FRIENDS_CHAT
PRIVATE_CHAT
PUBLIC_CHAT
QUICK_CHAT
SENT_ABUSE_REPORT
SERVER
TEN_SECOND_TIMEOUT
TIP_RECEIVED
TRADE
UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Chatbox.Message.Type
resolve(int messageOpcode, java.lang.String message, java.lang.String sender)
static Chatbox.Message.Type
resolve(int messageOpcode, java.lang.String message, java.lang.String sender, com.runemate.game.api.script.data.GameType game)
static Chatbox.Message.Type
resolve(@NonNull Chatbox.Message message)
@NonNull java.lang.String
toString()
static Chatbox.Message.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Chatbox.Message.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTOTYPER
public static final Chatbox.Message.Type AUTOTYPER
-
EXAMINE_GAME_OBJECT
public static final Chatbox.Message.Type EXAMINE_GAME_OBJECT
-
EXAMINE_NPC
public static final Chatbox.Message.Type EXAMINE_NPC
-
EXAMINE_ITEM
public static final Chatbox.Message.Type EXAMINE_ITEM
-
FRIENDS_CHAT
public static final Chatbox.Message.Type FRIENDS_CHAT
-
CLAN_CHAT
public static final Chatbox.Message.Type CLAN_CHAT
-
CLAN_GUEST_CHAT
public static final Chatbox.Message.Type CLAN_GUEST_CHAT
-
SENT_ABUSE_REPORT
public static final Chatbox.Message.Type SENT_ABUSE_REPORT
-
SERVER
public static final Chatbox.Message.Type SERVER
-
PUBLIC_CHAT
public static final Chatbox.Message.Type PUBLIC_CHAT
-
PRIVATE_CHAT
public static final Chatbox.Message.Type PRIVATE_CHAT
-
QUICK_CHAT
public static final Chatbox.Message.Type QUICK_CHAT
-
TRADE
public static final Chatbox.Message.Type TRADE
-
DUEL
public static final Chatbox.Message.Type DUEL
-
ASSISTANCE
public static final Chatbox.Message.Type ASSISTANCE
-
TIP_RECEIVED
public static final Chatbox.Message.Type TIP_RECEIVED
-
TEN_SECOND_TIMEOUT
public static final Chatbox.Message.Type TEN_SECOND_TIMEOUT
-
UNKNOWN
public static final Chatbox.Message.Type UNKNOWN
-
-
Method Detail
-
values
public static Chatbox.Message.Type[] 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 (Chatbox.Message.Type c : Chatbox.Message.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Chatbox.Message.Type 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 namejava.lang.NullPointerException
- if the argument is null
-
resolve
public static Chatbox.Message.Type resolve(@NonNull @NonNull Chatbox.Message message)
-
resolve
public static Chatbox.Message.Type resolve(int messageOpcode, java.lang.String message, java.lang.String sender)
-
resolve
public static Chatbox.Message.Type resolve(int messageOpcode, java.lang.String message, java.lang.String sender, com.runemate.game.api.script.data.GameType game)
-
toString
@NonNull public @NonNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Chatbox.Message.Type>
-
-