| Package | Description |
|---|---|
| at.chrl.nutils.network.packet |
| Modifier and Type | Method and Description |
|---|---|
BasePacket.PacketType |
BasePacket.getPacketType()
Returns packet type.
|
static BasePacket.PacketType |
BasePacket.PacketType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BasePacket.PacketType[] |
BasePacket.PacketType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
BasePacket(BasePacket.PacketType packetType)
Constructs a new packet with given type.
|
BasePacket(BasePacket.PacketType packetType,
int opcode)
Constructs a new packet with specified type and id.
|
Copyright © 2014–2015. All rights reserved.