Documentation ¶
Index ¶
- Variables
- func SkinParts(client ClientInfo)
- type ClientInfo
- type ClientboundPluginMessage
- type ConfigCookieRequest
- type ConfigCookieResponse
- type DisconnectLogin
- type EncryptionRequest
- type EncryptionResponse
- type FinishConfiguration
- type Handshake
- type LoginAcknowledged
- type LoginCookieRequest
- type LoginCookieResponse
- type LoginStart
- type LoginSuccess
- type Packet
- type Ping
- type Pong
- type Request
- type ResetChat
- type Response
- type ServerboundPluginMessage
- type SetCompression
- type Unknown
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotImplemented = errors.New("not implemented")
Functions ¶
func SkinParts ¶
func SkinParts(client ClientInfo)
Types ¶
type ClientInfo ¶
type ClientInfo struct {
player.ClientSettings
}
func (ClientInfo) ID ¶
func (p ClientInfo) ID() int32
type ClientboundPluginMessage ¶
Clientbound
func (*ClientboundPluginMessage) Decode ¶
func (p *ClientboundPluginMessage) Decode(r *encoding.Reader) error
func (*ClientboundPluginMessage) Encode ¶
func (p *ClientboundPluginMessage) Encode(w *encoding.Writer) error
func (ClientboundPluginMessage) ID ¶
func (p ClientboundPluginMessage) ID() int32
type ConfigCookieRequest ¶
type ConfigCookieRequest struct {
Key string
}
Config
func (ConfigCookieRequest) ID ¶
func (p ConfigCookieRequest) ID() int32
type ConfigCookieResponse ¶
Config
func (*ConfigCookieResponse) Decode ¶
func (p *ConfigCookieResponse) Decode(r *encoding.Reader) error
func (*ConfigCookieResponse) Encode ¶
func (p *ConfigCookieResponse) Encode(w *encoding.Writer) error
func (ConfigCookieResponse) ID ¶
func (p ConfigCookieResponse) ID() int32
type DisconnectLogin ¶
func (DisconnectLogin) ID ¶
func (l DisconnectLogin) ID() int32
type EncryptionRequest ¶
type EncryptionRequest struct { ServerID string PublicKey []byte VerifyToken []byte ShouldAuthenticate bool }
func (EncryptionRequest) ID ¶
func (p EncryptionRequest) ID() int32
type EncryptionResponse ¶
type EncryptionResponse struct { VerifyToken []byte }
func (EncryptionResponse) ID ¶
func (p EncryptionResponse) ID() int32
type FinishConfiguration ¶
type FinishConfiguration struct{}
func (FinishConfiguration) ID ¶
func (p FinishConfiguration) ID() int32
type Handshake ¶
type LoginAcknowledged ¶
type LoginAcknowledged struct { }
func (LoginAcknowledged) ID ¶
func (p LoginAcknowledged) ID() int32
type LoginCookieRequest ¶
type LoginCookieRequest struct {
Key string
}
Login
func (LoginCookieRequest) ID ¶
func (p LoginCookieRequest) ID() int32
type LoginCookieResponse ¶
Login
func (LoginCookieResponse) ID ¶
func (p LoginCookieResponse) ID() int32
type LoginStart ¶
func (LoginStart) ID ¶
func (p LoginStart) ID() int32
type LoginSuccess ¶
type LoginSuccess struct { UUID [16]byte Name string Properties []types.Property StrictErrorHandling bool }
func (LoginSuccess) ID ¶
func (p LoginSuccess) ID() int32
type ServerboundPluginMessage ¶
Serverbound
func (*ServerboundPluginMessage) Decode ¶
func (p *ServerboundPluginMessage) Decode(r *encoding.Reader) error
func (*ServerboundPluginMessage) Encode ¶
func (p *ServerboundPluginMessage) Encode(w *encoding.Writer) error
func (ServerboundPluginMessage) ID ¶
func (p ServerboundPluginMessage) ID() int32
type SetCompression ¶
type SetCompression struct {
Threshold int32
}
func (SetCompression) ID ¶
func (p SetCompression) ID() int32
Source Files ¶
Click to show internal directories.
Click to hide internal directories.