Files
go-mc/data/packetid/legacy.go
2025-06-16 12:46:46 +08:00

55 lines
1.8 KiB
Go

package packetid
// This file might be remove in the future go-mc!!!
// Login Clientbound
//
// Deprecated: Legacy name, might be removed in future version
const (
LoginDisconnect = ClientboundLoginLoginDisconnect
LoginEncryptionRequest = ClientboundLoginHello
LoginSuccess = ClientboundLoginLoginFinished
LoginCompression = ClientboundLoginLoginCompression
LoginPluginRequest = ClientboundLoginCustomQuery
ClientboundLoginDisconnect = ClientboundLoginLoginDisconnect
ClientboundLoginEncryptionRequest = ClientboundLoginHello
ClientboundLoginSuccess = ClientboundLoginLoginFinished
ClientboundLoginCompression = ClientboundLoginLoginCompression
ClientboundLoginPluginRequest = ClientboundLoginCustomQuery
)
// Login Serverbound
//
// Deprecated: Legacy name, might be removed in future version
const (
LoginStart = ServerboundLoginHello
LoginEncryptionResponse = ServerboundLoginKey
LoginPluginResponse = ServerboundLoginCustomQueryAnswer
ServerboundLoginStart = ServerboundLoginHello
ServerboundLoginEncryptionResponse = ServerboundLoginKey
ServerboundLoginPluginResponse = ServerboundLoginCustomQueryAnswer
ServerboundLoginAcknowledged = ServerboundLoginLoginAcknowledged
)
// Status Clientbound
//
// Deprecated: Legacy name, might be removed in future version
const (
StatusResponse = ClientboundStatusStatusResponse
StatusPongResponse = ClientboundStatusPongResponse
ClientboundStatusResponse = ClientboundStatusStatusResponse
)
// Status Serverbound
//
// Deprecated: Legacy name, might be removed in future version
const (
StatusRequest = ServerboundStatusStatusRequest
StatusPingRequest = ServerboundStatusPingRequest
ServerboundStatusRequest = ServerboundStatusStatusRequest
)