MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / ID

Method ID

protocol/net/packet/login/setCompression.go:14–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12}
13
14func (SetCompression) ID() int32 {
15 return 0x03
16}
17
18func (s *SetCompression) Encode(w encoding.Writer) error {
19 return w.VarInt(s.Threshold)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected