refactor package
This commit is contained in:
9
pkg/protocol/packet/game/client/custom_payload.go
Normal file
9
pkg/protocol/packet/game/client/custom_payload.go
Normal file
@ -0,0 +1,9 @@
|
||||
package client
|
||||
|
||||
import pk "github.com/Tnze/go-mc/net/packet"
|
||||
|
||||
//codec:gen
|
||||
type CustomPayload struct {
|
||||
Channel pk.Identifier
|
||||
Data []byte `mc:"ByteArray"`
|
||||
}
|
Reference in New Issue
Block a user