func (this *PacketClientPlayerListItemCodec) Decode(reader io.Reader, util []byte) (decode packet.Packet, err error) {
	packetClientPlayerListItem := &PacketClientPlayerListItem{}
	packetClientPlayerListItem.Name, err = packet.ReadString(reader, util)
	if err != nil {
		return
	}
	packetClientPlayerListItem.Online, err = packet.ReadBool(reader, util)
	if err != nil {
		return
	}
	packetClientPlayerListItem.Ping, err = packet.ReadInt16(reader, util)
	if err != nil {
		return
	}
	return packetClientPlayerListItem, nil
}
func (this *packetClientPlayerListCodec17) Decode(reader io.Reader) (decode packet.Packet, err error) {
	packetClientPlayerList := new(PacketClientPlayerList17)
	packetClientPlayerList.Name, err = packet.ReadString(reader)
	if err != nil {
		return
	}
	packetClientPlayerList.Online, err = packet.ReadBool(reader)
	if err != nil {
		return
	}
	packetClientPlayerList.Ping, err = packet.ReadInt16(reader)
	if err != nil {
		return
	}
	decode = packetClientPlayerList
	return
}