public enum EUdpPacketType extends java.lang.Enum<EUdpPacketType>
| Enum Constant and Description |
|---|
Accept |
Challenge |
ChallengeReq |
Connect |
Data |
Datagram |
Disconnect |
Invalid |
Max |
| Modifier and Type | Method and Description |
|---|---|
byte |
code() |
static EUdpPacketType |
from(byte code) |
static EUdpPacketType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EUdpPacketType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EUdpPacketType Invalid
public static final EUdpPacketType ChallengeReq
public static final EUdpPacketType Challenge
public static final EUdpPacketType Connect
public static final EUdpPacketType Accept
public static final EUdpPacketType Disconnect
public static final EUdpPacketType Data
public static final EUdpPacketType Datagram
public static final EUdpPacketType Max
public static EUdpPacketType[] values()
for (EUdpPacketType c : EUdpPacketType.values()) System.out.println(c);
public static EUdpPacketType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic byte code()
public static EUdpPacketType from(byte code)