@Deprecated
public final class Packets
extends java.lang.Object
Deprecated: Use PacketType instead.
| Modifier and Type | Class and Description |
|---|---|
static class |
Packets.Client
Deprecated.
|
static class |
Packets.Server
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
MAXIMUM_PACKET_ID
Deprecated.
The highest possible packet ID.
|
static int |
PACKET_COUNT
Deprecated.
The maximum number of unique packet IDs.
|
| Constructor and Description |
|---|
Packets()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Packets.Client |
getClientRegistry()
Deprecated.
|
static java.lang.String |
getDeclaredName(int packetID)
Deprecated.
|
static Packets.Server |
getServerRegistry()
Deprecated.
|
static int |
valueOf(java.lang.String name)
Deprecated.
|
public static final int MAXIMUM_PACKET_ID
public static final int PACKET_COUNT
@Deprecated public static Packets.Server getServerRegistry()
Deprecated: Use PacketType instead.
@Deprecated public static Packets.Client getClientRegistry()
Deprecated: Use PacketType instead.
@Deprecated public static int valueOf(java.lang.String name)
Deprecated: Use PacketType instead.
name - - name of packet to find.@Deprecated public static java.lang.String getDeclaredName(int packetID)
Deprecated: Use PacketType instead.
packetID - - packet to retrieve name.