<?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.CGRefitItemBindCar</code>
 */
class CGRefitItemBindCar extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>int32 CarTplID = 1;</code>
     */
    protected $CarTplID = 0;
    /**
     * 万能改装道具ID
     *
     * Generated from protobuf field <code>int32 RefitItemID = 2;</code>
     */
    protected $RefitItemID = 0;
    /**
     * 改装件ID
     *
     * Generated from protobuf field <code>int32 RefitID = 3;</code>
     */
    protected $RefitID = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $CarTplID
     *     @type int $RefitItemID
     *           万能改装道具ID
     *     @type int $RefitID
     *           改装件ID
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

    /**
     * 万能改装道具ID
     *
     * Generated from protobuf field <code>int32 RefitItemID = 2;</code>
     * @return int
     */
    public function getRefitItemID()
    {
        return $this->RefitItemID;
    }

    /**
     * 万能改装道具ID
     *
     * Generated from protobuf field <code>int32 RefitItemID = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setRefitItemID($var)
    {
        GPBUtil::checkInt32($var);
        $this->RefitItemID = $var;

        return $this;
    }

    /**
     * 改装件ID
     *
     * Generated from protobuf field <code>int32 RefitID = 3;</code>
     * @return int
     */
    public function getRefitID()
    {
        return $this->RefitID;
    }

    /**
     * 改装件ID
     *
     * Generated from protobuf field <code>int32 RefitID = 3;</code>
     * @param int $var
     * @return $this
     */
    public function setRefitID($var)
    {
        GPBUtil::checkInt32($var);
        $this->RefitID = $var;

        return $this;
    }

}

