Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PacketHandshakingInSetProtocol ¶
type PacketHandshakingInSetProtocol struct { Version int32 State network.PacketState // contains filtered or unexported fields }
func (*PacketHandshakingInSetProtocol) Pull ¶
func (p *PacketHandshakingInSetProtocol) Pull(reader network.Buffer)
func (*PacketHandshakingInSetProtocol) UUID ¶
func (p *PacketHandshakingInSetProtocol) UUID() int32
type PacketIPing ¶
type PacketIPing struct {
Ping int64
}
func (*PacketIPing) Handle ¶
func (p *PacketIPing) Handle(conn *network.Connection)
func (*PacketIPing) Pull ¶
func (p *PacketIPing) Pull(reader network.Buffer)
func (*PacketIPing) UUID ¶
func (p *PacketIPing) UUID() int32
type PacketIRequest ¶
type PacketIRequest struct{}
Send to request the motd. But we use handshake, so this packet is useless
func (*PacketIRequest) Handle ¶
func (p *PacketIRequest) Handle(conn *network.Connection)
func (*PacketIRequest) Pull ¶
func (p *PacketIRequest) Pull(reader network.Buffer)
func (*PacketIRequest) UUID ¶
func (p *PacketIRequest) UUID() int32
Click to show internal directories.
Click to hide internal directories.