update packetid
This commit is contained in:
31
data/packetid/legacy.go
Normal file
31
data/packetid/legacy.go
Normal file
@ -0,0 +1,31 @@
|
||||
package packetid
|
||||
|
||||
// This file might be remove in the future go-mc!!!
|
||||
|
||||
// Login Clientbound
|
||||
const (
|
||||
LoginDisconnect = iota
|
||||
LoginEncryptionRequest
|
||||
LoginSuccess
|
||||
LoginCompression
|
||||
LoginPluginRequest
|
||||
)
|
||||
|
||||
// Login Serverbound
|
||||
const (
|
||||
LoginStart = iota
|
||||
LoginEncryptionResponse
|
||||
LoginPluginResponse
|
||||
)
|
||||
|
||||
// Status Clientbound
|
||||
const (
|
||||
StatusResponse = iota
|
||||
StatusPongResponse
|
||||
)
|
||||
|
||||
// Status Serverbound
|
||||
const (
|
||||
StatusRequest = iota
|
||||
StatusPingRequest
|
||||
)
|
Reference in New Issue
Block a user