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

Method Decode

protocol/net/packet/play/entityEvent.go:26–31  ·  view source on GitHub ↗
(r encoding.Reader)

Source from the content-addressed store, hash-verified

24}
25
26func (e *EntityEvent) Decode(r encoding.Reader) error {
27 if err := r.Int(&e.EntityId); err != nil {
28 return err
29 }
30 return r.Byte(&e.EntityStatus)
31}

Callers

nothing calls this directly

Calls 2

IntMethod · 0.45
ByteMethod · 0.45

Tested by

no test coverage detected