func (this *packetServerStatusPingCodec) Encode(writer io.Writer, util []byte, encode packet.Packet) (err error) { packetServerStatusPing := encode.(*PacketServerStatusPing) err = packet.WriteInt64(writer, util, packetServerStatusPing.Time) return }
func (this *packetClientStatusPingCodec) Encode(writer io.Writer, encode packet.Packet) (err error) { packetClientStatusPing := encode.(*PacketClientStatusPing) err = packet.WriteInt64(writer, packetClientStatusPing.Time) return }