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

Method ID

protocol/net/packet/play/playerCommand.go:28–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28func (PlayerCommand) ID() int32 {
29 return PacketIdPlayerCommand
30}
31
32func (p *PlayerCommand) Encode(w encoding.Writer) error {
33 if err := w.VarInt(p.EntityId); err != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected