Enum Class ChatMessageEvent.Route
java.lang.Object
java.lang.Enum<ChatMessageEvent.Route>
dev.itsharshxd.zentrix.api.events.chat.ChatMessageEvent.Route
- All Implemented Interfaces:
Serializable,Comparable<ChatMessageEvent.Route>,Constable
- Enclosing class:
ChatMessageEvent
Where Zentrix routed a chat message.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOrdinary chat, seen by everyone in the sender's match, or in their world outside one.Party chat, seen by every online party member wherever they are.A spectator's message, seen only by spectators of the same match.Team chat, seen by the sender's teammates. -
Method Summary
Modifier and TypeMethodDescriptionstatic ChatMessageEvent.RouteReturns the enum constant of this class with the specified name.static ChatMessageEvent.Route[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SPECTATOR
A spectator's message, seen only by spectators of the same match. -
PARTY
Party chat, seen by every online party member wherever they are. -
TEAM
Team chat, seen by the sender's teammates. -
GLOBAL
Ordinary chat, seen by everyone in the sender's match, or in their world outside one.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-