Documentation ¶
Index ¶
- type PacketIChatMessage
- type PacketIClientSettings
- type PacketIClientStatus
- type PacketIEncryptionResponse
- type PacketIHandshake
- type PacketIKeepAlive
- type PacketILoginPluginResponse
- type PacketILoginStart
- type PacketIPing
- type PacketIPlayerAbilities
- type PacketIPlayerLocation
- type PacketIPlayerPosition
- type PacketIPlayerRotation
- type PacketIPluginMessage
- type PacketIQueryBlockNBT
- type PacketIRequest
- type PacketISetDifficulty
- type PacketITeleportConfirm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PacketIChatMessage ¶
type PacketIChatMessage struct {
Message string
}
func (*PacketIChatMessage) Pull ¶
func (p *PacketIChatMessage) Pull(reader buff.Buffer, conn base.Connection)
func (*PacketIChatMessage) UUID ¶
func (p *PacketIChatMessage) UUID() int32
type PacketIClientSettings ¶
type PacketIClientSettings struct { Locale string ViewDistance byte ChatMode client.ChatMode ChatColors bool // if false, strip messages of colors before sending SkinParts client.SkinParts MainHand client.MainHand }
func (*PacketIClientSettings) Pull ¶
func (p *PacketIClientSettings) Pull(reader buff.Buffer, conn base.Connection)
func (*PacketIClientSettings) UUID ¶
func (p *PacketIClientSettings) UUID() int32
type PacketIClientStatus ¶
type PacketIClientStatus struct {
Action client.StatusAction
}
func (*PacketIClientStatus) Pull ¶
func (p *PacketIClientStatus) Pull(reader buff.Buffer, conn base.Connection)
func (*PacketIClientStatus) UUID ¶
func (p *PacketIClientStatus) UUID() int32
type PacketIEncryptionResponse ¶
func (*PacketIEncryptionResponse) Pull ¶
func (p *PacketIEncryptionResponse) Pull(reader buff.Buffer, conn base.Connection)
func (*PacketIEncryptionResponse) UUID ¶
func (p *PacketIEncryptionResponse) UUID() int32
type PacketIHandshake ¶
type PacketIHandshake struct { State base.PacketState // contains filtered or unexported fields }
func (*PacketIHandshake) Pull ¶
func (p *PacketIHandshake) Pull(reader buff.Buffer, conn base.Connection)
func (*PacketIHandshake) UUID ¶
func (p *PacketIHandshake) UUID() int32
type PacketIKeepAlive ¶
type PacketIKeepAlive struct {
KeepAliveID int64
}
func (*PacketIKeepAlive) Pull ¶
func (p *PacketIKeepAlive) Pull(reader buff.Buffer, conn base.Connection)
func (*PacketIKeepAlive) UUID ¶
func (p *PacketIKeepAlive) UUID() int32
type PacketILoginPluginResponse ¶
func (*PacketILoginPluginResponse) Pull ¶
func (p *PacketILoginPluginResponse) Pull(reader buff.Buffer, conn base.Connection)
func (*PacketILoginPluginResponse) UUID ¶
func (p *PacketILoginPluginResponse) UUID() int32
type PacketILoginStart ¶
type PacketILoginStart struct {
PlayerName string
}
func (*PacketILoginStart) Pull ¶
func (p *PacketILoginStart) Pull(reader buff.Buffer, conn base.Connection)
func (*PacketILoginStart) UUID ¶
func (p *PacketILoginStart) UUID() int32
type PacketIPing ¶
type PacketIPing struct {
Ping int64
}
func (*PacketIPing) Pull ¶
func (p *PacketIPing) Pull(reader buff.Buffer, conn base.Connection)
func (*PacketIPing) UUID ¶
func (p *PacketIPing) UUID() int32
type PacketIPlayerAbilities ¶
type PacketIPlayerAbilities struct { Abilities client.PlayerAbilities FlightSpeed float32 GroundSpeed float32 }
func (*PacketIPlayerAbilities) Pull ¶
func (p *PacketIPlayerAbilities) Pull(reader buff.Buffer, conn base.Connection)
func (*PacketIPlayerAbilities) UUID ¶
func (p *PacketIPlayerAbilities) UUID() int32
type PacketIPlayerLocation ¶
func (*PacketIPlayerLocation) Pull ¶
func (p *PacketIPlayerLocation) Pull(reader buff.Buffer, conn base.Connection)
func (*PacketIPlayerLocation) UUID ¶
func (p *PacketIPlayerLocation) UUID() int32
type PacketIPlayerPosition ¶
func (*PacketIPlayerPosition) Pull ¶
func (p *PacketIPlayerPosition) Pull(reader buff.Buffer, conn base.Connection)
func (*PacketIPlayerPosition) UUID ¶
func (p *PacketIPlayerPosition) UUID() int32
type PacketIPlayerRotation ¶
func (*PacketIPlayerRotation) Pull ¶
func (p *PacketIPlayerRotation) Pull(reader buff.Buffer, conn base.Connection)
func (*PacketIPlayerRotation) UUID ¶
func (p *PacketIPlayerRotation) UUID() int32
type PacketIPluginMessage ¶
func (*PacketIPluginMessage) Pull ¶
func (p *PacketIPluginMessage) Pull(reader buff.Buffer, conn base.Connection)
func (*PacketIPluginMessage) UUID ¶
func (p *PacketIPluginMessage) UUID() int32
type PacketIQueryBlockNBT ¶
func (*PacketIQueryBlockNBT) Pull ¶
func (p *PacketIQueryBlockNBT) Pull(reader buff.Buffer, conn base.Connection)
func (*PacketIQueryBlockNBT) UUID ¶
func (p *PacketIQueryBlockNBT) UUID() int32
type PacketIRequest ¶
type PacketIRequest struct { }
func (*PacketIRequest) Pull ¶
func (p *PacketIRequest) Pull(reader buff.Buffer, conn base.Connection)
func (*PacketIRequest) UUID ¶
func (p *PacketIRequest) UUID() int32
type PacketISetDifficulty ¶
type PacketISetDifficulty struct {
Difficult game.Difficulty
}
func (*PacketISetDifficulty) Pull ¶
func (p *PacketISetDifficulty) Pull(reader buff.Buffer, conn base.Connection)
func (*PacketISetDifficulty) UUID ¶
func (p *PacketISetDifficulty) UUID() int32
type PacketITeleportConfirm ¶
type PacketITeleportConfirm struct {
TeleportID int32
}
func (*PacketITeleportConfirm) Pull ¶
func (p *PacketITeleportConfirm) Pull(reader buff.Buffer, conn base.Connection)
func (*PacketITeleportConfirm) UUID ¶
func (p *PacketITeleportConfirm) UUID() int32
Click to show internal directories.
Click to hide internal directories.