Package in.dragonbra.javasteam.enums
Enum EChatEntryType
- java.lang.Object
-
- java.lang.Enum<EChatEntryType>
-
- in.dragonbra.javasteam.enums.EChatEntryType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EChatEntryType>
public enum EChatEntryType extends java.lang.Enum<EChatEntryType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ChatMsgDisconnectedEnteredHistoricalChatInvalidInviteGameLeftConversationLinkBlockedReserved1Reserved2TypingWasBannedWasKicked
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcode()static EChatEntryTypefrom(int code)static EChatEntryTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EChatEntryType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Invalid
public static final EChatEntryType Invalid
-
ChatMsg
public static final EChatEntryType ChatMsg
-
Typing
public static final EChatEntryType Typing
-
InviteGame
public static final EChatEntryType InviteGame
-
LeftConversation
public static final EChatEntryType LeftConversation
-
Entered
public static final EChatEntryType Entered
-
WasKicked
public static final EChatEntryType WasKicked
-
WasBanned
public static final EChatEntryType WasBanned
-
Disconnected
public static final EChatEntryType Disconnected
-
HistoricalChat
public static final EChatEntryType HistoricalChat
-
Reserved1
public static final EChatEntryType Reserved1
-
Reserved2
public static final EChatEntryType Reserved2
-
LinkBlocked
public static final EChatEntryType LinkBlocked
-
-
Method Detail
-
values
public static EChatEntryType[] 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 (EChatEntryType c : EChatEntryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EChatEntryType 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
-
code
public int code()
-
from
public static EChatEntryType from(int code)
-
-