<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: Client_Game_Packet.proto

namespace Game\Protobuf;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 *返回赛车改装数据
 *
 * Generated from protobuf message <code>Game.Protobuf.GCReplySearchRefitData</code>
 */
class GCReplySearchRefitData extends \Google\Protobuf\Internal\Message
{
    /**
     *Car Uid
     *
     * Generated from protobuf field <code>uint64 Uid = 1;</code>
     */
    protected $Uid = 0;
    /**
     *改装数据 id-val|id-val
     *
     * Generated from protobuf field <code>string Attr = 2;</code>
     */
    protected $Attr = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $Uid
     *          Car Uid
     *     @type string $Attr
     *          改装数据 id-val|id-val
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

    /**
     *Car Uid
     *
     * Generated from protobuf field <code>uint64 Uid = 1;</code>
     * @return int|string
     */
    public function getUid()
    {
        return $this->Uid;
    }

    /**
     *Car Uid
     *
     * Generated from protobuf field <code>uint64 Uid = 1;</code>
     * @param int|string $var
     * @return $this
     */
    public function setUid($var)
    {
        GPBUtil::checkUint64($var);
        $this->Uid = $var;

        return $this;
    }

    /**
     *改装数据 id-val|id-val
     *
     * Generated from protobuf field <code>string Attr = 2;</code>
     * @return string
     */
    public function getAttr()
    {
        return $this->Attr;
    }

    /**
     *改装数据 id-val|id-val
     *
     * Generated from protobuf field <code>string Attr = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setAttr($var)
    {
        GPBUtil::checkString($var, True);
        $this->Attr = $var;

        return $this;
    }

}

