<?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.CGDrivingPermitLevel</code>
 */
class CGDrivingPermitLevel extends \Google\Protobuf\Internal\Message
{
    /**
     *车辆模板id
     *
     * Generated from protobuf field <code>int32 CarTplId = 1;</code>
     */
    protected $CarTplId = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $CarTplId
     *          车辆模板id
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

    /**
     *车辆模板id
     *
     * Generated from protobuf field <code>int32 CarTplId = 1;</code>
     * @return int
     */
    public function getCarTplId()
    {
        return $this->CarTplId;
    }

    /**
     *车辆模板id
     *
     * 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;
    }

}

