@ThreadSafe public class Protocol extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Protocol.ClientStage |
Constructor and Description |
---|
Protocol() |
Modifier and Type | Method and Description |
---|---|
Packet |
getPacket(int id,
Protocol.ClientStage stage,
PacketDirection type) |
net.tridentsdk.server.netty.protocol.Handshake |
handshake() |
net.tridentsdk.server.netty.protocol.Login |
login() |
net.tridentsdk.server.netty.protocol.Play |
play() |
net.tridentsdk.server.netty.protocol.Status |
status() |
public Protocol()
public net.tridentsdk.server.netty.protocol.Play play()
public net.tridentsdk.server.netty.protocol.Status status()
public net.tridentsdk.server.netty.protocol.Login login()
public net.tridentsdk.server.netty.protocol.Handshake handshake()
public Packet getPacket(int id, Protocol.ClientStage stage, PacketDirection type)
Copyright © 2016. All rights reserved.