<?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.CGCarRefit</code>
 */
class CGCarRefit extends \Google\Protobuf\Internal\Message
{
    /**
     *Car Uid
     *
     * Generated from protobuf field <code>uint64 Uid = 1;</code>
     */
    protected $Uid = 0;
    /**
     *Car 系统Id
     *
     * Generated from protobuf field <code>int32 Sys = 2;</code>
     */
    protected $Sys = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $Uid
     *          Car Uid
     *     @type int $Sys
     *          Car 系统Id
     * }
     */
    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;
    }

    /**
     *Car 系统Id
     *
     * Generated from protobuf field <code>int32 Sys = 2;</code>
     * @return int
     */
    public function getSys()
    {
        return $this->Sys;
    }

    /**
     *Car 系统Id
     *
     * Generated from protobuf field <code>int32 Sys = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setSys($var)
    {
        GPBUtil::checkInt32($var);
        $this->Sys = $var;

        return $this;
    }

}

