<?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.CGGetCarExteriorRefit</code>
 */
class CGGetCarExteriorRefit extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>uint64 CarUID = 1;</code>
     */
    protected $CarUID = 0;
    /**
     * Generated from protobuf field <code>int32 TplID = 2;</code>
     */
    protected $TplID = 0;
    /**
     * Generated from protobuf field <code>string Params = 3;</code>
     */
    protected $Params = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $CarUID
     *     @type int $TplID
     *     @type string $Params
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>int32 TplID = 2;</code>
     * @return int
     */
    public function getTplID()
    {
        return $this->TplID;
    }

    /**
     * Generated from protobuf field <code>int32 TplID = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setTplID($var)
    {
        GPBUtil::checkInt32($var);
        $this->TplID = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string Params = 3;</code>
     * @return string
     */
    public function getParams()
    {
        return $this->Params;
    }

    /**
     * Generated from protobuf field <code>string Params = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setParams($var)
    {
        GPBUtil::checkString($var, True);
        $this->Params = $var;

        return $this;
    }

}

