Documentation
¶
Index ¶
- type ClientboundLoginCompressionPacket
- type ClientboundLoginDisconnectPacket
- type ClientboundLoginEncryptionRequest
- type ClientboundLoginPluginRequest
- type ClientboundLoginSuccess
- type ClientboundStatusPongPacket
- type ClientboundStatusResponsePacket
- type GameVersion
- type ServerListPlayer
- type ServerListPlayers
- type ServerListResponse
- type ServerboundHandshakeLegacyPingPacket
- type ServerboundHandshakePacket
- type ServerboundLoginEncryptionResponsePacket
- type ServerboundLoginPluginResponsePacket
- type ServerboundLoginStartPacket
- type ServerboundStatusPingPacket
- type ServerboundStatusRequestPacket
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientboundLoginCompressionPacket ¶
type ClientboundLoginCompressionPacket struct {
Threshold int32 `type:"varint"`
}
type ClientboundLoginDisconnectPacket ¶
type ClientboundLoginDisconnectPacket struct {
Reason string // chat message ptr
}
type ClientboundLoginSuccess ¶
type ClientboundStatusPongPacket ¶
type ClientboundStatusPongPacket struct {
Time int64
}
type ClientboundStatusResponsePacket ¶
type ClientboundStatusResponsePacket struct {
Response string
}
type GameVersion ¶
type ServerListPlayer ¶
type ServerListPlayers ¶
type ServerListPlayers struct { Max int `json:"max"` Online int `json:"online"` Sample []ServerListPlayer `json:"sample,omitempty"` }
type ServerListResponse ¶
type ServerListResponse struct { Description string `json:"description,omitempty"` // chat message ptr Players ServerListPlayers `json:"players"` Version GameVersion `json:"version"` Favicon string `json:"favicon,omitempty"` }
type ServerboundLoginEncryptionResponsePacket ¶
type ServerboundLoginEncryptionResponsePacket struct { VerifyToken []byte `` }
type ServerboundLoginStartPacket ¶
type ServerboundLoginStartPacket struct {
Username string
}
type ServerboundStatusPingPacket ¶
type ServerboundStatusPingPacket struct {
Time int64
}
type ServerboundStatusRequestPacket ¶
type ServerboundStatusRequestPacket struct{}
Click to show internal directories.
Click to hide internal directories.