public enum EOS_EPacketReliability extends java.lang.Enum<EOS_EPacketReliability> implements com.sun.jna.NativeMapped
Ordered packets will only be ordered relative to other ordered packets. Reliable/unreliable and ordered/unordered communication can be sent on the same Socket ID and Channel.
| Enum Constant and Description |
|---|
EOS_PR_ReliableOrdered
Packets may be sent multiple times and will be received in order
|
EOS_PR_ReliableUnordered
Packets may be sent multiple times and may be received out of order
|
EOS_PR_UnreliableUnordered
Packets will only be sent once and may be received out of order
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
fromNative(java.lang.Object nativeValue,
com.sun.jna.FromNativeContext context) |
java.lang.Class<?> |
nativeType() |
java.lang.Object |
toNative() |
static EOS_EPacketReliability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EOS_EPacketReliability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EOS_EPacketReliability EOS_PR_UnreliableUnordered
public static final EOS_EPacketReliability EOS_PR_ReliableUnordered
public static final EOS_EPacketReliability EOS_PR_ReliableOrdered
public static EOS_EPacketReliability[] values()
for (EOS_EPacketReliability c : EOS_EPacketReliability.values()) System.out.println(c);
public static EOS_EPacketReliability 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 java.lang.Object fromNative(java.lang.Object nativeValue,
com.sun.jna.FromNativeContext context)
fromNative in interface com.sun.jna.NativeMappedpublic java.lang.Object toNative()
toNative in interface com.sun.jna.NativeMappedpublic java.lang.Class<?> nativeType()
nativeType in interface com.sun.jna.NativeMapped