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

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

    /**
     * Generated from protobuf field <code>uint64 UID = 1;</code>
     * @return int|string
     */
    public function getUID()
    {
        return $this->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;
    }

    /**
     * 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>uint64 GetTime = 3;</code>
     * @return int|string
     */
    public function getGetTime()
    {
        return $this->GetTime;
    }

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

}

